firebase

package
v6.67.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 8 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, Google-assigned identifier (UID) for the Firebase API key associated with the AndroidApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AndroidApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringOutput `pulumi:"apiKeyId"`
	// 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. Defaults 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("android.package.app"),
			Sha1Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
			},
			Sha256Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Android App Custom Api Key

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"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 {
		android, err := projects.NewApiKey(ctx, "android", &projects.ApiKeyArgs{
			DisplayName: pulumi.String("Display Name"),
			Project:     pulumi.String("my-project-name"),
			Restrictions: &projects.ApiKeyRestrictionsArgs{
				AndroidKeyRestrictions: &projects.ApiKeyRestrictionsAndroidKeyRestrictionsArgs{
					AllowedApplications: projects.ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArray{
						&projects.ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs{
							PackageName:     pulumi.String("android.package.app"),
							Sha1Fingerprint: pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
						},
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewAndroidApp(ctx, "default", &firebase.AndroidAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name"),
			PackageName: pulumi.String("android.package.app"),
			Sha1Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
			},
			Sha256Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
			},
			ApiKeyId: android.Uid,
		}, 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 {{project}} projects/{{project}}/androidApps/{{app_id}}

```

```sh

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

```

```sh

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

```

```sh

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

```

```sh

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

```

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

func (*AndroidApp) ToOutput added in v6.65.1

func (i *AndroidApp) ToOutput(ctx context.Context) pulumix.Output[*AndroidApp]

type AndroidAppArgs added in v6.42.0

type AndroidAppArgs struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AndroidApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AndroidApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId 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. Defaults 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

func (AndroidAppArray) ToOutput added in v6.65.1

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

func (AndroidAppArrayOutput) ToOutput added in v6.65.1

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

func (AndroidAppMap) ToOutput added in v6.65.1

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

func (AndroidAppMapOutput) ToOutput added in v6.65.1

type AndroidAppOutput added in v6.42.0

type AndroidAppOutput struct{ *pulumi.OutputState }

func (AndroidAppOutput) ApiKeyId added in v6.65.0

func (o AndroidAppOutput) ApiKeyId() pulumi.StringOutput

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AndroidApp. If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AndroidApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.

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. Defaults 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

func (AndroidAppOutput) ToOutput added in v6.65.1

type AndroidAppState added in v6.42.0

type AndroidAppState struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AndroidApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AndroidApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// 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. Defaults 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, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringOutput `pulumi:"apiKeyId"`
	// 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.StringOutput `pulumi:"bundleId"`
	// (Optional) Set to 'ABANDON' to allow the Apple to be untracked from terraform state rather than deleted upon 'terraform
	// destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults 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-gcp/sdk/v6/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		apple, err := projects.NewApiKey(ctx, "apple", &projects.ApiKeyArgs{
			DisplayName: pulumi.String("Display Name Full"),
			Project:     pulumi.String("my-project-name"),
			Restrictions: &projects.ApiKeyRestrictionsArgs{
				IosKeyRestrictions: &projects.ApiKeyRestrictionsIosKeyRestrictionsArgs{
					AllowedBundleIds: pulumi.StringArray{
						pulumi.String("apple.app.12345"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, 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"),
			ApiKeyId:    apple.Uid,
		}, 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 {{project}} projects/{{project}}/iosApps/{{app_id}}

```

```sh

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

```

```sh

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

```

```sh

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

```

```sh

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

```

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

func (*AppleApp) ToOutput added in v6.65.1

func (i *AppleApp) ToOutput(ctx context.Context) pulumix.Output[*AppleApp]

type AppleAppArgs added in v6.44.0

type AppleAppArgs struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId 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.StringInput
	// (Optional) Set to 'ABANDON' to allow the Apple to be untracked from terraform state rather than deleted upon 'terraform
	// destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults 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

func (AppleAppArray) ToOutput added in v6.65.1

func (i AppleAppArray) ToOutput(ctx context.Context) pulumix.Output[[]*AppleApp]

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

func (AppleAppArrayOutput) ToOutput added in v6.65.1

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

func (AppleAppMap) ToOutput added in v6.65.1

func (i AppleAppMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AppleApp]

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

func (AppleAppMapOutput) ToOutput added in v6.65.1

type AppleAppOutput added in v6.44.0

type AppleAppOutput struct{ *pulumi.OutputState }

func (AppleAppOutput) ApiKeyId added in v6.65.0

func (o AppleAppOutput) ApiKeyId() pulumi.StringOutput

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp. If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.

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.StringOutput

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 Apple to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults 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

func (AppleAppOutput) ToOutput added in v6.65.1

type AppleAppState added in v6.44.0

type AppleAppState struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// 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 Apple to be untracked from terraform state rather than deleted upon 'terraform
	// destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults 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`, `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

func (*DatabaseInstance) ToOutput added in v6.65.1

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`, `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

func (DatabaseInstanceArray) ToOutput added in v6.65.1

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

func (DatabaseInstanceArrayOutput) ToOutput added in v6.65.1

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

func (DatabaseInstanceMap) ToOutput added in v6.65.1

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

func (DatabaseInstanceMapOutput) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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`, `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`, `USER_DATABASE`.
	Type pulumi.StringPtrInput
}

func (DatabaseInstanceState) ElementType added in v6.47.0

func (DatabaseInstanceState) ElementType() reflect.Type

type ExtensionsInstance added in v6.60.0

type ExtensionsInstance struct {
	pulumi.CustomResourceState

	// The current Config of the Extension Instance.
	// Structure is documented below.
	Config ExtensionsInstanceConfigOutput `pulumi:"config"`
	// (Output)
	// The time at which the Extension Instance Config was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// If this Instance has `state: ERRORED`, the error messages
	// will be found here.
	// Structure is documented below.
	ErrorStatuses ExtensionsInstanceErrorStatusArrayOutput `pulumi:"errorStatuses"`
	// A weak etag that is computed by the server based on other configuration
	// values and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The ID to use for the Extension Instance, which will become the final
	// component of the instance's name.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The name of the last operation that acted on this Extension
	// Instance
	LastOperationName pulumi.StringOutput `pulumi:"lastOperationName"`
	// The type of the last operation that acted on the Extension Instance.
	LastOperationType pulumi.StringOutput `pulumi:"lastOperationType"`
	// (Output)
	// The unique identifier for this configuration.
	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"`
	// Data set by the extension instance at runtime.
	// Structure is documented below.
	RuntimeDatas ExtensionsInstanceRuntimeDataArrayOutput `pulumi:"runtimeDatas"`
	// The email of the service account to be used at runtime by compute resources
	// created for the operation of the Extension instance.
	ServiceAccountEmail pulumi.StringOutput `pulumi:"serviceAccountEmail"`
	// The processing state of the extension instance.
	State pulumi.StringOutput `pulumi:"state"`
	// The time at which the Extension Instance was updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

## Example Usage ### Firebase Extentions Instance Resize Image

```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 {
		images, err := storage.NewBucket(ctx, "images", &storage.BucketArgs{
			Project:                  pulumi.String("my-project-name"),
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
			ForceDestroy:             pulumi.Bool(true),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewExtensionsInstance(ctx, "resizeImage", &firebase.ExtensionsInstanceArgs{
			Project:    pulumi.String("my-project-name"),
			InstanceId: pulumi.String("storage-resize-images"),
			Config: &firebase.ExtensionsInstanceConfigArgs{
				ExtensionRef:     pulumi.String("firebase/storage-resize-images"),
				ExtensionVersion: pulumi.String("0.1.37"),
				Params: pulumi.StringMap{
					"DELETE_ORIGINAL_FILE": pulumi.String("false"),
					"MAKE_PUBLIC":          pulumi.String("false"),
					"IMAGE_TYPE":           pulumi.String("false"),
					"IS_ANIMATED":          pulumi.String("true"),
					"FUNCTION_MEMORY":      pulumi.String("1024"),
					"DO_BACKFILL":          pulumi.String("false"),
					"IMG_SIZES":            pulumi.String("200x200"),
					"IMG_BUCKET":           images.Name,
					"LOCATION":             pulumi.String(""),
				},
				SystemParams: pulumi.StringMap{
					"firebaseextensions.v1beta.function/maxInstances":               pulumi.String("3000"),
					"firebaseextensions.v1beta.function/memory":                     pulumi.String("256"),
					"firebaseextensions.v1beta.function/minInstances":               pulumi.String("0"),
					"firebaseextensions.v1beta.function/vpcConnectorEgressSettings": pulumi.String("VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED"),
				},
				AllowedEventTypes: pulumi.StringArray{
					pulumi.String("firebase.extensions.storage-resize-images.v1.complete"),
				},
				EventarcChannel: pulumi.String("projects/my-project-name/locations//channels/firebase"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default projects/{{project}}/instances/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default {{project}}/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default {{instance_id}}

```

func GetExtensionsInstance added in v6.60.0

func GetExtensionsInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExtensionsInstanceState, opts ...pulumi.ResourceOption) (*ExtensionsInstance, error)

GetExtensionsInstance gets an existing ExtensionsInstance 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 NewExtensionsInstance added in v6.60.0

func NewExtensionsInstance(ctx *pulumi.Context,
	name string, args *ExtensionsInstanceArgs, opts ...pulumi.ResourceOption) (*ExtensionsInstance, error)

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

func (*ExtensionsInstance) ElementType added in v6.60.0

func (*ExtensionsInstance) ElementType() reflect.Type

func (*ExtensionsInstance) ToExtensionsInstanceOutput added in v6.60.0

func (i *ExtensionsInstance) ToExtensionsInstanceOutput() ExtensionsInstanceOutput

func (*ExtensionsInstance) ToExtensionsInstanceOutputWithContext added in v6.60.0

func (i *ExtensionsInstance) ToExtensionsInstanceOutputWithContext(ctx context.Context) ExtensionsInstanceOutput

func (*ExtensionsInstance) ToOutput added in v6.65.1

type ExtensionsInstanceArgs added in v6.60.0

type ExtensionsInstanceArgs struct {
	// The current Config of the Extension Instance.
	// Structure is documented below.
	Config ExtensionsInstanceConfigInput
	// The ID to use for the Extension Instance, which will become the final
	// component of the instance's name.
	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
}

The set of arguments for constructing a ExtensionsInstance resource.

func (ExtensionsInstanceArgs) ElementType added in v6.60.0

func (ExtensionsInstanceArgs) ElementType() reflect.Type

type ExtensionsInstanceArray added in v6.60.0

type ExtensionsInstanceArray []ExtensionsInstanceInput

func (ExtensionsInstanceArray) ElementType added in v6.60.0

func (ExtensionsInstanceArray) ElementType() reflect.Type

func (ExtensionsInstanceArray) ToExtensionsInstanceArrayOutput added in v6.60.0

func (i ExtensionsInstanceArray) ToExtensionsInstanceArrayOutput() ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArray) ToExtensionsInstanceArrayOutputWithContext added in v6.60.0

func (i ExtensionsInstanceArray) ToExtensionsInstanceArrayOutputWithContext(ctx context.Context) ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArray) ToOutput added in v6.65.1

type ExtensionsInstanceArrayInput added in v6.60.0

type ExtensionsInstanceArrayInput interface {
	pulumi.Input

	ToExtensionsInstanceArrayOutput() ExtensionsInstanceArrayOutput
	ToExtensionsInstanceArrayOutputWithContext(context.Context) ExtensionsInstanceArrayOutput
}

ExtensionsInstanceArrayInput is an input type that accepts ExtensionsInstanceArray and ExtensionsInstanceArrayOutput values. You can construct a concrete instance of `ExtensionsInstanceArrayInput` via:

ExtensionsInstanceArray{ ExtensionsInstanceArgs{...} }

type ExtensionsInstanceArrayOutput added in v6.60.0

type ExtensionsInstanceArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceArrayOutput) ElementType added in v6.60.0

func (ExtensionsInstanceArrayOutput) Index added in v6.60.0

func (ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutput added in v6.60.0

func (o ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutput() ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutputWithContext added in v6.60.0

func (o ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutputWithContext(ctx context.Context) ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArrayOutput) ToOutput added in v6.65.1

type ExtensionsInstanceConfig added in v6.60.0

type ExtensionsInstanceConfig struct {
	// List of extension events selected by consumer that extension is allowed to
	// emit, identified by their types.
	AllowedEventTypes []string `pulumi:"allowedEventTypes"`
	// (Output)
	// The time at which the Extension Instance Config was created.
	CreateTime *string `pulumi:"createTime"`
	// Fully qualified Eventarc resource name that consumers should use for event triggers.
	EventarcChannel *string `pulumi:"eventarcChannel"`
	// The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
	ExtensionRef string `pulumi:"extensionRef"`
	// The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
	ExtensionVersion *string `pulumi:"extensionVersion"`
	// (Output)
	// The unique identifier for this configuration.
	Name *string `pulumi:"name"`
	// Environment variables that may be configured for the Extension
	Params map[string]string `pulumi:"params"`
	// (Output)
	// Postinstall instructions to be shown for this Extension, with
	// template strings representing function and parameter values substituted
	// with actual values. These strings include: ${param:FOO},
	// ${function:myFunc.url},
	// ${function:myFunc.name}, and ${function:myFunc.location}
	//
	// ***
	PopulatedPostinstallContent *string `pulumi:"populatedPostinstallContent"`
	// Params whose values are only available at deployment time.
	// Unlike other params, these will not be set as environment variables on
	// functions.
	SystemParams map[string]string `pulumi:"systemParams"`
}

type ExtensionsInstanceConfigArgs added in v6.60.0

type ExtensionsInstanceConfigArgs struct {
	// List of extension events selected by consumer that extension is allowed to
	// emit, identified by their types.
	AllowedEventTypes pulumi.StringArrayInput `pulumi:"allowedEventTypes"`
	// (Output)
	// The time at which the Extension Instance Config was created.
	CreateTime pulumi.StringPtrInput `pulumi:"createTime"`
	// Fully qualified Eventarc resource name that consumers should use for event triggers.
	EventarcChannel pulumi.StringPtrInput `pulumi:"eventarcChannel"`
	// The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
	ExtensionRef pulumi.StringInput `pulumi:"extensionRef"`
	// The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
	ExtensionVersion pulumi.StringPtrInput `pulumi:"extensionVersion"`
	// (Output)
	// The unique identifier for this configuration.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Environment variables that may be configured for the Extension
	Params pulumi.StringMapInput `pulumi:"params"`
	// (Output)
	// Postinstall instructions to be shown for this Extension, with
	// template strings representing function and parameter values substituted
	// with actual values. These strings include: ${param:FOO},
	// ${function:myFunc.url},
	// ${function:myFunc.name}, and ${function:myFunc.location}
	//
	// ***
	PopulatedPostinstallContent pulumi.StringPtrInput `pulumi:"populatedPostinstallContent"`
	// Params whose values are only available at deployment time.
	// Unlike other params, these will not be set as environment variables on
	// functions.
	SystemParams pulumi.StringMapInput `pulumi:"systemParams"`
}

func (ExtensionsInstanceConfigArgs) ElementType added in v6.60.0

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutput added in v6.60.0

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutput() ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutputWithContext added in v6.60.0

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutputWithContext(ctx context.Context) ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutput added in v6.60.0

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutputWithContext added in v6.60.0

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutputWithContext(ctx context.Context) ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigArgs) ToOutput added in v6.65.1

type ExtensionsInstanceConfigInput added in v6.60.0

type ExtensionsInstanceConfigInput interface {
	pulumi.Input

	ToExtensionsInstanceConfigOutput() ExtensionsInstanceConfigOutput
	ToExtensionsInstanceConfigOutputWithContext(context.Context) ExtensionsInstanceConfigOutput
}

ExtensionsInstanceConfigInput is an input type that accepts ExtensionsInstanceConfigArgs and ExtensionsInstanceConfigOutput values. You can construct a concrete instance of `ExtensionsInstanceConfigInput` via:

ExtensionsInstanceConfigArgs{...}

type ExtensionsInstanceConfigOutput added in v6.60.0

type ExtensionsInstanceConfigOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceConfigOutput) AllowedEventTypes added in v6.60.0

List of extension events selected by consumer that extension is allowed to emit, identified by their types.

func (ExtensionsInstanceConfigOutput) CreateTime added in v6.60.0

(Output) The time at which the Extension Instance Config was created.

func (ExtensionsInstanceConfigOutput) ElementType added in v6.60.0

func (ExtensionsInstanceConfigOutput) EventarcChannel added in v6.60.0

Fully qualified Eventarc resource name that consumers should use for event triggers.

func (ExtensionsInstanceConfigOutput) ExtensionRef added in v6.60.0

The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)

func (ExtensionsInstanceConfigOutput) ExtensionVersion added in v6.60.0

The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.

func (ExtensionsInstanceConfigOutput) Name added in v6.60.0

(Output) The unique identifier for this configuration.

func (ExtensionsInstanceConfigOutput) Params added in v6.60.0

Environment variables that may be configured for the Extension

func (ExtensionsInstanceConfigOutput) PopulatedPostinstallContent added in v6.60.0

func (o ExtensionsInstanceConfigOutput) PopulatedPostinstallContent() pulumi.StringPtrOutput

(Output) Postinstall instructions to be shown for this Extension, with template strings representing function and parameter values substituted with actual values. These strings include: ${param:FOO}, ${function:myFunc.url}, ${function:myFunc.name}, and ${function:myFunc.location}

***

func (ExtensionsInstanceConfigOutput) SystemParams added in v6.60.0

Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions.

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutput added in v6.60.0

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutput() ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutputWithContext added in v6.60.0

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutputWithContext(ctx context.Context) ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutput added in v6.60.0

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutputWithContext added in v6.60.0

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutputWithContext(ctx context.Context) ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigOutput) ToOutput added in v6.65.1

type ExtensionsInstanceConfigPtrInput added in v6.60.0

type ExtensionsInstanceConfigPtrInput interface {
	pulumi.Input

	ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput
	ToExtensionsInstanceConfigPtrOutputWithContext(context.Context) ExtensionsInstanceConfigPtrOutput
}

ExtensionsInstanceConfigPtrInput is an input type that accepts ExtensionsInstanceConfigArgs, ExtensionsInstanceConfigPtr and ExtensionsInstanceConfigPtrOutput values. You can construct a concrete instance of `ExtensionsInstanceConfigPtrInput` via:

        ExtensionsInstanceConfigArgs{...}

or:

        nil

func ExtensionsInstanceConfigPtr added in v6.60.0

func ExtensionsInstanceConfigPtr(v *ExtensionsInstanceConfigArgs) ExtensionsInstanceConfigPtrInput

type ExtensionsInstanceConfigPtrOutput added in v6.60.0

type ExtensionsInstanceConfigPtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceConfigPtrOutput) AllowedEventTypes added in v6.60.0

List of extension events selected by consumer that extension is allowed to emit, identified by their types.

func (ExtensionsInstanceConfigPtrOutput) CreateTime added in v6.60.0

(Output) The time at which the Extension Instance Config was created.

func (ExtensionsInstanceConfigPtrOutput) Elem added in v6.60.0

func (ExtensionsInstanceConfigPtrOutput) ElementType added in v6.60.0

func (ExtensionsInstanceConfigPtrOutput) EventarcChannel added in v6.60.0

Fully qualified Eventarc resource name that consumers should use for event triggers.

func (ExtensionsInstanceConfigPtrOutput) ExtensionRef added in v6.60.0

The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)

func (ExtensionsInstanceConfigPtrOutput) ExtensionVersion added in v6.60.0

The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.

func (ExtensionsInstanceConfigPtrOutput) Name added in v6.60.0

(Output) The unique identifier for this configuration.

func (ExtensionsInstanceConfigPtrOutput) Params added in v6.60.0

Environment variables that may be configured for the Extension

func (ExtensionsInstanceConfigPtrOutput) PopulatedPostinstallContent added in v6.60.0

func (o ExtensionsInstanceConfigPtrOutput) PopulatedPostinstallContent() pulumi.StringPtrOutput

(Output) Postinstall instructions to be shown for this Extension, with template strings representing function and parameter values substituted with actual values. These strings include: ${param:FOO}, ${function:myFunc.url}, ${function:myFunc.name}, and ${function:myFunc.location}

***

func (ExtensionsInstanceConfigPtrOutput) SystemParams added in v6.60.0

Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions.

func (ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutput added in v6.60.0

func (o ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutputWithContext added in v6.60.0

func (o ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutputWithContext(ctx context.Context) ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigPtrOutput) ToOutput added in v6.65.1

type ExtensionsInstanceErrorStatus added in v6.60.0

type ExtensionsInstanceErrorStatus struct {
	// The status code, which should be an enum value of google.rpc.Code.
	Code *int `pulumi:"code"`
	// A list of messages that carry the error details.
	Details []map[string]interface{} `pulumi:"details"`
	// A developer-facing error message, which should be in English.
	Message *string `pulumi:"message"`
}

type ExtensionsInstanceErrorStatusArgs added in v6.60.0

type ExtensionsInstanceErrorStatusArgs struct {
	// The status code, which should be an enum value of google.rpc.Code.
	Code pulumi.IntPtrInput `pulumi:"code"`
	// A list of messages that carry the error details.
	Details pulumi.MapArrayInput `pulumi:"details"`
	// A developer-facing error message, which should be in English.
	Message pulumi.StringPtrInput `pulumi:"message"`
}

func (ExtensionsInstanceErrorStatusArgs) ElementType added in v6.60.0

func (ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutput added in v6.60.0

func (i ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutput() ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutputWithContext added in v6.60.0

func (i ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutputWithContext(ctx context.Context) ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusArgs) ToOutput added in v6.65.1

type ExtensionsInstanceErrorStatusArray added in v6.60.0

type ExtensionsInstanceErrorStatusArray []ExtensionsInstanceErrorStatusInput

func (ExtensionsInstanceErrorStatusArray) ElementType added in v6.60.0

func (ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutput added in v6.60.0

func (i ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutput() ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutputWithContext added in v6.60.0

func (i ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutputWithContext(ctx context.Context) ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArray) ToOutput added in v6.65.1

type ExtensionsInstanceErrorStatusArrayInput added in v6.60.0

type ExtensionsInstanceErrorStatusArrayInput interface {
	pulumi.Input

	ToExtensionsInstanceErrorStatusArrayOutput() ExtensionsInstanceErrorStatusArrayOutput
	ToExtensionsInstanceErrorStatusArrayOutputWithContext(context.Context) ExtensionsInstanceErrorStatusArrayOutput
}

ExtensionsInstanceErrorStatusArrayInput is an input type that accepts ExtensionsInstanceErrorStatusArray and ExtensionsInstanceErrorStatusArrayOutput values. You can construct a concrete instance of `ExtensionsInstanceErrorStatusArrayInput` via:

ExtensionsInstanceErrorStatusArray{ ExtensionsInstanceErrorStatusArgs{...} }

type ExtensionsInstanceErrorStatusArrayOutput added in v6.60.0

type ExtensionsInstanceErrorStatusArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceErrorStatusArrayOutput) ElementType added in v6.60.0

func (ExtensionsInstanceErrorStatusArrayOutput) Index added in v6.60.0

func (ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutput added in v6.60.0

func (o ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutput() ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutputWithContext added in v6.60.0

func (o ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutputWithContext(ctx context.Context) ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArrayOutput) ToOutput added in v6.65.1

type ExtensionsInstanceErrorStatusInput added in v6.60.0

type ExtensionsInstanceErrorStatusInput interface {
	pulumi.Input

	ToExtensionsInstanceErrorStatusOutput() ExtensionsInstanceErrorStatusOutput
	ToExtensionsInstanceErrorStatusOutputWithContext(context.Context) ExtensionsInstanceErrorStatusOutput
}

ExtensionsInstanceErrorStatusInput is an input type that accepts ExtensionsInstanceErrorStatusArgs and ExtensionsInstanceErrorStatusOutput values. You can construct a concrete instance of `ExtensionsInstanceErrorStatusInput` via:

ExtensionsInstanceErrorStatusArgs{...}

type ExtensionsInstanceErrorStatusOutput added in v6.60.0

type ExtensionsInstanceErrorStatusOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceErrorStatusOutput) Code added in v6.60.0

The status code, which should be an enum value of google.rpc.Code.

func (ExtensionsInstanceErrorStatusOutput) Details added in v6.60.0

A list of messages that carry the error details.

func (ExtensionsInstanceErrorStatusOutput) ElementType added in v6.60.0

func (ExtensionsInstanceErrorStatusOutput) Message added in v6.60.0

A developer-facing error message, which should be in English.

func (ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutput added in v6.60.0

func (o ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutput() ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutputWithContext added in v6.60.0

func (o ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutputWithContext(ctx context.Context) ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusOutput) ToOutput added in v6.65.1

type ExtensionsInstanceInput added in v6.60.0

type ExtensionsInstanceInput interface {
	pulumi.Input

	ToExtensionsInstanceOutput() ExtensionsInstanceOutput
	ToExtensionsInstanceOutputWithContext(ctx context.Context) ExtensionsInstanceOutput
}

type ExtensionsInstanceMap added in v6.60.0

type ExtensionsInstanceMap map[string]ExtensionsInstanceInput

func (ExtensionsInstanceMap) ElementType added in v6.60.0

func (ExtensionsInstanceMap) ElementType() reflect.Type

func (ExtensionsInstanceMap) ToExtensionsInstanceMapOutput added in v6.60.0

func (i ExtensionsInstanceMap) ToExtensionsInstanceMapOutput() ExtensionsInstanceMapOutput

func (ExtensionsInstanceMap) ToExtensionsInstanceMapOutputWithContext added in v6.60.0

func (i ExtensionsInstanceMap) ToExtensionsInstanceMapOutputWithContext(ctx context.Context) ExtensionsInstanceMapOutput

func (ExtensionsInstanceMap) ToOutput added in v6.65.1

type ExtensionsInstanceMapInput added in v6.60.0

type ExtensionsInstanceMapInput interface {
	pulumi.Input

	ToExtensionsInstanceMapOutput() ExtensionsInstanceMapOutput
	ToExtensionsInstanceMapOutputWithContext(context.Context) ExtensionsInstanceMapOutput
}

ExtensionsInstanceMapInput is an input type that accepts ExtensionsInstanceMap and ExtensionsInstanceMapOutput values. You can construct a concrete instance of `ExtensionsInstanceMapInput` via:

ExtensionsInstanceMap{ "key": ExtensionsInstanceArgs{...} }

type ExtensionsInstanceMapOutput added in v6.60.0

type ExtensionsInstanceMapOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceMapOutput) ElementType added in v6.60.0

func (ExtensionsInstanceMapOutput) MapIndex added in v6.60.0

func (ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutput added in v6.60.0

func (o ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutput() ExtensionsInstanceMapOutput

func (ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutputWithContext added in v6.60.0

func (o ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutputWithContext(ctx context.Context) ExtensionsInstanceMapOutput

func (ExtensionsInstanceMapOutput) ToOutput added in v6.65.1

type ExtensionsInstanceOutput added in v6.60.0

type ExtensionsInstanceOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceOutput) Config added in v6.60.0

The current Config of the Extension Instance. Structure is documented below.

func (ExtensionsInstanceOutput) CreateTime added in v6.60.0

(Output) The time at which the Extension Instance Config was created.

func (ExtensionsInstanceOutput) ElementType added in v6.60.0

func (ExtensionsInstanceOutput) ElementType() reflect.Type

func (ExtensionsInstanceOutput) ErrorStatuses added in v6.60.0

If this Instance has `state: ERRORED`, the error messages will be found here. Structure is documented below.

func (ExtensionsInstanceOutput) Etag added in v6.60.0

A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

func (ExtensionsInstanceOutput) InstanceId added in v6.60.0

The ID to use for the Extension Instance, which will become the final component of the instance's name.

func (ExtensionsInstanceOutput) LastOperationName added in v6.60.0

func (o ExtensionsInstanceOutput) LastOperationName() pulumi.StringOutput

The name of the last operation that acted on this Extension Instance

func (ExtensionsInstanceOutput) LastOperationType added in v6.60.0

func (o ExtensionsInstanceOutput) LastOperationType() pulumi.StringOutput

The type of the last operation that acted on the Extension Instance.

func (ExtensionsInstanceOutput) Name added in v6.60.0

(Output) The unique identifier for this configuration.

func (ExtensionsInstanceOutput) Project added in v6.60.0

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

func (ExtensionsInstanceOutput) RuntimeDatas added in v6.60.0

Data set by the extension instance at runtime. Structure is documented below.

func (ExtensionsInstanceOutput) ServiceAccountEmail added in v6.60.0

func (o ExtensionsInstanceOutput) ServiceAccountEmail() pulumi.StringOutput

The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.

func (ExtensionsInstanceOutput) State added in v6.60.0

The processing state of the extension instance.

func (ExtensionsInstanceOutput) ToExtensionsInstanceOutput added in v6.60.0

func (o ExtensionsInstanceOutput) ToExtensionsInstanceOutput() ExtensionsInstanceOutput

func (ExtensionsInstanceOutput) ToExtensionsInstanceOutputWithContext added in v6.60.0

func (o ExtensionsInstanceOutput) ToExtensionsInstanceOutputWithContext(ctx context.Context) ExtensionsInstanceOutput

func (ExtensionsInstanceOutput) ToOutput added in v6.65.1

func (ExtensionsInstanceOutput) UpdateTime added in v6.60.0

The time at which the Extension Instance was updated.

type ExtensionsInstanceRuntimeData added in v6.60.0

type ExtensionsInstanceRuntimeData struct {
	// The fatal error state for the extension instance
	// Structure is documented below.
	FatalError *ExtensionsInstanceRuntimeDataFatalError `pulumi:"fatalError"`
	// The processing state for the extension instance
	// Structure is documented below.
	ProcessingState *ExtensionsInstanceRuntimeDataProcessingState `pulumi:"processingState"`
	// The time of the last state update.
	StateUpdateTime *string `pulumi:"stateUpdateTime"`
}

type ExtensionsInstanceRuntimeDataArgs added in v6.60.0

type ExtensionsInstanceRuntimeDataArgs struct {
	// The fatal error state for the extension instance
	// Structure is documented below.
	FatalError ExtensionsInstanceRuntimeDataFatalErrorPtrInput `pulumi:"fatalError"`
	// The processing state for the extension instance
	// Structure is documented below.
	ProcessingState ExtensionsInstanceRuntimeDataProcessingStatePtrInput `pulumi:"processingState"`
	// The time of the last state update.
	StateUpdateTime pulumi.StringPtrInput `pulumi:"stateUpdateTime"`
}

func (ExtensionsInstanceRuntimeDataArgs) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutput added in v6.60.0

func (i ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutput() ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutputWithContext added in v6.60.0

func (i ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataArgs) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataArray added in v6.60.0

type ExtensionsInstanceRuntimeDataArray []ExtensionsInstanceRuntimeDataInput

func (ExtensionsInstanceRuntimeDataArray) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutput added in v6.60.0

func (i ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutput() ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutputWithContext added in v6.60.0

func (i ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArray) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataArrayInput added in v6.60.0

type ExtensionsInstanceRuntimeDataArrayInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataArrayOutput() ExtensionsInstanceRuntimeDataArrayOutput
	ToExtensionsInstanceRuntimeDataArrayOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataArrayOutput
}

ExtensionsInstanceRuntimeDataArrayInput is an input type that accepts ExtensionsInstanceRuntimeDataArray and ExtensionsInstanceRuntimeDataArrayOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataArrayInput` via:

ExtensionsInstanceRuntimeDataArray{ ExtensionsInstanceRuntimeDataArgs{...} }

type ExtensionsInstanceRuntimeDataArrayOutput added in v6.60.0

type ExtensionsInstanceRuntimeDataArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataArrayOutput) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataArrayOutput) Index added in v6.60.0

func (ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutput added in v6.60.0

func (o ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutput() ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutputWithContext added in v6.60.0

func (o ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArrayOutput) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataFatalError added in v6.60.0

type ExtensionsInstanceRuntimeDataFatalError struct {
	// The error message. This is set by the extension developer to give
	// more detail on why the extension is unusable and must be re-installed
	// or reconfigured.
	ErrorMessage *string `pulumi:"errorMessage"`
}

type ExtensionsInstanceRuntimeDataFatalErrorArgs added in v6.60.0

type ExtensionsInstanceRuntimeDataFatalErrorArgs struct {
	// The error message. This is set by the extension developer to give
	// more detail on why the extension is unusable and must be re-installed
	// or reconfigured.
	ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"`
}

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutput added in v6.60.0

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutput() ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext added in v6.60.0

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput added in v6.60.0

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext added in v6.60.0

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataFatalErrorInput added in v6.60.0

type ExtensionsInstanceRuntimeDataFatalErrorInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataFatalErrorOutput() ExtensionsInstanceRuntimeDataFatalErrorOutput
	ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataFatalErrorOutput
}

ExtensionsInstanceRuntimeDataFatalErrorInput is an input type that accepts ExtensionsInstanceRuntimeDataFatalErrorArgs and ExtensionsInstanceRuntimeDataFatalErrorOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataFatalErrorInput` via:

ExtensionsInstanceRuntimeDataFatalErrorArgs{...}

type ExtensionsInstanceRuntimeDataFatalErrorOutput added in v6.60.0

type ExtensionsInstanceRuntimeDataFatalErrorOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ErrorMessage added in v6.60.0

The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutput added in v6.60.0

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutput() ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext added in v6.60.0

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput added in v6.60.0

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext added in v6.60.0

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataFatalErrorPtrInput added in v6.60.0

type ExtensionsInstanceRuntimeDataFatalErrorPtrInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput
	ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataFatalErrorPtrOutput
}

ExtensionsInstanceRuntimeDataFatalErrorPtrInput is an input type that accepts ExtensionsInstanceRuntimeDataFatalErrorArgs, ExtensionsInstanceRuntimeDataFatalErrorPtr and ExtensionsInstanceRuntimeDataFatalErrorPtrOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataFatalErrorPtrInput` via:

        ExtensionsInstanceRuntimeDataFatalErrorArgs{...}

or:

        nil

type ExtensionsInstanceRuntimeDataFatalErrorPtrOutput added in v6.60.0

type ExtensionsInstanceRuntimeDataFatalErrorPtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) Elem added in v6.60.0

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ErrorMessage added in v6.60.0

The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput added in v6.60.0

func (o ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext added in v6.60.0

func (o ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataInput added in v6.60.0

type ExtensionsInstanceRuntimeDataInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataOutput() ExtensionsInstanceRuntimeDataOutput
	ToExtensionsInstanceRuntimeDataOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataOutput
}

ExtensionsInstanceRuntimeDataInput is an input type that accepts ExtensionsInstanceRuntimeDataArgs and ExtensionsInstanceRuntimeDataOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataInput` via:

ExtensionsInstanceRuntimeDataArgs{...}

type ExtensionsInstanceRuntimeDataOutput added in v6.60.0

type ExtensionsInstanceRuntimeDataOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataOutput) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataOutput) FatalError added in v6.60.0

The fatal error state for the extension instance Structure is documented below.

func (ExtensionsInstanceRuntimeDataOutput) ProcessingState added in v6.60.0

The processing state for the extension instance Structure is documented below.

func (ExtensionsInstanceRuntimeDataOutput) StateUpdateTime added in v6.60.0

The time of the last state update.

func (ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutput added in v6.60.0

func (o ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutput() ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutputWithContext added in v6.60.0

func (o ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataOutput) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataProcessingState added in v6.60.0

type ExtensionsInstanceRuntimeDataProcessingState struct {
	// Details about the processing. e.g. This could include the type of
	// processing in progress or it could list errors or failures.
	// This information will be shown in the console on the detail page
	// for the extension instance.
	DetailMessage *string `pulumi:"detailMessage"`
	// The processing state of the extension instance.
	State *string `pulumi:"state"`
}

type ExtensionsInstanceRuntimeDataProcessingStateArgs added in v6.60.0

type ExtensionsInstanceRuntimeDataProcessingStateArgs struct {
	// Details about the processing. e.g. This could include the type of
	// processing in progress or it could list errors or failures.
	// This information will be shown in the console on the detail page
	// for the extension instance.
	DetailMessage pulumi.StringPtrInput `pulumi:"detailMessage"`
	// The processing state of the extension instance.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutput added in v6.60.0

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutput() ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext added in v6.60.0

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput added in v6.60.0

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput() ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext added in v6.60.0

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataProcessingStateInput added in v6.60.0

type ExtensionsInstanceRuntimeDataProcessingStateInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataProcessingStateOutput() ExtensionsInstanceRuntimeDataProcessingStateOutput
	ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataProcessingStateOutput
}

ExtensionsInstanceRuntimeDataProcessingStateInput is an input type that accepts ExtensionsInstanceRuntimeDataProcessingStateArgs and ExtensionsInstanceRuntimeDataProcessingStateOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataProcessingStateInput` via:

ExtensionsInstanceRuntimeDataProcessingStateArgs{...}

type ExtensionsInstanceRuntimeDataProcessingStateOutput added in v6.60.0

type ExtensionsInstanceRuntimeDataProcessingStateOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) DetailMessage added in v6.60.0

Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) State added in v6.60.0

The processing state of the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutput added in v6.60.0

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutput() ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext added in v6.60.0

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput added in v6.60.0

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput() ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext added in v6.60.0

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToOutput added in v6.65.1

type ExtensionsInstanceRuntimeDataProcessingStatePtrInput added in v6.60.0

type ExtensionsInstanceRuntimeDataProcessingStatePtrInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput() ExtensionsInstanceRuntimeDataProcessingStatePtrOutput
	ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataProcessingStatePtrOutput
}

ExtensionsInstanceRuntimeDataProcessingStatePtrInput is an input type that accepts ExtensionsInstanceRuntimeDataProcessingStateArgs, ExtensionsInstanceRuntimeDataProcessingStatePtr and ExtensionsInstanceRuntimeDataProcessingStatePtrOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataProcessingStatePtrInput` via:

        ExtensionsInstanceRuntimeDataProcessingStateArgs{...}

or:

        nil

type ExtensionsInstanceRuntimeDataProcessingStatePtrOutput added in v6.60.0

type ExtensionsInstanceRuntimeDataProcessingStatePtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) DetailMessage added in v6.60.0

Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) Elem added in v6.60.0

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ElementType added in v6.60.0

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) State added in v6.60.0

The processing state of the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput added in v6.60.0

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext added in v6.60.0

func (o ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToOutput added in v6.65.1

type ExtensionsInstanceState added in v6.60.0

type ExtensionsInstanceState struct {
	// The current Config of the Extension Instance.
	// Structure is documented below.
	Config ExtensionsInstanceConfigPtrInput
	// (Output)
	// The time at which the Extension Instance Config was created.
	CreateTime pulumi.StringPtrInput
	// If this Instance has `state: ERRORED`, the error messages
	// will be found here.
	// Structure is documented below.
	ErrorStatuses ExtensionsInstanceErrorStatusArrayInput
	// A weak etag that is computed by the server based on other configuration
	// values and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// The ID to use for the Extension Instance, which will become the final
	// component of the instance's name.
	InstanceId pulumi.StringPtrInput
	// The name of the last operation that acted on this Extension
	// Instance
	LastOperationName pulumi.StringPtrInput
	// The type of the last operation that acted on the Extension Instance.
	LastOperationType pulumi.StringPtrInput
	// (Output)
	// The unique identifier for this configuration.
	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
	// Data set by the extension instance at runtime.
	// Structure is documented below.
	RuntimeDatas ExtensionsInstanceRuntimeDataArrayInput
	// The email of the service account to be used at runtime by compute resources
	// created for the operation of the Extension instance.
	ServiceAccountEmail pulumi.StringPtrInput
	// The processing state of the extension instance.
	State pulumi.StringPtrInput
	// The time at which the Extension Instance was updated.
	UpdateTime pulumi.StringPtrInput
}

func (ExtensionsInstanceState) ElementType added in v6.60.0

func (ExtensionsInstanceState) ElementType() reflect.Type

type GetAndroidAppConfigArgs added in v6.57.0

type GetAndroidAppConfigArgs struct {
	AppId   string  `pulumi:"appId"`
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getAndroidAppConfig.

type GetAndroidAppConfigOutputArgs added in v6.57.0

type GetAndroidAppConfigOutputArgs struct {
	AppId   pulumi.StringInput    `pulumi:"appId"`
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getAndroidAppConfig.

func (GetAndroidAppConfigOutputArgs) ElementType added in v6.57.0

type GetAndroidAppConfigResult added in v6.57.0

type GetAndroidAppConfigResult struct {
	AppId              string  `pulumi:"appId"`
	ConfigFileContents string  `pulumi:"configFileContents"`
	ConfigFilename     string  `pulumi:"configFilename"`
	Id                 string  `pulumi:"id"`
	Project            *string `pulumi:"project"`
}

A collection of values returned by getAndroidAppConfig.

func GetAndroidAppConfig added in v6.57.0

func GetAndroidAppConfig(ctx *pulumi.Context, args *GetAndroidAppConfigArgs, opts ...pulumi.InvokeOption) (*GetAndroidAppConfigResult, error)

type GetAndroidAppConfigResultOutput added in v6.57.0

type GetAndroidAppConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAndroidAppConfig.

func GetAndroidAppConfigOutput added in v6.57.0

func (GetAndroidAppConfigResultOutput) AppId added in v6.57.0

func (GetAndroidAppConfigResultOutput) ConfigFileContents added in v6.57.0

func (o GetAndroidAppConfigResultOutput) ConfigFileContents() pulumi.StringOutput

func (GetAndroidAppConfigResultOutput) ConfigFilename added in v6.57.0

func (GetAndroidAppConfigResultOutput) ElementType added in v6.57.0

func (GetAndroidAppConfigResultOutput) Id added in v6.57.0

func (GetAndroidAppConfigResultOutput) Project added in v6.57.0

func (GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutput added in v6.57.0

func (o GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutput() GetAndroidAppConfigResultOutput

func (GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutputWithContext added in v6.57.0

func (o GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutputWithContext(ctx context.Context) GetAndroidAppConfigResultOutput

func (GetAndroidAppConfigResultOutput) ToOutput added in v6.65.1

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

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

func (GetAppleAppConfigResultOutput) ToOutput added in v6.65.1

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

A Google Cloud Firebase web application configuration

To get more information about WebApp, see:

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

type 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

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) ToOutput added in v6.65.1

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

func (*HostingChannel) ToOutput added in v6.65.1

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

func (HostingChannelArray) ToOutput added in v6.65.1

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

func (HostingChannelArrayOutput) ToOutput added in v6.65.1

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

func (HostingChannelMap) ToOutput added in v6.65.1

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

func (HostingChannelMapOutput) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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 HostingRelease added in v6.51.0

type HostingRelease struct {
	pulumi.CustomResourceState

	// The ID of the channel to which the release belongs. If not provided, the release will
	// belong to the default "live" channel
	ChannelId pulumi.StringPtrOutput `pulumi:"channelId"`
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message pulumi.StringPtrOutput `pulumi:"message"`
	// The unique identifier for the release, in either of the following formats:
	// sites/SITE_ID/releases/RELEASE_ID
	// sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID
	Name pulumi.StringOutput `pulumi:"name"`
	// The unique identifier for the Release.
	ReleaseId pulumi.StringOutput `pulumi:"releaseId"`
	// Required. The ID of the site to which the release belongs.
	//
	// ***
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// The type of the release; indicates what happened to the content of the site. There is no need to specify
	// `DEPLOY` or `ROLLBACK` type if a `versionName` is provided.
	// DEPLOY: A version was uploaded to Firebase Hosting and released. Output only.
	// ROLLBACK: The release points back to a previously deployed version. Output only.
	// SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed
	// Possible values are: `DEPLOY`, `ROLLBACK`, `SITE_DISABLE`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID.
	// The content of the version specified will be actively displayed on the appropriate URL.
	// The Version must belong to the same site as in the `siteId`.
	// This parameter must be empty if the `type` of the release is `SITE_DISABLE`.
	VersionName pulumi.StringPtrOutput `pulumi:"versionName"`
}

## Example Usage ### Firebasehosting Release In Site

```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-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Redirects: firebase.HostingVersionConfigRedirectArray{
					&firebase.HostingVersionConfigRedirectArgs{
						Glob:       pulumi.String("/google/**"),
						StatusCode: pulumi.Int(302),
						Location:   pulumi.String("https://www.google.com"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Test release"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Release In Channel

```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
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Redirects: firebase.HostingVersionConfigRedirectArray{
					&firebase.HostingVersionConfigRedirectArgs{
						Glob:       pulumi.String("/google/**"),
						StatusCode: pulumi.Int(302),
						Location:   pulumi.String("https://www.google.com"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingChannel, err := firebase.NewHostingChannel(ctx, "defaultHostingChannel", &firebase.HostingChannelArgs{
			SiteId:    defaultHostingSite.SiteId,
			ChannelId: pulumi.String("channel-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			ChannelId:   defaultHostingChannel.ChannelId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Test release in channel"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Release Disable

```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-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:  defaultHostingSite.SiteId,
			Type:    pulumi.String("SITE_DISABLE"),
			Message: pulumi.String("Take down site"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Release can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/hostingRelease:HostingRelease default sites/{{site_id}}/channels/{{channel_id}}/releases/{{release_id}}

```

```sh

$ pulumi import gcp:firebase/hostingRelease:HostingRelease default sites/{{site_id}}/releases/{{release_id}}

```

```sh

$ pulumi import gcp:firebase/hostingRelease:HostingRelease default {{site_id}}/{{channel_id}}/{{release_id}}

```

```sh

$ pulumi import gcp:firebase/hostingRelease:HostingRelease default {{site_id}}/{{release_id}}

```

func GetHostingRelease added in v6.51.0

func GetHostingRelease(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingReleaseState, opts ...pulumi.ResourceOption) (*HostingRelease, error)

GetHostingRelease gets an existing HostingRelease 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 NewHostingRelease added in v6.51.0

func NewHostingRelease(ctx *pulumi.Context,
	name string, args *HostingReleaseArgs, opts ...pulumi.ResourceOption) (*HostingRelease, error)

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

func (*HostingRelease) ElementType added in v6.51.0

func (*HostingRelease) ElementType() reflect.Type

func (*HostingRelease) ToHostingReleaseOutput added in v6.51.0

func (i *HostingRelease) ToHostingReleaseOutput() HostingReleaseOutput

func (*HostingRelease) ToHostingReleaseOutputWithContext added in v6.51.0

func (i *HostingRelease) ToHostingReleaseOutputWithContext(ctx context.Context) HostingReleaseOutput

func (*HostingRelease) ToOutput added in v6.65.1

type HostingReleaseArgs added in v6.51.0

type HostingReleaseArgs struct {
	// The ID of the channel to which the release belongs. If not provided, the release will
	// belong to the default "live" channel
	ChannelId pulumi.StringPtrInput
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message pulumi.StringPtrInput
	// Required. The ID of the site to which the release belongs.
	//
	// ***
	SiteId pulumi.StringInput
	// The type of the release; indicates what happened to the content of the site. There is no need to specify
	// `DEPLOY` or `ROLLBACK` type if a `versionName` is provided.
	// DEPLOY: A version was uploaded to Firebase Hosting and released. Output only.
	// ROLLBACK: The release points back to a previously deployed version. Output only.
	// SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed
	// Possible values are: `DEPLOY`, `ROLLBACK`, `SITE_DISABLE`.
	Type pulumi.StringPtrInput
	// The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID.
	// The content of the version specified will be actively displayed on the appropriate URL.
	// The Version must belong to the same site as in the `siteId`.
	// This parameter must be empty if the `type` of the release is `SITE_DISABLE`.
	VersionName pulumi.StringPtrInput
}

The set of arguments for constructing a HostingRelease resource.

func (HostingReleaseArgs) ElementType added in v6.51.0

func (HostingReleaseArgs) ElementType() reflect.Type

type HostingReleaseArray added in v6.51.0

type HostingReleaseArray []HostingReleaseInput

func (HostingReleaseArray) ElementType added in v6.51.0

func (HostingReleaseArray) ElementType() reflect.Type

func (HostingReleaseArray) ToHostingReleaseArrayOutput added in v6.51.0

func (i HostingReleaseArray) ToHostingReleaseArrayOutput() HostingReleaseArrayOutput

func (HostingReleaseArray) ToHostingReleaseArrayOutputWithContext added in v6.51.0

func (i HostingReleaseArray) ToHostingReleaseArrayOutputWithContext(ctx context.Context) HostingReleaseArrayOutput

func (HostingReleaseArray) ToOutput added in v6.65.1

type HostingReleaseArrayInput added in v6.51.0

type HostingReleaseArrayInput interface {
	pulumi.Input

	ToHostingReleaseArrayOutput() HostingReleaseArrayOutput
	ToHostingReleaseArrayOutputWithContext(context.Context) HostingReleaseArrayOutput
}

HostingReleaseArrayInput is an input type that accepts HostingReleaseArray and HostingReleaseArrayOutput values. You can construct a concrete instance of `HostingReleaseArrayInput` via:

HostingReleaseArray{ HostingReleaseArgs{...} }

type HostingReleaseArrayOutput added in v6.51.0

type HostingReleaseArrayOutput struct{ *pulumi.OutputState }

func (HostingReleaseArrayOutput) ElementType added in v6.51.0

func (HostingReleaseArrayOutput) ElementType() reflect.Type

func (HostingReleaseArrayOutput) Index added in v6.51.0

func (HostingReleaseArrayOutput) ToHostingReleaseArrayOutput added in v6.51.0

func (o HostingReleaseArrayOutput) ToHostingReleaseArrayOutput() HostingReleaseArrayOutput

func (HostingReleaseArrayOutput) ToHostingReleaseArrayOutputWithContext added in v6.51.0

func (o HostingReleaseArrayOutput) ToHostingReleaseArrayOutputWithContext(ctx context.Context) HostingReleaseArrayOutput

func (HostingReleaseArrayOutput) ToOutput added in v6.65.1

type HostingReleaseInput added in v6.51.0

type HostingReleaseInput interface {
	pulumi.Input

	ToHostingReleaseOutput() HostingReleaseOutput
	ToHostingReleaseOutputWithContext(ctx context.Context) HostingReleaseOutput
}

type HostingReleaseMap added in v6.51.0

type HostingReleaseMap map[string]HostingReleaseInput

func (HostingReleaseMap) ElementType added in v6.51.0

func (HostingReleaseMap) ElementType() reflect.Type

func (HostingReleaseMap) ToHostingReleaseMapOutput added in v6.51.0

func (i HostingReleaseMap) ToHostingReleaseMapOutput() HostingReleaseMapOutput

func (HostingReleaseMap) ToHostingReleaseMapOutputWithContext added in v6.51.0

func (i HostingReleaseMap) ToHostingReleaseMapOutputWithContext(ctx context.Context) HostingReleaseMapOutput

func (HostingReleaseMap) ToOutput added in v6.65.1

type HostingReleaseMapInput added in v6.51.0

type HostingReleaseMapInput interface {
	pulumi.Input

	ToHostingReleaseMapOutput() HostingReleaseMapOutput
	ToHostingReleaseMapOutputWithContext(context.Context) HostingReleaseMapOutput
}

HostingReleaseMapInput is an input type that accepts HostingReleaseMap and HostingReleaseMapOutput values. You can construct a concrete instance of `HostingReleaseMapInput` via:

HostingReleaseMap{ "key": HostingReleaseArgs{...} }

type HostingReleaseMapOutput added in v6.51.0

type HostingReleaseMapOutput struct{ *pulumi.OutputState }

func (HostingReleaseMapOutput) ElementType added in v6.51.0

func (HostingReleaseMapOutput) ElementType() reflect.Type

func (HostingReleaseMapOutput) MapIndex added in v6.51.0

func (HostingReleaseMapOutput) ToHostingReleaseMapOutput added in v6.51.0

func (o HostingReleaseMapOutput) ToHostingReleaseMapOutput() HostingReleaseMapOutput

func (HostingReleaseMapOutput) ToHostingReleaseMapOutputWithContext added in v6.51.0

func (o HostingReleaseMapOutput) ToHostingReleaseMapOutputWithContext(ctx context.Context) HostingReleaseMapOutput

func (HostingReleaseMapOutput) ToOutput added in v6.65.1

type HostingReleaseOutput added in v6.51.0

type HostingReleaseOutput struct{ *pulumi.OutputState }

func (HostingReleaseOutput) ChannelId added in v6.51.0

The ID of the channel to which the release belongs. If not provided, the release will belong to the default "live" channel

func (HostingReleaseOutput) ElementType added in v6.51.0

func (HostingReleaseOutput) ElementType() reflect.Type

func (HostingReleaseOutput) Message added in v6.51.0

The deploy description when the release was created. The value can be up to 512 characters.

func (HostingReleaseOutput) Name added in v6.51.0

The unique identifier for the release, in either of the following formats: sites/SITE_ID/releases/RELEASE_ID sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID

func (HostingReleaseOutput) ReleaseId added in v6.51.0

The unique identifier for the Release.

func (HostingReleaseOutput) SiteId added in v6.51.0

Required. The ID of the site to which the release belongs.

***

func (HostingReleaseOutput) ToHostingReleaseOutput added in v6.51.0

func (o HostingReleaseOutput) ToHostingReleaseOutput() HostingReleaseOutput

func (HostingReleaseOutput) ToHostingReleaseOutputWithContext added in v6.51.0

func (o HostingReleaseOutput) ToHostingReleaseOutputWithContext(ctx context.Context) HostingReleaseOutput

func (HostingReleaseOutput) ToOutput added in v6.65.1

func (HostingReleaseOutput) Type added in v6.51.0

The type of the release; indicates what happened to the content of the site. There is no need to specify `DEPLOY` or `ROLLBACK` type if a `versionName` is provided. DEPLOY: A version was uploaded to Firebase Hosting and released. Output only. ROLLBACK: The release points back to a previously deployed version. Output only. SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed Possible values are: `DEPLOY`, `ROLLBACK`, `SITE_DISABLE`.

func (HostingReleaseOutput) VersionName added in v6.51.0

The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID. The content of the version specified will be actively displayed on the appropriate URL. The Version must belong to the same site as in the `siteId`. This parameter must be empty if the `type` of the release is `SITE_DISABLE`.

type HostingReleaseState added in v6.51.0

type HostingReleaseState struct {
	// The ID of the channel to which the release belongs. If not provided, the release will
	// belong to the default "live" channel
	ChannelId pulumi.StringPtrInput
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message pulumi.StringPtrInput
	// The unique identifier for the release, in either of the following formats:
	// sites/SITE_ID/releases/RELEASE_ID
	// sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID
	Name pulumi.StringPtrInput
	// The unique identifier for the Release.
	ReleaseId pulumi.StringPtrInput
	// Required. The ID of the site to which the release belongs.
	//
	// ***
	SiteId pulumi.StringPtrInput
	// The type of the release; indicates what happened to the content of the site. There is no need to specify
	// `DEPLOY` or `ROLLBACK` type if a `versionName` is provided.
	// DEPLOY: A version was uploaded to Firebase Hosting and released. Output only.
	// ROLLBACK: The release points back to a previously deployed version. Output only.
	// SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed
	// Possible values are: `DEPLOY`, `ROLLBACK`, `SITE_DISABLE`.
	Type pulumi.StringPtrInput
	// The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID.
	// The content of the version specified will be actively displayed on the appropriate URL.
	// The Version must belong to the same site as in the `siteId`.
	// This parameter must be empty if the `type` of the release is `SITE_DISABLE`.
	VersionName pulumi.StringPtrInput
}

func (HostingReleaseState) ElementType added in v6.51.0

func (HostingReleaseState) 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

func (*HostingSite) ToOutput added in v6.65.1

func (i *HostingSite) ToOutput(ctx context.Context) pulumix.Output[*HostingSite]

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

func (HostingSiteArray) ToOutput added in v6.65.1

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

func (HostingSiteArrayOutput) ToOutput added in v6.65.1

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

func (HostingSiteMap) ToOutput added in v6.65.1

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

func (HostingSiteMapOutput) ToOutput added in v6.65.1

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

func (HostingSiteOutput) ToOutput added in v6.65.1

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 HostingVersion added in v6.51.0

type HostingVersion struct {
	pulumi.CustomResourceState

	// The configuration for the behavior of the site. This configuration exists in the `firebase.json` file.
	// Structure is documented below.
	Config HostingVersionConfigPtrOutput `pulumi:"config"`
	// The fully-qualified resource name for the version, in the format:
	// sites/SITE_ID/versions/VERSION_ID
	Name pulumi.StringOutput `pulumi:"name"`
	// Required. The ID of the site in which to create this Version.
	//
	// ***
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// The ID for the version as in sites/SITE_ID/versions/VERSION_ID
	VersionId pulumi.StringOutput `pulumi:"versionId"`
}

## Example Usage ### Firebasehosting Version Redirect

```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-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Redirects: firebase.HostingVersionConfigRedirectArray{
					&firebase.HostingVersionConfigRedirectArgs{
						Glob:       pulumi.String("/google/**"),
						StatusCode: pulumi.Int(302),
						Location:   pulumi.String("https://www.google.com"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Redirect to Google"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Version Cloud Run

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"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-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultService, err := cloudrunv2.NewService(ctx, "defaultService", &cloudrunv2.ServiceArgs{
			Project:  pulumi.String("my-project-name"),
			Location: pulumi.String("us-central1"),
			Ingress:  pulumi.String("INGRESS_TRAFFIC_ALL"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Rewrites: firebase.HostingVersionConfigRewriteArray{
					&firebase.HostingVersionConfigRewriteArgs{
						Glob: pulumi.String("/hello/**"),
						Run: &firebase.HostingVersionConfigRewriteRunArgs{
							ServiceId: defaultService.Name,
							Region:    defaultService.Location,
						},
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Cloud Run Integration"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Version Cloud Functions

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudfunctions"
"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 {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Project:                  pulumi.String("my-project-name"),
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Bucket: bucket.Name,
			Source: pulumi.NewFileAsset("function-source.zip"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		function, err := cloudfunctions.NewFunction(ctx, "function", &cloudfunctions.FunctionArgs{
			Project:             pulumi.String("my-project-name"),
			Description:         pulumi.String("A Cloud Function connected to Firebase Hosing"),
			Runtime:             pulumi.String("nodejs16"),
			AvailableMemoryMb:   pulumi.Int(128),
			SourceArchiveBucket: bucket.Name,
			SourceArchiveObject: object.Name,
			TriggerHttp:         pulumi.Bool(true),
			EntryPoint:          pulumi.String("helloHttp"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Rewrites: firebase.HostingVersionConfigRewriteArray{
					&firebase.HostingVersionConfigRewriteArgs{
						Glob:     pulumi.String("/hello/**"),
						Function: function.Name,
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Cloud Functions Integration"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Version can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/hostingVersion:HostingVersion default sites/{{site_id}}/versions/{{version_id}}

```

```sh

$ pulumi import gcp:firebase/hostingVersion:HostingVersion default {{site_id}}/{{version_id}}

```

func GetHostingVersion added in v6.51.0

func GetHostingVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingVersionState, opts ...pulumi.ResourceOption) (*HostingVersion, error)

GetHostingVersion gets an existing HostingVersion 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 NewHostingVersion added in v6.51.0

func NewHostingVersion(ctx *pulumi.Context,
	name string, args *HostingVersionArgs, opts ...pulumi.ResourceOption) (*HostingVersion, error)

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

func (*HostingVersion) ElementType added in v6.51.0

func (*HostingVersion) ElementType() reflect.Type

func (*HostingVersion) ToHostingVersionOutput added in v6.51.0

func (i *HostingVersion) ToHostingVersionOutput() HostingVersionOutput

func (*HostingVersion) ToHostingVersionOutputWithContext added in v6.51.0

func (i *HostingVersion) ToHostingVersionOutputWithContext(ctx context.Context) HostingVersionOutput

func (*HostingVersion) ToOutput added in v6.65.1

type HostingVersionArgs added in v6.51.0

type HostingVersionArgs struct {
	// The configuration for the behavior of the site. This configuration exists in the `firebase.json` file.
	// Structure is documented below.
	Config HostingVersionConfigPtrInput
	// Required. The ID of the site in which to create this Version.
	//
	// ***
	SiteId pulumi.StringInput
}

The set of arguments for constructing a HostingVersion resource.

func (HostingVersionArgs) ElementType added in v6.51.0

func (HostingVersionArgs) ElementType() reflect.Type

type HostingVersionArray added in v6.51.0

type HostingVersionArray []HostingVersionInput

func (HostingVersionArray) ElementType added in v6.51.0

func (HostingVersionArray) ElementType() reflect.Type

func (HostingVersionArray) ToHostingVersionArrayOutput added in v6.51.0

func (i HostingVersionArray) ToHostingVersionArrayOutput() HostingVersionArrayOutput

func (HostingVersionArray) ToHostingVersionArrayOutputWithContext added in v6.51.0

func (i HostingVersionArray) ToHostingVersionArrayOutputWithContext(ctx context.Context) HostingVersionArrayOutput

func (HostingVersionArray) ToOutput added in v6.65.1

type HostingVersionArrayInput added in v6.51.0

type HostingVersionArrayInput interface {
	pulumi.Input

	ToHostingVersionArrayOutput() HostingVersionArrayOutput
	ToHostingVersionArrayOutputWithContext(context.Context) HostingVersionArrayOutput
}

HostingVersionArrayInput is an input type that accepts HostingVersionArray and HostingVersionArrayOutput values. You can construct a concrete instance of `HostingVersionArrayInput` via:

HostingVersionArray{ HostingVersionArgs{...} }

type HostingVersionArrayOutput added in v6.51.0

type HostingVersionArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionArrayOutput) ElementType added in v6.51.0

func (HostingVersionArrayOutput) ElementType() reflect.Type

func (HostingVersionArrayOutput) Index added in v6.51.0

func (HostingVersionArrayOutput) ToHostingVersionArrayOutput added in v6.51.0

func (o HostingVersionArrayOutput) ToHostingVersionArrayOutput() HostingVersionArrayOutput

func (HostingVersionArrayOutput) ToHostingVersionArrayOutputWithContext added in v6.51.0

func (o HostingVersionArrayOutput) ToHostingVersionArrayOutputWithContext(ctx context.Context) HostingVersionArrayOutput

func (HostingVersionArrayOutput) ToOutput added in v6.65.1

type HostingVersionConfig added in v6.51.0

type HostingVersionConfig struct {
	// An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path,
	// triggers Hosting to respond with a redirect to the specified destination path.
	// Structure is documented below.
	Redirects []HostingVersionConfigRedirect `pulumi:"redirects"`
	// An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the
	// request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
	// Structure is documented below.
	Rewrites []HostingVersionConfigRewrite `pulumi:"rewrites"`
}

type HostingVersionConfigArgs added in v6.51.0

type HostingVersionConfigArgs struct {
	// An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path,
	// triggers Hosting to respond with a redirect to the specified destination path.
	// Structure is documented below.
	Redirects HostingVersionConfigRedirectArrayInput `pulumi:"redirects"`
	// An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the
	// request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
	// Structure is documented below.
	Rewrites HostingVersionConfigRewriteArrayInput `pulumi:"rewrites"`
}

func (HostingVersionConfigArgs) ElementType added in v6.51.0

func (HostingVersionConfigArgs) ElementType() reflect.Type

func (HostingVersionConfigArgs) ToHostingVersionConfigOutput added in v6.51.0

func (i HostingVersionConfigArgs) ToHostingVersionConfigOutput() HostingVersionConfigOutput

func (HostingVersionConfigArgs) ToHostingVersionConfigOutputWithContext added in v6.51.0

func (i HostingVersionConfigArgs) ToHostingVersionConfigOutputWithContext(ctx context.Context) HostingVersionConfigOutput

func (HostingVersionConfigArgs) ToHostingVersionConfigPtrOutput added in v6.51.0

func (i HostingVersionConfigArgs) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigArgs) ToHostingVersionConfigPtrOutputWithContext added in v6.51.0

func (i HostingVersionConfigArgs) ToHostingVersionConfigPtrOutputWithContext(ctx context.Context) HostingVersionConfigPtrOutput

func (HostingVersionConfigArgs) ToOutput added in v6.65.1

type HostingVersionConfigInput added in v6.51.0

type HostingVersionConfigInput interface {
	pulumi.Input

	ToHostingVersionConfigOutput() HostingVersionConfigOutput
	ToHostingVersionConfigOutputWithContext(context.Context) HostingVersionConfigOutput
}

HostingVersionConfigInput is an input type that accepts HostingVersionConfigArgs and HostingVersionConfigOutput values. You can construct a concrete instance of `HostingVersionConfigInput` via:

HostingVersionConfigArgs{...}

type HostingVersionConfigOutput added in v6.51.0

type HostingVersionConfigOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigOutput) ElementType added in v6.51.0

func (HostingVersionConfigOutput) ElementType() reflect.Type

func (HostingVersionConfigOutput) Redirects added in v6.51.0

An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path. Structure is documented below.

func (HostingVersionConfigOutput) Rewrites added in v6.51.0

An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL. Structure is documented below.

func (HostingVersionConfigOutput) ToHostingVersionConfigOutput added in v6.51.0

func (o HostingVersionConfigOutput) ToHostingVersionConfigOutput() HostingVersionConfigOutput

func (HostingVersionConfigOutput) ToHostingVersionConfigOutputWithContext added in v6.51.0

func (o HostingVersionConfigOutput) ToHostingVersionConfigOutputWithContext(ctx context.Context) HostingVersionConfigOutput

func (HostingVersionConfigOutput) ToHostingVersionConfigPtrOutput added in v6.51.0

func (o HostingVersionConfigOutput) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigOutput) ToHostingVersionConfigPtrOutputWithContext added in v6.51.0

func (o HostingVersionConfigOutput) ToHostingVersionConfigPtrOutputWithContext(ctx context.Context) HostingVersionConfigPtrOutput

func (HostingVersionConfigOutput) ToOutput added in v6.65.1

type HostingVersionConfigPtrInput added in v6.51.0

type HostingVersionConfigPtrInput interface {
	pulumi.Input

	ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput
	ToHostingVersionConfigPtrOutputWithContext(context.Context) HostingVersionConfigPtrOutput
}

HostingVersionConfigPtrInput is an input type that accepts HostingVersionConfigArgs, HostingVersionConfigPtr and HostingVersionConfigPtrOutput values. You can construct a concrete instance of `HostingVersionConfigPtrInput` via:

        HostingVersionConfigArgs{...}

or:

        nil

func HostingVersionConfigPtr added in v6.51.0

func HostingVersionConfigPtr(v *HostingVersionConfigArgs) HostingVersionConfigPtrInput

type HostingVersionConfigPtrOutput added in v6.51.0

type HostingVersionConfigPtrOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigPtrOutput) Elem added in v6.51.0

func (HostingVersionConfigPtrOutput) ElementType added in v6.51.0

func (HostingVersionConfigPtrOutput) Redirects added in v6.51.0

An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path. Structure is documented below.

func (HostingVersionConfigPtrOutput) Rewrites added in v6.51.0

An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL. Structure is documented below.

func (HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutput added in v6.51.0

func (o HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutputWithContext added in v6.51.0

func (o HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutputWithContext(ctx context.Context) HostingVersionConfigPtrOutput

func (HostingVersionConfigPtrOutput) ToOutput added in v6.65.1

type HostingVersionConfigRedirect added in v6.51.0

type HostingVersionConfigRedirect struct {
	// The user-supplied glob to match against the request URL path.
	Glob *string `pulumi:"glob"`
	// The value to put in the HTTP location header of the response.
	// The location can contain capture group values from the pattern using a : prefix to identify
	// the segment and an optional * to capture the rest of the URL. For example:
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		return nil
	// 	})
	// }
	// “`
	Location string `pulumi:"location"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex *string `pulumi:"regex"`
	// The status HTTP code to return in the response. It must be a valid 3xx status code.
	StatusCode int `pulumi:"statusCode"`
}

type HostingVersionConfigRedirectArgs added in v6.51.0

type HostingVersionConfigRedirectArgs struct {
	// The user-supplied glob to match against the request URL path.
	Glob pulumi.StringPtrInput `pulumi:"glob"`
	// The value to put in the HTTP location header of the response.
	// The location can contain capture group values from the pattern using a : prefix to identify
	// the segment and an optional * to capture the rest of the URL. For example:
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		return nil
	// 	})
	// }
	// “`
	Location pulumi.StringInput `pulumi:"location"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The status HTTP code to return in the response. It must be a valid 3xx status code.
	StatusCode pulumi.IntInput `pulumi:"statusCode"`
}

func (HostingVersionConfigRedirectArgs) ElementType added in v6.51.0

func (HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutput added in v6.51.0

func (i HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutput() HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutputWithContext added in v6.51.0

func (i HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutputWithContext(ctx context.Context) HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectArgs) ToOutput added in v6.65.1

type HostingVersionConfigRedirectArray added in v6.51.0

type HostingVersionConfigRedirectArray []HostingVersionConfigRedirectInput

func (HostingVersionConfigRedirectArray) ElementType added in v6.51.0

func (HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutput added in v6.51.0

func (i HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutput() HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutputWithContext added in v6.51.0

func (i HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutputWithContext(ctx context.Context) HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArray) ToOutput added in v6.65.1

type HostingVersionConfigRedirectArrayInput added in v6.51.0

type HostingVersionConfigRedirectArrayInput interface {
	pulumi.Input

	ToHostingVersionConfigRedirectArrayOutput() HostingVersionConfigRedirectArrayOutput
	ToHostingVersionConfigRedirectArrayOutputWithContext(context.Context) HostingVersionConfigRedirectArrayOutput
}

HostingVersionConfigRedirectArrayInput is an input type that accepts HostingVersionConfigRedirectArray and HostingVersionConfigRedirectArrayOutput values. You can construct a concrete instance of `HostingVersionConfigRedirectArrayInput` via:

HostingVersionConfigRedirectArray{ HostingVersionConfigRedirectArgs{...} }

type HostingVersionConfigRedirectArrayOutput added in v6.51.0

type HostingVersionConfigRedirectArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRedirectArrayOutput) ElementType added in v6.51.0

func (HostingVersionConfigRedirectArrayOutput) Index added in v6.51.0

func (HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutput added in v6.51.0

func (o HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutput() HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutputWithContext added in v6.51.0

func (o HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutputWithContext(ctx context.Context) HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArrayOutput) ToOutput added in v6.65.1

type HostingVersionConfigRedirectInput added in v6.51.0

type HostingVersionConfigRedirectInput interface {
	pulumi.Input

	ToHostingVersionConfigRedirectOutput() HostingVersionConfigRedirectOutput
	ToHostingVersionConfigRedirectOutputWithContext(context.Context) HostingVersionConfigRedirectOutput
}

HostingVersionConfigRedirectInput is an input type that accepts HostingVersionConfigRedirectArgs and HostingVersionConfigRedirectOutput values. You can construct a concrete instance of `HostingVersionConfigRedirectInput` via:

HostingVersionConfigRedirectArgs{...}

type HostingVersionConfigRedirectOutput added in v6.51.0

type HostingVersionConfigRedirectOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRedirectOutput) ElementType added in v6.51.0

func (HostingVersionConfigRedirectOutput) Glob added in v6.51.0

The user-supplied glob to match against the request URL path.

func (HostingVersionConfigRedirectOutput) Location added in v6.51.0

The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a : prefix to identify the segment and an optional * to capture the rest of the URL. For example: ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}

```

func (HostingVersionConfigRedirectOutput) Regex added in v6.51.0

The user-supplied RE2 regular expression to match against the request URL path.

func (HostingVersionConfigRedirectOutput) StatusCode added in v6.51.0

The status HTTP code to return in the response. It must be a valid 3xx status code.

func (HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutput added in v6.51.0

func (o HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutput() HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutputWithContext added in v6.51.0

func (o HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutputWithContext(ctx context.Context) HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectOutput) ToOutput added in v6.65.1

type HostingVersionConfigRewrite added in v6.51.0

type HostingVersionConfigRewrite struct {
	// The function to proxy requests to. Must match the exported function name exactly.
	Function *string `pulumi:"function"`
	// The user-supplied glob to match against the request URL path.
	Glob *string `pulumi:"glob"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex *string `pulumi:"regex"`
	// The request will be forwarded to Cloud Run.
	// Structure is documented below.
	Run *HostingVersionConfigRewriteRun `pulumi:"run"`
}

type HostingVersionConfigRewriteArgs added in v6.51.0

type HostingVersionConfigRewriteArgs struct {
	// The function to proxy requests to. Must match the exported function name exactly.
	Function pulumi.StringPtrInput `pulumi:"function"`
	// The user-supplied glob to match against the request URL path.
	Glob pulumi.StringPtrInput `pulumi:"glob"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The request will be forwarded to Cloud Run.
	// Structure is documented below.
	Run HostingVersionConfigRewriteRunPtrInput `pulumi:"run"`
}

func (HostingVersionConfigRewriteArgs) ElementType added in v6.51.0

func (HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutput added in v6.51.0

func (i HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutput() HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutputWithContext added in v6.51.0

func (i HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutputWithContext(ctx context.Context) HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteArgs) ToOutput added in v6.65.1

type HostingVersionConfigRewriteArray added in v6.51.0

type HostingVersionConfigRewriteArray []HostingVersionConfigRewriteInput

func (HostingVersionConfigRewriteArray) ElementType added in v6.51.0

func (HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutput added in v6.51.0

func (i HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutput() HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutputWithContext added in v6.51.0

func (i HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutputWithContext(ctx context.Context) HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArray) ToOutput added in v6.65.1

type HostingVersionConfigRewriteArrayInput added in v6.51.0

type HostingVersionConfigRewriteArrayInput interface {
	pulumi.Input

	ToHostingVersionConfigRewriteArrayOutput() HostingVersionConfigRewriteArrayOutput
	ToHostingVersionConfigRewriteArrayOutputWithContext(context.Context) HostingVersionConfigRewriteArrayOutput
}

HostingVersionConfigRewriteArrayInput is an input type that accepts HostingVersionConfigRewriteArray and HostingVersionConfigRewriteArrayOutput values. You can construct a concrete instance of `HostingVersionConfigRewriteArrayInput` via:

HostingVersionConfigRewriteArray{ HostingVersionConfigRewriteArgs{...} }

type HostingVersionConfigRewriteArrayOutput added in v6.51.0

type HostingVersionConfigRewriteArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteArrayOutput) ElementType added in v6.51.0

func (HostingVersionConfigRewriteArrayOutput) Index added in v6.51.0

func (HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutput added in v6.51.0

func (o HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutput() HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutputWithContext added in v6.51.0

func (o HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutputWithContext(ctx context.Context) HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArrayOutput) ToOutput added in v6.65.1

type HostingVersionConfigRewriteInput added in v6.51.0

type HostingVersionConfigRewriteInput interface {
	pulumi.Input

	ToHostingVersionConfigRewriteOutput() HostingVersionConfigRewriteOutput
	ToHostingVersionConfigRewriteOutputWithContext(context.Context) HostingVersionConfigRewriteOutput
}

HostingVersionConfigRewriteInput is an input type that accepts HostingVersionConfigRewriteArgs and HostingVersionConfigRewriteOutput values. You can construct a concrete instance of `HostingVersionConfigRewriteInput` via:

HostingVersionConfigRewriteArgs{...}

type HostingVersionConfigRewriteOutput added in v6.51.0

type HostingVersionConfigRewriteOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteOutput) ElementType added in v6.51.0

func (HostingVersionConfigRewriteOutput) Function added in v6.51.0

The function to proxy requests to. Must match the exported function name exactly.

func (HostingVersionConfigRewriteOutput) Glob added in v6.51.0

The user-supplied glob to match against the request URL path.

func (HostingVersionConfigRewriteOutput) Regex added in v6.51.0

The user-supplied RE2 regular expression to match against the request URL path.

func (HostingVersionConfigRewriteOutput) Run added in v6.51.0

The request will be forwarded to Cloud Run. Structure is documented below.

func (HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutput added in v6.51.0

func (o HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutput() HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutputWithContext added in v6.51.0

func (o HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutputWithContext(ctx context.Context) HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteOutput) ToOutput added in v6.65.1

type HostingVersionConfigRewriteRun added in v6.51.0

type HostingVersionConfigRewriteRun struct {
	// Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
	Region *string `pulumi:"region"`
	// User-defined ID of the Cloud Run service.
	ServiceId string `pulumi:"serviceId"`
}

type HostingVersionConfigRewriteRunArgs added in v6.51.0

type HostingVersionConfigRewriteRunArgs struct {
	// Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// User-defined ID of the Cloud Run service.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

func (HostingVersionConfigRewriteRunArgs) ElementType added in v6.51.0

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutput added in v6.51.0

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutput() HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutputWithContext added in v6.51.0

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutput added in v6.51.0

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutputWithContext added in v6.51.0

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunArgs) ToOutput added in v6.65.1

type HostingVersionConfigRewriteRunInput added in v6.51.0

type HostingVersionConfigRewriteRunInput interface {
	pulumi.Input

	ToHostingVersionConfigRewriteRunOutput() HostingVersionConfigRewriteRunOutput
	ToHostingVersionConfigRewriteRunOutputWithContext(context.Context) HostingVersionConfigRewriteRunOutput
}

HostingVersionConfigRewriteRunInput is an input type that accepts HostingVersionConfigRewriteRunArgs and HostingVersionConfigRewriteRunOutput values. You can construct a concrete instance of `HostingVersionConfigRewriteRunInput` via:

HostingVersionConfigRewriteRunArgs{...}

type HostingVersionConfigRewriteRunOutput added in v6.51.0

type HostingVersionConfigRewriteRunOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteRunOutput) ElementType added in v6.51.0

func (HostingVersionConfigRewriteRunOutput) Region added in v6.51.0

Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.

func (HostingVersionConfigRewriteRunOutput) ServiceId added in v6.51.0

User-defined ID of the Cloud Run service.

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutput added in v6.51.0

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutput() HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutputWithContext added in v6.51.0

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutput added in v6.51.0

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext added in v6.51.0

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunOutput) ToOutput added in v6.65.1

type HostingVersionConfigRewriteRunPtrInput added in v6.51.0

type HostingVersionConfigRewriteRunPtrInput interface {
	pulumi.Input

	ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput
	ToHostingVersionConfigRewriteRunPtrOutputWithContext(context.Context) HostingVersionConfigRewriteRunPtrOutput
}

HostingVersionConfigRewriteRunPtrInput is an input type that accepts HostingVersionConfigRewriteRunArgs, HostingVersionConfigRewriteRunPtr and HostingVersionConfigRewriteRunPtrOutput values. You can construct a concrete instance of `HostingVersionConfigRewriteRunPtrInput` via:

        HostingVersionConfigRewriteRunArgs{...}

or:

        nil

type HostingVersionConfigRewriteRunPtrOutput added in v6.51.0

type HostingVersionConfigRewriteRunPtrOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteRunPtrOutput) Elem added in v6.51.0

func (HostingVersionConfigRewriteRunPtrOutput) ElementType added in v6.51.0

func (HostingVersionConfigRewriteRunPtrOutput) Region added in v6.51.0

Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.

func (HostingVersionConfigRewriteRunPtrOutput) ServiceId added in v6.51.0

User-defined ID of the Cloud Run service.

func (HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutput added in v6.51.0

func (o HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext added in v6.51.0

func (o HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunPtrOutput) ToOutput added in v6.65.1

type HostingVersionInput added in v6.51.0

type HostingVersionInput interface {
	pulumi.Input

	ToHostingVersionOutput() HostingVersionOutput
	ToHostingVersionOutputWithContext(ctx context.Context) HostingVersionOutput
}

type HostingVersionMap added in v6.51.0

type HostingVersionMap map[string]HostingVersionInput

func (HostingVersionMap) ElementType added in v6.51.0

func (HostingVersionMap) ElementType() reflect.Type

func (HostingVersionMap) ToHostingVersionMapOutput added in v6.51.0

func (i HostingVersionMap) ToHostingVersionMapOutput() HostingVersionMapOutput

func (HostingVersionMap) ToHostingVersionMapOutputWithContext added in v6.51.0

func (i HostingVersionMap) ToHostingVersionMapOutputWithContext(ctx context.Context) HostingVersionMapOutput

func (HostingVersionMap) ToOutput added in v6.65.1

type HostingVersionMapInput added in v6.51.0

type HostingVersionMapInput interface {
	pulumi.Input

	ToHostingVersionMapOutput() HostingVersionMapOutput
	ToHostingVersionMapOutputWithContext(context.Context) HostingVersionMapOutput
}

HostingVersionMapInput is an input type that accepts HostingVersionMap and HostingVersionMapOutput values. You can construct a concrete instance of `HostingVersionMapInput` via:

HostingVersionMap{ "key": HostingVersionArgs{...} }

type HostingVersionMapOutput added in v6.51.0

type HostingVersionMapOutput struct{ *pulumi.OutputState }

func (HostingVersionMapOutput) ElementType added in v6.51.0

func (HostingVersionMapOutput) ElementType() reflect.Type

func (HostingVersionMapOutput) MapIndex added in v6.51.0

func (HostingVersionMapOutput) ToHostingVersionMapOutput added in v6.51.0

func (o HostingVersionMapOutput) ToHostingVersionMapOutput() HostingVersionMapOutput

func (HostingVersionMapOutput) ToHostingVersionMapOutputWithContext added in v6.51.0

func (o HostingVersionMapOutput) ToHostingVersionMapOutputWithContext(ctx context.Context) HostingVersionMapOutput

func (HostingVersionMapOutput) ToOutput added in v6.65.1

type HostingVersionOutput added in v6.51.0

type HostingVersionOutput struct{ *pulumi.OutputState }

func (HostingVersionOutput) Config added in v6.51.0

The configuration for the behavior of the site. This configuration exists in the `firebase.json` file. Structure is documented below.

func (HostingVersionOutput) ElementType added in v6.51.0

func (HostingVersionOutput) ElementType() reflect.Type

func (HostingVersionOutput) Name added in v6.51.0

The fully-qualified resource name for the version, in the format: sites/SITE_ID/versions/VERSION_ID

func (HostingVersionOutput) SiteId added in v6.51.0

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

***

func (HostingVersionOutput) ToHostingVersionOutput added in v6.51.0

func (o HostingVersionOutput) ToHostingVersionOutput() HostingVersionOutput

func (HostingVersionOutput) ToHostingVersionOutputWithContext added in v6.51.0

func (o HostingVersionOutput) ToHostingVersionOutputWithContext(ctx context.Context) HostingVersionOutput

func (HostingVersionOutput) ToOutput added in v6.65.1

func (HostingVersionOutput) VersionId added in v6.51.0

The ID for the version as in sites/SITE_ID/versions/VERSION_ID

type HostingVersionState added in v6.51.0

type HostingVersionState struct {
	// The configuration for the behavior of the site. This configuration exists in the `firebase.json` file.
	// Structure is documented below.
	Config HostingVersionConfigPtrInput
	// The fully-qualified resource name for the version, in the format:
	// sites/SITE_ID/versions/VERSION_ID
	Name pulumi.StringPtrInput
	// Required. The ID of the site in which to create this Version.
	//
	// ***
	SiteId pulumi.StringPtrInput
	// The ID for the version as in sites/SITE_ID/versions/VERSION_ID
	VersionId pulumi.StringPtrInput
}

func (HostingVersionState) ElementType added in v6.51.0

func (HostingVersionState) 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"`
	// 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 getAndroidApp.

type LookupAndroidAppOutputArgs added in v6.45.0

type LookupAndroidAppOutputArgs struct {
	// The appId of name of the Firebase androidApp.
	//
	// ***
	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 getAndroidApp.

func (LookupAndroidAppOutputArgs) ElementType added in v6.45.0

func (LookupAndroidAppOutputArgs) ElementType() reflect.Type

type LookupAndroidAppResult added in v6.45.0

type LookupAndroidAppResult struct {
	ApiKeyId string `pulumi:"apiKeyId"`
	// 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) ApiKeyId added in v6.65.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

func (LookupAndroidAppResultOutput) ToOutput added in v6.65.1

type LookupAppleAppArgs added in v6.47.0

type LookupAppleAppArgs struct {
	// The appId of name of the Firebase iosApp.
	//
	// ***
	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 getAppleApp.

type LookupAppleAppOutputArgs added in v6.47.0

type LookupAppleAppOutputArgs struct {
	// The appId of name of the Firebase iosApp.
	//
	// ***
	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 getAppleApp.

func (LookupAppleAppOutputArgs) ElementType added in v6.47.0

func (LookupAppleAppOutputArgs) ElementType() reflect.Type

type LookupAppleAppResult added in v6.47.0

type LookupAppleAppResult struct {
	ApiKeyId string `pulumi:"apiKeyId"`
	// 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) ApiKeyId added in v6.65.0

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

func (LookupAppleAppResultOutput) ToOutput added in v6.65.1

type LookupHostingChannelArgs added in v6.51.0

type LookupHostingChannelArgs struct {
	// The ID of the channel. Use `channelId = "live"` for the default channel of a site.
	ChannelId string `pulumi:"channelId"`
	// The ID of the site this channel belongs to.
	SiteId string `pulumi:"siteId"`
}

A collection of arguments for invoking getHostingChannel.

type LookupHostingChannelOutputArgs added in v6.51.0

type LookupHostingChannelOutputArgs struct {
	// The ID of the channel. Use `channelId = "live"` for the default channel of a site.
	ChannelId pulumi.StringInput `pulumi:"channelId"`
	// The ID of the site this channel belongs to.
	SiteId pulumi.StringInput `pulumi:"siteId"`
}

A collection of arguments for invoking getHostingChannel.

func (LookupHostingChannelOutputArgs) ElementType added in v6.51.0

type LookupHostingChannelResult added in v6.51.0

type LookupHostingChannelResult struct {
	ChannelId  string `pulumi:"channelId"`
	ExpireTime string `pulumi:"expireTime"`
	// The provider-assigned unique ID for this managed resource.
	Id     string            `pulumi:"id"`
	Labels map[string]string `pulumi:"labels"`
	// The fully-qualified resource name for the channel, in the format: `sites/{{site_id}}/channels/{{channel_id}}`.
	Name                 string `pulumi:"name"`
	RetainedReleaseCount int    `pulumi:"retainedReleaseCount"`
	SiteId               string `pulumi:"siteId"`
	Ttl                  string `pulumi:"ttl"`
}

A collection of values returned by getHostingChannel.

func LookupHostingChannel added in v6.51.0

func LookupHostingChannel(ctx *pulumi.Context, args *LookupHostingChannelArgs, opts ...pulumi.InvokeOption) (*LookupHostingChannelResult, error)

type LookupHostingChannelResultOutput added in v6.51.0

type LookupHostingChannelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHostingChannel.

func LookupHostingChannelOutput added in v6.51.0

func (LookupHostingChannelResultOutput) ChannelId added in v6.51.0

func (LookupHostingChannelResultOutput) ElementType added in v6.51.0

func (LookupHostingChannelResultOutput) ExpireTime added in v6.51.0

func (LookupHostingChannelResultOutput) Id added in v6.51.0

The provider-assigned unique ID for this managed resource.

func (LookupHostingChannelResultOutput) Labels added in v6.51.0

func (LookupHostingChannelResultOutput) Name added in v6.51.0

The fully-qualified resource name for the channel, in the format: `sites/{{site_id}}/channels/{{channel_id}}`.

func (LookupHostingChannelResultOutput) RetainedReleaseCount added in v6.51.0

func (o LookupHostingChannelResultOutput) RetainedReleaseCount() pulumi.IntOutput

func (LookupHostingChannelResultOutput) SiteId added in v6.51.0

func (LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutput added in v6.51.0

func (o LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutput() LookupHostingChannelResultOutput

func (LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutputWithContext added in v6.51.0

func (o LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutputWithContext(ctx context.Context) LookupHostingChannelResultOutput

func (LookupHostingChannelResultOutput) ToOutput added in v6.65.1

func (LookupHostingChannelResultOutput) Ttl added in v6.51.0

type LookupWebAppArgs

type LookupWebAppArgs struct {
	// The appIp of name of the Firebase webApp.
	//
	// ***
	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 getWebApp.

type LookupWebAppOutputArgs

type LookupWebAppOutputArgs struct {
	// The appIp of name of the Firebase webApp.
	//
	// ***
	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 getWebApp.

func (LookupWebAppOutputArgs) ElementType

func (LookupWebAppOutputArgs) ElementType() reflect.Type

type LookupWebAppResult

type LookupWebAppResult struct {
	ApiKeyId string `pulumi:"apiKeyId"`
	// 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)

A Google Cloud Firebase web application instance

type LookupWebAppResultOutput

type LookupWebAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWebApp.

func (LookupWebAppResultOutput) ApiKeyId added in v6.65.0

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

func (LookupWebAppResultOutput) ToOutput added in v6.65.1

type Project

type Project struct {
	pulumi.CustomResourceState

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

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

To get more information about Project, see:

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

## Example Usage ### Firebase Project Basic

```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/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultProject, err := organizations.NewProject(ctx, "defaultProject", &organizations.ProjectArgs{
			ProjectId: pulumi.String("my-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
		}
		return nil
	})
}

```

## 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) ToOutput added in v6.65.1

func (i *Project) ToOutput(ctx context.Context) pulumix.Output[*Project]

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) ToOutput added in v6.65.1

func (i ProjectArray) ToOutput(ctx context.Context) pulumix.Output[[]*Project]

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) ToOutput added in v6.65.1

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

> **Warning:** `firebase.ProjectLocation` is deprecated in favor of explicitly configuring `appengine.Application` and `firestore.Database`. This resource will be removed in the next major release of the provider.

Sets the default Google Cloud Platform (GCP) resource location for the specified FirebaseProject. This method creates an App Engine application with a default Cloud Storage bucket, located in the specified locationId. This location must be one of the available GCP resource locations. After the default GCP resource location is finalized, or if it was already set, it cannot be changed. The default GCP resource location for the specified FirebaseProject might already be set because either the GCP Project already has an App Engine application or defaultLocation.finalize was previously called with a specified locationId. Any new calls to defaultLocation.finalize with a different specified locationId will return a 409 error.

To get more information about ProjectLocation, see:

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

## Example Usage ### Firebase Project Location Basic

```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/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultProject, err := organizations.NewProject(ctx, "defaultProject", &organizations.ProjectArgs{
			ProjectId: pulumi.String("my-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
		}
		_, err = firebase.NewProjectLocation(ctx, "basic", &firebase.ProjectLocationArgs{
			Project:    defaultFirebase / projectProject.Project,
			LocationId: pulumi.String("us-central"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

func (i ProjectMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Project]

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

func (o ProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*Project]

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the WebApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringOutput `pulumi:"apiKeyId"`
	// 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"`
}

A Google Cloud Firebase web application instance

To get more information about WebApp, see:

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

## Example Usage ### Firebase Web App Basic

```go package main

import (

"encoding/json"

"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/storage"
"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("my-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
		}
		basicWebApp, err := firebase.NewWebApp(ctx, "basicWebApp", &firebase.WebAppArgs{
			Project:        defaultProject.ProjectId,
			DisplayName:    pulumi.String("Display Name Basic"),
			DeletionPolicy: pulumi.String("DELETE"),
		}, pulumi.Provider(google_beta), pulumi.DependsOn([]pulumi.Resource{
			defaultFirebase / projectProject,
		}))
		if err != nil {
			return err
		}
		basicWebAppConfig := firebase.GetWebAppConfigOutput(ctx, firebase.GetWebAppConfigOutputArgs{
			WebAppId: basicWebApp.AppId,
		}, nil)
		defaultBucket, err := storage.NewBucket(ctx, "defaultBucket", &storage.BucketArgs{
			Location: pulumi.String("US"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = storage.NewBucketObject(ctx, "defaultBucketObject", &storage.BucketObjectArgs{
			Bucket: defaultBucket.Name,
			Content: pulumi.All(basicWebApp.AppId, basicWebAppConfig, basicWebAppConfig, "TODO: Lookup", "TODO: Lookup", "TODO: Lookup", "TODO: Lookup").ApplyT(func(_args []interface{}) (string, error) {
				appId := _args[0].(string)
				basicWebAppConfig := _args[1].(firebase.GetWebAppConfigResult)
				basicWebAppConfig1 := _args[2].(firebase.GetWebAppConfigResult)
				s := _args[3].(*string)
				s1 := _args[4].(*string)
				s2 := _args[5].(*string)
				s3 := _args[6].(*string)
				var _zero string
				tmpJSON0, err := json.Marshal(map[string]interface{}{
					"appId":             appId,
					"apiKey":            basicWebAppConfig.ApiKey,
					"authDomain":        basicWebAppConfig1.AuthDomain,
					"databaseURL":       s,
					"storageBucket":     s1,
					"messagingSenderId": s2,
					"measurementId":     s3,
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return json0, nil
			}).(pulumi.StringOutput),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Web App Custom Api Key

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"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 {
		web, err := projects.NewApiKey(ctx, "web", &projects.ApiKeyArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name"),
			Restrictions: &projects.ApiKeyRestrictionsArgs{
				BrowserKeyRestrictions: &projects.ApiKeyRestrictionsBrowserKeyRestrictionsArgs{
					AllowedReferrers: pulumi.StringArray{
						pulumi.String("*"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewWebApp(ctx, "default", &firebase.WebAppArgs{
			Project:        pulumi.String("my-project-name"),
			DisplayName:    pulumi.String("Display Name"),
			ApiKeyId:       web.Uid,
			DeletionPolicy: pulumi.String("DELETE"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

WebApp can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/webApp:WebApp default {{project}} projects/{{project}}/webApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/webApp:WebApp default projects/{{project}}/webApps/{{app_id}}

```

```sh

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

```

```sh

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

```

```sh

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

```

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) ToOutput added in v6.65.1

func (i *WebApp) ToOutput(ctx context.Context) pulumix.Output[*WebApp]

func (*WebApp) ToWebAppOutput

func (i *WebApp) ToWebAppOutput() WebAppOutput

func (*WebApp) ToWebAppOutputWithContext

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

type WebAppArgs

type WebAppArgs struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the WebApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// 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) ToOutput added in v6.65.1

func (i WebAppArray) ToOutput(ctx context.Context) pulumix.Output[[]*WebApp]

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) ToOutput added in v6.65.1

func (o WebAppArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*WebApp]

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) ToOutput added in v6.65.1

func (i WebAppMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*WebApp]

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) ToOutput added in v6.65.1

func (o WebAppMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*WebApp]

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) ApiKeyId added in v6.65.0

func (o WebAppOutput) ApiKeyId() pulumi.StringOutput

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp. If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the WebApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.

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) ToOutput added in v6.65.1

func (o WebAppOutput) ToOutput(ctx context.Context) pulumix.Output[*WebApp]

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, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the WebApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// 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