firebase

package
v3.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetWebAppConfigArgs added in v3.1.0

type GetWebAppConfigArgs struct {
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// the id of the firebase web app
	WebAppId string `pulumi:"webAppId"`
}

A collection of arguments for invoking getWebAppConfig.

type GetWebAppConfigResult added in v3.1.0

type GetWebAppConfigResult struct {
	ApiKey      string `pulumi:"apiKey"`
	AuthDomain  string `pulumi:"authDomain"`
	DatabaseUrl string `pulumi:"databaseUrl"`
	// The provider-assigned unique ID for this managed resource.
	Id                string  `pulumi:"id"`
	LocationId        string  `pulumi:"locationId"`
	MeasurementId     string  `pulumi:"measurementId"`
	MessagingSenderId string  `pulumi:"messagingSenderId"`
	Project           *string `pulumi:"project"`
	StorageBucket     string  `pulumi:"storageBucket"`
	WebAppId          string  `pulumi:"webAppId"`
}

A collection of values returned by getWebAppConfig.

func GetWebAppConfig added in v3.1.0

func GetWebAppConfig(ctx *pulumi.Context, args *GetWebAppConfigArgs, opts ...pulumi.InvokeOption) (*GetWebAppConfigResult, error)

A Google Cloud Firebase web application configuration

To get more information about WebApp, see:

* [API documentation](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.webApps) * How-to Guides

type LookupWebAppArgs added in v3.1.0

type LookupWebAppArgs struct {
	// The appIp of name of the Firebase webApp.
	AppId string `pulumi:"appId"`
}

A collection of arguments for invoking getWebApp.

type LookupWebAppResult added in v3.1.0

type LookupWebAppResult struct {
	AppId       string `pulumi:"appId"`
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	Name    string `pulumi:"name"`
	Project string `pulumi:"project"`
}

A collection of values returned by getWebApp.

func LookupWebApp added in v3.1.0

func LookupWebApp(ctx *pulumi.Context, args *LookupWebAppArgs, opts ...pulumi.InvokeOption) (*LookupWebAppResult, error)

A Google Cloud Firebase web application instance

type Project

type Project struct {
	pulumi.CustomResourceState

	// The GCP project display name
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The number of the google project that firebase is enabled on.
	ProjectNumber pulumi.StringOutput `pulumi:"projectNumber"`
}

A Google Cloud Firebase instance. This enables Firebase resources on a given google project. Since a FirebaseProject is actually also a GCP Project, a FirebaseProject uses underlying GCP identifiers (most importantly, the projectId) as its own for easy interop with GCP APIs.

Once Firebase has been added to a Google Project it cannot be removed.

To get more information about Project, see:

* [API documentation](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects) * How-to Guides

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

type ProjectArgs

type ProjectArgs struct {
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectLocation

type ProjectLocation struct {
	pulumi.CustomResourceState

	// The ID of the default GCP resource location for the Project. The location must be one of the available GCP
	// resource locations.
	LocationId pulumi.StringOutput `pulumi:"locationId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

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](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.defaultLocation/finalize) * How-to Guides

func GetProjectLocation

func GetProjectLocation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectLocationState, opts ...pulumi.ResourceOption) (*ProjectLocation, error)

GetProjectLocation gets an existing ProjectLocation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectLocation

func NewProjectLocation(ctx *pulumi.Context,
	name string, args *ProjectLocationArgs, opts ...pulumi.ResourceOption) (*ProjectLocation, error)

NewProjectLocation registers a new resource with the given unique name, arguments, and options.

type ProjectLocationArgs

type ProjectLocationArgs struct {
	// The ID of the default GCP resource location for the Project. The location must be one of the available GCP
	// resource locations.
	LocationId pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a ProjectLocation resource.

func (ProjectLocationArgs) ElementType

func (ProjectLocationArgs) ElementType() reflect.Type

type ProjectLocationState

type ProjectLocationState struct {
	// The ID of the default GCP resource location for the Project. The location must be one of the available GCP
	// resource locations.
	LocationId pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (ProjectLocationState) ElementType

func (ProjectLocationState) ElementType() reflect.Type

type ProjectState

type ProjectState struct {
	// The GCP project display name
	DisplayName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The number of the google project that firebase is enabled on.
	ProjectNumber pulumi.StringPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type WebApp added in v3.1.0

type WebApp struct {
	pulumi.CustomResourceState

	// Immutable. The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque
	// token, as the data format is not specified.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The user-assigned display name of the App.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The fully qualified resource name of the App, for example: projects/projectId/webApps/appId
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

A Google Cloud Firebase web application instance

To get more information about WebApp, see:

* [API documentation](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.webApps) * How-to Guides

func GetWebApp added in v3.1.0

func GetWebApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebAppState, opts ...pulumi.ResourceOption) (*WebApp, error)

GetWebApp gets an existing WebApp resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWebApp added in v3.1.0

func NewWebApp(ctx *pulumi.Context,
	name string, args *WebAppArgs, opts ...pulumi.ResourceOption) (*WebApp, error)

NewWebApp registers a new resource with the given unique name, arguments, and options.

type WebAppArgs added in v3.1.0

type WebAppArgs struct {
	// The user-assigned display name of the App.
	DisplayName pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a WebApp resource.

func (WebAppArgs) ElementType added in v3.1.0

func (WebAppArgs) ElementType() reflect.Type

type WebAppState added in v3.1.0

type WebAppState struct {
	// Immutable. The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque
	// token, as the data format is not specified.
	AppId pulumi.StringPtrInput
	// The user-assigned display name of the App.
	DisplayName pulumi.StringPtrInput
	// The fully qualified resource name of the App, for example: projects/projectId/webApps/appId
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (WebAppState) ElementType added in v3.1.0

func (WebAppState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL