Show / Hide Table of Contents

Class ProjectLocation

Sets the default Google Cloud Platform (GCP) resource location for the specified FirebaseProject.

This method creates an App Engine application with a default Cloud Storage bucket, located in the specified locationId. This location must be one of the available GCP resource locations.

After the default GCP resource location is finalized, or if it was already set, it cannot be changed. The default GCP resource location for the specified FirebaseProject might already be set because either the GCP Project already has an App Engine application or defaultLocation.finalize was previously called with a specified locationId. Any new calls to defaultLocation.finalize with a different specified locationId will return a 409 error.

To get more information about ProjectLocation, see:

  • API documentation
  • How-to Guides
  • Official Documentation
Inheritance
System.Object
Resource
CustomResource
ProjectLocation
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Firebase
Assembly: Pulumi.Gcp.dll
Syntax
public class ProjectLocation : CustomResource

Constructors

View Source

ProjectLocation(String, ProjectLocationArgs, CustomResourceOptions)

Create a ProjectLocation resource with the given unique name, arguments, and options.

Declaration
public ProjectLocation(string name, ProjectLocationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ProjectLocationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

LocationId

The ID of the default GCP resource location for the Project. The location must be one of the available GCP resource locations.

Declaration
public Output<string> LocationId { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ProjectLocationState, CustomResourceOptions)

Get an existing ProjectLocation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ProjectLocation Get(string name, Input<string> id, ProjectLocationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ProjectLocationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ProjectLocation
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.