firebase

package
v6.49.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidApp added in v6.42.0

type AndroidApp struct {
	pulumi.CustomResourceState

	// The globally unique, Firebase-assigned identifier of the AndroidApp.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// (Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the
	// AndroidApp. Default to 'DELETE'.
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// The user-assigned display name of the AndroidApp.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// This checksum is computed by the server based on the value of other fields, and it may be sent
	// with update requests to ensure the client has an up-to-date value before proceeding.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The fully qualified resource name of the AndroidApp, for example:
	// projects/projectId/androidApps/appId
	Name pulumi.StringOutput `pulumi:"name"`
	// Immutable. The canonical package name of the Android app as would appear in the Google Play
	// Developer Console.
	PackageName pulumi.StringPtrOutput `pulumi:"packageName"`
	// 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 SHA1 certificate hashes for the AndroidApp.
	Sha1Hashes pulumi.StringArrayOutput `pulumi:"sha1Hashes"`
	// The SHA256 certificate hashes for the AndroidApp.
	Sha256Hashes pulumi.StringArrayOutput `pulumi:"sha256Hashes"`
}

## Example Usage ### Firebase Android App Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAndroidApp(ctx, "basic", &firebase.AndroidAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Basic"),
			PackageName: pulumi.String(""),
			Sha1Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
			},
			Sha256Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AndroidApp can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default projects/{{project}}/androidApps/{{appId}}

```

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default {{project}}/{{appId}}

```

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default androidApps/{{appId}}

```

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default {{appId}}

```

func GetAndroidApp added in v6.42.0

func GetAndroidApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AndroidAppState, opts ...pulumi.ResourceOption) (*AndroidApp, error)

GetAndroidApp gets an existing AndroidApp 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 NewAndroidApp added in v6.42.0

func NewAndroidApp(ctx *pulumi.Context,
	name string, args *AndroidAppArgs, opts ...pulumi.ResourceOption) (*AndroidApp, error)

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

func (*AndroidApp) ElementType added in v6.42.0

func (*AndroidApp) ElementType() reflect.Type

func (*AndroidApp) ToAndroidAppOutput added in v6.42.0

func (i *AndroidApp) ToAndroidAppOutput() AndroidAppOutput

func (*AndroidApp) ToAndroidAppOutputWithContext added in v6.42.0

func (i *AndroidApp) ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput

type AndroidAppArgs added in v6.42.0

type AndroidAppArgs struct {
	// (Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the
	// AndroidApp. Default to 'DELETE'.
	DeletionPolicy pulumi.StringPtrInput
	// The user-assigned display name of the AndroidApp.
	DisplayName pulumi.StringInput
	// Immutable. The canonical package name of the Android app as would appear in the Google Play
	// Developer Console.
	PackageName 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 SHA1 certificate hashes for the AndroidApp.
	Sha1Hashes pulumi.StringArrayInput
	// The SHA256 certificate hashes for the AndroidApp.
	Sha256Hashes pulumi.StringArrayInput
}

The set of arguments for constructing a AndroidApp resource.

func (AndroidAppArgs) ElementType added in v6.42.0

func (AndroidAppArgs) ElementType() reflect.Type

type AndroidAppArray added in v6.42.0

type AndroidAppArray []AndroidAppInput

func (AndroidAppArray) ElementType added in v6.42.0

func (AndroidAppArray) ElementType() reflect.Type

func (AndroidAppArray) ToAndroidAppArrayOutput added in v6.42.0

func (i AndroidAppArray) ToAndroidAppArrayOutput() AndroidAppArrayOutput

func (AndroidAppArray) ToAndroidAppArrayOutputWithContext added in v6.42.0

func (i AndroidAppArray) ToAndroidAppArrayOutputWithContext(ctx context.Context) AndroidAppArrayOutput

type AndroidAppArrayInput added in v6.42.0

type AndroidAppArrayInput interface {
	pulumi.Input

	ToAndroidAppArrayOutput() AndroidAppArrayOutput
	ToAndroidAppArrayOutputWithContext(context.Context) AndroidAppArrayOutput
}

AndroidAppArrayInput is an input type that accepts AndroidAppArray and AndroidAppArrayOutput values. You can construct a concrete instance of `AndroidAppArrayInput` via:

AndroidAppArray{ AndroidAppArgs{...} }

type AndroidAppArrayOutput added in v6.42.0

type AndroidAppArrayOutput struct{ *pulumi.OutputState }

func (AndroidAppArrayOutput) ElementType added in v6.42.0

func (AndroidAppArrayOutput) ElementType() reflect.Type

func (AndroidAppArrayOutput) Index added in v6.42.0

func (AndroidAppArrayOutput) ToAndroidAppArrayOutput added in v6.42.0

func (o AndroidAppArrayOutput) ToAndroidAppArrayOutput() AndroidAppArrayOutput

func (AndroidAppArrayOutput) ToAndroidAppArrayOutputWithContext added in v6.42.0

func (o AndroidAppArrayOutput) ToAndroidAppArrayOutputWithContext(ctx context.Context) AndroidAppArrayOutput

type AndroidAppInput added in v6.42.0

type AndroidAppInput interface {
	pulumi.Input

	ToAndroidAppOutput() AndroidAppOutput
	ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput
}

type AndroidAppMap added in v6.42.0

type AndroidAppMap map[string]AndroidAppInput

func (AndroidAppMap) ElementType added in v6.42.0

func (AndroidAppMap) ElementType() reflect.Type

func (AndroidAppMap) ToAndroidAppMapOutput added in v6.42.0

func (i AndroidAppMap) ToAndroidAppMapOutput() AndroidAppMapOutput

func (AndroidAppMap) ToAndroidAppMapOutputWithContext added in v6.42.0

func (i AndroidAppMap) ToAndroidAppMapOutputWithContext(ctx context.Context) AndroidAppMapOutput

type AndroidAppMapInput added in v6.42.0

type AndroidAppMapInput interface {
	pulumi.Input

	ToAndroidAppMapOutput() AndroidAppMapOutput
	ToAndroidAppMapOutputWithContext(context.Context) AndroidAppMapOutput
}

AndroidAppMapInput is an input type that accepts AndroidAppMap and AndroidAppMapOutput values. You can construct a concrete instance of `AndroidAppMapInput` via:

AndroidAppMap{ "key": AndroidAppArgs{...} }

type AndroidAppMapOutput added in v6.42.0

type AndroidAppMapOutput struct{ *pulumi.OutputState }

func (AndroidAppMapOutput) ElementType added in v6.42.0

func (AndroidAppMapOutput) ElementType() reflect.Type

func (AndroidAppMapOutput) MapIndex added in v6.42.0

func (AndroidAppMapOutput) ToAndroidAppMapOutput added in v6.42.0

func (o AndroidAppMapOutput) ToAndroidAppMapOutput() AndroidAppMapOutput

func (AndroidAppMapOutput) ToAndroidAppMapOutputWithContext added in v6.42.0

func (o AndroidAppMapOutput) ToAndroidAppMapOutputWithContext(ctx context.Context) AndroidAppMapOutput

type AndroidAppOutput added in v6.42.0

type AndroidAppOutput struct{ *pulumi.OutputState }

func (AndroidAppOutput) AppId added in v6.42.0

The globally unique, Firebase-assigned identifier of the AndroidApp. This identifier should be treated as an opaque token, as the data format is not specified.

func (AndroidAppOutput) DeletionPolicy added in v6.42.0

func (o AndroidAppOutput) DeletionPolicy() pulumi.StringPtrOutput

(Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the AndroidApp. Default to 'DELETE'.

func (AndroidAppOutput) DisplayName added in v6.42.0

func (o AndroidAppOutput) DisplayName() pulumi.StringOutput

The user-assigned display name of the AndroidApp.

func (AndroidAppOutput) ElementType added in v6.42.0

func (AndroidAppOutput) ElementType() reflect.Type

func (AndroidAppOutput) Etag added in v6.47.0

This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding.

func (AndroidAppOutput) Name added in v6.42.0

The fully qualified resource name of the AndroidApp, for example: projects/projectId/androidApps/appId

func (AndroidAppOutput) PackageName added in v6.42.0

func (o AndroidAppOutput) PackageName() pulumi.StringPtrOutput

Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.

func (AndroidAppOutput) Project added in v6.42.0

func (o AndroidAppOutput) Project() pulumi.StringOutput

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

func (AndroidAppOutput) Sha1Hashes added in v6.47.0

func (o AndroidAppOutput) Sha1Hashes() pulumi.StringArrayOutput

The SHA1 certificate hashes for the AndroidApp.

func (AndroidAppOutput) Sha256Hashes added in v6.47.0

func (o AndroidAppOutput) Sha256Hashes() pulumi.StringArrayOutput

The SHA256 certificate hashes for the AndroidApp.

func (AndroidAppOutput) ToAndroidAppOutput added in v6.42.0

func (o AndroidAppOutput) ToAndroidAppOutput() AndroidAppOutput

func (AndroidAppOutput) ToAndroidAppOutputWithContext added in v6.42.0

func (o AndroidAppOutput) ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput

type AndroidAppState added in v6.42.0

type AndroidAppState struct {
	// The globally unique, Firebase-assigned identifier of the AndroidApp.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId pulumi.StringPtrInput
	// (Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the
	// AndroidApp. Default to 'DELETE'.
	DeletionPolicy pulumi.StringPtrInput
	// The user-assigned display name of the AndroidApp.
	DisplayName pulumi.StringPtrInput
	// This checksum is computed by the server based on the value of other fields, and it may be sent
	// with update requests to ensure the client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// The fully qualified resource name of the AndroidApp, for example:
	// projects/projectId/androidApps/appId
	Name pulumi.StringPtrInput
	// Immutable. The canonical package name of the Android app as would appear in the Google Play
	// Developer Console.
	PackageName 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 SHA1 certificate hashes for the AndroidApp.
	Sha1Hashes pulumi.StringArrayInput
	// The SHA256 certificate hashes for the AndroidApp.
	Sha256Hashes pulumi.StringArrayInput
}

func (AndroidAppState) ElementType added in v6.42.0

func (AndroidAppState) ElementType() reflect.Type

type AppleApp added in v6.44.0

type AppleApp struct {
	pulumi.CustomResourceState

	// 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 automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
	AppStoreId pulumi.StringPtrOutput `pulumi:"appStoreId"`
	// The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
	BundleId pulumi.StringPtrOutput `pulumi:"bundleId"`
	// (Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp.
	// Default to 'DELETE'.
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// 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/iosApps/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"`
	// The Apple Developer Team ID associated with the App in the App Store.
	TeamId pulumi.StringPtrOutput `pulumi:"teamId"`
}

## Example Usage ### Firebase Apple App Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAppleApp(ctx, "default", &firebase.AppleAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Basic"),
			BundleId:    pulumi.String("apple.app.12345"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Apple App Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAppleApp(ctx, "full", &firebase.AppleAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Full"),
			BundleId:    pulumi.String("apple.app.12345"),
			AppStoreId:  pulumi.String("12345"),
			TeamId:      pulumi.String("9987654321"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppleApp can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default projects/{{project}}/iosApps/{{appId}}

```

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default {{project}}/{{appId}}

```

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default iosApps/{{appId}}

```

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default {{appId}}

```

func GetAppleApp added in v6.44.0

func GetAppleApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppleAppState, opts ...pulumi.ResourceOption) (*AppleApp, error)

GetAppleApp gets an existing AppleApp 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 NewAppleApp added in v6.44.0

func NewAppleApp(ctx *pulumi.Context,
	name string, args *AppleAppArgs, opts ...pulumi.ResourceOption) (*AppleApp, error)

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

func (*AppleApp) ElementType added in v6.44.0

func (*AppleApp) ElementType() reflect.Type

func (*AppleApp) ToAppleAppOutput added in v6.44.0

func (i *AppleApp) ToAppleAppOutput() AppleAppOutput

func (*AppleApp) ToAppleAppOutputWithContext added in v6.44.0

func (i *AppleApp) ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput

type AppleAppArgs added in v6.44.0

type AppleAppArgs struct {
	// The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
	AppStoreId pulumi.StringPtrInput
	// The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
	BundleId pulumi.StringPtrInput
	// (Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp.
	// Default to 'DELETE'.
	DeletionPolicy pulumi.StringPtrInput
	// 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 Apple Developer Team ID associated with the App in the App Store.
	TeamId pulumi.StringPtrInput
}

The set of arguments for constructing a AppleApp resource.

func (AppleAppArgs) ElementType added in v6.44.0

func (AppleAppArgs) ElementType() reflect.Type

type AppleAppArray added in v6.44.0

type AppleAppArray []AppleAppInput

func (AppleAppArray) ElementType added in v6.44.0

func (AppleAppArray) ElementType() reflect.Type

func (AppleAppArray) ToAppleAppArrayOutput added in v6.44.0

func (i AppleAppArray) ToAppleAppArrayOutput() AppleAppArrayOutput

func (AppleAppArray) ToAppleAppArrayOutputWithContext added in v6.44.0

func (i AppleAppArray) ToAppleAppArrayOutputWithContext(ctx context.Context) AppleAppArrayOutput

type AppleAppArrayInput added in v6.44.0

type AppleAppArrayInput interface {
	pulumi.Input

	ToAppleAppArrayOutput() AppleAppArrayOutput
	ToAppleAppArrayOutputWithContext(context.Context) AppleAppArrayOutput
}

AppleAppArrayInput is an input type that accepts AppleAppArray and AppleAppArrayOutput values. You can construct a concrete instance of `AppleAppArrayInput` via:

AppleAppArray{ AppleAppArgs{...} }

type AppleAppArrayOutput added in v6.44.0

type AppleAppArrayOutput struct{ *pulumi.OutputState }

func (AppleAppArrayOutput) ElementType added in v6.44.0

func (AppleAppArrayOutput) ElementType() reflect.Type

func (AppleAppArrayOutput) Index added in v6.44.0

func (AppleAppArrayOutput) ToAppleAppArrayOutput added in v6.44.0

func (o AppleAppArrayOutput) ToAppleAppArrayOutput() AppleAppArrayOutput

func (AppleAppArrayOutput) ToAppleAppArrayOutputWithContext added in v6.44.0

func (o AppleAppArrayOutput) ToAppleAppArrayOutputWithContext(ctx context.Context) AppleAppArrayOutput

type AppleAppInput added in v6.44.0

type AppleAppInput interface {
	pulumi.Input

	ToAppleAppOutput() AppleAppOutput
	ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput
}

type AppleAppMap added in v6.44.0

type AppleAppMap map[string]AppleAppInput

func (AppleAppMap) ElementType added in v6.44.0

func (AppleAppMap) ElementType() reflect.Type

func (AppleAppMap) ToAppleAppMapOutput added in v6.44.0

func (i AppleAppMap) ToAppleAppMapOutput() AppleAppMapOutput

func (AppleAppMap) ToAppleAppMapOutputWithContext added in v6.44.0

func (i AppleAppMap) ToAppleAppMapOutputWithContext(ctx context.Context) AppleAppMapOutput

type AppleAppMapInput added in v6.44.0

type AppleAppMapInput interface {
	pulumi.Input

	ToAppleAppMapOutput() AppleAppMapOutput
	ToAppleAppMapOutputWithContext(context.Context) AppleAppMapOutput
}

AppleAppMapInput is an input type that accepts AppleAppMap and AppleAppMapOutput values. You can construct a concrete instance of `AppleAppMapInput` via:

AppleAppMap{ "key": AppleAppArgs{...} }

type AppleAppMapOutput added in v6.44.0

type AppleAppMapOutput struct{ *pulumi.OutputState }

func (AppleAppMapOutput) ElementType added in v6.44.0

func (AppleAppMapOutput) ElementType() reflect.Type

func (AppleAppMapOutput) MapIndex added in v6.44.0

func (AppleAppMapOutput) ToAppleAppMapOutput added in v6.44.0

func (o AppleAppMapOutput) ToAppleAppMapOutput() AppleAppMapOutput

func (AppleAppMapOutput) ToAppleAppMapOutputWithContext added in v6.44.0

func (o AppleAppMapOutput) ToAppleAppMapOutputWithContext(ctx context.Context) AppleAppMapOutput

type AppleAppOutput added in v6.44.0

type AppleAppOutput struct{ *pulumi.OutputState }

func (AppleAppOutput) AppId added in v6.44.0

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.

func (AppleAppOutput) AppStoreId added in v6.44.0

func (o AppleAppOutput) AppStoreId() pulumi.StringPtrOutput

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

func (AppleAppOutput) BundleId added in v6.44.0

func (o AppleAppOutput) BundleId() pulumi.StringPtrOutput

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

func (AppleAppOutput) DeletionPolicy added in v6.44.0

func (o AppleAppOutput) DeletionPolicy() pulumi.StringPtrOutput

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

func (AppleAppOutput) DisplayName added in v6.44.0

func (o AppleAppOutput) DisplayName() pulumi.StringOutput

The user-assigned display name of the App.

func (AppleAppOutput) ElementType added in v6.44.0

func (AppleAppOutput) ElementType() reflect.Type

func (AppleAppOutput) Name added in v6.44.0

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

func (AppleAppOutput) Project added in v6.44.0

func (o AppleAppOutput) Project() pulumi.StringOutput

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

func (AppleAppOutput) TeamId added in v6.44.0

The Apple Developer Team ID associated with the App in the App Store.

func (AppleAppOutput) ToAppleAppOutput added in v6.44.0

func (o AppleAppOutput) ToAppleAppOutput() AppleAppOutput

func (AppleAppOutput) ToAppleAppOutputWithContext added in v6.44.0

func (o AppleAppOutput) ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput

type AppleAppState added in v6.44.0

type AppleAppState struct {
	// 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 automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
	AppStoreId pulumi.StringPtrInput
	// The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
	BundleId pulumi.StringPtrInput
	// (Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp.
	// Default to 'DELETE'.
	DeletionPolicy 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/iosApps/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
	// The Apple Developer Team ID associated with the App in the App Store.
	TeamId pulumi.StringPtrInput
}

func (AppleAppState) ElementType added in v6.44.0

func (AppleAppState) ElementType() reflect.Type

type DatabaseInstance added in v6.47.0

type DatabaseInstance struct {
	pulumi.CustomResourceState

	// The database URL in the form of https://{instance-id}.firebaseio.com for us-central1 instances
	// or https://{instance-id}.{region}.firebasedatabase.app in other regions.
	DatabaseUrl pulumi.StringOutput `pulumi:"databaseUrl"`
	// The intended database state.
	DesiredState pulumi.StringPtrOutput `pulumi:"desiredState"`
	// The globally unique identifier of the Firebase Realtime Database instance.
	// Instance IDs cannot be reused after deletion.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The fully-qualified resource name of the Firebase Realtime Database, in the
	// format: projects/PROJECT_NUMBER/locations/REGION_IDENTIFIER/instances/INSTANCE_ID
	// PROJECT_NUMBER: The Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number)
	// Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
	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 reference to the region where the Firebase Realtime database resides.
	// Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations)
	Region pulumi.StringOutput `pulumi:"region"`
	// The current database state. Set desiredState to :DISABLED to disable the database and :ACTIVE to reenable the database
	State pulumi.StringOutput `pulumi:"state"`
	// The database type.
	// Each project can create one default Firebase Realtime Database, which cannot be deleted once created.
	// Creating user Databases is only available for projects on the Blaze plan.
	// Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo.
	// Default value is `USER_DATABASE`.
	// Possible values are `DEFAULT_DATABASE` and `USER_DATABASE`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

## Example Usage ### Firebase Database Instance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewDatabaseInstance(ctx, "basic", &firebase.DatabaseInstanceArgs{
			Project:    pulumi.String("my-project-name"),
			Region:     pulumi.String("us-central1"),
			InstanceId: pulumi.String("active-db"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Database Instance Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewDatabaseInstance(ctx, "full", &firebase.DatabaseInstanceArgs{
			Project:      pulumi.String("my-project-name"),
			Region:       pulumi.String("europe-west1"),
			InstanceId:   pulumi.String("disabled-db"),
			Type:         pulumi.String("USER_DATABASE"),
			DesiredState: pulumi.String("DISABLED"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Database Instance Default Database

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultProject, err := organizations.NewProject(ctx, "defaultProject", &organizations.ProjectArgs{
			ProjectId: pulumi.String("rtdb-project"),
			OrgId:     pulumi.String("123456789"),
			Labels: pulumi.StringMap{
				"firebase": pulumi.String("enabled"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewProject(ctx, "defaultFirebase/projectProject", &firebase.ProjectArgs{
			Project: defaultProject.ProjectId,
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		firebaseDatabase, err := projects.NewService(ctx, "firebaseDatabase", &projects.ServiceArgs{
			Project: defaultFirebase / projectProject.Project,
			Service: pulumi.String("firebasedatabase.googleapis.com"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewDatabaseInstance(ctx, "defaultDatabaseInstance", &firebase.DatabaseInstanceArgs{
			Project:    defaultFirebase / projectProject.Project,
			Region:     pulumi.String("us-central1"),
			InstanceId: pulumi.String("rtdb-project-default-rtdb"),
			Type:       pulumi.String("DEFAULT_DATABASE"),
		}, pulumi.Provider(google_beta), pulumi.DependsOn([]pulumi.Resource{
			firebaseDatabase,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/databaseInstance:DatabaseInstance default projects/{{project}}/locations/{{region}}/instances/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/databaseInstance:DatabaseInstance default {{project}}/{{region}}/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/databaseInstance:DatabaseInstance default {{region}}/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/databaseInstance:DatabaseInstance default {{instance_id}}

```

func GetDatabaseInstance added in v6.47.0

func GetDatabaseInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseInstanceState, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)

GetDatabaseInstance gets an existing DatabaseInstance 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 NewDatabaseInstance added in v6.47.0

func NewDatabaseInstance(ctx *pulumi.Context,
	name string, args *DatabaseInstanceArgs, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)

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

func (*DatabaseInstance) ElementType added in v6.47.0

func (*DatabaseInstance) ElementType() reflect.Type

func (*DatabaseInstance) ToDatabaseInstanceOutput added in v6.47.0

func (i *DatabaseInstance) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (*DatabaseInstance) ToDatabaseInstanceOutputWithContext added in v6.47.0

func (i *DatabaseInstance) ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput

type DatabaseInstanceArgs added in v6.47.0

type DatabaseInstanceArgs struct {
	// The intended database state.
	DesiredState pulumi.StringPtrInput
	// The globally unique identifier of the Firebase Realtime Database instance.
	// Instance IDs cannot be reused after deletion.
	InstanceId 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
	// A reference to the region where the Firebase Realtime database resides.
	// Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations)
	Region pulumi.StringInput
	// The database type.
	// Each project can create one default Firebase Realtime Database, which cannot be deleted once created.
	// Creating user Databases is only available for projects on the Blaze plan.
	// Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo.
	// Default value is `USER_DATABASE`.
	// Possible values are `DEFAULT_DATABASE` and `USER_DATABASE`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a DatabaseInstance resource.

func (DatabaseInstanceArgs) ElementType added in v6.47.0

func (DatabaseInstanceArgs) ElementType() reflect.Type

type DatabaseInstanceArray added in v6.47.0

type DatabaseInstanceArray []DatabaseInstanceInput

func (DatabaseInstanceArray) ElementType added in v6.47.0

func (DatabaseInstanceArray) ElementType() reflect.Type

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutput added in v6.47.0

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext added in v6.47.0

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext(ctx context.Context) DatabaseInstanceArrayOutput

type DatabaseInstanceArrayInput added in v6.47.0

type DatabaseInstanceArrayInput interface {
	pulumi.Input

	ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput
	ToDatabaseInstanceArrayOutputWithContext(context.Context) DatabaseInstanceArrayOutput
}

DatabaseInstanceArrayInput is an input type that accepts DatabaseInstanceArray and DatabaseInstanceArrayOutput values. You can construct a concrete instance of `DatabaseInstanceArrayInput` via:

DatabaseInstanceArray{ DatabaseInstanceArgs{...} }

type DatabaseInstanceArrayOutput added in v6.47.0

type DatabaseInstanceArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceArrayOutput) ElementType added in v6.47.0

func (DatabaseInstanceArrayOutput) Index added in v6.47.0

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput added in v6.47.0

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext added in v6.47.0

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext(ctx context.Context) DatabaseInstanceArrayOutput

type DatabaseInstanceInput added in v6.47.0

type DatabaseInstanceInput interface {
	pulumi.Input

	ToDatabaseInstanceOutput() DatabaseInstanceOutput
	ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput
}

type DatabaseInstanceMap added in v6.47.0

type DatabaseInstanceMap map[string]DatabaseInstanceInput

func (DatabaseInstanceMap) ElementType added in v6.47.0

func (DatabaseInstanceMap) ElementType() reflect.Type

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutput added in v6.47.0

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext added in v6.47.0

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext(ctx context.Context) DatabaseInstanceMapOutput

type DatabaseInstanceMapInput added in v6.47.0

type DatabaseInstanceMapInput interface {
	pulumi.Input

	ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput
	ToDatabaseInstanceMapOutputWithContext(context.Context) DatabaseInstanceMapOutput
}

DatabaseInstanceMapInput is an input type that accepts DatabaseInstanceMap and DatabaseInstanceMapOutput values. You can construct a concrete instance of `DatabaseInstanceMapInput` via:

DatabaseInstanceMap{ "key": DatabaseInstanceArgs{...} }

type DatabaseInstanceMapOutput added in v6.47.0

type DatabaseInstanceMapOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceMapOutput) ElementType added in v6.47.0

func (DatabaseInstanceMapOutput) ElementType() reflect.Type

func (DatabaseInstanceMapOutput) MapIndex added in v6.47.0

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput added in v6.47.0

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext added in v6.47.0

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext(ctx context.Context) DatabaseInstanceMapOutput

type DatabaseInstanceOutput added in v6.47.0

type DatabaseInstanceOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceOutput) DatabaseUrl added in v6.47.0

func (o DatabaseInstanceOutput) DatabaseUrl() pulumi.StringOutput

The database URL in the form of https://{instance-id}.firebaseio.com for us-central1 instances or https://{instance-id}.{region}.firebasedatabase.app in other regions.

func (DatabaseInstanceOutput) DesiredState added in v6.47.0

The intended database state.

func (DatabaseInstanceOutput) ElementType added in v6.47.0

func (DatabaseInstanceOutput) ElementType() reflect.Type

func (DatabaseInstanceOutput) InstanceId added in v6.47.0

The globally unique identifier of the Firebase Realtime Database instance. Instance IDs cannot be reused after deletion.

func (DatabaseInstanceOutput) Name added in v6.47.0

The fully-qualified resource name of the Firebase Realtime Database, in the format: projects/PROJECT_NUMBER/locations/REGION_IDENTIFIER/instances/INSTANCE_ID PROJECT_NUMBER: The Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).

func (DatabaseInstanceOutput) Project added in v6.47.0

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

func (DatabaseInstanceOutput) Region added in v6.47.0

A reference to the region where the Firebase Realtime database resides. Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations)

func (DatabaseInstanceOutput) State added in v6.47.0

The current database state. Set desiredState to :DISABLED to disable the database and :ACTIVE to reenable the database

func (DatabaseInstanceOutput) ToDatabaseInstanceOutput added in v6.47.0

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext added in v6.47.0

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput

func (DatabaseInstanceOutput) Type added in v6.47.0

The database type. Each project can create one default Firebase Realtime Database, which cannot be deleted once created. Creating user Databases is only available for projects on the Blaze plan. Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo. Default value is `USER_DATABASE`. Possible values are `DEFAULT_DATABASE` and `USER_DATABASE`.

type DatabaseInstanceState added in v6.47.0

type DatabaseInstanceState struct {
	// The database URL in the form of https://{instance-id}.firebaseio.com for us-central1 instances
	// or https://{instance-id}.{region}.firebasedatabase.app in other regions.
	DatabaseUrl pulumi.StringPtrInput
	// The intended database state.
	DesiredState pulumi.StringPtrInput
	// The globally unique identifier of the Firebase Realtime Database instance.
	// Instance IDs cannot be reused after deletion.
	InstanceId pulumi.StringPtrInput
	// The fully-qualified resource name of the Firebase Realtime Database, in the
	// format: projects/PROJECT_NUMBER/locations/REGION_IDENTIFIER/instances/INSTANCE_ID
	// PROJECT_NUMBER: The Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number)
	// Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
	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
	// A reference to the region where the Firebase Realtime database resides.
	// Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations)
	Region pulumi.StringPtrInput
	// The current database state. Set desiredState to :DISABLED to disable the database and :ACTIVE to reenable the database
	State pulumi.StringPtrInput
	// The database type.
	// Each project can create one default Firebase Realtime Database, which cannot be deleted once created.
	// Creating user Databases is only available for projects on the Blaze plan.
	// Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo.
	// Default value is `USER_DATABASE`.
	// Possible values are `DEFAULT_DATABASE` and `USER_DATABASE`.
	Type pulumi.StringPtrInput
}

func (DatabaseInstanceState) ElementType added in v6.47.0

func (DatabaseInstanceState) ElementType() reflect.Type

type GetAppleAppConfigArgs added in v6.47.0

type GetAppleAppConfigArgs struct {
	// The id of the Firebase iOS App.
	AppId string `pulumi:"appId"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getAppleAppConfig.

type GetAppleAppConfigOutputArgs added in v6.47.0

type GetAppleAppConfigOutputArgs struct {
	// The id of the Firebase iOS App.
	AppId pulumi.StringInput `pulumi:"appId"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getAppleAppConfig.

func (GetAppleAppConfigOutputArgs) ElementType added in v6.47.0

type GetAppleAppConfigResult added in v6.47.0

type GetAppleAppConfigResult struct {
	AppId string `pulumi:"appId"`
	// The content of the XML configuration file as a base64-encoded string.
	ConfigFileContents string `pulumi:"configFileContents"`
	// The filename that the configuration artifact for the IosApp is typically saved as.
	ConfigFilename string `pulumi:"configFilename"`
	// The provider-assigned unique ID for this managed resource.
	Id      string  `pulumi:"id"`
	Project *string `pulumi:"project"`
}

A collection of values returned by getAppleAppConfig.

func GetAppleAppConfig added in v6.47.0

func GetAppleAppConfig(ctx *pulumi.Context, args *GetAppleAppConfigArgs, opts ...pulumi.InvokeOption) (*GetAppleAppConfigResult, error)

type GetAppleAppConfigResultOutput added in v6.47.0

type GetAppleAppConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppleAppConfig.

func GetAppleAppConfigOutput added in v6.47.0

func (GetAppleAppConfigResultOutput) AppId added in v6.47.0

func (GetAppleAppConfigResultOutput) ConfigFileContents added in v6.47.0

func (o GetAppleAppConfigResultOutput) ConfigFileContents() pulumi.StringOutput

The content of the XML configuration file as a base64-encoded string.

func (GetAppleAppConfigResultOutput) ConfigFilename added in v6.47.0

The filename that the configuration artifact for the IosApp is typically saved as.

func (GetAppleAppConfigResultOutput) ElementType added in v6.47.0

func (GetAppleAppConfigResultOutput) Id added in v6.47.0

The provider-assigned unique ID for this managed resource.

func (GetAppleAppConfigResultOutput) Project added in v6.47.0

func (GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutput added in v6.47.0

func (o GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutput() GetAppleAppConfigResultOutput

func (GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutputWithContext added in v6.47.0

func (o GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutputWithContext(ctx context.Context) GetAppleAppConfigResultOutput

type GetWebAppConfigArgs

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 GetWebAppConfigOutputArgs

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

A collection of arguments for invoking getWebAppConfig.

func (GetWebAppConfigOutputArgs) ElementType

func (GetWebAppConfigOutputArgs) ElementType() reflect.Type

type GetWebAppConfigResult

type GetWebAppConfigResult struct {
	// The API key associated with the web App.
	ApiKey string `pulumi:"apiKey"`
	// The domain Firebase Auth configures for OAuth redirects, in the format:
	// projectId.firebaseapp.com
	AuthDomain string `pulumi:"authDomain"`
	// The default Firebase Realtime Database URL.
	DatabaseUrl string `pulumi:"databaseUrl"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the project's default GCP resource location. The location is one of the available GCP resource
	// locations.
	// This field is omitted if the default GCP resource location has not been finalized yet. To set your project's
	// default GCP resource location, call defaultLocation.finalize after you add Firebase services to your project.
	LocationId string `pulumi:"locationId"`
	// The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App.
	// Firebase SDKs use this ID to interact with Google Analytics APIs.
	// This field is only present if the App is linked to a web stream in a Google Analytics App + Web property.
	// Learn more about this ID and Google Analytics web streams in the Analytics documentation.
	// To generate a measurementId and link the Web App with a Google Analytics web stream,
	// call projects.addGoogleAnalytics.
	MeasurementId string `pulumi:"measurementId"`
	// The sender ID for use with Firebase Cloud Messaging.
	MessagingSenderId string  `pulumi:"messagingSenderId"`
	Project           *string `pulumi:"project"`
	// The default Cloud Storage for Firebase storage bucket name.
	StorageBucket string `pulumi:"storageBucket"`
	WebAppId      string `pulumi:"webAppId"`
}

A collection of values returned by getWebAppConfig.

func GetWebAppConfig

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

type GetWebAppConfigResultOutput

type GetWebAppConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWebAppConfig.

func (GetWebAppConfigResultOutput) ApiKey

The API key associated with the web App.

func (GetWebAppConfigResultOutput) AuthDomain

The domain Firebase Auth configures for OAuth redirects, in the format: projectId.firebaseapp.com

func (GetWebAppConfigResultOutput) DatabaseUrl

The default Firebase Realtime Database URL.

func (GetWebAppConfigResultOutput) ElementType

func (GetWebAppConfigResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetWebAppConfigResultOutput) LocationId

The ID of the project's default GCP resource location. The location is one of the available GCP resource locations. This field is omitted if the default GCP resource location has not been finalized yet. To set your project's default GCP resource location, call defaultLocation.finalize after you add Firebase services to your project.

func (GetWebAppConfigResultOutput) MeasurementId

The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App. Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if the App is linked to a web stream in a Google Analytics App + Web property. Learn more about this ID and Google Analytics web streams in the Analytics documentation. To generate a measurementId and link the Web App with a Google Analytics web stream, call projects.addGoogleAnalytics.

func (GetWebAppConfigResultOutput) MessagingSenderId

func (o GetWebAppConfigResultOutput) MessagingSenderId() pulumi.StringOutput

The sender ID for use with Firebase Cloud Messaging.

func (GetWebAppConfigResultOutput) Project

func (GetWebAppConfigResultOutput) StorageBucket

The default Cloud Storage for Firebase storage bucket name.

func (GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput

func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput() GetWebAppConfigResultOutput

func (GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext

func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext(ctx context.Context) GetWebAppConfigResultOutput

func (GetWebAppConfigResultOutput) WebAppId

type HostingChannel added in v6.44.0

type HostingChannel struct {
	pulumi.CustomResourceState

	// Required. Immutable. A unique ID within the site that identifies the channel.
	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// The time at which the channel will be automatically deleted. If null, the channel
	// will not be automatically deleted. This field is present in the output whether it's
	// set directly or via the `ttl` field.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// Text labels used for extra metadata and/or filtering
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The fully-qualified resource name for the channel, in the format:
	// sites/SITE_ID/channels/CHANNEL_ID
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of previous releases to retain on the channel for rollback or other
	// purposes. Must be a number between 1-100. Defaults to 10 for new channels.
	RetainedReleaseCount pulumi.IntOutput `pulumi:"retainedReleaseCount"`
	// Required. The ID of the site in which to create this channel.
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// Input only. A time-to-live for this channel. Sets `expireTime` to the provided
	// duration past the time of the request. A duration in seconds with up to nine fractional
	// digits, terminated by 's'. Example: "86400s" (one day).
	Ttl pulumi.StringPtrOutput `pulumi:"ttl"`
}

## Example Usage ### Firebasehosting Channel Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-with-channel"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingChannel(ctx, "defaultHostingChannel", &firebase.HostingChannelArgs{
			SiteId:    defaultHostingSite.SiteId,
			ChannelId: pulumi.String("channel-basic"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Channel Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewHostingSite(ctx, "default", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-with-channel"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingChannel(ctx, "full", &firebase.HostingChannelArgs{
			SiteId:               _default.SiteId,
			ChannelId:            pulumi.String("channel-full"),
			Ttl:                  pulumi.String("86400s"),
			RetainedReleaseCount: pulumi.Int(20),
			Labels: pulumi.StringMap{
				"some-key": pulumi.String("some-value"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Channel can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/hostingChannel:HostingChannel default sites/{{site_id}}/channels/{{channel_id}}

```

```sh

$ pulumi import gcp:firebase/hostingChannel:HostingChannel default {{site_id}}/{{channel_id}}

```

func GetHostingChannel added in v6.44.0

func GetHostingChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingChannelState, opts ...pulumi.ResourceOption) (*HostingChannel, error)

GetHostingChannel gets an existing HostingChannel 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 NewHostingChannel added in v6.44.0

func NewHostingChannel(ctx *pulumi.Context,
	name string, args *HostingChannelArgs, opts ...pulumi.ResourceOption) (*HostingChannel, error)

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

func (*HostingChannel) ElementType added in v6.44.0

func (*HostingChannel) ElementType() reflect.Type

func (*HostingChannel) ToHostingChannelOutput added in v6.44.0

func (i *HostingChannel) ToHostingChannelOutput() HostingChannelOutput

func (*HostingChannel) ToHostingChannelOutputWithContext added in v6.44.0

func (i *HostingChannel) ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput

type HostingChannelArgs added in v6.44.0

type HostingChannelArgs struct {
	// Required. Immutable. A unique ID within the site that identifies the channel.
	ChannelId pulumi.StringInput
	// The time at which the channel will be automatically deleted. If null, the channel
	// will not be automatically deleted. This field is present in the output whether it's
	// set directly or via the `ttl` field.
	ExpireTime pulumi.StringPtrInput
	// Text labels used for extra metadata and/or filtering
	Labels pulumi.StringMapInput
	// The number of previous releases to retain on the channel for rollback or other
	// purposes. Must be a number between 1-100. Defaults to 10 for new channels.
	RetainedReleaseCount pulumi.IntPtrInput
	// Required. The ID of the site in which to create this channel.
	SiteId pulumi.StringInput
	// Input only. A time-to-live for this channel. Sets `expireTime` to the provided
	// duration past the time of the request. A duration in seconds with up to nine fractional
	// digits, terminated by 's'. Example: "86400s" (one day).
	Ttl pulumi.StringPtrInput
}

The set of arguments for constructing a HostingChannel resource.

func (HostingChannelArgs) ElementType added in v6.44.0

func (HostingChannelArgs) ElementType() reflect.Type

type HostingChannelArray added in v6.44.0

type HostingChannelArray []HostingChannelInput

func (HostingChannelArray) ElementType added in v6.44.0

func (HostingChannelArray) ElementType() reflect.Type

func (HostingChannelArray) ToHostingChannelArrayOutput added in v6.44.0

func (i HostingChannelArray) ToHostingChannelArrayOutput() HostingChannelArrayOutput

func (HostingChannelArray) ToHostingChannelArrayOutputWithContext added in v6.44.0

func (i HostingChannelArray) ToHostingChannelArrayOutputWithContext(ctx context.Context) HostingChannelArrayOutput

type HostingChannelArrayInput added in v6.44.0

type HostingChannelArrayInput interface {
	pulumi.Input

	ToHostingChannelArrayOutput() HostingChannelArrayOutput
	ToHostingChannelArrayOutputWithContext(context.Context) HostingChannelArrayOutput
}

HostingChannelArrayInput is an input type that accepts HostingChannelArray and HostingChannelArrayOutput values. You can construct a concrete instance of `HostingChannelArrayInput` via:

HostingChannelArray{ HostingChannelArgs{...} }

type HostingChannelArrayOutput added in v6.44.0

type HostingChannelArrayOutput struct{ *pulumi.OutputState }

func (HostingChannelArrayOutput) ElementType added in v6.44.0

func (HostingChannelArrayOutput) ElementType() reflect.Type

func (HostingChannelArrayOutput) Index added in v6.44.0

func (HostingChannelArrayOutput) ToHostingChannelArrayOutput added in v6.44.0

func (o HostingChannelArrayOutput) ToHostingChannelArrayOutput() HostingChannelArrayOutput

func (HostingChannelArrayOutput) ToHostingChannelArrayOutputWithContext added in v6.44.0

func (o HostingChannelArrayOutput) ToHostingChannelArrayOutputWithContext(ctx context.Context) HostingChannelArrayOutput

type HostingChannelInput added in v6.44.0

type HostingChannelInput interface {
	pulumi.Input

	ToHostingChannelOutput() HostingChannelOutput
	ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput
}

type HostingChannelMap added in v6.44.0

type HostingChannelMap map[string]HostingChannelInput

func (HostingChannelMap) ElementType added in v6.44.0

func (HostingChannelMap) ElementType() reflect.Type

func (HostingChannelMap) ToHostingChannelMapOutput added in v6.44.0

func (i HostingChannelMap) ToHostingChannelMapOutput() HostingChannelMapOutput

func (HostingChannelMap) ToHostingChannelMapOutputWithContext added in v6.44.0

func (i HostingChannelMap) ToHostingChannelMapOutputWithContext(ctx context.Context) HostingChannelMapOutput

type HostingChannelMapInput added in v6.44.0

type HostingChannelMapInput interface {
	pulumi.Input

	ToHostingChannelMapOutput() HostingChannelMapOutput
	ToHostingChannelMapOutputWithContext(context.Context) HostingChannelMapOutput
}

HostingChannelMapInput is an input type that accepts HostingChannelMap and HostingChannelMapOutput values. You can construct a concrete instance of `HostingChannelMapInput` via:

HostingChannelMap{ "key": HostingChannelArgs{...} }

type HostingChannelMapOutput added in v6.44.0

type HostingChannelMapOutput struct{ *pulumi.OutputState }

func (HostingChannelMapOutput) ElementType added in v6.44.0

func (HostingChannelMapOutput) ElementType() reflect.Type

func (HostingChannelMapOutput) MapIndex added in v6.44.0

func (HostingChannelMapOutput) ToHostingChannelMapOutput added in v6.44.0

func (o HostingChannelMapOutput) ToHostingChannelMapOutput() HostingChannelMapOutput

func (HostingChannelMapOutput) ToHostingChannelMapOutputWithContext added in v6.44.0

func (o HostingChannelMapOutput) ToHostingChannelMapOutputWithContext(ctx context.Context) HostingChannelMapOutput

type HostingChannelOutput added in v6.44.0

type HostingChannelOutput struct{ *pulumi.OutputState }

func (HostingChannelOutput) ChannelId added in v6.44.0

Required. Immutable. A unique ID within the site that identifies the channel.

func (HostingChannelOutput) ElementType added in v6.44.0

func (HostingChannelOutput) ElementType() reflect.Type

func (HostingChannelOutput) ExpireTime added in v6.44.0

func (o HostingChannelOutput) ExpireTime() pulumi.StringOutput

The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field.

func (HostingChannelOutput) Labels added in v6.44.0

Text labels used for extra metadata and/or filtering

func (HostingChannelOutput) Name added in v6.44.0

The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID

func (HostingChannelOutput) RetainedReleaseCount added in v6.44.0

func (o HostingChannelOutput) RetainedReleaseCount() pulumi.IntOutput

The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.

func (HostingChannelOutput) SiteId added in v6.44.0

Required. The ID of the site in which to create this channel.

func (HostingChannelOutput) ToHostingChannelOutput added in v6.44.0

func (o HostingChannelOutput) ToHostingChannelOutput() HostingChannelOutput

func (HostingChannelOutput) ToHostingChannelOutputWithContext added in v6.44.0

func (o HostingChannelOutput) ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput

func (HostingChannelOutput) Ttl added in v6.44.0

Input only. A time-to-live for this channel. Sets `expireTime` to the provided duration past the time of the request. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "86400s" (one day).

type HostingChannelState added in v6.44.0

type HostingChannelState struct {
	// Required. Immutable. A unique ID within the site that identifies the channel.
	ChannelId pulumi.StringPtrInput
	// The time at which the channel will be automatically deleted. If null, the channel
	// will not be automatically deleted. This field is present in the output whether it's
	// set directly or via the `ttl` field.
	ExpireTime pulumi.StringPtrInput
	// Text labels used for extra metadata and/or filtering
	Labels pulumi.StringMapInput
	// The fully-qualified resource name for the channel, in the format:
	// sites/SITE_ID/channels/CHANNEL_ID
	Name pulumi.StringPtrInput
	// The number of previous releases to retain on the channel for rollback or other
	// purposes. Must be a number between 1-100. Defaults to 10 for new channels.
	RetainedReleaseCount pulumi.IntPtrInput
	// Required. The ID of the site in which to create this channel.
	SiteId pulumi.StringPtrInput
	// Input only. A time-to-live for this channel. Sets `expireTime` to the provided
	// duration past the time of the request. A duration in seconds with up to nine fractional
	// digits, terminated by 's'. Example: "86400s" (one day).
	Ttl pulumi.StringPtrInput
}

func (HostingChannelState) ElementType added in v6.44.0

func (HostingChannelState) ElementType() reflect.Type

type HostingSite added in v6.44.0

type HostingSite struct {
	pulumi.CustomResourceState

	// Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id)
	// associated with the Hosting site.
	AppId pulumi.StringPtrOutput `pulumi:"appId"`
	// The default URL for the site in the form of https://{name}.web.app
	DefaultUrl pulumi.StringOutput `pulumi:"defaultUrl"`
	// Output only. The fully-qualified resource name of the Hosting site, in the
	// format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the
	// Firebase project's
	// [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its
	// [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id).
	// Learn more about using project identifiers in Google's
	// [AIP 2510 standard](https://google.aip.dev/cloud/2510).
	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"`
	// Required. Immutable. A globally unique identifier for the Hosting site. This identifier is
	// used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid
	// domain name label.
	SiteId pulumi.StringPtrOutput `pulumi:"siteId"`
}

## Example Usage ### Firebasehosting Site Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewHostingSite(ctx, "default", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-no-app"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Site Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewWebApp(ctx, "default", &firebase.WebAppArgs{
			Project:        pulumi.String("my-project-name"),
			DisplayName:    pulumi.String("Test web app for Firebase Hosting"),
			DeletionPolicy: pulumi.String("DELETE"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingSite(ctx, "full", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-with-app"),
			AppId:   _default.AppId,
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Site can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/hostingSite:HostingSite default projects/{{project}}/sites/{{site_id}}

```

```sh

$ pulumi import gcp:firebase/hostingSite:HostingSite default {{project}}/{{site_id}}

```

```sh

$ pulumi import gcp:firebase/hostingSite:HostingSite default sites/{{site_id}}

```

```sh

$ pulumi import gcp:firebase/hostingSite:HostingSite default {{site_id}}

```

func GetHostingSite added in v6.44.0

func GetHostingSite(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingSiteState, opts ...pulumi.ResourceOption) (*HostingSite, error)

GetHostingSite gets an existing HostingSite 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 NewHostingSite added in v6.44.0

func NewHostingSite(ctx *pulumi.Context,
	name string, args *HostingSiteArgs, opts ...pulumi.ResourceOption) (*HostingSite, error)

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

func (*HostingSite) ElementType added in v6.44.0

func (*HostingSite) ElementType() reflect.Type

func (*HostingSite) ToHostingSiteOutput added in v6.44.0

func (i *HostingSite) ToHostingSiteOutput() HostingSiteOutput

func (*HostingSite) ToHostingSiteOutputWithContext added in v6.44.0

func (i *HostingSite) ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput

type HostingSiteArgs added in v6.44.0

type HostingSiteArgs struct {
	// Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id)
	// associated with the Hosting site.
	AppId 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
	// Required. Immutable. A globally unique identifier for the Hosting site. This identifier is
	// used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid
	// domain name label.
	SiteId pulumi.StringPtrInput
}

The set of arguments for constructing a HostingSite resource.

func (HostingSiteArgs) ElementType added in v6.44.0

func (HostingSiteArgs) ElementType() reflect.Type

type HostingSiteArray added in v6.44.0

type HostingSiteArray []HostingSiteInput

func (HostingSiteArray) ElementType added in v6.44.0

func (HostingSiteArray) ElementType() reflect.Type

func (HostingSiteArray) ToHostingSiteArrayOutput added in v6.44.0

func (i HostingSiteArray) ToHostingSiteArrayOutput() HostingSiteArrayOutput

func (HostingSiteArray) ToHostingSiteArrayOutputWithContext added in v6.44.0

func (i HostingSiteArray) ToHostingSiteArrayOutputWithContext(ctx context.Context) HostingSiteArrayOutput

type HostingSiteArrayInput added in v6.44.0

type HostingSiteArrayInput interface {
	pulumi.Input

	ToHostingSiteArrayOutput() HostingSiteArrayOutput
	ToHostingSiteArrayOutputWithContext(context.Context) HostingSiteArrayOutput
}

HostingSiteArrayInput is an input type that accepts HostingSiteArray and HostingSiteArrayOutput values. You can construct a concrete instance of `HostingSiteArrayInput` via:

HostingSiteArray{ HostingSiteArgs{...} }

type HostingSiteArrayOutput added in v6.44.0

type HostingSiteArrayOutput struct{ *pulumi.OutputState }

func (HostingSiteArrayOutput) ElementType added in v6.44.0

func (HostingSiteArrayOutput) ElementType() reflect.Type

func (HostingSiteArrayOutput) Index added in v6.44.0

func (HostingSiteArrayOutput) ToHostingSiteArrayOutput added in v6.44.0

func (o HostingSiteArrayOutput) ToHostingSiteArrayOutput() HostingSiteArrayOutput

func (HostingSiteArrayOutput) ToHostingSiteArrayOutputWithContext added in v6.44.0

func (o HostingSiteArrayOutput) ToHostingSiteArrayOutputWithContext(ctx context.Context) HostingSiteArrayOutput

type HostingSiteInput added in v6.44.0

type HostingSiteInput interface {
	pulumi.Input

	ToHostingSiteOutput() HostingSiteOutput
	ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput
}

type HostingSiteMap added in v6.44.0

type HostingSiteMap map[string]HostingSiteInput

func (HostingSiteMap) ElementType added in v6.44.0

func (HostingSiteMap) ElementType() reflect.Type

func (HostingSiteMap) ToHostingSiteMapOutput added in v6.44.0

func (i HostingSiteMap) ToHostingSiteMapOutput() HostingSiteMapOutput

func (HostingSiteMap) ToHostingSiteMapOutputWithContext added in v6.44.0

func (i HostingSiteMap) ToHostingSiteMapOutputWithContext(ctx context.Context) HostingSiteMapOutput

type HostingSiteMapInput added in v6.44.0

type HostingSiteMapInput interface {
	pulumi.Input

	ToHostingSiteMapOutput() HostingSiteMapOutput
	ToHostingSiteMapOutputWithContext(context.Context) HostingSiteMapOutput
}

HostingSiteMapInput is an input type that accepts HostingSiteMap and HostingSiteMapOutput values. You can construct a concrete instance of `HostingSiteMapInput` via:

HostingSiteMap{ "key": HostingSiteArgs{...} }

type HostingSiteMapOutput added in v6.44.0

type HostingSiteMapOutput struct{ *pulumi.OutputState }

func (HostingSiteMapOutput) ElementType added in v6.44.0

func (HostingSiteMapOutput) ElementType() reflect.Type

func (HostingSiteMapOutput) MapIndex added in v6.44.0

func (HostingSiteMapOutput) ToHostingSiteMapOutput added in v6.44.0

func (o HostingSiteMapOutput) ToHostingSiteMapOutput() HostingSiteMapOutput

func (HostingSiteMapOutput) ToHostingSiteMapOutputWithContext added in v6.44.0

func (o HostingSiteMapOutput) ToHostingSiteMapOutputWithContext(ctx context.Context) HostingSiteMapOutput

type HostingSiteOutput added in v6.44.0

type HostingSiteOutput struct{ *pulumi.OutputState }

func (HostingSiteOutput) AppId added in v6.44.0

Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site.

func (HostingSiteOutput) DefaultUrl added in v6.44.0

func (o HostingSiteOutput) DefaultUrl() pulumi.StringOutput

The default URL for the site in the form of https://{name}.web.app

func (HostingSiteOutput) ElementType added in v6.44.0

func (HostingSiteOutput) ElementType() reflect.Type

func (HostingSiteOutput) Name added in v6.44.0

Output only. The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).

func (HostingSiteOutput) Project added in v6.44.0

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

func (HostingSiteOutput) SiteId added in v6.44.0

Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.

func (HostingSiteOutput) ToHostingSiteOutput added in v6.44.0

func (o HostingSiteOutput) ToHostingSiteOutput() HostingSiteOutput

func (HostingSiteOutput) ToHostingSiteOutputWithContext added in v6.44.0

func (o HostingSiteOutput) ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput

type HostingSiteState added in v6.44.0

type HostingSiteState struct {
	// Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id)
	// associated with the Hosting site.
	AppId pulumi.StringPtrInput
	// The default URL for the site in the form of https://{name}.web.app
	DefaultUrl pulumi.StringPtrInput
	// Output only. The fully-qualified resource name of the Hosting site, in the
	// format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the
	// Firebase project's
	// [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its
	// [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id).
	// Learn more about using project identifiers in Google's
	// [AIP 2510 standard](https://google.aip.dev/cloud/2510).
	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
	// Required. Immutable. A globally unique identifier for the Hosting site. This identifier is
	// used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid
	// domain name label.
	SiteId pulumi.StringPtrInput
}

func (HostingSiteState) ElementType added in v6.44.0

func (HostingSiteState) ElementType() reflect.Type

type LookupAndroidAppArgs added in v6.45.0

type LookupAndroidAppArgs struct {
	// The appId of name of the Firebase androidApp.
	AppId string `pulumi:"appId"`
}

A collection of arguments for invoking getAndroidApp.

type LookupAndroidAppOutputArgs added in v6.45.0

type LookupAndroidAppOutputArgs struct {
	// The appId of name of the Firebase androidApp.
	AppId pulumi.StringInput `pulumi:"appId"`
}

A collection of arguments for invoking getAndroidApp.

func (LookupAndroidAppOutputArgs) ElementType added in v6.45.0

func (LookupAndroidAppOutputArgs) ElementType() reflect.Type

type LookupAndroidAppResult added in v6.45.0

type LookupAndroidAppResult struct {
	// Immutable. The globally unique, Firebase-assigned identifier of the AndroidApp.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId          string `pulumi:"appId"`
	DeletionPolicy string `pulumi:"deletionPolicy"`
	// The user-assigned display name of the AndroidApp.
	DisplayName string `pulumi:"displayName"`
	// This checksum is computed by the server based on the value of other fields, and it may be sent
	// with update requests to ensure the client has an up-to-date value before proceeding.
	Etag string `pulumi:"etag"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The fully qualified resource name of the AndroidApp, for example:
	// projects/projectId/androidApps/appId
	Name string `pulumi:"name"`
	// The canonical package name of the Android app as would appear in the Google Play Developer Console.
	PackageName string `pulumi:"packageName"`
	Project     string `pulumi:"project"`
	// The SHA1 certificate hashes for the AndroidApp.
	Sha1Hashes []string `pulumi:"sha1Hashes"`
	// The SHA256 certificate hashes for the AndroidApp.
	Sha256Hashes []string `pulumi:"sha256Hashes"`
}

A collection of values returned by getAndroidApp.

func LookupAndroidApp added in v6.45.0

func LookupAndroidApp(ctx *pulumi.Context, args *LookupAndroidAppArgs, opts ...pulumi.InvokeOption) (*LookupAndroidAppResult, error)

type LookupAndroidAppResultOutput added in v6.45.0

type LookupAndroidAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAndroidApp.

func LookupAndroidAppOutput added in v6.45.0

func (LookupAndroidAppResultOutput) AppId added in v6.45.0

Immutable. The globally unique, Firebase-assigned identifier of the AndroidApp. This identifier should be treated as an opaque token, as the data format is not specified.

func (LookupAndroidAppResultOutput) DeletionPolicy added in v6.45.0

func (LookupAndroidAppResultOutput) DisplayName added in v6.45.0

The user-assigned display name of the AndroidApp.

func (LookupAndroidAppResultOutput) ElementType added in v6.45.0

func (LookupAndroidAppResultOutput) Etag added in v6.47.0

This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding.

func (LookupAndroidAppResultOutput) Id added in v6.45.0

The provider-assigned unique ID for this managed resource.

func (LookupAndroidAppResultOutput) Name added in v6.45.0

The fully qualified resource name of the AndroidApp, for example: projects/projectId/androidApps/appId

func (LookupAndroidAppResultOutput) PackageName added in v6.45.0

The canonical package name of the Android app as would appear in the Google Play Developer Console.

func (LookupAndroidAppResultOutput) Project added in v6.45.0

func (LookupAndroidAppResultOutput) Sha1Hashes added in v6.47.0

The SHA1 certificate hashes for the AndroidApp.

func (LookupAndroidAppResultOutput) Sha256Hashes added in v6.47.0

The SHA256 certificate hashes for the AndroidApp.

func (LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput added in v6.45.0

func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput() LookupAndroidAppResultOutput

func (LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext added in v6.45.0

func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext(ctx context.Context) LookupAndroidAppResultOutput

type LookupAppleAppArgs added in v6.47.0

type LookupAppleAppArgs struct {
	// The appId of name of the Firebase iosApp.
	AppId string `pulumi:"appId"`
}

A collection of arguments for invoking getAppleApp.

type LookupAppleAppOutputArgs added in v6.47.0

type LookupAppleAppOutputArgs struct {
	// The appId of name of the Firebase iosApp.
	AppId pulumi.StringInput `pulumi:"appId"`
}

A collection of arguments for invoking getAppleApp.

func (LookupAppleAppOutputArgs) ElementType added in v6.47.0

func (LookupAppleAppOutputArgs) ElementType() reflect.Type

type LookupAppleAppResult added in v6.47.0

type LookupAppleAppResult 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 string `pulumi:"appId"`
	// The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
	AppStoreId string `pulumi:"appStoreId"`
	// The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
	BundleId       string `pulumi:"bundleId"`
	DeletionPolicy string `pulumi:"deletionPolicy"`
	// The user-assigned display name of the App.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The fully qualified resource name of the App, for example:
	// projects/projectId/iosApps/appId
	Name    string `pulumi:"name"`
	Project string `pulumi:"project"`
	// The Apple Developer Team ID associated with the App in the App Store.
	TeamId string `pulumi:"teamId"`
}

A collection of values returned by getAppleApp.

func LookupAppleApp added in v6.47.0

func LookupAppleApp(ctx *pulumi.Context, args *LookupAppleAppArgs, opts ...pulumi.InvokeOption) (*LookupAppleAppResult, error)

type LookupAppleAppResultOutput added in v6.47.0

type LookupAppleAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppleApp.

func LookupAppleAppOutput added in v6.47.0

func LookupAppleAppOutput(ctx *pulumi.Context, args LookupAppleAppOutputArgs, opts ...pulumi.InvokeOption) LookupAppleAppResultOutput

func (LookupAppleAppResultOutput) AppId added in v6.47.0

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.

func (LookupAppleAppResultOutput) AppStoreId added in v6.47.0

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

func (LookupAppleAppResultOutput) BundleId added in v6.47.0

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

func (LookupAppleAppResultOutput) DeletionPolicy added in v6.47.0

func (o LookupAppleAppResultOutput) DeletionPolicy() pulumi.StringOutput

func (LookupAppleAppResultOutput) DisplayName added in v6.47.0

The user-assigned display name of the App.

func (LookupAppleAppResultOutput) ElementType added in v6.47.0

func (LookupAppleAppResultOutput) ElementType() reflect.Type

func (LookupAppleAppResultOutput) Id added in v6.47.0

The provider-assigned unique ID for this managed resource.

func (LookupAppleAppResultOutput) Name added in v6.47.0

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

func (LookupAppleAppResultOutput) Project added in v6.47.0

func (LookupAppleAppResultOutput) TeamId added in v6.47.0

The Apple Developer Team ID associated with the App in the App Store.

func (LookupAppleAppResultOutput) ToLookupAppleAppResultOutput added in v6.47.0

func (o LookupAppleAppResultOutput) ToLookupAppleAppResultOutput() LookupAppleAppResultOutput

func (LookupAppleAppResultOutput) ToLookupAppleAppResultOutputWithContext added in v6.47.0

func (o LookupAppleAppResultOutput) ToLookupAppleAppResultOutputWithContext(ctx context.Context) LookupAppleAppResultOutput

type LookupWebAppArgs

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

A collection of arguments for invoking getWebApp.

type LookupWebAppOutputArgs

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

A collection of arguments for invoking getWebApp.

func (LookupWebAppOutputArgs) ElementType

func (LookupWebAppOutputArgs) ElementType() reflect.Type

type LookupWebAppResult

type LookupWebAppResult 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          string   `pulumi:"appId"`
	AppUrls        []string `pulumi:"appUrls"`
	DeletionPolicy string   `pulumi:"deletionPolicy"`
	DisplayName    string   `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The fully qualified resource name of the App, for example:
	// projects/projectId/webApps/appId
	Name    string `pulumi:"name"`
	Project string `pulumi:"project"`
}

A collection of values returned by getWebApp.

func LookupWebApp

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

type LookupWebAppResultOutput

type LookupWebAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWebApp.

func (LookupWebAppResultOutput) AppId

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.

func (LookupWebAppResultOutput) AppUrls added in v6.42.0

func (LookupWebAppResultOutput) DeletionPolicy added in v6.42.0

func (o LookupWebAppResultOutput) DeletionPolicy() pulumi.StringOutput

func (LookupWebAppResultOutput) DisplayName

func (LookupWebAppResultOutput) ElementType

func (LookupWebAppResultOutput) ElementType() reflect.Type

func (LookupWebAppResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupWebAppResultOutput) Name

The fully qualified resource name of the App, for example: projects/projectId/webApps/appId

func (LookupWebAppResultOutput) Project

func (LookupWebAppResultOutput) ToLookupWebAppResultOutput

func (o LookupWebAppResultOutput) ToLookupWebAppResultOutput() LookupWebAppResultOutput

func (LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext

func (o LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext(ctx context.Context) LookupWebAppResultOutput

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

## Example Usage

## Import

Project can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/project:Project default projects/{{project}}

```

```sh

$ pulumi import gcp:firebase/project:Project default {{project}}

```

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.

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

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 ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

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

## Example Usage

## Import

ProjectLocation can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/projectLocation:ProjectLocation default projects/{{project}}

```

```sh

$ pulumi import gcp:firebase/projectLocation:ProjectLocation default {{project}}

```

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.

func (*ProjectLocation) ElementType

func (*ProjectLocation) ElementType() reflect.Type

func (*ProjectLocation) ToProjectLocationOutput

func (i *ProjectLocation) ToProjectLocationOutput() ProjectLocationOutput

func (*ProjectLocation) ToProjectLocationOutputWithContext

func (i *ProjectLocation) ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput

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 ProjectLocationArray

type ProjectLocationArray []ProjectLocationInput

func (ProjectLocationArray) ElementType

func (ProjectLocationArray) ElementType() reflect.Type

func (ProjectLocationArray) ToProjectLocationArrayOutput

func (i ProjectLocationArray) ToProjectLocationArrayOutput() ProjectLocationArrayOutput

func (ProjectLocationArray) ToProjectLocationArrayOutputWithContext

func (i ProjectLocationArray) ToProjectLocationArrayOutputWithContext(ctx context.Context) ProjectLocationArrayOutput

type ProjectLocationArrayInput

type ProjectLocationArrayInput interface {
	pulumi.Input

	ToProjectLocationArrayOutput() ProjectLocationArrayOutput
	ToProjectLocationArrayOutputWithContext(context.Context) ProjectLocationArrayOutput
}

ProjectLocationArrayInput is an input type that accepts ProjectLocationArray and ProjectLocationArrayOutput values. You can construct a concrete instance of `ProjectLocationArrayInput` via:

ProjectLocationArray{ ProjectLocationArgs{...} }

type ProjectLocationArrayOutput

type ProjectLocationArrayOutput struct{ *pulumi.OutputState }

func (ProjectLocationArrayOutput) ElementType

func (ProjectLocationArrayOutput) ElementType() reflect.Type

func (ProjectLocationArrayOutput) Index

func (ProjectLocationArrayOutput) ToProjectLocationArrayOutput

func (o ProjectLocationArrayOutput) ToProjectLocationArrayOutput() ProjectLocationArrayOutput

func (ProjectLocationArrayOutput) ToProjectLocationArrayOutputWithContext

func (o ProjectLocationArrayOutput) ToProjectLocationArrayOutputWithContext(ctx context.Context) ProjectLocationArrayOutput

type ProjectLocationInput

type ProjectLocationInput interface {
	pulumi.Input

	ToProjectLocationOutput() ProjectLocationOutput
	ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput
}

type ProjectLocationMap

type ProjectLocationMap map[string]ProjectLocationInput

func (ProjectLocationMap) ElementType

func (ProjectLocationMap) ElementType() reflect.Type

func (ProjectLocationMap) ToProjectLocationMapOutput

func (i ProjectLocationMap) ToProjectLocationMapOutput() ProjectLocationMapOutput

func (ProjectLocationMap) ToProjectLocationMapOutputWithContext

func (i ProjectLocationMap) ToProjectLocationMapOutputWithContext(ctx context.Context) ProjectLocationMapOutput

type ProjectLocationMapInput

type ProjectLocationMapInput interface {
	pulumi.Input

	ToProjectLocationMapOutput() ProjectLocationMapOutput
	ToProjectLocationMapOutputWithContext(context.Context) ProjectLocationMapOutput
}

ProjectLocationMapInput is an input type that accepts ProjectLocationMap and ProjectLocationMapOutput values. You can construct a concrete instance of `ProjectLocationMapInput` via:

ProjectLocationMap{ "key": ProjectLocationArgs{...} }

type ProjectLocationMapOutput

type ProjectLocationMapOutput struct{ *pulumi.OutputState }

func (ProjectLocationMapOutput) ElementType

func (ProjectLocationMapOutput) ElementType() reflect.Type

func (ProjectLocationMapOutput) MapIndex

func (ProjectLocationMapOutput) ToProjectLocationMapOutput

func (o ProjectLocationMapOutput) ToProjectLocationMapOutput() ProjectLocationMapOutput

func (ProjectLocationMapOutput) ToProjectLocationMapOutputWithContext

func (o ProjectLocationMapOutput) ToProjectLocationMapOutputWithContext(ctx context.Context) ProjectLocationMapOutput

type ProjectLocationOutput

type ProjectLocationOutput struct{ *pulumi.OutputState }

func (ProjectLocationOutput) ElementType

func (ProjectLocationOutput) ElementType() reflect.Type

func (ProjectLocationOutput) LocationId added in v6.23.0

func (o ProjectLocationOutput) LocationId() pulumi.StringOutput

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

func (ProjectLocationOutput) Project added in v6.23.0

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

func (ProjectLocationOutput) ToProjectLocationOutput

func (o ProjectLocationOutput) ToProjectLocationOutput() ProjectLocationOutput

func (ProjectLocationOutput) ToProjectLocationOutputWithContext

func (o ProjectLocationOutput) ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput

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 ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) DisplayName added in v6.23.0

func (o ProjectOutput) DisplayName() pulumi.StringOutput

The GCP project display name

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Project added in v6.23.0

func (o ProjectOutput) Project() pulumi.StringOutput

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

func (ProjectOutput) ProjectNumber added in v6.23.0

func (o ProjectOutput) ProjectNumber() pulumi.StringOutput

The number of the google project that firebase is enabled on.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

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 StorageBucket added in v6.45.0

type StorageBucket struct {
	pulumi.CustomResourceState

	// Required. Immutable. The ID of the underlying Google Cloud Storage bucket
	BucketId pulumi.StringPtrOutput `pulumi:"bucketId"`
	// Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
	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"`
}

## Example Usage ### Firebasestorage Bucket Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultBucket, err := storage.NewBucket(ctx, "defaultBucket", &storage.BucketArgs{
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewStorageBucket(ctx, "defaultStorageBucket", &firebase.StorageBucketArgs{
			Project:  pulumi.String("my-project-name"),
			BucketId: defaultBucket.ID(),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Bucket can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/storageBucket:StorageBucket default projects/{{project}}/buckets/{{bucket_id}}

```

```sh

$ pulumi import gcp:firebase/storageBucket:StorageBucket default {{project}}/{{bucket_id}}

```

```sh

$ pulumi import gcp:firebase/storageBucket:StorageBucket default {{bucket_id}}

```

func GetStorageBucket added in v6.45.0

func GetStorageBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageBucketState, opts ...pulumi.ResourceOption) (*StorageBucket, error)

GetStorageBucket gets an existing StorageBucket 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 NewStorageBucket added in v6.45.0

func NewStorageBucket(ctx *pulumi.Context,
	name string, args *StorageBucketArgs, opts ...pulumi.ResourceOption) (*StorageBucket, error)

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

func (*StorageBucket) ElementType added in v6.45.0

func (*StorageBucket) ElementType() reflect.Type

func (*StorageBucket) ToStorageBucketOutput added in v6.45.0

func (i *StorageBucket) ToStorageBucketOutput() StorageBucketOutput

func (*StorageBucket) ToStorageBucketOutputWithContext added in v6.45.0

func (i *StorageBucket) ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput

type StorageBucketArgs added in v6.45.0

type StorageBucketArgs struct {
	// Required. Immutable. The ID of the underlying Google Cloud Storage bucket
	BucketId 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 set of arguments for constructing a StorageBucket resource.

func (StorageBucketArgs) ElementType added in v6.45.0

func (StorageBucketArgs) ElementType() reflect.Type

type StorageBucketArray added in v6.45.0

type StorageBucketArray []StorageBucketInput

func (StorageBucketArray) ElementType added in v6.45.0

func (StorageBucketArray) ElementType() reflect.Type

func (StorageBucketArray) ToStorageBucketArrayOutput added in v6.45.0

func (i StorageBucketArray) ToStorageBucketArrayOutput() StorageBucketArrayOutput

func (StorageBucketArray) ToStorageBucketArrayOutputWithContext added in v6.45.0

func (i StorageBucketArray) ToStorageBucketArrayOutputWithContext(ctx context.Context) StorageBucketArrayOutput

type StorageBucketArrayInput added in v6.45.0

type StorageBucketArrayInput interface {
	pulumi.Input

	ToStorageBucketArrayOutput() StorageBucketArrayOutput
	ToStorageBucketArrayOutputWithContext(context.Context) StorageBucketArrayOutput
}

StorageBucketArrayInput is an input type that accepts StorageBucketArray and StorageBucketArrayOutput values. You can construct a concrete instance of `StorageBucketArrayInput` via:

StorageBucketArray{ StorageBucketArgs{...} }

type StorageBucketArrayOutput added in v6.45.0

type StorageBucketArrayOutput struct{ *pulumi.OutputState }

func (StorageBucketArrayOutput) ElementType added in v6.45.0

func (StorageBucketArrayOutput) ElementType() reflect.Type

func (StorageBucketArrayOutput) Index added in v6.45.0

func (StorageBucketArrayOutput) ToStorageBucketArrayOutput added in v6.45.0

func (o StorageBucketArrayOutput) ToStorageBucketArrayOutput() StorageBucketArrayOutput

func (StorageBucketArrayOutput) ToStorageBucketArrayOutputWithContext added in v6.45.0

func (o StorageBucketArrayOutput) ToStorageBucketArrayOutputWithContext(ctx context.Context) StorageBucketArrayOutput

type StorageBucketInput added in v6.45.0

type StorageBucketInput interface {
	pulumi.Input

	ToStorageBucketOutput() StorageBucketOutput
	ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput
}

type StorageBucketMap added in v6.45.0

type StorageBucketMap map[string]StorageBucketInput

func (StorageBucketMap) ElementType added in v6.45.0

func (StorageBucketMap) ElementType() reflect.Type

func (StorageBucketMap) ToStorageBucketMapOutput added in v6.45.0

func (i StorageBucketMap) ToStorageBucketMapOutput() StorageBucketMapOutput

func (StorageBucketMap) ToStorageBucketMapOutputWithContext added in v6.45.0

func (i StorageBucketMap) ToStorageBucketMapOutputWithContext(ctx context.Context) StorageBucketMapOutput

type StorageBucketMapInput added in v6.45.0

type StorageBucketMapInput interface {
	pulumi.Input

	ToStorageBucketMapOutput() StorageBucketMapOutput
	ToStorageBucketMapOutputWithContext(context.Context) StorageBucketMapOutput
}

StorageBucketMapInput is an input type that accepts StorageBucketMap and StorageBucketMapOutput values. You can construct a concrete instance of `StorageBucketMapInput` via:

StorageBucketMap{ "key": StorageBucketArgs{...} }

type StorageBucketMapOutput added in v6.45.0

type StorageBucketMapOutput struct{ *pulumi.OutputState }

func (StorageBucketMapOutput) ElementType added in v6.45.0

func (StorageBucketMapOutput) ElementType() reflect.Type

func (StorageBucketMapOutput) MapIndex added in v6.45.0

func (StorageBucketMapOutput) ToStorageBucketMapOutput added in v6.45.0

func (o StorageBucketMapOutput) ToStorageBucketMapOutput() StorageBucketMapOutput

func (StorageBucketMapOutput) ToStorageBucketMapOutputWithContext added in v6.45.0

func (o StorageBucketMapOutput) ToStorageBucketMapOutputWithContext(ctx context.Context) StorageBucketMapOutput

type StorageBucketOutput added in v6.45.0

type StorageBucketOutput struct{ *pulumi.OutputState }

func (StorageBucketOutput) BucketId added in v6.45.0

Required. Immutable. The ID of the underlying Google Cloud Storage bucket

func (StorageBucketOutput) ElementType added in v6.45.0

func (StorageBucketOutput) ElementType() reflect.Type

func (StorageBucketOutput) Name added in v6.45.0

Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID

func (StorageBucketOutput) Project added in v6.45.0

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

func (StorageBucketOutput) ToStorageBucketOutput added in v6.45.0

func (o StorageBucketOutput) ToStorageBucketOutput() StorageBucketOutput

func (StorageBucketOutput) ToStorageBucketOutputWithContext added in v6.45.0

func (o StorageBucketOutput) ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput

type StorageBucketState added in v6.45.0

type StorageBucketState struct {
	// Required. Immutable. The ID of the underlying Google Cloud Storage bucket
	BucketId pulumi.StringPtrInput
	// Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
	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 (StorageBucketState) ElementType added in v6.45.0

func (StorageBucketState) ElementType() reflect.Type

type WebApp

type WebApp struct {
	pulumi.CustomResourceState

	// 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 URLs where the `WebApp` is hosted.
	AppUrls pulumi.StringArrayOutput `pulumi:"appUrls"`
	// Set to 'ABANDON' to allow the WebApp to be untracked from terraform state rather than deleted upon 'terraform destroy'.
	// This is useful becaue the WebApp may be serving traffic. Set to 'DELETE' to delete the WebApp. Default to 'ABANDON'
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// 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"`
}

## Example Usage

## Import

WebApp can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/webApp:WebApp default {{project}}/{{name}}

```

```sh

$ pulumi import gcp:firebase/webApp:WebApp default {{project}} {{name}}

```

```sh

$ pulumi import gcp:firebase/webApp:WebApp default {{name}}

```

func GetWebApp

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

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.

func (*WebApp) ElementType

func (*WebApp) ElementType() reflect.Type

func (*WebApp) ToWebAppOutput

func (i *WebApp) ToWebAppOutput() WebAppOutput

func (*WebApp) ToWebAppOutputWithContext

func (i *WebApp) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput

type WebAppArgs

type WebAppArgs struct {
	// Set to 'ABANDON' to allow the WebApp to be untracked from terraform state rather than deleted upon 'terraform destroy'.
	// This is useful becaue the WebApp may be serving traffic. Set to 'DELETE' to delete the WebApp. Default to 'ABANDON'
	DeletionPolicy pulumi.StringPtrInput
	// 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

func (WebAppArgs) ElementType() reflect.Type

type WebAppArray

type WebAppArray []WebAppInput

func (WebAppArray) ElementType

func (WebAppArray) ElementType() reflect.Type

func (WebAppArray) ToWebAppArrayOutput

func (i WebAppArray) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArray) ToWebAppArrayOutputWithContext

func (i WebAppArray) ToWebAppArrayOutputWithContext(ctx context.Context) WebAppArrayOutput

type WebAppArrayInput

type WebAppArrayInput interface {
	pulumi.Input

	ToWebAppArrayOutput() WebAppArrayOutput
	ToWebAppArrayOutputWithContext(context.Context) WebAppArrayOutput
}

WebAppArrayInput is an input type that accepts WebAppArray and WebAppArrayOutput values. You can construct a concrete instance of `WebAppArrayInput` via:

WebAppArray{ WebAppArgs{...} }

type WebAppArrayOutput

type WebAppArrayOutput struct{ *pulumi.OutputState }

func (WebAppArrayOutput) ElementType

func (WebAppArrayOutput) ElementType() reflect.Type

func (WebAppArrayOutput) Index

func (WebAppArrayOutput) ToWebAppArrayOutput

func (o WebAppArrayOutput) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArrayOutput) ToWebAppArrayOutputWithContext

func (o WebAppArrayOutput) ToWebAppArrayOutputWithContext(ctx context.Context) WebAppArrayOutput

type WebAppInput

type WebAppInput interface {
	pulumi.Input

	ToWebAppOutput() WebAppOutput
	ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
}

type WebAppMap

type WebAppMap map[string]WebAppInput

func (WebAppMap) ElementType

func (WebAppMap) ElementType() reflect.Type

func (WebAppMap) ToWebAppMapOutput

func (i WebAppMap) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMap) ToWebAppMapOutputWithContext

func (i WebAppMap) ToWebAppMapOutputWithContext(ctx context.Context) WebAppMapOutput

type WebAppMapInput

type WebAppMapInput interface {
	pulumi.Input

	ToWebAppMapOutput() WebAppMapOutput
	ToWebAppMapOutputWithContext(context.Context) WebAppMapOutput
}

WebAppMapInput is an input type that accepts WebAppMap and WebAppMapOutput values. You can construct a concrete instance of `WebAppMapInput` via:

WebAppMap{ "key": WebAppArgs{...} }

type WebAppMapOutput

type WebAppMapOutput struct{ *pulumi.OutputState }

func (WebAppMapOutput) ElementType

func (WebAppMapOutput) ElementType() reflect.Type

func (WebAppMapOutput) MapIndex

func (WebAppMapOutput) ToWebAppMapOutput

func (o WebAppMapOutput) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMapOutput) ToWebAppMapOutputWithContext

func (o WebAppMapOutput) ToWebAppMapOutputWithContext(ctx context.Context) WebAppMapOutput

type WebAppOutput

type WebAppOutput struct{ *pulumi.OutputState }

func (WebAppOutput) AppId added in v6.23.0

func (o WebAppOutput) AppId() pulumi.StringOutput

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.

func (WebAppOutput) AppUrls added in v6.42.0

The URLs where the `WebApp` is hosted.

func (WebAppOutput) DeletionPolicy added in v6.42.0

func (o WebAppOutput) DeletionPolicy() pulumi.StringPtrOutput

Set to 'ABANDON' to allow the WebApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful becaue the WebApp may be serving traffic. Set to 'DELETE' to delete the WebApp. Default to 'ABANDON'

func (WebAppOutput) DisplayName added in v6.23.0

func (o WebAppOutput) DisplayName() pulumi.StringOutput

The user-assigned display name of the App.

func (WebAppOutput) ElementType

func (WebAppOutput) ElementType() reflect.Type

func (WebAppOutput) Name added in v6.23.0

func (o WebAppOutput) Name() pulumi.StringOutput

The fully qualified resource name of the App, for example: projects/projectId/webApps/appId

func (WebAppOutput) Project added in v6.23.0

func (o WebAppOutput) Project() pulumi.StringOutput

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

func (WebAppOutput) ToWebAppOutput

func (o WebAppOutput) ToWebAppOutput() WebAppOutput

func (WebAppOutput) ToWebAppOutputWithContext

func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput

type WebAppState

type WebAppState struct {
	// 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 URLs where the `WebApp` is hosted.
	AppUrls pulumi.StringArrayInput
	// Set to 'ABANDON' to allow the WebApp to be untracked from terraform state rather than deleted upon 'terraform destroy'.
	// This is useful becaue the WebApp may be serving traffic. Set to 'DELETE' to delete the WebApp. Default to 'ABANDON'
	DeletionPolicy 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

func (WebAppState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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