firebase

package
v2.13.0 Latest Latest
Warning

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

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

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/firebase_project.html.markdown.

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 added in v2.13.0

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"`
}

func GetProjectLocation added in v2.13.0

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 added in v2.13.0

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 added in v2.13.0

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 added in v2.13.0

func (ProjectLocationArgs) ElementType() reflect.Type

type ProjectLocationState added in v2.13.0

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 added in v2.13.0

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

Jump to

Keyboard shortcuts

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