firebase

package
v7.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidApp

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"`
	// The canonical package name of the Android app as would appear in the Google Play
	// Developer Console.
	//
	// ***
	PackageName pulumi.StringOutput `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/v7/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"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/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{
			Name:        pulumi.String("api-key"),
			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"),
						},
					},
				},
			},
		})
		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,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AndroidApp can be imported using any of these accepted formats:

* `{{project}} projects/{{project}}/androidApps/{{app_id}}`

* `projects/{{project}}/androidApps/{{app_id}}`

* `{{project}}/{{project}}/{{app_id}}`

* `androidApps/{{app_id}}`

* `{{app_id}}`

When using the `pulumi import` command, AndroidApp can be imported using one of the formats above. For example:

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

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

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

func (*AndroidApp) ElementType() reflect.Type

func (*AndroidApp) ToAndroidAppOutput

func (i *AndroidApp) ToAndroidAppOutput() AndroidAppOutput

func (*AndroidApp) ToAndroidAppOutputWithContext

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

type AndroidAppArgs

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
	// The canonical package name of the Android app as would appear in the Google Play
	// Developer Console.
	//
	// ***
	PackageName 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 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

func (AndroidAppArgs) ElementType() reflect.Type

type AndroidAppArray

type AndroidAppArray []AndroidAppInput

func (AndroidAppArray) ElementType

func (AndroidAppArray) ElementType() reflect.Type

func (AndroidAppArray) ToAndroidAppArrayOutput

func (i AndroidAppArray) ToAndroidAppArrayOutput() AndroidAppArrayOutput

func (AndroidAppArray) ToAndroidAppArrayOutputWithContext

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

type AndroidAppArrayInput

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

type AndroidAppArrayOutput struct{ *pulumi.OutputState }

func (AndroidAppArrayOutput) ElementType

func (AndroidAppArrayOutput) ElementType() reflect.Type

func (AndroidAppArrayOutput) Index

func (AndroidAppArrayOutput) ToAndroidAppArrayOutput

func (o AndroidAppArrayOutput) ToAndroidAppArrayOutput() AndroidAppArrayOutput

func (AndroidAppArrayOutput) ToAndroidAppArrayOutputWithContext

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

type AndroidAppInput

type AndroidAppInput interface {
	pulumi.Input

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

type AndroidAppMap

type AndroidAppMap map[string]AndroidAppInput

func (AndroidAppMap) ElementType

func (AndroidAppMap) ElementType() reflect.Type

func (AndroidAppMap) ToAndroidAppMapOutput

func (i AndroidAppMap) ToAndroidAppMapOutput() AndroidAppMapOutput

func (AndroidAppMap) ToAndroidAppMapOutputWithContext

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

type AndroidAppMapInput

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

type AndroidAppMapOutput struct{ *pulumi.OutputState }

func (AndroidAppMapOutput) ElementType

func (AndroidAppMapOutput) ElementType() reflect.Type

func (AndroidAppMapOutput) MapIndex

func (AndroidAppMapOutput) ToAndroidAppMapOutput

func (o AndroidAppMapOutput) ToAndroidAppMapOutput() AndroidAppMapOutput

func (AndroidAppMapOutput) ToAndroidAppMapOutputWithContext

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

type AndroidAppOutput

type AndroidAppOutput struct{ *pulumi.OutputState }

func (AndroidAppOutput) ApiKeyId

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

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

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

func (o AndroidAppOutput) DisplayName() pulumi.StringOutput

The user-assigned display name of the AndroidApp.

func (AndroidAppOutput) ElementType

func (AndroidAppOutput) ElementType() reflect.Type

func (AndroidAppOutput) Etag

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

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

func (AndroidAppOutput) PackageName

func (o AndroidAppOutput) PackageName() pulumi.StringOutput

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

***

func (AndroidAppOutput) Project

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

func (o AndroidAppOutput) Sha1Hashes() pulumi.StringArrayOutput

The SHA1 certificate hashes for the AndroidApp.

func (AndroidAppOutput) Sha256Hashes

func (o AndroidAppOutput) Sha256Hashes() pulumi.StringArrayOutput

The SHA256 certificate hashes for the AndroidApp.

func (AndroidAppOutput) ToAndroidAppOutput

func (o AndroidAppOutput) ToAndroidAppOutput() AndroidAppOutput

func (AndroidAppOutput) ToAndroidAppOutputWithContext

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

type AndroidAppState

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
	// 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

func (AndroidAppState) ElementType() reflect.Type

type AppCheckAppAttestConfig added in v7.12.0

type AppCheckAppAttestConfig struct {
	pulumi.CustomResourceState

	// The ID of an
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The relative resource name of the App Attest configuration object
	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"`
	// Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringOutput `pulumi:"tokenTtl"`
}

An app's App Attest configuration object. Note that the Team ID registered with your app is used as part of the validation process. Make sure your `firebase.AppleApp` has a teamId present.

To get more information about AppAttestConfig, see:

* [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.appAttestConfig) * How-to Guides

## Example Usage

### Firebase App Check App Attest Config Minimal

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-time/sdk/go/time"
"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("Apple app"),
			BundleId:    pulumi.String("bundle.id.appattest"),
			TeamId:      pulumi.String("9987654321"),
		})
		if err != nil {
			return err
		}
		// It takes a while for App Check to recognize the new app
		// If your app already exists, you don't have to wait 30 seconds.
		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
			CreateDuration: "30s",
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckAppAttestConfig(ctx, "default", &firebase.AppCheckAppAttestConfigArgs{
			Project: pulumi.String("my-project-name"),
			AppId:   _default.AppId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase App Check App Attest Config Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-time/sdk/go/time"
"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("Apple app"),
			BundleId:    pulumi.String("bundle.id.appattest"),
			TeamId:      pulumi.String("9987654321"),
		})
		if err != nil {
			return err
		}
		// It takes a while for App Check to recognize the new app
		// If your app already exists, you don't have to wait 30 seconds.
		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
			CreateDuration: "30s",
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckAppAttestConfig(ctx, "default", &firebase.AppCheckAppAttestConfigArgs{
			Project:  pulumi.String("my-project-name"),
			AppId:    _default.AppId,
			TokenTtl: pulumi.String("7200s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppAttestConfig can be imported using any of these accepted formats:

* `projects/{{project}}/apps/{{app_id}}/appAttestConfig`

* `{{project}}/{{app_id}}`

* `{{app_id}}`

When using the `pulumi import` command, AppAttestConfig can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:firebase/appCheckAppAttestConfig:AppCheckAppAttestConfig default projects/{{project}}/apps/{{app_id}}/appAttestConfig ```

```sh $ pulumi import gcp:firebase/appCheckAppAttestConfig:AppCheckAppAttestConfig default {{project}}/{{app_id}} ```

```sh $ pulumi import gcp:firebase/appCheckAppAttestConfig:AppCheckAppAttestConfig default {{app_id}} ```

func GetAppCheckAppAttestConfig added in v7.12.0

func GetAppCheckAppAttestConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppCheckAppAttestConfigState, opts ...pulumi.ResourceOption) (*AppCheckAppAttestConfig, error)

GetAppCheckAppAttestConfig gets an existing AppCheckAppAttestConfig 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 NewAppCheckAppAttestConfig added in v7.12.0

func NewAppCheckAppAttestConfig(ctx *pulumi.Context,
	name string, args *AppCheckAppAttestConfigArgs, opts ...pulumi.ResourceOption) (*AppCheckAppAttestConfig, error)

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

func (*AppCheckAppAttestConfig) ElementType added in v7.12.0

func (*AppCheckAppAttestConfig) ElementType() reflect.Type

func (*AppCheckAppAttestConfig) ToAppCheckAppAttestConfigOutput added in v7.12.0

func (i *AppCheckAppAttestConfig) ToAppCheckAppAttestConfigOutput() AppCheckAppAttestConfigOutput

func (*AppCheckAppAttestConfig) ToAppCheckAppAttestConfigOutputWithContext added in v7.12.0

func (i *AppCheckAppAttestConfig) ToAppCheckAppAttestConfigOutputWithContext(ctx context.Context) AppCheckAppAttestConfigOutput

type AppCheckAppAttestConfigArgs added in v7.12.0

type AppCheckAppAttestConfigArgs struct {
	// The ID of an
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id).
	//
	// ***
	AppId 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
	// Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

The set of arguments for constructing a AppCheckAppAttestConfig resource.

func (AppCheckAppAttestConfigArgs) ElementType added in v7.12.0

type AppCheckAppAttestConfigArray added in v7.12.0

type AppCheckAppAttestConfigArray []AppCheckAppAttestConfigInput

func (AppCheckAppAttestConfigArray) ElementType added in v7.12.0

func (AppCheckAppAttestConfigArray) ToAppCheckAppAttestConfigArrayOutput added in v7.12.0

func (i AppCheckAppAttestConfigArray) ToAppCheckAppAttestConfigArrayOutput() AppCheckAppAttestConfigArrayOutput

func (AppCheckAppAttestConfigArray) ToAppCheckAppAttestConfigArrayOutputWithContext added in v7.12.0

func (i AppCheckAppAttestConfigArray) ToAppCheckAppAttestConfigArrayOutputWithContext(ctx context.Context) AppCheckAppAttestConfigArrayOutput

type AppCheckAppAttestConfigArrayInput added in v7.12.0

type AppCheckAppAttestConfigArrayInput interface {
	pulumi.Input

	ToAppCheckAppAttestConfigArrayOutput() AppCheckAppAttestConfigArrayOutput
	ToAppCheckAppAttestConfigArrayOutputWithContext(context.Context) AppCheckAppAttestConfigArrayOutput
}

AppCheckAppAttestConfigArrayInput is an input type that accepts AppCheckAppAttestConfigArray and AppCheckAppAttestConfigArrayOutput values. You can construct a concrete instance of `AppCheckAppAttestConfigArrayInput` via:

AppCheckAppAttestConfigArray{ AppCheckAppAttestConfigArgs{...} }

type AppCheckAppAttestConfigArrayOutput added in v7.12.0

type AppCheckAppAttestConfigArrayOutput struct{ *pulumi.OutputState }

func (AppCheckAppAttestConfigArrayOutput) ElementType added in v7.12.0

func (AppCheckAppAttestConfigArrayOutput) Index added in v7.12.0

func (AppCheckAppAttestConfigArrayOutput) ToAppCheckAppAttestConfigArrayOutput added in v7.12.0

func (o AppCheckAppAttestConfigArrayOutput) ToAppCheckAppAttestConfigArrayOutput() AppCheckAppAttestConfigArrayOutput

func (AppCheckAppAttestConfigArrayOutput) ToAppCheckAppAttestConfigArrayOutputWithContext added in v7.12.0

func (o AppCheckAppAttestConfigArrayOutput) ToAppCheckAppAttestConfigArrayOutputWithContext(ctx context.Context) AppCheckAppAttestConfigArrayOutput

type AppCheckAppAttestConfigInput added in v7.12.0

type AppCheckAppAttestConfigInput interface {
	pulumi.Input

	ToAppCheckAppAttestConfigOutput() AppCheckAppAttestConfigOutput
	ToAppCheckAppAttestConfigOutputWithContext(ctx context.Context) AppCheckAppAttestConfigOutput
}

type AppCheckAppAttestConfigMap added in v7.12.0

type AppCheckAppAttestConfigMap map[string]AppCheckAppAttestConfigInput

func (AppCheckAppAttestConfigMap) ElementType added in v7.12.0

func (AppCheckAppAttestConfigMap) ElementType() reflect.Type

func (AppCheckAppAttestConfigMap) ToAppCheckAppAttestConfigMapOutput added in v7.12.0

func (i AppCheckAppAttestConfigMap) ToAppCheckAppAttestConfigMapOutput() AppCheckAppAttestConfigMapOutput

func (AppCheckAppAttestConfigMap) ToAppCheckAppAttestConfigMapOutputWithContext added in v7.12.0

func (i AppCheckAppAttestConfigMap) ToAppCheckAppAttestConfigMapOutputWithContext(ctx context.Context) AppCheckAppAttestConfigMapOutput

type AppCheckAppAttestConfigMapInput added in v7.12.0

type AppCheckAppAttestConfigMapInput interface {
	pulumi.Input

	ToAppCheckAppAttestConfigMapOutput() AppCheckAppAttestConfigMapOutput
	ToAppCheckAppAttestConfigMapOutputWithContext(context.Context) AppCheckAppAttestConfigMapOutput
}

AppCheckAppAttestConfigMapInput is an input type that accepts AppCheckAppAttestConfigMap and AppCheckAppAttestConfigMapOutput values. You can construct a concrete instance of `AppCheckAppAttestConfigMapInput` via:

AppCheckAppAttestConfigMap{ "key": AppCheckAppAttestConfigArgs{...} }

type AppCheckAppAttestConfigMapOutput added in v7.12.0

type AppCheckAppAttestConfigMapOutput struct{ *pulumi.OutputState }

func (AppCheckAppAttestConfigMapOutput) ElementType added in v7.12.0

func (AppCheckAppAttestConfigMapOutput) MapIndex added in v7.12.0

func (AppCheckAppAttestConfigMapOutput) ToAppCheckAppAttestConfigMapOutput added in v7.12.0

func (o AppCheckAppAttestConfigMapOutput) ToAppCheckAppAttestConfigMapOutput() AppCheckAppAttestConfigMapOutput

func (AppCheckAppAttestConfigMapOutput) ToAppCheckAppAttestConfigMapOutputWithContext added in v7.12.0

func (o AppCheckAppAttestConfigMapOutput) ToAppCheckAppAttestConfigMapOutputWithContext(ctx context.Context) AppCheckAppAttestConfigMapOutput

type AppCheckAppAttestConfigOutput added in v7.12.0

type AppCheckAppAttestConfigOutput struct{ *pulumi.OutputState }

func (AppCheckAppAttestConfigOutput) ElementType added in v7.12.0

func (AppCheckAppAttestConfigOutput) Name added in v7.12.0

The relative resource name of the App Attest configuration object

func (AppCheckAppAttestConfigOutput) Project added in v7.12.0

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

func (AppCheckAppAttestConfigOutput) ToAppCheckAppAttestConfigOutput added in v7.12.0

func (o AppCheckAppAttestConfigOutput) ToAppCheckAppAttestConfigOutput() AppCheckAppAttestConfigOutput

func (AppCheckAppAttestConfigOutput) ToAppCheckAppAttestConfigOutputWithContext added in v7.12.0

func (o AppCheckAppAttestConfigOutput) ToAppCheckAppAttestConfigOutputWithContext(ctx context.Context) AppCheckAppAttestConfigOutput

func (AppCheckAppAttestConfigOutput) TokenTtl added in v7.12.0

Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

type AppCheckAppAttestConfigState added in v7.12.0

type AppCheckAppAttestConfigState struct {
	// The ID of an
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringPtrInput
	// The relative resource name of the App Attest configuration object
	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
	// Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

func (AppCheckAppAttestConfigState) ElementType added in v7.12.0

type AppCheckDebugToken added in v7.11.0

type AppCheckDebugToken struct {
	pulumi.CustomResourceState

	// The ID of a
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
	// or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
	//
	// ***
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The last segment of the resource name of the debug token.
	DebugTokenId pulumi.StringOutput `pulumi:"debugTokenId"`
	// A human readable display name used to identify this debug token.
	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 secret token itself. Must be provided during creation, and must be a UUID4,
	// case insensitive. You may use a method of your choice such as random/random_uuid
	// to generate the token.
	// This field is immutable once set, and cannot be updated. You can, however, delete
	// this debug token to revoke it.
	// For security reasons, this field will never be populated in any response.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Token pulumi.StringOutput `pulumi:"token"`
}

A debug token is a secret used during the development or integration testing of an app. It essentially allows the development or integration testing to bypass app attestation while still allowing App Check to enforce protection on supported production Firebase services.

To get more information about DebugToken, see:

* [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.debugTokens) * How-to Guides

## Example Usage

### Firebase App Check Debug Token Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-time/sdk/go/time"
"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("Web App for debug token"),
		})
		if err != nil {
			return err
		}
		// It takes a while for App Check to recognize the new app
		// If your app already exists, you don't have to wait 30 seconds.
		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
			CreateDuration: "30s",
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckDebugToken(ctx, "default", &firebase.AppCheckDebugTokenArgs{
			Project:     pulumi.String("my-project-name"),
			AppId:       _default.AppId,
			DisplayName: pulumi.String("Debug Token"),
			Token:       pulumi.String("00000000-AAAA-BBBB-CCCC-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DebugToken can be imported using any of these accepted formats:

* `projects/{{project}}/apps/{{app_id}}/debugTokens/{{debug_token_id}}`

* `{{project}}/{{app_id}}/{{debug_token_id}}`

* `{{app_id}}/{{debug_token_id}}`

When using the `pulumi import` command, DebugToken can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default projects/{{project}}/apps/{{app_id}}/debugTokens/{{debug_token_id}} ```

```sh $ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default {{project}}/{{app_id}}/{{debug_token_id}} ```

```sh $ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default {{app_id}}/{{debug_token_id}} ```

func GetAppCheckDebugToken added in v7.11.0

func GetAppCheckDebugToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppCheckDebugTokenState, opts ...pulumi.ResourceOption) (*AppCheckDebugToken, error)

GetAppCheckDebugToken gets an existing AppCheckDebugToken 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 NewAppCheckDebugToken added in v7.11.0

func NewAppCheckDebugToken(ctx *pulumi.Context,
	name string, args *AppCheckDebugTokenArgs, opts ...pulumi.ResourceOption) (*AppCheckDebugToken, error)

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

func (*AppCheckDebugToken) ElementType added in v7.11.0

func (*AppCheckDebugToken) ElementType() reflect.Type

func (*AppCheckDebugToken) ToAppCheckDebugTokenOutput added in v7.11.0

func (i *AppCheckDebugToken) ToAppCheckDebugTokenOutput() AppCheckDebugTokenOutput

func (*AppCheckDebugToken) ToAppCheckDebugTokenOutputWithContext added in v7.11.0

func (i *AppCheckDebugToken) ToAppCheckDebugTokenOutputWithContext(ctx context.Context) AppCheckDebugTokenOutput

type AppCheckDebugTokenArgs added in v7.11.0

type AppCheckDebugTokenArgs struct {
	// The ID of a
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
	// or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
	//
	// ***
	AppId pulumi.StringInput
	// A human readable display name used to identify this debug token.
	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 secret token itself. Must be provided during creation, and must be a UUID4,
	// case insensitive. You may use a method of your choice such as random/random_uuid
	// to generate the token.
	// This field is immutable once set, and cannot be updated. You can, however, delete
	// this debug token to revoke it.
	// For security reasons, this field will never be populated in any response.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Token pulumi.StringInput
}

The set of arguments for constructing a AppCheckDebugToken resource.

func (AppCheckDebugTokenArgs) ElementType added in v7.11.0

func (AppCheckDebugTokenArgs) ElementType() reflect.Type

type AppCheckDebugTokenArray added in v7.11.0

type AppCheckDebugTokenArray []AppCheckDebugTokenInput

func (AppCheckDebugTokenArray) ElementType added in v7.11.0

func (AppCheckDebugTokenArray) ElementType() reflect.Type

func (AppCheckDebugTokenArray) ToAppCheckDebugTokenArrayOutput added in v7.11.0

func (i AppCheckDebugTokenArray) ToAppCheckDebugTokenArrayOutput() AppCheckDebugTokenArrayOutput

func (AppCheckDebugTokenArray) ToAppCheckDebugTokenArrayOutputWithContext added in v7.11.0

func (i AppCheckDebugTokenArray) ToAppCheckDebugTokenArrayOutputWithContext(ctx context.Context) AppCheckDebugTokenArrayOutput

type AppCheckDebugTokenArrayInput added in v7.11.0

type AppCheckDebugTokenArrayInput interface {
	pulumi.Input

	ToAppCheckDebugTokenArrayOutput() AppCheckDebugTokenArrayOutput
	ToAppCheckDebugTokenArrayOutputWithContext(context.Context) AppCheckDebugTokenArrayOutput
}

AppCheckDebugTokenArrayInput is an input type that accepts AppCheckDebugTokenArray and AppCheckDebugTokenArrayOutput values. You can construct a concrete instance of `AppCheckDebugTokenArrayInput` via:

AppCheckDebugTokenArray{ AppCheckDebugTokenArgs{...} }

type AppCheckDebugTokenArrayOutput added in v7.11.0

type AppCheckDebugTokenArrayOutput struct{ *pulumi.OutputState }

func (AppCheckDebugTokenArrayOutput) ElementType added in v7.11.0

func (AppCheckDebugTokenArrayOutput) Index added in v7.11.0

func (AppCheckDebugTokenArrayOutput) ToAppCheckDebugTokenArrayOutput added in v7.11.0

func (o AppCheckDebugTokenArrayOutput) ToAppCheckDebugTokenArrayOutput() AppCheckDebugTokenArrayOutput

func (AppCheckDebugTokenArrayOutput) ToAppCheckDebugTokenArrayOutputWithContext added in v7.11.0

func (o AppCheckDebugTokenArrayOutput) ToAppCheckDebugTokenArrayOutputWithContext(ctx context.Context) AppCheckDebugTokenArrayOutput

type AppCheckDebugTokenInput added in v7.11.0

type AppCheckDebugTokenInput interface {
	pulumi.Input

	ToAppCheckDebugTokenOutput() AppCheckDebugTokenOutput
	ToAppCheckDebugTokenOutputWithContext(ctx context.Context) AppCheckDebugTokenOutput
}

type AppCheckDebugTokenMap added in v7.11.0

type AppCheckDebugTokenMap map[string]AppCheckDebugTokenInput

func (AppCheckDebugTokenMap) ElementType added in v7.11.0

func (AppCheckDebugTokenMap) ElementType() reflect.Type

func (AppCheckDebugTokenMap) ToAppCheckDebugTokenMapOutput added in v7.11.0

func (i AppCheckDebugTokenMap) ToAppCheckDebugTokenMapOutput() AppCheckDebugTokenMapOutput

func (AppCheckDebugTokenMap) ToAppCheckDebugTokenMapOutputWithContext added in v7.11.0

func (i AppCheckDebugTokenMap) ToAppCheckDebugTokenMapOutputWithContext(ctx context.Context) AppCheckDebugTokenMapOutput

type AppCheckDebugTokenMapInput added in v7.11.0

type AppCheckDebugTokenMapInput interface {
	pulumi.Input

	ToAppCheckDebugTokenMapOutput() AppCheckDebugTokenMapOutput
	ToAppCheckDebugTokenMapOutputWithContext(context.Context) AppCheckDebugTokenMapOutput
}

AppCheckDebugTokenMapInput is an input type that accepts AppCheckDebugTokenMap and AppCheckDebugTokenMapOutput values. You can construct a concrete instance of `AppCheckDebugTokenMapInput` via:

AppCheckDebugTokenMap{ "key": AppCheckDebugTokenArgs{...} }

type AppCheckDebugTokenMapOutput added in v7.11.0

type AppCheckDebugTokenMapOutput struct{ *pulumi.OutputState }

func (AppCheckDebugTokenMapOutput) ElementType added in v7.11.0

func (AppCheckDebugTokenMapOutput) MapIndex added in v7.11.0

func (AppCheckDebugTokenMapOutput) ToAppCheckDebugTokenMapOutput added in v7.11.0

func (o AppCheckDebugTokenMapOutput) ToAppCheckDebugTokenMapOutput() AppCheckDebugTokenMapOutput

func (AppCheckDebugTokenMapOutput) ToAppCheckDebugTokenMapOutputWithContext added in v7.11.0

func (o AppCheckDebugTokenMapOutput) ToAppCheckDebugTokenMapOutputWithContext(ctx context.Context) AppCheckDebugTokenMapOutput

type AppCheckDebugTokenOutput added in v7.11.0

type AppCheckDebugTokenOutput struct{ *pulumi.OutputState }

func (AppCheckDebugTokenOutput) DebugTokenId added in v7.11.0

func (o AppCheckDebugTokenOutput) DebugTokenId() pulumi.StringOutput

The last segment of the resource name of the debug token.

func (AppCheckDebugTokenOutput) DisplayName added in v7.11.0

A human readable display name used to identify this debug token.

func (AppCheckDebugTokenOutput) ElementType added in v7.11.0

func (AppCheckDebugTokenOutput) ElementType() reflect.Type

func (AppCheckDebugTokenOutput) Project added in v7.11.0

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

func (AppCheckDebugTokenOutput) ToAppCheckDebugTokenOutput added in v7.11.0

func (o AppCheckDebugTokenOutput) ToAppCheckDebugTokenOutput() AppCheckDebugTokenOutput

func (AppCheckDebugTokenOutput) ToAppCheckDebugTokenOutputWithContext added in v7.11.0

func (o AppCheckDebugTokenOutput) ToAppCheckDebugTokenOutputWithContext(ctx context.Context) AppCheckDebugTokenOutput

func (AppCheckDebugTokenOutput) Token added in v7.11.0

The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. You may use a method of your choice such as random/random_uuid to generate the token. This field is immutable once set, and cannot be updated. You can, however, delete this debug token to revoke it. For security reasons, this field will never be populated in any response. **Note**: This property is sensitive and will not be displayed in the plan.

type AppCheckDebugTokenState added in v7.11.0

type AppCheckDebugTokenState struct {
	// The ID of a
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
	// or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
	//
	// ***
	AppId pulumi.StringPtrInput
	// The last segment of the resource name of the debug token.
	DebugTokenId pulumi.StringPtrInput
	// A human readable display name used to identify this debug token.
	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 secret token itself. Must be provided during creation, and must be a UUID4,
	// case insensitive. You may use a method of your choice such as random/random_uuid
	// to generate the token.
	// This field is immutable once set, and cannot be updated. You can, however, delete
	// this debug token to revoke it.
	// For security reasons, this field will never be populated in any response.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Token pulumi.StringPtrInput
}

func (AppCheckDebugTokenState) ElementType added in v7.11.0

func (AppCheckDebugTokenState) ElementType() reflect.Type

type AppCheckDeviceCheckConfig added in v7.15.0

type AppCheckDeviceCheckConfig struct {
	pulumi.CustomResourceState

	// The ID of an
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The key identifier of a private key enabled with DeviceCheck, created in your Apple Developer account.
	KeyId pulumi.StringOutput `pulumi:"keyId"`
	// The relative resource name of the DeviceCheck configuration object
	Name pulumi.StringOutput `pulumi:"name"`
	// The contents of the private key (.p8) file associated with the key specified by keyId.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// Whether the privateKey field was previously set. Since App Check will never return the
	// privateKey field, this field is the only way to find out whether it was previously set.
	PrivateKeySet pulumi.BoolOutput `pulumi:"privateKeySet"`
	// 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"`
	// Specifies the duration for which App Check tokens exchanged from DeviceCheck artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringOutput `pulumi:"tokenTtl"`
}

An app's DeviceCheck configuration object. Note that the Team ID registered with your app is used as part of the validation process. Make sure your `firebase.AppleApp` has a teamId present.

To get more information about DeviceCheckConfig, see:

* [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.deviceCheckConfig) * How-to Guides

## Example Usage

### Firebase App Check Device Check Config Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi-time/sdk/go/time"
"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("Apple app"),
			BundleId:    pulumi.String("bundle.id.devicecheck"),
			TeamId:      pulumi.String("9987654321"),
		})
		if err != nil {
			return err
		}
		// It takes a while for App Check to recognize the new app
		// If your app already exists, you don't have to wait 30 seconds.
		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
			CreateDuration: "30s",
		})
		if err != nil {
			return err
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "path/to/private-key.p8",
		}, nil)
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckDeviceCheckConfig(ctx, "default", &firebase.AppCheckDeviceCheckConfigArgs{
			Project:    pulumi.String("my-project-name"),
			AppId:      _default.AppId,
			TokenTtl:   pulumi.String("7200s"),
			KeyId:      pulumi.String("Key ID"),
			PrivateKey: invokeFile.Result,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DeviceCheckConfig can be imported using any of these accepted formats:

* `projects/{{project}}/apps/{{app_id}}/deviceCheckConfig`

* `{{project}}/{{app_id}}`

* `{{app_id}}`

When using the `pulumi import` command, DeviceCheckConfig can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:firebase/appCheckDeviceCheckConfig:AppCheckDeviceCheckConfig default projects/{{project}}/apps/{{app_id}}/deviceCheckConfig ```

```sh $ pulumi import gcp:firebase/appCheckDeviceCheckConfig:AppCheckDeviceCheckConfig default {{project}}/{{app_id}} ```

```sh $ pulumi import gcp:firebase/appCheckDeviceCheckConfig:AppCheckDeviceCheckConfig default {{app_id}} ```

func GetAppCheckDeviceCheckConfig added in v7.15.0

func GetAppCheckDeviceCheckConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppCheckDeviceCheckConfigState, opts ...pulumi.ResourceOption) (*AppCheckDeviceCheckConfig, error)

GetAppCheckDeviceCheckConfig gets an existing AppCheckDeviceCheckConfig 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 NewAppCheckDeviceCheckConfig added in v7.15.0

func NewAppCheckDeviceCheckConfig(ctx *pulumi.Context,
	name string, args *AppCheckDeviceCheckConfigArgs, opts ...pulumi.ResourceOption) (*AppCheckDeviceCheckConfig, error)

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

func (*AppCheckDeviceCheckConfig) ElementType added in v7.15.0

func (*AppCheckDeviceCheckConfig) ElementType() reflect.Type

func (*AppCheckDeviceCheckConfig) ToAppCheckDeviceCheckConfigOutput added in v7.15.0

func (i *AppCheckDeviceCheckConfig) ToAppCheckDeviceCheckConfigOutput() AppCheckDeviceCheckConfigOutput

func (*AppCheckDeviceCheckConfig) ToAppCheckDeviceCheckConfigOutputWithContext added in v7.15.0

func (i *AppCheckDeviceCheckConfig) ToAppCheckDeviceCheckConfigOutputWithContext(ctx context.Context) AppCheckDeviceCheckConfigOutput

type AppCheckDeviceCheckConfigArgs added in v7.15.0

type AppCheckDeviceCheckConfigArgs struct {
	// The ID of an
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringInput
	// The key identifier of a private key enabled with DeviceCheck, created in your Apple Developer account.
	KeyId pulumi.StringInput
	// The contents of the private key (.p8) file associated with the key specified by keyId.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PrivateKey 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
	// Specifies the duration for which App Check tokens exchanged from DeviceCheck artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

The set of arguments for constructing a AppCheckDeviceCheckConfig resource.

func (AppCheckDeviceCheckConfigArgs) ElementType added in v7.15.0

type AppCheckDeviceCheckConfigArray added in v7.15.0

type AppCheckDeviceCheckConfigArray []AppCheckDeviceCheckConfigInput

func (AppCheckDeviceCheckConfigArray) ElementType added in v7.15.0

func (AppCheckDeviceCheckConfigArray) ToAppCheckDeviceCheckConfigArrayOutput added in v7.15.0

func (i AppCheckDeviceCheckConfigArray) ToAppCheckDeviceCheckConfigArrayOutput() AppCheckDeviceCheckConfigArrayOutput

func (AppCheckDeviceCheckConfigArray) ToAppCheckDeviceCheckConfigArrayOutputWithContext added in v7.15.0

func (i AppCheckDeviceCheckConfigArray) ToAppCheckDeviceCheckConfigArrayOutputWithContext(ctx context.Context) AppCheckDeviceCheckConfigArrayOutput

type AppCheckDeviceCheckConfigArrayInput added in v7.15.0

type AppCheckDeviceCheckConfigArrayInput interface {
	pulumi.Input

	ToAppCheckDeviceCheckConfigArrayOutput() AppCheckDeviceCheckConfigArrayOutput
	ToAppCheckDeviceCheckConfigArrayOutputWithContext(context.Context) AppCheckDeviceCheckConfigArrayOutput
}

AppCheckDeviceCheckConfigArrayInput is an input type that accepts AppCheckDeviceCheckConfigArray and AppCheckDeviceCheckConfigArrayOutput values. You can construct a concrete instance of `AppCheckDeviceCheckConfigArrayInput` via:

AppCheckDeviceCheckConfigArray{ AppCheckDeviceCheckConfigArgs{...} }

type AppCheckDeviceCheckConfigArrayOutput added in v7.15.0

type AppCheckDeviceCheckConfigArrayOutput struct{ *pulumi.OutputState }

func (AppCheckDeviceCheckConfigArrayOutput) ElementType added in v7.15.0

func (AppCheckDeviceCheckConfigArrayOutput) Index added in v7.15.0

func (AppCheckDeviceCheckConfigArrayOutput) ToAppCheckDeviceCheckConfigArrayOutput added in v7.15.0

func (o AppCheckDeviceCheckConfigArrayOutput) ToAppCheckDeviceCheckConfigArrayOutput() AppCheckDeviceCheckConfigArrayOutput

func (AppCheckDeviceCheckConfigArrayOutput) ToAppCheckDeviceCheckConfigArrayOutputWithContext added in v7.15.0

func (o AppCheckDeviceCheckConfigArrayOutput) ToAppCheckDeviceCheckConfigArrayOutputWithContext(ctx context.Context) AppCheckDeviceCheckConfigArrayOutput

type AppCheckDeviceCheckConfigInput added in v7.15.0

type AppCheckDeviceCheckConfigInput interface {
	pulumi.Input

	ToAppCheckDeviceCheckConfigOutput() AppCheckDeviceCheckConfigOutput
	ToAppCheckDeviceCheckConfigOutputWithContext(ctx context.Context) AppCheckDeviceCheckConfigOutput
}

type AppCheckDeviceCheckConfigMap added in v7.15.0

type AppCheckDeviceCheckConfigMap map[string]AppCheckDeviceCheckConfigInput

func (AppCheckDeviceCheckConfigMap) ElementType added in v7.15.0

func (AppCheckDeviceCheckConfigMap) ToAppCheckDeviceCheckConfigMapOutput added in v7.15.0

func (i AppCheckDeviceCheckConfigMap) ToAppCheckDeviceCheckConfigMapOutput() AppCheckDeviceCheckConfigMapOutput

func (AppCheckDeviceCheckConfigMap) ToAppCheckDeviceCheckConfigMapOutputWithContext added in v7.15.0

func (i AppCheckDeviceCheckConfigMap) ToAppCheckDeviceCheckConfigMapOutputWithContext(ctx context.Context) AppCheckDeviceCheckConfigMapOutput

type AppCheckDeviceCheckConfigMapInput added in v7.15.0

type AppCheckDeviceCheckConfigMapInput interface {
	pulumi.Input

	ToAppCheckDeviceCheckConfigMapOutput() AppCheckDeviceCheckConfigMapOutput
	ToAppCheckDeviceCheckConfigMapOutputWithContext(context.Context) AppCheckDeviceCheckConfigMapOutput
}

AppCheckDeviceCheckConfigMapInput is an input type that accepts AppCheckDeviceCheckConfigMap and AppCheckDeviceCheckConfigMapOutput values. You can construct a concrete instance of `AppCheckDeviceCheckConfigMapInput` via:

AppCheckDeviceCheckConfigMap{ "key": AppCheckDeviceCheckConfigArgs{...} }

type AppCheckDeviceCheckConfigMapOutput added in v7.15.0

type AppCheckDeviceCheckConfigMapOutput struct{ *pulumi.OutputState }

func (AppCheckDeviceCheckConfigMapOutput) ElementType added in v7.15.0

func (AppCheckDeviceCheckConfigMapOutput) MapIndex added in v7.15.0

func (AppCheckDeviceCheckConfigMapOutput) ToAppCheckDeviceCheckConfigMapOutput added in v7.15.0

func (o AppCheckDeviceCheckConfigMapOutput) ToAppCheckDeviceCheckConfigMapOutput() AppCheckDeviceCheckConfigMapOutput

func (AppCheckDeviceCheckConfigMapOutput) ToAppCheckDeviceCheckConfigMapOutputWithContext added in v7.15.0

func (o AppCheckDeviceCheckConfigMapOutput) ToAppCheckDeviceCheckConfigMapOutputWithContext(ctx context.Context) AppCheckDeviceCheckConfigMapOutput

type AppCheckDeviceCheckConfigOutput added in v7.15.0

type AppCheckDeviceCheckConfigOutput struct{ *pulumi.OutputState }

func (AppCheckDeviceCheckConfigOutput) ElementType added in v7.15.0

func (AppCheckDeviceCheckConfigOutput) KeyId added in v7.15.0

The key identifier of a private key enabled with DeviceCheck, created in your Apple Developer account.

func (AppCheckDeviceCheckConfigOutput) Name added in v7.15.0

The relative resource name of the DeviceCheck configuration object

func (AppCheckDeviceCheckConfigOutput) PrivateKey added in v7.15.0

The contents of the private key (.p8) file associated with the key specified by keyId. **Note**: This property is sensitive and will not be displayed in the plan.

func (AppCheckDeviceCheckConfigOutput) PrivateKeySet added in v7.15.0

Whether the privateKey field was previously set. Since App Check will never return the privateKey field, this field is the only way to find out whether it was previously set.

func (AppCheckDeviceCheckConfigOutput) Project added in v7.15.0

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

func (AppCheckDeviceCheckConfigOutput) ToAppCheckDeviceCheckConfigOutput added in v7.15.0

func (o AppCheckDeviceCheckConfigOutput) ToAppCheckDeviceCheckConfigOutput() AppCheckDeviceCheckConfigOutput

func (AppCheckDeviceCheckConfigOutput) ToAppCheckDeviceCheckConfigOutputWithContext added in v7.15.0

func (o AppCheckDeviceCheckConfigOutput) ToAppCheckDeviceCheckConfigOutputWithContext(ctx context.Context) AppCheckDeviceCheckConfigOutput

func (AppCheckDeviceCheckConfigOutput) TokenTtl added in v7.15.0

Specifies the duration for which App Check tokens exchanged from DeviceCheck artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

type AppCheckDeviceCheckConfigState added in v7.15.0

type AppCheckDeviceCheckConfigState struct {
	// The ID of an
	// [Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringPtrInput
	// The key identifier of a private key enabled with DeviceCheck, created in your Apple Developer account.
	KeyId pulumi.StringPtrInput
	// The relative resource name of the DeviceCheck configuration object
	Name pulumi.StringPtrInput
	// The contents of the private key (.p8) file associated with the key specified by keyId.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PrivateKey pulumi.StringPtrInput
	// Whether the privateKey field was previously set. Since App Check will never return the
	// privateKey field, this field is the only way to find out whether it was previously set.
	PrivateKeySet pulumi.BoolPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Specifies the duration for which App Check tokens exchanged from DeviceCheck artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

func (AppCheckDeviceCheckConfigState) ElementType added in v7.15.0

type AppCheckPlayIntegrityConfig added in v7.12.0

type AppCheckPlayIntegrityConfig struct {
	pulumi.CustomResourceState

	// The ID of an
	// [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The relative resource name of the Play Integrity configuration object
	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"`
	// Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringOutput `pulumi:"tokenTtl"`
}

An app's Play Integrity configuration object. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by the Play Integrity API. Make sure your `firebase.AndroidApp` has at least one `sha256Hashes` present.

To get more information about PlayIntegrityConfig, see:

* [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.playIntegrityConfig) * How-to Guides

## Example Usage

### Firebase App Check Play Integrity Config Minimal

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAndroidApp(ctx, "default", &firebase.AndroidAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Play Integrity app"),
			PackageName: pulumi.String("package.name.playintegrity"),
			Sha1Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
			},
			Sha256Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
			},
		})
		if err != nil {
			return err
		}
		// It takes a while for App Check to recognize the new app
		// If your app already exists, you don't have to wait 30 seconds.
		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
			CreateDuration: "30s",
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckPlayIntegrityConfig(ctx, "default", &firebase.AppCheckPlayIntegrityConfigArgs{
			Project: pulumi.String("my-project-name"),
			AppId:   _default.AppId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase App Check Play Integrity Config Full

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAndroidApp(ctx, "default", &firebase.AndroidAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Play Integrity app"),
			PackageName: pulumi.String("package.name.playintegrity"),
			Sha1Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
			},
			Sha256Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
			},
		})
		if err != nil {
			return err
		}
		// It takes a while for App Check to recognize the new app
		// If your app already exists, you don't have to wait 30 seconds.
		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
			CreateDuration: "30s",
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckPlayIntegrityConfig(ctx, "default", &firebase.AppCheckPlayIntegrityConfigArgs{
			Project:  pulumi.String("my-project-name"),
			AppId:    _default.AppId,
			TokenTtl: pulumi.String("7200s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

PlayIntegrityConfig can be imported using any of these accepted formats:

* `projects/{{project}}/apps/{{app_id}}/playIntegrityConfig`

* `{{project}}/{{app_id}}`

* `{{app_id}}`

When using the `pulumi import` command, PlayIntegrityConfig can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:firebase/appCheckPlayIntegrityConfig:AppCheckPlayIntegrityConfig default projects/{{project}}/apps/{{app_id}}/playIntegrityConfig ```

```sh $ pulumi import gcp:firebase/appCheckPlayIntegrityConfig:AppCheckPlayIntegrityConfig default {{project}}/{{app_id}} ```

```sh $ pulumi import gcp:firebase/appCheckPlayIntegrityConfig:AppCheckPlayIntegrityConfig default {{app_id}} ```

func GetAppCheckPlayIntegrityConfig added in v7.12.0

func GetAppCheckPlayIntegrityConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppCheckPlayIntegrityConfigState, opts ...pulumi.ResourceOption) (*AppCheckPlayIntegrityConfig, error)

GetAppCheckPlayIntegrityConfig gets an existing AppCheckPlayIntegrityConfig 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 NewAppCheckPlayIntegrityConfig added in v7.12.0

func NewAppCheckPlayIntegrityConfig(ctx *pulumi.Context,
	name string, args *AppCheckPlayIntegrityConfigArgs, opts ...pulumi.ResourceOption) (*AppCheckPlayIntegrityConfig, error)

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

func (*AppCheckPlayIntegrityConfig) ElementType added in v7.12.0

func (*AppCheckPlayIntegrityConfig) ElementType() reflect.Type

func (*AppCheckPlayIntegrityConfig) ToAppCheckPlayIntegrityConfigOutput added in v7.12.0

func (i *AppCheckPlayIntegrityConfig) ToAppCheckPlayIntegrityConfigOutput() AppCheckPlayIntegrityConfigOutput

func (*AppCheckPlayIntegrityConfig) ToAppCheckPlayIntegrityConfigOutputWithContext added in v7.12.0

func (i *AppCheckPlayIntegrityConfig) ToAppCheckPlayIntegrityConfigOutputWithContext(ctx context.Context) AppCheckPlayIntegrityConfigOutput

type AppCheckPlayIntegrityConfigArgs added in v7.12.0

type AppCheckPlayIntegrityConfigArgs struct {
	// The ID of an
	// [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id).
	//
	// ***
	AppId 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
	// Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

The set of arguments for constructing a AppCheckPlayIntegrityConfig resource.

func (AppCheckPlayIntegrityConfigArgs) ElementType added in v7.12.0

type AppCheckPlayIntegrityConfigArray added in v7.12.0

type AppCheckPlayIntegrityConfigArray []AppCheckPlayIntegrityConfigInput

func (AppCheckPlayIntegrityConfigArray) ElementType added in v7.12.0

func (AppCheckPlayIntegrityConfigArray) ToAppCheckPlayIntegrityConfigArrayOutput added in v7.12.0

func (i AppCheckPlayIntegrityConfigArray) ToAppCheckPlayIntegrityConfigArrayOutput() AppCheckPlayIntegrityConfigArrayOutput

func (AppCheckPlayIntegrityConfigArray) ToAppCheckPlayIntegrityConfigArrayOutputWithContext added in v7.12.0

func (i AppCheckPlayIntegrityConfigArray) ToAppCheckPlayIntegrityConfigArrayOutputWithContext(ctx context.Context) AppCheckPlayIntegrityConfigArrayOutput

type AppCheckPlayIntegrityConfigArrayInput added in v7.12.0

type AppCheckPlayIntegrityConfigArrayInput interface {
	pulumi.Input

	ToAppCheckPlayIntegrityConfigArrayOutput() AppCheckPlayIntegrityConfigArrayOutput
	ToAppCheckPlayIntegrityConfigArrayOutputWithContext(context.Context) AppCheckPlayIntegrityConfigArrayOutput
}

AppCheckPlayIntegrityConfigArrayInput is an input type that accepts AppCheckPlayIntegrityConfigArray and AppCheckPlayIntegrityConfigArrayOutput values. You can construct a concrete instance of `AppCheckPlayIntegrityConfigArrayInput` via:

AppCheckPlayIntegrityConfigArray{ AppCheckPlayIntegrityConfigArgs{...} }

type AppCheckPlayIntegrityConfigArrayOutput added in v7.12.0

type AppCheckPlayIntegrityConfigArrayOutput struct{ *pulumi.OutputState }

func (AppCheckPlayIntegrityConfigArrayOutput) ElementType added in v7.12.0

func (AppCheckPlayIntegrityConfigArrayOutput) Index added in v7.12.0

func (AppCheckPlayIntegrityConfigArrayOutput) ToAppCheckPlayIntegrityConfigArrayOutput added in v7.12.0

func (o AppCheckPlayIntegrityConfigArrayOutput) ToAppCheckPlayIntegrityConfigArrayOutput() AppCheckPlayIntegrityConfigArrayOutput

func (AppCheckPlayIntegrityConfigArrayOutput) ToAppCheckPlayIntegrityConfigArrayOutputWithContext added in v7.12.0

func (o AppCheckPlayIntegrityConfigArrayOutput) ToAppCheckPlayIntegrityConfigArrayOutputWithContext(ctx context.Context) AppCheckPlayIntegrityConfigArrayOutput

type AppCheckPlayIntegrityConfigInput added in v7.12.0

type AppCheckPlayIntegrityConfigInput interface {
	pulumi.Input

	ToAppCheckPlayIntegrityConfigOutput() AppCheckPlayIntegrityConfigOutput
	ToAppCheckPlayIntegrityConfigOutputWithContext(ctx context.Context) AppCheckPlayIntegrityConfigOutput
}

type AppCheckPlayIntegrityConfigMap added in v7.12.0

type AppCheckPlayIntegrityConfigMap map[string]AppCheckPlayIntegrityConfigInput

func (AppCheckPlayIntegrityConfigMap) ElementType added in v7.12.0

func (AppCheckPlayIntegrityConfigMap) ToAppCheckPlayIntegrityConfigMapOutput added in v7.12.0

func (i AppCheckPlayIntegrityConfigMap) ToAppCheckPlayIntegrityConfigMapOutput() AppCheckPlayIntegrityConfigMapOutput

func (AppCheckPlayIntegrityConfigMap) ToAppCheckPlayIntegrityConfigMapOutputWithContext added in v7.12.0

func (i AppCheckPlayIntegrityConfigMap) ToAppCheckPlayIntegrityConfigMapOutputWithContext(ctx context.Context) AppCheckPlayIntegrityConfigMapOutput

type AppCheckPlayIntegrityConfigMapInput added in v7.12.0

type AppCheckPlayIntegrityConfigMapInput interface {
	pulumi.Input

	ToAppCheckPlayIntegrityConfigMapOutput() AppCheckPlayIntegrityConfigMapOutput
	ToAppCheckPlayIntegrityConfigMapOutputWithContext(context.Context) AppCheckPlayIntegrityConfigMapOutput
}

AppCheckPlayIntegrityConfigMapInput is an input type that accepts AppCheckPlayIntegrityConfigMap and AppCheckPlayIntegrityConfigMapOutput values. You can construct a concrete instance of `AppCheckPlayIntegrityConfigMapInput` via:

AppCheckPlayIntegrityConfigMap{ "key": AppCheckPlayIntegrityConfigArgs{...} }

type AppCheckPlayIntegrityConfigMapOutput added in v7.12.0

type AppCheckPlayIntegrityConfigMapOutput struct{ *pulumi.OutputState }

func (AppCheckPlayIntegrityConfigMapOutput) ElementType added in v7.12.0

func (AppCheckPlayIntegrityConfigMapOutput) MapIndex added in v7.12.0

func (AppCheckPlayIntegrityConfigMapOutput) ToAppCheckPlayIntegrityConfigMapOutput added in v7.12.0

func (o AppCheckPlayIntegrityConfigMapOutput) ToAppCheckPlayIntegrityConfigMapOutput() AppCheckPlayIntegrityConfigMapOutput

func (AppCheckPlayIntegrityConfigMapOutput) ToAppCheckPlayIntegrityConfigMapOutputWithContext added in v7.12.0

func (o AppCheckPlayIntegrityConfigMapOutput) ToAppCheckPlayIntegrityConfigMapOutputWithContext(ctx context.Context) AppCheckPlayIntegrityConfigMapOutput

type AppCheckPlayIntegrityConfigOutput added in v7.12.0

type AppCheckPlayIntegrityConfigOutput struct{ *pulumi.OutputState }

func (AppCheckPlayIntegrityConfigOutput) ElementType added in v7.12.0

func (AppCheckPlayIntegrityConfigOutput) Name added in v7.12.0

The relative resource name of the Play Integrity configuration object

func (AppCheckPlayIntegrityConfigOutput) Project added in v7.12.0

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

func (AppCheckPlayIntegrityConfigOutput) ToAppCheckPlayIntegrityConfigOutput added in v7.12.0

func (o AppCheckPlayIntegrityConfigOutput) ToAppCheckPlayIntegrityConfigOutput() AppCheckPlayIntegrityConfigOutput

func (AppCheckPlayIntegrityConfigOutput) ToAppCheckPlayIntegrityConfigOutputWithContext added in v7.12.0

func (o AppCheckPlayIntegrityConfigOutput) ToAppCheckPlayIntegrityConfigOutputWithContext(ctx context.Context) AppCheckPlayIntegrityConfigOutput

func (AppCheckPlayIntegrityConfigOutput) TokenTtl added in v7.12.0

Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

type AppCheckPlayIntegrityConfigState added in v7.12.0

type AppCheckPlayIntegrityConfigState struct {
	// The ID of an
	// [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringPtrInput
	// The relative resource name of the Play Integrity configuration object
	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
	// Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

func (AppCheckPlayIntegrityConfigState) ElementType added in v7.12.0

type AppCheckRecaptchaEnterpriseConfig added in v7.12.0

type AppCheckRecaptchaEnterpriseConfig struct {
	pulumi.CustomResourceState

	// The ID of an
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The relative resource name of the reCAPTCHA Enterprise configuration object
	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 score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
	// **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
	SiteKey pulumi.StringOutput `pulumi:"siteKey"`
	// Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringOutput `pulumi:"tokenTtl"`
}

An app's reCAPTCHA Enterprise configuration object.

To get more information about RecaptchaEnterpriseConfig, see:

* [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.recaptchaEnterpriseConfig) * How-to Guides

## Example Usage

### Firebase App Check Recaptcha Enterprise Config Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-time/sdk/go/time"
"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("Web App for reCAPTCHA Enterprise"),
		})
		if err != nil {
			return err
		}
		// It takes a while for App Check to recognize the new app
		// If your app already exists, you don't have to wait 30 seconds.
		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
			CreateDuration: "30s",
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckRecaptchaEnterpriseConfig(ctx, "default", &firebase.AppCheckRecaptchaEnterpriseConfigArgs{
			Project:  pulumi.String("my-project-name"),
			AppId:    _default.AppId,
			SiteKey:  pulumi.String("6LdpMXIpAAAAANkwWQPgEdjEhal7ugkH9RK9ytuw"),
			TokenTtl: pulumi.String("7200s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

RecaptchaEnterpriseConfig can be imported using any of these accepted formats:

* `projects/{{project}}/apps/{{app_id}}/recaptchaEnterpriseConfig`

* `{{project}}/{{app_id}}`

* `{{app_id}}`

When using the `pulumi import` command, RecaptchaEnterpriseConfig can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default projects/{{project}}/apps/{{app_id}}/recaptchaEnterpriseConfig ```

```sh $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default {{project}}/{{app_id}} ```

```sh $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default {{app_id}} ```

func GetAppCheckRecaptchaEnterpriseConfig added in v7.12.0

func GetAppCheckRecaptchaEnterpriseConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppCheckRecaptchaEnterpriseConfigState, opts ...pulumi.ResourceOption) (*AppCheckRecaptchaEnterpriseConfig, error)

GetAppCheckRecaptchaEnterpriseConfig gets an existing AppCheckRecaptchaEnterpriseConfig 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 NewAppCheckRecaptchaEnterpriseConfig added in v7.12.0

func NewAppCheckRecaptchaEnterpriseConfig(ctx *pulumi.Context,
	name string, args *AppCheckRecaptchaEnterpriseConfigArgs, opts ...pulumi.ResourceOption) (*AppCheckRecaptchaEnterpriseConfig, error)

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

func (*AppCheckRecaptchaEnterpriseConfig) ElementType added in v7.12.0

func (*AppCheckRecaptchaEnterpriseConfig) ToAppCheckRecaptchaEnterpriseConfigOutput added in v7.12.0

func (i *AppCheckRecaptchaEnterpriseConfig) ToAppCheckRecaptchaEnterpriseConfigOutput() AppCheckRecaptchaEnterpriseConfigOutput

func (*AppCheckRecaptchaEnterpriseConfig) ToAppCheckRecaptchaEnterpriseConfigOutputWithContext added in v7.12.0

func (i *AppCheckRecaptchaEnterpriseConfig) ToAppCheckRecaptchaEnterpriseConfigOutputWithContext(ctx context.Context) AppCheckRecaptchaEnterpriseConfigOutput

type AppCheckRecaptchaEnterpriseConfigArgs added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigArgs struct {
	// The ID of an
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
	//
	// ***
	AppId 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 score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
	// **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
	SiteKey pulumi.StringInput
	// Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

The set of arguments for constructing a AppCheckRecaptchaEnterpriseConfig resource.

func (AppCheckRecaptchaEnterpriseConfigArgs) ElementType added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigArray added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigArray []AppCheckRecaptchaEnterpriseConfigInput

func (AppCheckRecaptchaEnterpriseConfigArray) ElementType added in v7.12.0

func (AppCheckRecaptchaEnterpriseConfigArray) ToAppCheckRecaptchaEnterpriseConfigArrayOutput added in v7.12.0

func (i AppCheckRecaptchaEnterpriseConfigArray) ToAppCheckRecaptchaEnterpriseConfigArrayOutput() AppCheckRecaptchaEnterpriseConfigArrayOutput

func (AppCheckRecaptchaEnterpriseConfigArray) ToAppCheckRecaptchaEnterpriseConfigArrayOutputWithContext added in v7.12.0

func (i AppCheckRecaptchaEnterpriseConfigArray) ToAppCheckRecaptchaEnterpriseConfigArrayOutputWithContext(ctx context.Context) AppCheckRecaptchaEnterpriseConfigArrayOutput

type AppCheckRecaptchaEnterpriseConfigArrayInput added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigArrayInput interface {
	pulumi.Input

	ToAppCheckRecaptchaEnterpriseConfigArrayOutput() AppCheckRecaptchaEnterpriseConfigArrayOutput
	ToAppCheckRecaptchaEnterpriseConfigArrayOutputWithContext(context.Context) AppCheckRecaptchaEnterpriseConfigArrayOutput
}

AppCheckRecaptchaEnterpriseConfigArrayInput is an input type that accepts AppCheckRecaptchaEnterpriseConfigArray and AppCheckRecaptchaEnterpriseConfigArrayOutput values. You can construct a concrete instance of `AppCheckRecaptchaEnterpriseConfigArrayInput` via:

AppCheckRecaptchaEnterpriseConfigArray{ AppCheckRecaptchaEnterpriseConfigArgs{...} }

type AppCheckRecaptchaEnterpriseConfigArrayOutput added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigArrayOutput struct{ *pulumi.OutputState }

func (AppCheckRecaptchaEnterpriseConfigArrayOutput) ElementType added in v7.12.0

func (AppCheckRecaptchaEnterpriseConfigArrayOutput) Index added in v7.12.0

func (AppCheckRecaptchaEnterpriseConfigArrayOutput) ToAppCheckRecaptchaEnterpriseConfigArrayOutput added in v7.12.0

func (o AppCheckRecaptchaEnterpriseConfigArrayOutput) ToAppCheckRecaptchaEnterpriseConfigArrayOutput() AppCheckRecaptchaEnterpriseConfigArrayOutput

func (AppCheckRecaptchaEnterpriseConfigArrayOutput) ToAppCheckRecaptchaEnterpriseConfigArrayOutputWithContext added in v7.12.0

func (o AppCheckRecaptchaEnterpriseConfigArrayOutput) ToAppCheckRecaptchaEnterpriseConfigArrayOutputWithContext(ctx context.Context) AppCheckRecaptchaEnterpriseConfigArrayOutput

type AppCheckRecaptchaEnterpriseConfigInput added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigInput interface {
	pulumi.Input

	ToAppCheckRecaptchaEnterpriseConfigOutput() AppCheckRecaptchaEnterpriseConfigOutput
	ToAppCheckRecaptchaEnterpriseConfigOutputWithContext(ctx context.Context) AppCheckRecaptchaEnterpriseConfigOutput
}

type AppCheckRecaptchaEnterpriseConfigMap added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigMap map[string]AppCheckRecaptchaEnterpriseConfigInput

func (AppCheckRecaptchaEnterpriseConfigMap) ElementType added in v7.12.0

func (AppCheckRecaptchaEnterpriseConfigMap) ToAppCheckRecaptchaEnterpriseConfigMapOutput added in v7.12.0

func (i AppCheckRecaptchaEnterpriseConfigMap) ToAppCheckRecaptchaEnterpriseConfigMapOutput() AppCheckRecaptchaEnterpriseConfigMapOutput

func (AppCheckRecaptchaEnterpriseConfigMap) ToAppCheckRecaptchaEnterpriseConfigMapOutputWithContext added in v7.12.0

func (i AppCheckRecaptchaEnterpriseConfigMap) ToAppCheckRecaptchaEnterpriseConfigMapOutputWithContext(ctx context.Context) AppCheckRecaptchaEnterpriseConfigMapOutput

type AppCheckRecaptchaEnterpriseConfigMapInput added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigMapInput interface {
	pulumi.Input

	ToAppCheckRecaptchaEnterpriseConfigMapOutput() AppCheckRecaptchaEnterpriseConfigMapOutput
	ToAppCheckRecaptchaEnterpriseConfigMapOutputWithContext(context.Context) AppCheckRecaptchaEnterpriseConfigMapOutput
}

AppCheckRecaptchaEnterpriseConfigMapInput is an input type that accepts AppCheckRecaptchaEnterpriseConfigMap and AppCheckRecaptchaEnterpriseConfigMapOutput values. You can construct a concrete instance of `AppCheckRecaptchaEnterpriseConfigMapInput` via:

AppCheckRecaptchaEnterpriseConfigMap{ "key": AppCheckRecaptchaEnterpriseConfigArgs{...} }

type AppCheckRecaptchaEnterpriseConfigMapOutput added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigMapOutput struct{ *pulumi.OutputState }

func (AppCheckRecaptchaEnterpriseConfigMapOutput) ElementType added in v7.12.0

func (AppCheckRecaptchaEnterpriseConfigMapOutput) MapIndex added in v7.12.0

func (AppCheckRecaptchaEnterpriseConfigMapOutput) ToAppCheckRecaptchaEnterpriseConfigMapOutput added in v7.12.0

func (o AppCheckRecaptchaEnterpriseConfigMapOutput) ToAppCheckRecaptchaEnterpriseConfigMapOutput() AppCheckRecaptchaEnterpriseConfigMapOutput

func (AppCheckRecaptchaEnterpriseConfigMapOutput) ToAppCheckRecaptchaEnterpriseConfigMapOutputWithContext added in v7.12.0

func (o AppCheckRecaptchaEnterpriseConfigMapOutput) ToAppCheckRecaptchaEnterpriseConfigMapOutputWithContext(ctx context.Context) AppCheckRecaptchaEnterpriseConfigMapOutput

type AppCheckRecaptchaEnterpriseConfigOutput added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigOutput struct{ *pulumi.OutputState }

func (AppCheckRecaptchaEnterpriseConfigOutput) ElementType added in v7.12.0

func (AppCheckRecaptchaEnterpriseConfigOutput) Name added in v7.12.0

The relative resource name of the reCAPTCHA Enterprise configuration object

func (AppCheckRecaptchaEnterpriseConfigOutput) Project added in v7.12.0

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

func (AppCheckRecaptchaEnterpriseConfigOutput) SiteKey added in v7.12.0

The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application. **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.

func (AppCheckRecaptchaEnterpriseConfigOutput) ToAppCheckRecaptchaEnterpriseConfigOutput added in v7.12.0

func (o AppCheckRecaptchaEnterpriseConfigOutput) ToAppCheckRecaptchaEnterpriseConfigOutput() AppCheckRecaptchaEnterpriseConfigOutput

func (AppCheckRecaptchaEnterpriseConfigOutput) ToAppCheckRecaptchaEnterpriseConfigOutputWithContext added in v7.12.0

func (o AppCheckRecaptchaEnterpriseConfigOutput) ToAppCheckRecaptchaEnterpriseConfigOutputWithContext(ctx context.Context) AppCheckRecaptchaEnterpriseConfigOutput

func (AppCheckRecaptchaEnterpriseConfigOutput) TokenTtl added in v7.12.0

Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

type AppCheckRecaptchaEnterpriseConfigState added in v7.12.0

type AppCheckRecaptchaEnterpriseConfigState struct {
	// The ID of an
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringPtrInput
	// The relative resource name of the reCAPTCHA Enterprise configuration object
	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 score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
	// **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
	SiteKey pulumi.StringPtrInput
	// Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

func (AppCheckRecaptchaEnterpriseConfigState) ElementType added in v7.12.0

type AppCheckRecaptchaV3Config added in v7.12.0

type AppCheckRecaptchaV3Config struct {
	pulumi.CustomResourceState

	// The ID of an
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The relative resource name of the reCAPTCHA V3 configuration object
	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 site secret used to identify your service for reCAPTCHA v3 verification.
	// For security reasons, this field will never be populated in any response.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	SiteSecret pulumi.StringOutput `pulumi:"siteSecret"`
	// Whether the siteSecret was previously set. Since we will never return the siteSecret field, this field is the only way to find out whether it was previously set.
	SiteSecretSet pulumi.BoolOutput `pulumi:"siteSecretSet"`
	// Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringOutput `pulumi:"tokenTtl"`
}

An app's reCAPTCHA V3 configuration object.

To get more information about RecaptchaV3Config, see:

* [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.recaptchaV3Config) * How-to Guides

## Example Usage

### Firebase App Check Recaptcha V3 Config Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-time/sdk/go/time"
"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("Web App for reCAPTCHA V3"),
		})
		if err != nil {
			return err
		}
		// It takes a while for App Check to recognize the new app
		// If your app already exists, you don't have to wait 30 seconds.
		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
			CreateDuration: "30s",
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckRecaptchaV3Config(ctx, "default", &firebase.AppCheckRecaptchaV3ConfigArgs{
			Project:    pulumi.String("my-project-name"),
			AppId:      _default.AppId,
			SiteSecret: pulumi.String("6Lf9YnQpAAAAAC3-MHmdAllTbPwTZxpUw5d34YzX"),
			TokenTtl:   pulumi.String("7200s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

RecaptchaV3Config can be imported using any of these accepted formats:

* `projects/{{project}}/apps/{{app_id}}/recaptchaV3Config`

* `{{project}}/{{app_id}}`

* `{{app_id}}`

When using the `pulumi import` command, RecaptchaV3Config can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default projects/{{project}}/apps/{{app_id}}/recaptchaV3Config ```

```sh $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default {{project}}/{{app_id}} ```

```sh $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default {{app_id}} ```

func GetAppCheckRecaptchaV3Config added in v7.12.0

func GetAppCheckRecaptchaV3Config(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppCheckRecaptchaV3ConfigState, opts ...pulumi.ResourceOption) (*AppCheckRecaptchaV3Config, error)

GetAppCheckRecaptchaV3Config gets an existing AppCheckRecaptchaV3Config 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 NewAppCheckRecaptchaV3Config added in v7.12.0

func NewAppCheckRecaptchaV3Config(ctx *pulumi.Context,
	name string, args *AppCheckRecaptchaV3ConfigArgs, opts ...pulumi.ResourceOption) (*AppCheckRecaptchaV3Config, error)

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

func (*AppCheckRecaptchaV3Config) ElementType added in v7.12.0

func (*AppCheckRecaptchaV3Config) ElementType() reflect.Type

func (*AppCheckRecaptchaV3Config) ToAppCheckRecaptchaV3ConfigOutput added in v7.12.0

func (i *AppCheckRecaptchaV3Config) ToAppCheckRecaptchaV3ConfigOutput() AppCheckRecaptchaV3ConfigOutput

func (*AppCheckRecaptchaV3Config) ToAppCheckRecaptchaV3ConfigOutputWithContext added in v7.12.0

func (i *AppCheckRecaptchaV3Config) ToAppCheckRecaptchaV3ConfigOutputWithContext(ctx context.Context) AppCheckRecaptchaV3ConfigOutput

type AppCheckRecaptchaV3ConfigArgs added in v7.12.0

type AppCheckRecaptchaV3ConfigArgs struct {
	// The ID of an
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
	//
	// ***
	AppId 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 site secret used to identify your service for reCAPTCHA v3 verification.
	// For security reasons, this field will never be populated in any response.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	SiteSecret pulumi.StringInput
	// Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

The set of arguments for constructing a AppCheckRecaptchaV3Config resource.

func (AppCheckRecaptchaV3ConfigArgs) ElementType added in v7.12.0

type AppCheckRecaptchaV3ConfigArray added in v7.12.0

type AppCheckRecaptchaV3ConfigArray []AppCheckRecaptchaV3ConfigInput

func (AppCheckRecaptchaV3ConfigArray) ElementType added in v7.12.0

func (AppCheckRecaptchaV3ConfigArray) ToAppCheckRecaptchaV3ConfigArrayOutput added in v7.12.0

func (i AppCheckRecaptchaV3ConfigArray) ToAppCheckRecaptchaV3ConfigArrayOutput() AppCheckRecaptchaV3ConfigArrayOutput

func (AppCheckRecaptchaV3ConfigArray) ToAppCheckRecaptchaV3ConfigArrayOutputWithContext added in v7.12.0

func (i AppCheckRecaptchaV3ConfigArray) ToAppCheckRecaptchaV3ConfigArrayOutputWithContext(ctx context.Context) AppCheckRecaptchaV3ConfigArrayOutput

type AppCheckRecaptchaV3ConfigArrayInput added in v7.12.0

type AppCheckRecaptchaV3ConfigArrayInput interface {
	pulumi.Input

	ToAppCheckRecaptchaV3ConfigArrayOutput() AppCheckRecaptchaV3ConfigArrayOutput
	ToAppCheckRecaptchaV3ConfigArrayOutputWithContext(context.Context) AppCheckRecaptchaV3ConfigArrayOutput
}

AppCheckRecaptchaV3ConfigArrayInput is an input type that accepts AppCheckRecaptchaV3ConfigArray and AppCheckRecaptchaV3ConfigArrayOutput values. You can construct a concrete instance of `AppCheckRecaptchaV3ConfigArrayInput` via:

AppCheckRecaptchaV3ConfigArray{ AppCheckRecaptchaV3ConfigArgs{...} }

type AppCheckRecaptchaV3ConfigArrayOutput added in v7.12.0

type AppCheckRecaptchaV3ConfigArrayOutput struct{ *pulumi.OutputState }

func (AppCheckRecaptchaV3ConfigArrayOutput) ElementType added in v7.12.0

func (AppCheckRecaptchaV3ConfigArrayOutput) Index added in v7.12.0

func (AppCheckRecaptchaV3ConfigArrayOutput) ToAppCheckRecaptchaV3ConfigArrayOutput added in v7.12.0

func (o AppCheckRecaptchaV3ConfigArrayOutput) ToAppCheckRecaptchaV3ConfigArrayOutput() AppCheckRecaptchaV3ConfigArrayOutput

func (AppCheckRecaptchaV3ConfigArrayOutput) ToAppCheckRecaptchaV3ConfigArrayOutputWithContext added in v7.12.0

func (o AppCheckRecaptchaV3ConfigArrayOutput) ToAppCheckRecaptchaV3ConfigArrayOutputWithContext(ctx context.Context) AppCheckRecaptchaV3ConfigArrayOutput

type AppCheckRecaptchaV3ConfigInput added in v7.12.0

type AppCheckRecaptchaV3ConfigInput interface {
	pulumi.Input

	ToAppCheckRecaptchaV3ConfigOutput() AppCheckRecaptchaV3ConfigOutput
	ToAppCheckRecaptchaV3ConfigOutputWithContext(ctx context.Context) AppCheckRecaptchaV3ConfigOutput
}

type AppCheckRecaptchaV3ConfigMap added in v7.12.0

type AppCheckRecaptchaV3ConfigMap map[string]AppCheckRecaptchaV3ConfigInput

func (AppCheckRecaptchaV3ConfigMap) ElementType added in v7.12.0

func (AppCheckRecaptchaV3ConfigMap) ToAppCheckRecaptchaV3ConfigMapOutput added in v7.12.0

func (i AppCheckRecaptchaV3ConfigMap) ToAppCheckRecaptchaV3ConfigMapOutput() AppCheckRecaptchaV3ConfigMapOutput

func (AppCheckRecaptchaV3ConfigMap) ToAppCheckRecaptchaV3ConfigMapOutputWithContext added in v7.12.0

func (i AppCheckRecaptchaV3ConfigMap) ToAppCheckRecaptchaV3ConfigMapOutputWithContext(ctx context.Context) AppCheckRecaptchaV3ConfigMapOutput

type AppCheckRecaptchaV3ConfigMapInput added in v7.12.0

type AppCheckRecaptchaV3ConfigMapInput interface {
	pulumi.Input

	ToAppCheckRecaptchaV3ConfigMapOutput() AppCheckRecaptchaV3ConfigMapOutput
	ToAppCheckRecaptchaV3ConfigMapOutputWithContext(context.Context) AppCheckRecaptchaV3ConfigMapOutput
}

AppCheckRecaptchaV3ConfigMapInput is an input type that accepts AppCheckRecaptchaV3ConfigMap and AppCheckRecaptchaV3ConfigMapOutput values. You can construct a concrete instance of `AppCheckRecaptchaV3ConfigMapInput` via:

AppCheckRecaptchaV3ConfigMap{ "key": AppCheckRecaptchaV3ConfigArgs{...} }

type AppCheckRecaptchaV3ConfigMapOutput added in v7.12.0

type AppCheckRecaptchaV3ConfigMapOutput struct{ *pulumi.OutputState }

func (AppCheckRecaptchaV3ConfigMapOutput) ElementType added in v7.12.0

func (AppCheckRecaptchaV3ConfigMapOutput) MapIndex added in v7.12.0

func (AppCheckRecaptchaV3ConfigMapOutput) ToAppCheckRecaptchaV3ConfigMapOutput added in v7.12.0

func (o AppCheckRecaptchaV3ConfigMapOutput) ToAppCheckRecaptchaV3ConfigMapOutput() AppCheckRecaptchaV3ConfigMapOutput

func (AppCheckRecaptchaV3ConfigMapOutput) ToAppCheckRecaptchaV3ConfigMapOutputWithContext added in v7.12.0

func (o AppCheckRecaptchaV3ConfigMapOutput) ToAppCheckRecaptchaV3ConfigMapOutputWithContext(ctx context.Context) AppCheckRecaptchaV3ConfigMapOutput

type AppCheckRecaptchaV3ConfigOutput added in v7.12.0

type AppCheckRecaptchaV3ConfigOutput struct{ *pulumi.OutputState }

func (AppCheckRecaptchaV3ConfigOutput) ElementType added in v7.12.0

func (AppCheckRecaptchaV3ConfigOutput) Name added in v7.12.0

The relative resource name of the reCAPTCHA V3 configuration object

func (AppCheckRecaptchaV3ConfigOutput) Project added in v7.12.0

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

func (AppCheckRecaptchaV3ConfigOutput) SiteSecret added in v7.12.0

The site secret used to identify your service for reCAPTCHA v3 verification. For security reasons, this field will never be populated in any response. **Note**: This property is sensitive and will not be displayed in the plan.

func (AppCheckRecaptchaV3ConfigOutput) SiteSecretSet added in v7.12.0

Whether the siteSecret was previously set. Since we will never return the siteSecret field, this field is the only way to find out whether it was previously set.

func (AppCheckRecaptchaV3ConfigOutput) ToAppCheckRecaptchaV3ConfigOutput added in v7.12.0

func (o AppCheckRecaptchaV3ConfigOutput) ToAppCheckRecaptchaV3ConfigOutput() AppCheckRecaptchaV3ConfigOutput

func (AppCheckRecaptchaV3ConfigOutput) ToAppCheckRecaptchaV3ConfigOutputWithContext added in v7.12.0

func (o AppCheckRecaptchaV3ConfigOutput) ToAppCheckRecaptchaV3ConfigOutputWithContext(ctx context.Context) AppCheckRecaptchaV3ConfigOutput

func (AppCheckRecaptchaV3ConfigOutput) TokenTtl added in v7.12.0

Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

type AppCheckRecaptchaV3ConfigState added in v7.12.0

type AppCheckRecaptchaV3ConfigState struct {
	// The ID of an
	// [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
	//
	// ***
	AppId pulumi.StringPtrInput
	// The relative resource name of the reCAPTCHA V3 configuration object
	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 site secret used to identify your service for reCAPTCHA v3 verification.
	// For security reasons, this field will never be populated in any response.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	SiteSecret pulumi.StringPtrInput
	// Whether the siteSecret was previously set. Since we will never return the siteSecret field, this field is the only way to find out whether it was previously set.
	SiteSecretSet pulumi.BoolPtrInput
	// Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
	// If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	TokenTtl pulumi.StringPtrInput
}

func (AppCheckRecaptchaV3ConfigState) ElementType added in v7.12.0

type AppCheckServiceConfig added in v7.9.0

type AppCheckServiceConfig struct {
	pulumi.CustomResourceState

	// The App Check enforcement mode for a service supported by App Check. Valid values are (Unset) Firebase App Check is not
	// enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this
	// mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this
	// mode by default. This is equivalent to OFF in the REST API. Deleting the Terraform resource will also switch the
	// enforcement to OFF for this service. UNENFORCED Firebase App Check is not enforced for the service. App Check metrics
	// are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App
	// Check in this mode, other applicable protections, such as user authorization, are still enforced. ENFORCED Firebase App
	// Check is enforced for the service. The service will reject any request that attempts to access your project's resources
	// if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some
	// services will still allow requests bearing the developer's privileged service account credentials without an App Check
	// token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor
	// the composition of your callers. While the service is protected by App Check, other applicable protections, such as user
	// authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase
	// service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able
	// to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App
	// Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since
	// there are no outdated clients in use. Possible values: ["UNENFORCED", "ENFORCED"]
	EnforcementMode pulumi.StringPtrOutput `pulumi:"enforcementMode"`
	// The fully-qualified resource name of the service enforcement 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"`
	// The identifier of the service to configure enforcement. Currently, the following service IDs are supported:
	// firebasestorage.googleapis.com (Cloud Storage for Firebase)
	// firebasedatabase.googleapis.com (Firebase Realtime Database)
	// firestore.googleapis.com (Cloud Firestore)
	// identitytoolkit.googleapis.com (Authentication)
	//
	// ***
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
}

The enforcement configuration for a service supported by App Check.

To get more information about ServiceConfig, see:

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

## Example Usage

### Firebase App Check Service Config Off

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := projects.NewService(ctx, "appcheck", &projects.ServiceArgs{
			Project:          pulumi.String("my-project-name"),
			Service:          pulumi.String("firebaseappcheck.googleapis.com"),
			DisableOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckServiceConfig(ctx, "default", &firebase.AppCheckServiceConfigArgs{
			Project:   pulumi.String("my-project-name"),
			ServiceId: pulumi.String("firestore.googleapis.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase App Check Service Config Enforced

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := projects.NewService(ctx, "appcheck", &projects.ServiceArgs{
			Project:          pulumi.String("my-project-name"),
			Service:          pulumi.String("firebaseappcheck.googleapis.com"),
			DisableOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckServiceConfig(ctx, "default", &firebase.AppCheckServiceConfigArgs{
			Project:         pulumi.String("my-project-name"),
			ServiceId:       pulumi.String("firebasestorage.googleapis.com"),
			EnforcementMode: pulumi.String("ENFORCED"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase App Check Service Config Unenforced

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := projects.NewService(ctx, "appcheck", &projects.ServiceArgs{
			Project:          pulumi.String("my-project-name"),
			Service:          pulumi.String("firebaseappcheck.googleapis.com"),
			DisableOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewAppCheckServiceConfig(ctx, "default", &firebase.AppCheckServiceConfigArgs{
			Project:         pulumi.String("my-project-name"),
			ServiceId:       pulumi.String("identitytoolkit.googleapis.com"),
			EnforcementMode: pulumi.String("UNENFORCED"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ServiceConfig can be imported using any of these accepted formats:

* `projects/{{project}}/services/{{service_id}}`

* `{{project}}/{{service_id}}`

* `{{service_id}}`

When using the `pulumi import` command, ServiceConfig can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:firebase/appCheckServiceConfig:AppCheckServiceConfig default projects/{{project}}/services/{{service_id}} ```

```sh $ pulumi import gcp:firebase/appCheckServiceConfig:AppCheckServiceConfig default {{project}}/{{service_id}} ```

```sh $ pulumi import gcp:firebase/appCheckServiceConfig:AppCheckServiceConfig default {{service_id}} ```

func GetAppCheckServiceConfig added in v7.9.0

func GetAppCheckServiceConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppCheckServiceConfigState, opts ...pulumi.ResourceOption) (*AppCheckServiceConfig, error)

GetAppCheckServiceConfig gets an existing AppCheckServiceConfig 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 NewAppCheckServiceConfig added in v7.9.0

func NewAppCheckServiceConfig(ctx *pulumi.Context,
	name string, args *AppCheckServiceConfigArgs, opts ...pulumi.ResourceOption) (*AppCheckServiceConfig, error)

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

func (*AppCheckServiceConfig) ElementType added in v7.9.0

func (*AppCheckServiceConfig) ElementType() reflect.Type

func (*AppCheckServiceConfig) ToAppCheckServiceConfigOutput added in v7.9.0

func (i *AppCheckServiceConfig) ToAppCheckServiceConfigOutput() AppCheckServiceConfigOutput

func (*AppCheckServiceConfig) ToAppCheckServiceConfigOutputWithContext added in v7.9.0

func (i *AppCheckServiceConfig) ToAppCheckServiceConfigOutputWithContext(ctx context.Context) AppCheckServiceConfigOutput

type AppCheckServiceConfigArgs added in v7.9.0

type AppCheckServiceConfigArgs struct {
	// The App Check enforcement mode for a service supported by App Check. Valid values are (Unset) Firebase App Check is not
	// enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this
	// mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this
	// mode by default. This is equivalent to OFF in the REST API. Deleting the Terraform resource will also switch the
	// enforcement to OFF for this service. UNENFORCED Firebase App Check is not enforced for the service. App Check metrics
	// are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App
	// Check in this mode, other applicable protections, such as user authorization, are still enforced. ENFORCED Firebase App
	// Check is enforced for the service. The service will reject any request that attempts to access your project's resources
	// if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some
	// services will still allow requests bearing the developer's privileged service account credentials without an App Check
	// token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor
	// the composition of your callers. While the service is protected by App Check, other applicable protections, such as user
	// authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase
	// service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able
	// to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App
	// Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since
	// there are no outdated clients in use. Possible values: ["UNENFORCED", "ENFORCED"]
	EnforcementMode 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 identifier of the service to configure enforcement. Currently, the following service IDs are supported:
	// firebasestorage.googleapis.com (Cloud Storage for Firebase)
	// firebasedatabase.googleapis.com (Firebase Realtime Database)
	// firestore.googleapis.com (Cloud Firestore)
	// identitytoolkit.googleapis.com (Authentication)
	//
	// ***
	ServiceId pulumi.StringInput
}

The set of arguments for constructing a AppCheckServiceConfig resource.

func (AppCheckServiceConfigArgs) ElementType added in v7.9.0

func (AppCheckServiceConfigArgs) ElementType() reflect.Type

type AppCheckServiceConfigArray added in v7.9.0

type AppCheckServiceConfigArray []AppCheckServiceConfigInput

func (AppCheckServiceConfigArray) ElementType added in v7.9.0

func (AppCheckServiceConfigArray) ElementType() reflect.Type

func (AppCheckServiceConfigArray) ToAppCheckServiceConfigArrayOutput added in v7.9.0

func (i AppCheckServiceConfigArray) ToAppCheckServiceConfigArrayOutput() AppCheckServiceConfigArrayOutput

func (AppCheckServiceConfigArray) ToAppCheckServiceConfigArrayOutputWithContext added in v7.9.0

func (i AppCheckServiceConfigArray) ToAppCheckServiceConfigArrayOutputWithContext(ctx context.Context) AppCheckServiceConfigArrayOutput

type AppCheckServiceConfigArrayInput added in v7.9.0

type AppCheckServiceConfigArrayInput interface {
	pulumi.Input

	ToAppCheckServiceConfigArrayOutput() AppCheckServiceConfigArrayOutput
	ToAppCheckServiceConfigArrayOutputWithContext(context.Context) AppCheckServiceConfigArrayOutput
}

AppCheckServiceConfigArrayInput is an input type that accepts AppCheckServiceConfigArray and AppCheckServiceConfigArrayOutput values. You can construct a concrete instance of `AppCheckServiceConfigArrayInput` via:

AppCheckServiceConfigArray{ AppCheckServiceConfigArgs{...} }

type AppCheckServiceConfigArrayOutput added in v7.9.0

type AppCheckServiceConfigArrayOutput struct{ *pulumi.OutputState }

func (AppCheckServiceConfigArrayOutput) ElementType added in v7.9.0

func (AppCheckServiceConfigArrayOutput) Index added in v7.9.0

func (AppCheckServiceConfigArrayOutput) ToAppCheckServiceConfigArrayOutput added in v7.9.0

func (o AppCheckServiceConfigArrayOutput) ToAppCheckServiceConfigArrayOutput() AppCheckServiceConfigArrayOutput

func (AppCheckServiceConfigArrayOutput) ToAppCheckServiceConfigArrayOutputWithContext added in v7.9.0

func (o AppCheckServiceConfigArrayOutput) ToAppCheckServiceConfigArrayOutputWithContext(ctx context.Context) AppCheckServiceConfigArrayOutput

type AppCheckServiceConfigInput added in v7.9.0

type AppCheckServiceConfigInput interface {
	pulumi.Input

	ToAppCheckServiceConfigOutput() AppCheckServiceConfigOutput
	ToAppCheckServiceConfigOutputWithContext(ctx context.Context) AppCheckServiceConfigOutput
}

type AppCheckServiceConfigMap added in v7.9.0

type AppCheckServiceConfigMap map[string]AppCheckServiceConfigInput

func (AppCheckServiceConfigMap) ElementType added in v7.9.0

func (AppCheckServiceConfigMap) ElementType() reflect.Type

func (AppCheckServiceConfigMap) ToAppCheckServiceConfigMapOutput added in v7.9.0

func (i AppCheckServiceConfigMap) ToAppCheckServiceConfigMapOutput() AppCheckServiceConfigMapOutput

func (AppCheckServiceConfigMap) ToAppCheckServiceConfigMapOutputWithContext added in v7.9.0

func (i AppCheckServiceConfigMap) ToAppCheckServiceConfigMapOutputWithContext(ctx context.Context) AppCheckServiceConfigMapOutput

type AppCheckServiceConfigMapInput added in v7.9.0

type AppCheckServiceConfigMapInput interface {
	pulumi.Input

	ToAppCheckServiceConfigMapOutput() AppCheckServiceConfigMapOutput
	ToAppCheckServiceConfigMapOutputWithContext(context.Context) AppCheckServiceConfigMapOutput
}

AppCheckServiceConfigMapInput is an input type that accepts AppCheckServiceConfigMap and AppCheckServiceConfigMapOutput values. You can construct a concrete instance of `AppCheckServiceConfigMapInput` via:

AppCheckServiceConfigMap{ "key": AppCheckServiceConfigArgs{...} }

type AppCheckServiceConfigMapOutput added in v7.9.0

type AppCheckServiceConfigMapOutput struct{ *pulumi.OutputState }

func (AppCheckServiceConfigMapOutput) ElementType added in v7.9.0

func (AppCheckServiceConfigMapOutput) MapIndex added in v7.9.0

func (AppCheckServiceConfigMapOutput) ToAppCheckServiceConfigMapOutput added in v7.9.0

func (o AppCheckServiceConfigMapOutput) ToAppCheckServiceConfigMapOutput() AppCheckServiceConfigMapOutput

func (AppCheckServiceConfigMapOutput) ToAppCheckServiceConfigMapOutputWithContext added in v7.9.0

func (o AppCheckServiceConfigMapOutput) ToAppCheckServiceConfigMapOutputWithContext(ctx context.Context) AppCheckServiceConfigMapOutput

type AppCheckServiceConfigOutput added in v7.9.0

type AppCheckServiceConfigOutput struct{ *pulumi.OutputState }

func (AppCheckServiceConfigOutput) ElementType added in v7.9.0

func (AppCheckServiceConfigOutput) EnforcementMode added in v7.9.0

The App Check enforcement mode for a service supported by App Check. Valid values are (Unset) Firebase App Check is not enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this mode by default. This is equivalent to OFF in the REST API. Deleting the Terraform resource will also switch the enforcement to OFF for this service. UNENFORCED Firebase App Check is not enforced for the service. App Check metrics are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. ENFORCED Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use. Possible values: ["UNENFORCED", "ENFORCED"]

func (AppCheckServiceConfigOutput) Name added in v7.9.0

The fully-qualified resource name of the service enforcement configuration.

func (AppCheckServiceConfigOutput) Project added in v7.9.0

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

func (AppCheckServiceConfigOutput) ServiceId added in v7.9.0

The identifier of the service to configure enforcement. Currently, the following service IDs are supported: firebasestorage.googleapis.com (Cloud Storage for Firebase) firebasedatabase.googleapis.com (Firebase Realtime Database) firestore.googleapis.com (Cloud Firestore) identitytoolkit.googleapis.com (Authentication)

***

func (AppCheckServiceConfigOutput) ToAppCheckServiceConfigOutput added in v7.9.0

func (o AppCheckServiceConfigOutput) ToAppCheckServiceConfigOutput() AppCheckServiceConfigOutput

func (AppCheckServiceConfigOutput) ToAppCheckServiceConfigOutputWithContext added in v7.9.0

func (o AppCheckServiceConfigOutput) ToAppCheckServiceConfigOutputWithContext(ctx context.Context) AppCheckServiceConfigOutput

type AppCheckServiceConfigState added in v7.9.0

type AppCheckServiceConfigState struct {
	// The App Check enforcement mode for a service supported by App Check. Valid values are (Unset) Firebase App Check is not
	// enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this
	// mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this
	// mode by default. This is equivalent to OFF in the REST API. Deleting the Terraform resource will also switch the
	// enforcement to OFF for this service. UNENFORCED Firebase App Check is not enforced for the service. App Check metrics
	// are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App
	// Check in this mode, other applicable protections, such as user authorization, are still enforced. ENFORCED Firebase App
	// Check is enforced for the service. The service will reject any request that attempts to access your project's resources
	// if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some
	// services will still allow requests bearing the developer's privileged service account credentials without an App Check
	// token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor
	// the composition of your callers. While the service is protected by App Check, other applicable protections, such as user
	// authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase
	// service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able
	// to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App
	// Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since
	// there are no outdated clients in use. Possible values: ["UNENFORCED", "ENFORCED"]
	EnforcementMode pulumi.StringPtrInput
	// The fully-qualified resource name of the service enforcement 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
	// The identifier of the service to configure enforcement. Currently, the following service IDs are supported:
	// firebasestorage.googleapis.com (Cloud Storage for Firebase)
	// firebasedatabase.googleapis.com (Firebase Realtime Database)
	// firestore.googleapis.com (Cloud Firestore)
	// identitytoolkit.googleapis.com (Authentication)
	//
	// ***
	ServiceId pulumi.StringPtrInput
}

func (AppCheckServiceConfigState) ElementType added in v7.9.0

func (AppCheckServiceConfigState) ElementType() reflect.Type

type AppleApp

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/v7/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"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Apple App Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/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{
			Name:        pulumi.String("api-key"),
			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"),
					},
				},
			},
		})
		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,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppleApp can be imported using any of these accepted formats:

* `{{project}} projects/{{project}}/iosApps/{{app_id}}`

* `projects/{{project}}/iosApps/{{app_id}}`

* `{{project}}/{{project}}/{{app_id}}`

* `iosApps/{{app_id}}`

* `{{app_id}}`

When using the `pulumi import` command, AppleApp can be imported using one of the formats above. For example:

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

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

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

func (*AppleApp) ElementType() reflect.Type

func (*AppleApp) ToAppleAppOutput

func (i *AppleApp) ToAppleAppOutput() AppleAppOutput

func (*AppleApp) ToAppleAppOutputWithContext

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

type AppleAppArgs

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

func (AppleAppArgs) ElementType() reflect.Type

type AppleAppArray

type AppleAppArray []AppleAppInput

func (AppleAppArray) ElementType

func (AppleAppArray) ElementType() reflect.Type

func (AppleAppArray) ToAppleAppArrayOutput

func (i AppleAppArray) ToAppleAppArrayOutput() AppleAppArrayOutput

func (AppleAppArray) ToAppleAppArrayOutputWithContext

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

type AppleAppArrayInput

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

type AppleAppArrayOutput struct{ *pulumi.OutputState }

func (AppleAppArrayOutput) ElementType

func (AppleAppArrayOutput) ElementType() reflect.Type

func (AppleAppArrayOutput) Index

func (AppleAppArrayOutput) ToAppleAppArrayOutput

func (o AppleAppArrayOutput) ToAppleAppArrayOutput() AppleAppArrayOutput

func (AppleAppArrayOutput) ToAppleAppArrayOutputWithContext

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

type AppleAppInput

type AppleAppInput interface {
	pulumi.Input

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

type AppleAppMap

type AppleAppMap map[string]AppleAppInput

func (AppleAppMap) ElementType

func (AppleAppMap) ElementType() reflect.Type

func (AppleAppMap) ToAppleAppMapOutput

func (i AppleAppMap) ToAppleAppMapOutput() AppleAppMapOutput

func (AppleAppMap) ToAppleAppMapOutputWithContext

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

type AppleAppMapInput

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

type AppleAppMapOutput struct{ *pulumi.OutputState }

func (AppleAppMapOutput) ElementType

func (AppleAppMapOutput) ElementType() reflect.Type

func (AppleAppMapOutput) MapIndex

func (AppleAppMapOutput) ToAppleAppMapOutput

func (o AppleAppMapOutput) ToAppleAppMapOutput() AppleAppMapOutput

func (AppleAppMapOutput) ToAppleAppMapOutputWithContext

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

type AppleAppOutput

type AppleAppOutput struct{ *pulumi.OutputState }

func (AppleAppOutput) ApiKeyId

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

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

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

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

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

func (o AppleAppOutput) DisplayName() pulumi.StringOutput

The user-assigned display name of the App.

func (AppleAppOutput) ElementType

func (AppleAppOutput) ElementType() reflect.Type

func (AppleAppOutput) Name

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

func (AppleAppOutput) Project

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

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

func (AppleAppOutput) ToAppleAppOutput

func (o AppleAppOutput) ToAppleAppOutput() AppleAppOutput

func (AppleAppOutput) ToAppleAppOutputWithContext

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

type AppleAppState

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

func (AppleAppState) ElementType() reflect.Type

type DatabaseInstance

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/v7/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"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Database Instance Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/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"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Database Instance Default Database

```go package main

import (

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

)

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

```

## Import

Instance can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{region}}/instances/{{instance_id}}`

* `{{project}}/{{region}}/{{instance_id}}`

* `{{region}}/{{instance_id}}`

* `{{instance_id}}`

When using the `pulumi import` command, Instance can be imported using one of the formats above. For example:

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

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

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

func (*DatabaseInstance) ElementType() reflect.Type

func (*DatabaseInstance) ToDatabaseInstanceOutput

func (i *DatabaseInstance) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (*DatabaseInstance) ToDatabaseInstanceOutputWithContext

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

type DatabaseInstanceArgs

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

func (DatabaseInstanceArgs) ElementType() reflect.Type

type DatabaseInstanceArray

type DatabaseInstanceArray []DatabaseInstanceInput

func (DatabaseInstanceArray) ElementType

func (DatabaseInstanceArray) ElementType() reflect.Type

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutput

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext

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

type DatabaseInstanceArrayInput

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

type DatabaseInstanceArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceArrayOutput) ElementType

func (DatabaseInstanceArrayOutput) Index

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext

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

type DatabaseInstanceInput

type DatabaseInstanceInput interface {
	pulumi.Input

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

type DatabaseInstanceMap

type DatabaseInstanceMap map[string]DatabaseInstanceInput

func (DatabaseInstanceMap) ElementType

func (DatabaseInstanceMap) ElementType() reflect.Type

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutput

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext

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

type DatabaseInstanceMapInput

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

type DatabaseInstanceMapOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceMapOutput) ElementType

func (DatabaseInstanceMapOutput) ElementType() reflect.Type

func (DatabaseInstanceMapOutput) MapIndex

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext

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

type DatabaseInstanceOutput

type DatabaseInstanceOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceOutput) DatabaseUrl

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

The intended database state.

func (DatabaseInstanceOutput) ElementType

func (DatabaseInstanceOutput) ElementType() reflect.Type

func (DatabaseInstanceOutput) InstanceId

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

***

func (DatabaseInstanceOutput) Name

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

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

func (DatabaseInstanceOutput) Region

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

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

func (DatabaseInstanceOutput) ToDatabaseInstanceOutput

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext

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

func (DatabaseInstanceOutput) Type

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

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

func (DatabaseInstanceState) ElementType() reflect.Type

type ExtensionsInstance

type ExtensionsInstance struct {
	pulumi.CustomResourceState

	// The current Config of the Extension Instance.
	// Structure is documented below.
	Config ExtensionsInstanceConfigOutput `pulumi:"config"`
	// The time at which the Extension Instance 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"`
	// The fully-qualified resource name of the Extension Instance.
	Name    pulumi.StringOutput `pulumi:"name"`
	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/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/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"),
			Name:                     pulumi.String("bucket-id"),
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
			ForceDestroy:             pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewExtensionsInstance(ctx, "resize_image", &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.2.2"),
				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,
				},
				SystemParams: pulumi.StringMap{
					"firebaseextensions.v1beta.function/location":                   pulumi.String(""),
					"firebaseextensions.v1beta.function/maxInstances":               pulumi.String("3000"),
					"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.onCompletion"),
				},
				EventarcChannel: pulumi.String("projects/my-project-name/locations//channels/firebase"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats:

* `projects/{{project}}/instances/{{instance_id}}`

* `{{project}}/{{instance_id}}`

* `{{instance_id}}`

When using the `pulumi import` command, Instance can be imported using one of the formats above. For example:

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

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

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

func (*ExtensionsInstance) ElementType() reflect.Type

func (*ExtensionsInstance) ToExtensionsInstanceOutput

func (i *ExtensionsInstance) ToExtensionsInstanceOutput() ExtensionsInstanceOutput

func (*ExtensionsInstance) ToExtensionsInstanceOutputWithContext

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

type ExtensionsInstanceArgs

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
	Project    pulumi.StringPtrInput
}

The set of arguments for constructing a ExtensionsInstance resource.

func (ExtensionsInstanceArgs) ElementType

func (ExtensionsInstanceArgs) ElementType() reflect.Type

type ExtensionsInstanceArray

type ExtensionsInstanceArray []ExtensionsInstanceInput

func (ExtensionsInstanceArray) ElementType

func (ExtensionsInstanceArray) ElementType() reflect.Type

func (ExtensionsInstanceArray) ToExtensionsInstanceArrayOutput

func (i ExtensionsInstanceArray) ToExtensionsInstanceArrayOutput() ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArray) ToExtensionsInstanceArrayOutputWithContext

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

type ExtensionsInstanceArrayInput

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

type ExtensionsInstanceArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceArrayOutput) ElementType

func (ExtensionsInstanceArrayOutput) Index

func (ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutput

func (o ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutput() ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutputWithContext

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

type ExtensionsInstanceConfig

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. See a full list of system parameters at
	// https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters
	SystemParams map[string]string `pulumi:"systemParams"`
}

type ExtensionsInstanceConfigArgs

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. See a full list of system parameters at
	// https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters
	SystemParams pulumi.StringMapInput `pulumi:"systemParams"`
}

func (ExtensionsInstanceConfigArgs) ElementType

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutput

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutput() ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutputWithContext

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

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutput

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutputWithContext

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

type ExtensionsInstanceConfigInput

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

type ExtensionsInstanceConfigOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceConfigOutput) AllowedEventTypes

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

func (ExtensionsInstanceConfigOutput) CreateTime

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

func (ExtensionsInstanceConfigOutput) ElementType

func (ExtensionsInstanceConfigOutput) EventarcChannel

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

func (ExtensionsInstanceConfigOutput) ExtensionRef

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

func (ExtensionsInstanceConfigOutput) ExtensionVersion

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

func (ExtensionsInstanceConfigOutput) Name

(Output) The unique identifier for this configuration.

func (ExtensionsInstanceConfigOutput) Params

Environment variables that may be configured for the Extension

func (ExtensionsInstanceConfigOutput) PopulatedPostinstallContent

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

Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions. See a full list of system parameters at https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutput

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutput() ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutputWithContext

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

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutput

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutputWithContext

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

type ExtensionsInstanceConfigPtrInput

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

type ExtensionsInstanceConfigPtrOutput

type ExtensionsInstanceConfigPtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceConfigPtrOutput) AllowedEventTypes

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

func (ExtensionsInstanceConfigPtrOutput) CreateTime

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

func (ExtensionsInstanceConfigPtrOutput) Elem

func (ExtensionsInstanceConfigPtrOutput) ElementType

func (ExtensionsInstanceConfigPtrOutput) EventarcChannel

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

func (ExtensionsInstanceConfigPtrOutput) ExtensionRef

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

func (ExtensionsInstanceConfigPtrOutput) ExtensionVersion

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

func (ExtensionsInstanceConfigPtrOutput) Name

(Output) The unique identifier for this configuration.

func (ExtensionsInstanceConfigPtrOutput) Params

Environment variables that may be configured for the Extension

func (ExtensionsInstanceConfigPtrOutput) PopulatedPostinstallContent

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

Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions. See a full list of system parameters at https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters

func (ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutput

func (o ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutputWithContext

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

type ExtensionsInstanceErrorStatus

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

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

func (ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutput

func (i ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutput() ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutputWithContext

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

type ExtensionsInstanceErrorStatusArray

type ExtensionsInstanceErrorStatusArray []ExtensionsInstanceErrorStatusInput

func (ExtensionsInstanceErrorStatusArray) ElementType

func (ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutput

func (i ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutput() ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutputWithContext

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

type ExtensionsInstanceErrorStatusArrayInput

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

type ExtensionsInstanceErrorStatusArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceErrorStatusArrayOutput) ElementType

func (ExtensionsInstanceErrorStatusArrayOutput) Index

func (ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutput

func (o ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutput() ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutputWithContext

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

type ExtensionsInstanceErrorStatusInput

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

type ExtensionsInstanceErrorStatusOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceErrorStatusOutput) Code

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

func (ExtensionsInstanceErrorStatusOutput) Details

A list of messages that carry the error details.

func (ExtensionsInstanceErrorStatusOutput) ElementType

func (ExtensionsInstanceErrorStatusOutput) Message

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

func (ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutput

func (o ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutput() ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutputWithContext

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

type ExtensionsInstanceInput

type ExtensionsInstanceInput interface {
	pulumi.Input

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

type ExtensionsInstanceMap

type ExtensionsInstanceMap map[string]ExtensionsInstanceInput

func (ExtensionsInstanceMap) ElementType

func (ExtensionsInstanceMap) ElementType() reflect.Type

func (ExtensionsInstanceMap) ToExtensionsInstanceMapOutput

func (i ExtensionsInstanceMap) ToExtensionsInstanceMapOutput() ExtensionsInstanceMapOutput

func (ExtensionsInstanceMap) ToExtensionsInstanceMapOutputWithContext

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

type ExtensionsInstanceMapInput

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

type ExtensionsInstanceMapOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceMapOutput) ElementType

func (ExtensionsInstanceMapOutput) MapIndex

func (ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutput

func (o ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutput() ExtensionsInstanceMapOutput

func (ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutputWithContext

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

type ExtensionsInstanceOutput

type ExtensionsInstanceOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceOutput) Config

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

func (ExtensionsInstanceOutput) CreateTime

The time at which the Extension Instance was created.

func (ExtensionsInstanceOutput) ElementType

func (ExtensionsInstanceOutput) ElementType() reflect.Type

func (ExtensionsInstanceOutput) ErrorStatuses

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

func (ExtensionsInstanceOutput) Etag

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

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

func (ExtensionsInstanceOutput) LastOperationName

func (o ExtensionsInstanceOutput) LastOperationName() pulumi.StringOutput

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

func (ExtensionsInstanceOutput) LastOperationType

func (o ExtensionsInstanceOutput) LastOperationType() pulumi.StringOutput

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

func (ExtensionsInstanceOutput) Name

The fully-qualified resource name of the Extension Instance.

func (ExtensionsInstanceOutput) Project

func (ExtensionsInstanceOutput) RuntimeDatas

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

func (ExtensionsInstanceOutput) ServiceAccountEmail

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

The processing state of the extension instance.

func (ExtensionsInstanceOutput) ToExtensionsInstanceOutput

func (o ExtensionsInstanceOutput) ToExtensionsInstanceOutput() ExtensionsInstanceOutput

func (ExtensionsInstanceOutput) ToExtensionsInstanceOutputWithContext

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

func (ExtensionsInstanceOutput) UpdateTime

The time at which the Extension Instance was updated.

type ExtensionsInstanceRuntimeData

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

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

func (ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutput

func (i ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutput() ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutputWithContext

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

type ExtensionsInstanceRuntimeDataArray

type ExtensionsInstanceRuntimeDataArray []ExtensionsInstanceRuntimeDataInput

func (ExtensionsInstanceRuntimeDataArray) ElementType

func (ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutput

func (i ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutput() ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutputWithContext

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

type ExtensionsInstanceRuntimeDataArrayInput

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

type ExtensionsInstanceRuntimeDataArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataArrayOutput) ElementType

func (ExtensionsInstanceRuntimeDataArrayOutput) Index

func (ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutput

func (o ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutput() ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutputWithContext

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

type ExtensionsInstanceRuntimeDataFatalError

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

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

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutput

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutput() ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext

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

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext

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

type ExtensionsInstanceRuntimeDataFatalErrorInput

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

type ExtensionsInstanceRuntimeDataFatalErrorOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ElementType

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ErrorMessage

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

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutput() ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext

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

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext

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

type ExtensionsInstanceRuntimeDataFatalErrorPtrInput

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

type ExtensionsInstanceRuntimeDataFatalErrorPtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) Elem

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ElementType

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ErrorMessage

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

func (o ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext

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

type ExtensionsInstanceRuntimeDataInput

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

type ExtensionsInstanceRuntimeDataOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataOutput) ElementType

func (ExtensionsInstanceRuntimeDataOutput) FatalError

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

func (ExtensionsInstanceRuntimeDataOutput) ProcessingState

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

func (ExtensionsInstanceRuntimeDataOutput) StateUpdateTime

The time of the last state update.

func (ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutput

func (o ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutput() ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutputWithContext

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

type ExtensionsInstanceRuntimeDataProcessingState

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

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

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutput

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutput() ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext

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

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput() ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext

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

type ExtensionsInstanceRuntimeDataProcessingStateInput

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

type ExtensionsInstanceRuntimeDataProcessingStateOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) DetailMessage

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

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) State

The processing state of the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutput

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutput() ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext

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

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput() ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext

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

type ExtensionsInstanceRuntimeDataProcessingStatePtrInput

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

type ExtensionsInstanceRuntimeDataProcessingStatePtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) DetailMessage

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

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ElementType

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) State

The processing state of the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext

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

type ExtensionsInstanceState

type ExtensionsInstanceState struct {
	// The current Config of the Extension Instance.
	// Structure is documented below.
	Config ExtensionsInstanceConfigPtrInput
	// The time at which the Extension Instance 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
	// The fully-qualified resource name of the Extension Instance.
	Name    pulumi.StringPtrInput
	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

func (ExtensionsInstanceState) ElementType() reflect.Type

type GetAndroidAppConfigArgs

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

A collection of arguments for invoking getAndroidAppConfig.

type GetAndroidAppConfigOutputArgs

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

A collection of arguments for invoking getAndroidAppConfig.

func (GetAndroidAppConfigOutputArgs) ElementType

type GetAndroidAppConfigResult

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.

type GetAndroidAppConfigResultOutput

type GetAndroidAppConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAndroidAppConfig.

func (GetAndroidAppConfigResultOutput) AppId

func (GetAndroidAppConfigResultOutput) ConfigFileContents

func (o GetAndroidAppConfigResultOutput) ConfigFileContents() pulumi.StringOutput

func (GetAndroidAppConfigResultOutput) ConfigFilename

func (GetAndroidAppConfigResultOutput) ElementType

func (GetAndroidAppConfigResultOutput) Id

func (GetAndroidAppConfigResultOutput) Project

func (GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutput

func (o GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutput() GetAndroidAppConfigResultOutput

func (GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutputWithContext

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

type GetAppleAppConfigArgs

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

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

type GetAppleAppConfigResult

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.

type GetAppleAppConfigResultOutput

type GetAppleAppConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppleAppConfig.

func (GetAppleAppConfigResultOutput) AppId

func (GetAppleAppConfigResultOutput) ConfigFileContents

func (o GetAppleAppConfigResultOutput) ConfigFileContents() pulumi.StringOutput

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

func (GetAppleAppConfigResultOutput) ConfigFilename

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

func (GetAppleAppConfigResultOutput) ElementType

func (GetAppleAppConfigResultOutput) Id

func (GetAppleAppConfigResultOutput) Project

func (GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutput

func (o GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutput() GetAppleAppConfigResultOutput

func (GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutputWithContext

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

type GetWebAppConfigArgs

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

A collection of arguments for invoking getWebAppConfig.

type GetWebAppConfigOutputArgs

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

A collection of arguments for invoking getWebAppConfig.

func (GetWebAppConfigOutputArgs) ElementType

func (GetWebAppConfigOutputArgs) ElementType() reflect.Type

type GetWebAppConfigResult

type GetWebAppConfigResult struct {
	// The API key associated with the web App.
	ApiKey string `pulumi:"apiKey"`
	// The domain Firebase Auth configures for OAuth redirects, in the format:
	// projectId.firebaseapp.com
	AuthDomain string `pulumi:"authDomain"`
	// The default Firebase Realtime Database URL.
	DatabaseUrl string `pulumi:"databaseUrl"`
	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) WebAppId

type HostingChannel

type HostingChannel struct {
	pulumi.CustomResourceState

	// Required. Immutable. A unique ID within the site that identifies the channel.
	//
	// ***
	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// 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
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	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 combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// 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/v7/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"),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingChannel(ctx, "default", &firebase.HostingChannelArgs{
			SiteId:    _default.SiteId,
			ChannelId: pulumi.String("channel-basic"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Channel Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/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"),
		})
		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"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Channel can be imported using any of these accepted formats:

* `sites/{{site_id}}/channels/{{channel_id}}`

* `{{site_id}}/{{channel_id}}`

When using the `pulumi import` command, Channel can be imported using one of the formats above. For example:

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

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

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

func (*HostingChannel) ElementType() reflect.Type

func (*HostingChannel) ToHostingChannelOutput

func (i *HostingChannel) ToHostingChannelOutput() HostingChannelOutput

func (*HostingChannel) ToHostingChannelOutputWithContext

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

type HostingChannelArgs

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
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	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

func (HostingChannelArgs) ElementType() reflect.Type

type HostingChannelArray

type HostingChannelArray []HostingChannelInput

func (HostingChannelArray) ElementType

func (HostingChannelArray) ElementType() reflect.Type

func (HostingChannelArray) ToHostingChannelArrayOutput

func (i HostingChannelArray) ToHostingChannelArrayOutput() HostingChannelArrayOutput

func (HostingChannelArray) ToHostingChannelArrayOutputWithContext

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

type HostingChannelArrayInput

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

type HostingChannelArrayOutput struct{ *pulumi.OutputState }

func (HostingChannelArrayOutput) ElementType

func (HostingChannelArrayOutput) ElementType() reflect.Type

func (HostingChannelArrayOutput) Index

func (HostingChannelArrayOutput) ToHostingChannelArrayOutput

func (o HostingChannelArrayOutput) ToHostingChannelArrayOutput() HostingChannelArrayOutput

func (HostingChannelArrayOutput) ToHostingChannelArrayOutputWithContext

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

type HostingChannelInput

type HostingChannelInput interface {
	pulumi.Input

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

type HostingChannelMap

type HostingChannelMap map[string]HostingChannelInput

func (HostingChannelMap) ElementType

func (HostingChannelMap) ElementType() reflect.Type

func (HostingChannelMap) ToHostingChannelMapOutput

func (i HostingChannelMap) ToHostingChannelMapOutput() HostingChannelMapOutput

func (HostingChannelMap) ToHostingChannelMapOutputWithContext

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

type HostingChannelMapInput

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

type HostingChannelMapOutput struct{ *pulumi.OutputState }

func (HostingChannelMapOutput) ElementType

func (HostingChannelMapOutput) ElementType() reflect.Type

func (HostingChannelMapOutput) MapIndex

func (HostingChannelMapOutput) ToHostingChannelMapOutput

func (o HostingChannelMapOutput) ToHostingChannelMapOutput() HostingChannelMapOutput

func (HostingChannelMapOutput) ToHostingChannelMapOutputWithContext

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

type HostingChannelOutput

type HostingChannelOutput struct{ *pulumi.OutputState }

func (HostingChannelOutput) ChannelId

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

***

func (HostingChannelOutput) EffectiveLabels

func (o HostingChannelOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (HostingChannelOutput) ElementType

func (HostingChannelOutput) ElementType() reflect.Type

func (HostingChannelOutput) ExpireTime

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

Text labels used for extra metadata and/or filtering **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (HostingChannelOutput) Name

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

func (HostingChannelOutput) PulumiLabels

func (o HostingChannelOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (HostingChannelOutput) RetainedReleaseCount

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

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

func (HostingChannelOutput) ToHostingChannelOutput

func (o HostingChannelOutput) ToHostingChannelOutput() HostingChannelOutput

func (HostingChannelOutput) ToHostingChannelOutputWithContext

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

func (HostingChannelOutput) Ttl

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

type HostingChannelState struct {
	// Required. Immutable. A unique ID within the site that identifies the channel.
	//
	// ***
	ChannelId pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// 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
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The fully-qualified resource name for the channel, in the format:
	// sites/SITE_ID/channels/CHANNEL_ID
	Name pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels 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.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

func (HostingChannelState) ElementType() reflect.Type

type HostingCustomDomain added in v7.1.0

type HostingCustomDomain struct {
	pulumi.CustomResourceState

	// A field that lets you specify which SSL certificate type Hosting creates
	// for your domain name. Spark plan `CustomDomain`s only have access to the
	// `GROUPED` cert type, while Blaze plan can select any option.
	// Possible values are: `GROUPED`, `PROJECT_GROUPED`, `DEDICATED`.
	CertPreference pulumi.StringOutput `pulumi:"certPreference"`
	// The SSL certificate Hosting has for this `CustomDomain`'s domain name.
	// For new `CustomDomain`s, this often represents Hosting's intent to create
	// a certificate, rather than an actual cert. Check the `state` field for
	// more.
	// Structure is documented below.
	Certs HostingCustomDomainCertArrayOutput `pulumi:"certs"`
	// The `CustomDomain`'s create time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting.
	//
	// ***
	CustomDomain pulumi.StringOutput `pulumi:"customDomain"`
	// The time the `CustomDomain` was deleted; null for `CustomDomains` that
	// haven't been deleted. Deleted `CustomDomains` persist for approximately 30
	// days, after which time Hosting removes them completely.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// A string that represents the current state of the `CustomDomain` and
	// allows you to confirm its initial state in requests that would modify it.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The minimum time before a soft-deleted `CustomDomain` is completely removed
	// from Hosting; null for `CustomDomains` that haven't been deleted.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// The host state of your domain name. Host state is determined by checking each
	// IP address associated with your domain name to see if it's serving
	// Hosting content.
	// HOST_UNHOSTED:
	// Your `CustomDomain`'s domain name isn't associated with any IP addresses.
	// HOST_UNREACHABLE:
	// Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS
	// queries to find your domain name's IP addresses resulted in errors. See
	// your `CustomDomain`'s `issues` field for more details.
	// HOST_MISMATCH:
	// Your `CustomDomain`'s domain name has IP addresses that don't ultimately
	// resolve to Hosting.
	// HOST_CONFLICT:
	// Your `CustomDomain`'s domain name has IP addresses that resolve to both
	// Hosting and other services. To ensure consistent results, remove `A` and
	// `AAAA` records related to non-Hosting services.
	// HOST_ACTIVE:
	// All requests against your `CustomDomain`'s domain name are served by
	// Hosting. If the `CustomDomain`'s `OwnershipState` is also `ACTIVE`, Hosting
	// serves your Hosting Site's content on the domain name.
	HostState pulumi.StringOutput `pulumi:"hostState"`
	// A set of errors Hosting systems encountered when trying to establish
	// Hosting's ability to serve secure content for your domain name. Resolve
	// these issues to ensure your `CustomDomain` behaves properly.
	// Structure is documented below.
	Issues HostingCustomDomainIssueArrayOutput `pulumi:"issues"`
	// The fully-qualified name of the `CustomDomain`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ownership state of your domain name. Ownership is determined at a
	// Firebase project level, and established by adding `TXT` records to your
	// domain name's DNS records.
	// Ownership cascades to subdomains. Granting a project ownership of `foo.com`
	// also grants that project ownership over `bar.foo.com`, unless you add
	// specific `TXT` records to `bar.foo.com` that grant a different project
	// ownership.
	// If your `CustomDomain` is in an `OwnershipState` other than
	// `OWNERSHIP_ACTIVE` for more than 30 days and it hasn't been updated in at
	// least 30 days, Hosting's ownership systems delete the `CustomDomain`.
	// OWNERSHIP_MISSING:
	// Your `CustomDomain`'s domain name has no Hosting-related ownership records;
	// no Firebase project has permission to act on the domain name's behalf.
	// OWNERSHIP_UNREACHABLE:
	// Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS
	// queries to find your domain name's ownership records resulted in errors.
	// See your `CustomDomain`'s `issues` field for more details.
	// OWNERSHIP_MISMATCH:
	// Your `CustomDomain`'s domain name is owned by another Firebase project.
	// Remove the conflicting `TXT` records and replace them with project-specific
	// records for your current Firebase project.
	// OWNERSHIP_CONFLICT:
	// Your `CustomDomain`'s domain name has conflicting `TXT` records that
	// indicate ownership by both your current Firebase project and another
	// project. Remove the other project's ownership records to grant the current
	// project ownership.
	// OWNERSHIP_PENDING:
	// Your `CustomDomain`'s DNS records are configured correctly. Hosting will
	// transfer ownership of your domain to this `CustomDomain` within 24 hours.
	// OWNERSHIP_ACTIVE:
	// Your `CustomDomain`'s domain name has `TXT` records that grant its project
	// permission to act on its behalf.
	OwnershipState pulumi.StringOutput `pulumi:"ownershipState"`
	// 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"`
	// if true, indicates that Hosting's systems are attmepting to
	// make the `CustomDomain`'s state match your preferred state. This is most
	// frequently `true` when initially provisioning a `CustomDomain` or when creating
	// a new SSL certificate to match an updated `certPreference`
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// A domain name that this CustomDomain should direct traffic towards. If
	// specified, Hosting will respond to requests against this CustomDomain
	// with an HTTP 301 code, and route traffic to the specified `redirectTarget`
	// instead.
	RedirectTarget pulumi.StringPtrOutput `pulumi:"redirectTarget"`
	// A set of updates you should make to the domain name's DNS records to
	// let Hosting serve secure content on its behalf.
	// Structure is documented below.
	RequiredDnsUpdates HostingCustomDomainRequiredDnsUpdateArrayOutput `pulumi:"requiredDnsUpdates"`
	// The ID of the site in which to create this custom domain association.
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// The last time the `CustomDomain` was updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// If true, Terraform will wait for DNS records to be fully resolved on the 'CustomDomain'. If false, Terraform will not
	// wait for DNS records on the 'CustomDomain'. Any issues in the 'CustomDomain' will be returned and stored in the
	// Terraform state.
	WaitDnsVerification pulumi.BoolPtrOutput `pulumi:"waitDnsVerification"`
}

## Example Usage

### Firebasehosting Customdomain Basic

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewHostingCustomDomain(ctx, "default", &firebase.HostingCustomDomainArgs{
			Project:      pulumi.String("my-project-name"),
			SiteId:       pulumi.String("site-id"),
			CustomDomain: pulumi.String("custom.domain.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Customdomain Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/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-id-full"),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingCustomDomain(ctx, "default", &firebase.HostingCustomDomainArgs{
			Project:             pulumi.String("my-project-name"),
			SiteId:              _default.SiteId,
			CustomDomain:        pulumi.String("source.domain.com"),
			CertPreference:      pulumi.String("GROUPED"),
			RedirectTarget:      pulumi.String("destination.domain.com"),
			WaitDnsVerification: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Customdomain Cloud Run

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v7/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-id"),
		})
		if err != nil {
			return err
		}
		defaultService, err := cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Project:  pulumi.String("my-project-name"),
			Name:     pulumi.String("cloud-run-service-via-hosting"),
			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"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "default", &firebase.HostingVersionArgs{
			SiteId: _default.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Rewrites: firebase.HostingVersionConfigRewriteArray{
					&firebase.HostingVersionConfigRewriteArgs{
						Glob: pulumi.String("/hello/**"),
						Run: &firebase.HostingVersionConfigRewriteRunArgs{
							ServiceId: defaultService.Name,
							Region:    defaultService.Location,
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "default", &firebase.HostingReleaseArgs{
			SiteId:      _default.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Cloud Run Integration"),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingCustomDomain(ctx, "default", &firebase.HostingCustomDomainArgs{
			Project:             pulumi.String("my-project-name"),
			SiteId:              _default.SiteId,
			CustomDomain:        pulumi.String("run.custom.domain.com"),
			WaitDnsVerification: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CustomDomain can be imported using any of these accepted formats:

* `projects/{{project}}/sites/{{site_id}}/customDomains/{{custom_domain}}`

* `sites/{{site_id}}/customDomains/{{custom_domain}}`

* `{{project}}/{{site_id}}/{{custom_domain}}`

* `{{site_id}}/{{custom_domain}}`

When using the `pulumi import` command, CustomDomain can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:firebase/hostingCustomDomain:HostingCustomDomain default projects/{{project}}/sites/{{site_id}}/customDomains/{{custom_domain}} ```

```sh $ pulumi import gcp:firebase/hostingCustomDomain:HostingCustomDomain default sites/{{site_id}}/customDomains/{{custom_domain}} ```

```sh $ pulumi import gcp:firebase/hostingCustomDomain:HostingCustomDomain default {{project}}/{{site_id}}/{{custom_domain}} ```

```sh $ pulumi import gcp:firebase/hostingCustomDomain:HostingCustomDomain default {{site_id}}/{{custom_domain}} ```

func GetHostingCustomDomain added in v7.1.0

func GetHostingCustomDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingCustomDomainState, opts ...pulumi.ResourceOption) (*HostingCustomDomain, error)

GetHostingCustomDomain gets an existing HostingCustomDomain 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 NewHostingCustomDomain added in v7.1.0

func NewHostingCustomDomain(ctx *pulumi.Context,
	name string, args *HostingCustomDomainArgs, opts ...pulumi.ResourceOption) (*HostingCustomDomain, error)

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

func (*HostingCustomDomain) ElementType added in v7.1.0

func (*HostingCustomDomain) ElementType() reflect.Type

func (*HostingCustomDomain) ToHostingCustomDomainOutput added in v7.1.0

func (i *HostingCustomDomain) ToHostingCustomDomainOutput() HostingCustomDomainOutput

func (*HostingCustomDomain) ToHostingCustomDomainOutputWithContext added in v7.1.0

func (i *HostingCustomDomain) ToHostingCustomDomainOutputWithContext(ctx context.Context) HostingCustomDomainOutput

type HostingCustomDomainArgs added in v7.1.0

type HostingCustomDomainArgs struct {
	// A field that lets you specify which SSL certificate type Hosting creates
	// for your domain name. Spark plan `CustomDomain`s only have access to the
	// `GROUPED` cert type, while Blaze plan can select any option.
	// Possible values are: `GROUPED`, `PROJECT_GROUPED`, `DEDICATED`.
	CertPreference pulumi.StringPtrInput
	// The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting.
	//
	// ***
	CustomDomain 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 domain name that this CustomDomain should direct traffic towards. If
	// specified, Hosting will respond to requests against this CustomDomain
	// with an HTTP 301 code, and route traffic to the specified `redirectTarget`
	// instead.
	RedirectTarget pulumi.StringPtrInput
	// The ID of the site in which to create this custom domain association.
	SiteId pulumi.StringInput
	// If true, Terraform will wait for DNS records to be fully resolved on the 'CustomDomain'. If false, Terraform will not
	// wait for DNS records on the 'CustomDomain'. Any issues in the 'CustomDomain' will be returned and stored in the
	// Terraform state.
	WaitDnsVerification pulumi.BoolPtrInput
}

The set of arguments for constructing a HostingCustomDomain resource.

func (HostingCustomDomainArgs) ElementType added in v7.1.0

func (HostingCustomDomainArgs) ElementType() reflect.Type

type HostingCustomDomainArray added in v7.1.0

type HostingCustomDomainArray []HostingCustomDomainInput

func (HostingCustomDomainArray) ElementType added in v7.1.0

func (HostingCustomDomainArray) ElementType() reflect.Type

func (HostingCustomDomainArray) ToHostingCustomDomainArrayOutput added in v7.1.0

func (i HostingCustomDomainArray) ToHostingCustomDomainArrayOutput() HostingCustomDomainArrayOutput

func (HostingCustomDomainArray) ToHostingCustomDomainArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainArray) ToHostingCustomDomainArrayOutputWithContext(ctx context.Context) HostingCustomDomainArrayOutput

type HostingCustomDomainArrayInput added in v7.1.0

type HostingCustomDomainArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainArrayOutput() HostingCustomDomainArrayOutput
	ToHostingCustomDomainArrayOutputWithContext(context.Context) HostingCustomDomainArrayOutput
}

HostingCustomDomainArrayInput is an input type that accepts HostingCustomDomainArray and HostingCustomDomainArrayOutput values. You can construct a concrete instance of `HostingCustomDomainArrayInput` via:

HostingCustomDomainArray{ HostingCustomDomainArgs{...} }

type HostingCustomDomainArrayOutput added in v7.1.0

type HostingCustomDomainArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainArrayOutput) Index added in v7.1.0

func (HostingCustomDomainArrayOutput) ToHostingCustomDomainArrayOutput added in v7.1.0

func (o HostingCustomDomainArrayOutput) ToHostingCustomDomainArrayOutput() HostingCustomDomainArrayOutput

func (HostingCustomDomainArrayOutput) ToHostingCustomDomainArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainArrayOutput) ToHostingCustomDomainArrayOutputWithContext(ctx context.Context) HostingCustomDomainArrayOutput

type HostingCustomDomainCert added in v7.1.0

type HostingCustomDomainCert struct {
	// The state of the certificate. Only the `CERT_ACTIVE` and
	// `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the
	// state is `PROPAGATING` and Hosting had an active cert for the domain name
	// before, that formerly-active cert provides SSL coverage for the domain name
	// until the current cert propagates.
	State *string `pulumi:"state"`
	// The record's type, which determines what data the record contains.
	Type *string `pulumi:"type"`
	// A set of ACME challenges you can add to your DNS records or existing,
	// non-Hosting hosting provider to allow Hosting to create an SSL certificate
	// for your domain name before you point traffic toward hosting. You can use
	// thse challenges as part of a zero downtime transition from your old
	// provider to Hosting.
	// Structure is documented below.
	Verification *HostingCustomDomainCertVerification `pulumi:"verification"`
}

type HostingCustomDomainCertArgs added in v7.1.0

type HostingCustomDomainCertArgs struct {
	// The state of the certificate. Only the `CERT_ACTIVE` and
	// `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the
	// state is `PROPAGATING` and Hosting had an active cert for the domain name
	// before, that formerly-active cert provides SSL coverage for the domain name
	// until the current cert propagates.
	State pulumi.StringPtrInput `pulumi:"state"`
	// The record's type, which determines what data the record contains.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// A set of ACME challenges you can add to your DNS records or existing,
	// non-Hosting hosting provider to allow Hosting to create an SSL certificate
	// for your domain name before you point traffic toward hosting. You can use
	// thse challenges as part of a zero downtime transition from your old
	// provider to Hosting.
	// Structure is documented below.
	Verification HostingCustomDomainCertVerificationPtrInput `pulumi:"verification"`
}

func (HostingCustomDomainCertArgs) ElementType added in v7.1.0

func (HostingCustomDomainCertArgs) ToHostingCustomDomainCertOutput added in v7.1.0

func (i HostingCustomDomainCertArgs) ToHostingCustomDomainCertOutput() HostingCustomDomainCertOutput

func (HostingCustomDomainCertArgs) ToHostingCustomDomainCertOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertArgs) ToHostingCustomDomainCertOutputWithContext(ctx context.Context) HostingCustomDomainCertOutput

type HostingCustomDomainCertArray added in v7.1.0

type HostingCustomDomainCertArray []HostingCustomDomainCertInput

func (HostingCustomDomainCertArray) ElementType added in v7.1.0

func (HostingCustomDomainCertArray) ToHostingCustomDomainCertArrayOutput added in v7.1.0

func (i HostingCustomDomainCertArray) ToHostingCustomDomainCertArrayOutput() HostingCustomDomainCertArrayOutput

func (HostingCustomDomainCertArray) ToHostingCustomDomainCertArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertArray) ToHostingCustomDomainCertArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertArrayOutput

type HostingCustomDomainCertArrayInput added in v7.1.0

type HostingCustomDomainCertArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainCertArrayOutput() HostingCustomDomainCertArrayOutput
	ToHostingCustomDomainCertArrayOutputWithContext(context.Context) HostingCustomDomainCertArrayOutput
}

HostingCustomDomainCertArrayInput is an input type that accepts HostingCustomDomainCertArray and HostingCustomDomainCertArrayOutput values. You can construct a concrete instance of `HostingCustomDomainCertArrayInput` via:

HostingCustomDomainCertArray{ HostingCustomDomainCertArgs{...} }

type HostingCustomDomainCertArrayOutput added in v7.1.0

type HostingCustomDomainCertArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertArrayOutput) Index added in v7.1.0

func (HostingCustomDomainCertArrayOutput) ToHostingCustomDomainCertArrayOutput added in v7.1.0

func (o HostingCustomDomainCertArrayOutput) ToHostingCustomDomainCertArrayOutput() HostingCustomDomainCertArrayOutput

func (HostingCustomDomainCertArrayOutput) ToHostingCustomDomainCertArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertArrayOutput) ToHostingCustomDomainCertArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertArrayOutput

type HostingCustomDomainCertInput added in v7.1.0

type HostingCustomDomainCertInput interface {
	pulumi.Input

	ToHostingCustomDomainCertOutput() HostingCustomDomainCertOutput
	ToHostingCustomDomainCertOutputWithContext(context.Context) HostingCustomDomainCertOutput
}

HostingCustomDomainCertInput is an input type that accepts HostingCustomDomainCertArgs and HostingCustomDomainCertOutput values. You can construct a concrete instance of `HostingCustomDomainCertInput` via:

HostingCustomDomainCertArgs{...}

type HostingCustomDomainCertOutput added in v7.1.0

type HostingCustomDomainCertOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertOutput) State added in v7.1.0

The state of the certificate. Only the `CERT_ACTIVE` and `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the state is `PROPAGATING` and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.

func (HostingCustomDomainCertOutput) ToHostingCustomDomainCertOutput added in v7.1.0

func (o HostingCustomDomainCertOutput) ToHostingCustomDomainCertOutput() HostingCustomDomainCertOutput

func (HostingCustomDomainCertOutput) ToHostingCustomDomainCertOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertOutput) ToHostingCustomDomainCertOutputWithContext(ctx context.Context) HostingCustomDomainCertOutput

func (HostingCustomDomainCertOutput) Type added in v7.1.0

The record's type, which determines what data the record contains.

func (HostingCustomDomainCertOutput) Verification added in v7.1.0

A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting. Structure is documented below.

type HostingCustomDomainCertVerification added in v7.1.0

type HostingCustomDomainCertVerification struct {
	// A `TXT` record to add to your DNS records that confirms your intent to
	// let Hosting create an SSL cert for your domain name.
	// Structure is documented below.
	Dns *HostingCustomDomainCertVerificationDns `pulumi:"dns"`
	// A file to add to your existing, non-Hosting hosting service that confirms
	// your intent to let Hosting create an SSL cert for your domain name.
	// Structure is documented below.
	Http *HostingCustomDomainCertVerificationHttp `pulumi:"http"`
}

type HostingCustomDomainCertVerificationArgs added in v7.1.0

type HostingCustomDomainCertVerificationArgs struct {
	// A `TXT` record to add to your DNS records that confirms your intent to
	// let Hosting create an SSL cert for your domain name.
	// Structure is documented below.
	Dns HostingCustomDomainCertVerificationDnsPtrInput `pulumi:"dns"`
	// A file to add to your existing, non-Hosting hosting service that confirms
	// your intent to let Hosting create an SSL cert for your domain name.
	// Structure is documented below.
	Http HostingCustomDomainCertVerificationHttpPtrInput `pulumi:"http"`
}

func (HostingCustomDomainCertVerificationArgs) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationArgs) ToHostingCustomDomainCertVerificationOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationArgs) ToHostingCustomDomainCertVerificationOutput() HostingCustomDomainCertVerificationOutput

func (HostingCustomDomainCertVerificationArgs) ToHostingCustomDomainCertVerificationOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationArgs) ToHostingCustomDomainCertVerificationOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationOutput

func (HostingCustomDomainCertVerificationArgs) ToHostingCustomDomainCertVerificationPtrOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationArgs) ToHostingCustomDomainCertVerificationPtrOutput() HostingCustomDomainCertVerificationPtrOutput

func (HostingCustomDomainCertVerificationArgs) ToHostingCustomDomainCertVerificationPtrOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationArgs) ToHostingCustomDomainCertVerificationPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationPtrOutput

type HostingCustomDomainCertVerificationDns added in v7.1.0

type HostingCustomDomainCertVerificationDns struct {
	// (Output)
	// The last time Hosting checked your CustomDomain's DNS records.
	CheckTime *string `pulumi:"checkTime"`
	// A text string to serve at the path.
	Desireds []HostingCustomDomainCertVerificationDnsDesired `pulumi:"desireds"`
	// Whether Hosting was able to find the required file contents on the
	// specified path during its last check.
	Discovereds []HostingCustomDomainCertVerificationDnsDiscovered `pulumi:"discovereds"`
}

type HostingCustomDomainCertVerificationDnsArgs added in v7.1.0

type HostingCustomDomainCertVerificationDnsArgs struct {
	// (Output)
	// The last time Hosting checked your CustomDomain's DNS records.
	CheckTime pulumi.StringPtrInput `pulumi:"checkTime"`
	// A text string to serve at the path.
	Desireds HostingCustomDomainCertVerificationDnsDesiredArrayInput `pulumi:"desireds"`
	// Whether Hosting was able to find the required file contents on the
	// specified path during its last check.
	Discovereds HostingCustomDomainCertVerificationDnsDiscoveredArrayInput `pulumi:"discovereds"`
}

func (HostingCustomDomainCertVerificationDnsArgs) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsArgs) ToHostingCustomDomainCertVerificationDnsOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsArgs) ToHostingCustomDomainCertVerificationDnsOutput() HostingCustomDomainCertVerificationDnsOutput

func (HostingCustomDomainCertVerificationDnsArgs) ToHostingCustomDomainCertVerificationDnsOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsArgs) ToHostingCustomDomainCertVerificationDnsOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsOutput

func (HostingCustomDomainCertVerificationDnsArgs) ToHostingCustomDomainCertVerificationDnsPtrOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsArgs) ToHostingCustomDomainCertVerificationDnsPtrOutput() HostingCustomDomainCertVerificationDnsPtrOutput

func (HostingCustomDomainCertVerificationDnsArgs) ToHostingCustomDomainCertVerificationDnsPtrOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsArgs) ToHostingCustomDomainCertVerificationDnsPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsPtrOutput

type HostingCustomDomainCertVerificationDnsDesired added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesired struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName *string `pulumi:"domainName"`
	// Records on the domain
	// Structure is documented below.
	Records []HostingCustomDomainCertVerificationDnsDesiredRecord `pulumi:"records"`
}

type HostingCustomDomainCertVerificationDnsDesiredArgs added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredArgs struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// Records on the domain
	// Structure is documented below.
	Records HostingCustomDomainCertVerificationDnsDesiredRecordArrayInput `pulumi:"records"`
}

func (HostingCustomDomainCertVerificationDnsDesiredArgs) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredArgs) ToHostingCustomDomainCertVerificationDnsDesiredOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDesiredArgs) ToHostingCustomDomainCertVerificationDnsDesiredOutput() HostingCustomDomainCertVerificationDnsDesiredOutput

func (HostingCustomDomainCertVerificationDnsDesiredArgs) ToHostingCustomDomainCertVerificationDnsDesiredOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDesiredArgs) ToHostingCustomDomainCertVerificationDnsDesiredOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDesiredOutput

type HostingCustomDomainCertVerificationDnsDesiredArray added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredArray []HostingCustomDomainCertVerificationDnsDesiredInput

func (HostingCustomDomainCertVerificationDnsDesiredArray) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredArray) ToHostingCustomDomainCertVerificationDnsDesiredArrayOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDesiredArray) ToHostingCustomDomainCertVerificationDnsDesiredArrayOutput() HostingCustomDomainCertVerificationDnsDesiredArrayOutput

func (HostingCustomDomainCertVerificationDnsDesiredArray) ToHostingCustomDomainCertVerificationDnsDesiredArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDesiredArray) ToHostingCustomDomainCertVerificationDnsDesiredArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDesiredArrayOutput

type HostingCustomDomainCertVerificationDnsDesiredArrayInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsDesiredArrayOutput() HostingCustomDomainCertVerificationDnsDesiredArrayOutput
	ToHostingCustomDomainCertVerificationDnsDesiredArrayOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsDesiredArrayOutput
}

HostingCustomDomainCertVerificationDnsDesiredArrayInput is an input type that accepts HostingCustomDomainCertVerificationDnsDesiredArray and HostingCustomDomainCertVerificationDnsDesiredArrayOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsDesiredArrayInput` via:

HostingCustomDomainCertVerificationDnsDesiredArray{ HostingCustomDomainCertVerificationDnsDesiredArgs{...} }

type HostingCustomDomainCertVerificationDnsDesiredArrayOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsDesiredArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredArrayOutput) Index added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredArrayOutput) ToHostingCustomDomainCertVerificationDnsDesiredArrayOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredArrayOutput) ToHostingCustomDomainCertVerificationDnsDesiredArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDesiredArrayOutput) ToHostingCustomDomainCertVerificationDnsDesiredArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDesiredArrayOutput

type HostingCustomDomainCertVerificationDnsDesiredInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsDesiredOutput() HostingCustomDomainCertVerificationDnsDesiredOutput
	ToHostingCustomDomainCertVerificationDnsDesiredOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsDesiredOutput
}

HostingCustomDomainCertVerificationDnsDesiredInput is an input type that accepts HostingCustomDomainCertVerificationDnsDesiredArgs and HostingCustomDomainCertVerificationDnsDesiredOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsDesiredInput` via:

HostingCustomDomainCertVerificationDnsDesiredArgs{...}

type HostingCustomDomainCertVerificationDnsDesiredOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsDesiredOutput) DomainName added in v7.1.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (HostingCustomDomainCertVerificationDnsDesiredOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredOutput) Records added in v7.1.0

Records on the domain Structure is documented below.

func (HostingCustomDomainCertVerificationDnsDesiredOutput) ToHostingCustomDomainCertVerificationDnsDesiredOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDesiredOutput) ToHostingCustomDomainCertVerificationDnsDesiredOutput() HostingCustomDomainCertVerificationDnsDesiredOutput

func (HostingCustomDomainCertVerificationDnsDesiredOutput) ToHostingCustomDomainCertVerificationDnsDesiredOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDesiredOutput) ToHostingCustomDomainCertVerificationDnsDesiredOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDesiredOutput

type HostingCustomDomainCertVerificationDnsDesiredRecord added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredRecord struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName *string `pulumi:"domainName"`
	// The data of the record. The meaning of the value depends on record type:
	// - A and AAAA: IP addresses for the domain name.
	// - CNAME: Another domain to check for records.
	// - TXT: Arbitrary text strings associated with the domain name. Hosting
	//   uses TXT records to determine a which Firebase Projects have
	//   permission to act on the domain name's behalf.
	// - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.
	Rdata *string `pulumi:"rdata"`
	// Indicates the a required action for this record.
	RequiredAction *string `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type *string `pulumi:"type"`
}

type HostingCustomDomainCertVerificationDnsDesiredRecordArgs added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredRecordArgs struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// The data of the record. The meaning of the value depends on record type:
	// - A and AAAA: IP addresses for the domain name.
	// - CNAME: Another domain to check for records.
	// - TXT: Arbitrary text strings associated with the domain name. Hosting
	//   uses TXT records to determine a which Firebase Projects have
	//   permission to act on the domain name's behalf.
	// - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.
	Rdata pulumi.StringPtrInput `pulumi:"rdata"`
	// Indicates the a required action for this record.
	RequiredAction pulumi.StringPtrInput `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (HostingCustomDomainCertVerificationDnsDesiredRecordArgs) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredRecordArgs) ToHostingCustomDomainCertVerificationDnsDesiredRecordOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredRecordArgs) ToHostingCustomDomainCertVerificationDnsDesiredRecordOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDesiredRecordArgs) ToHostingCustomDomainCertVerificationDnsDesiredRecordOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDesiredRecordOutput

type HostingCustomDomainCertVerificationDnsDesiredRecordArray added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredRecordArray []HostingCustomDomainCertVerificationDnsDesiredRecordInput

func (HostingCustomDomainCertVerificationDnsDesiredRecordArray) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredRecordArray) ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDesiredRecordArray) ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput() HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput

func (HostingCustomDomainCertVerificationDnsDesiredRecordArray) ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDesiredRecordArray) ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput

type HostingCustomDomainCertVerificationDnsDesiredRecordArrayInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredRecordArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput() HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput
	ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput
}

HostingCustomDomainCertVerificationDnsDesiredRecordArrayInput is an input type that accepts HostingCustomDomainCertVerificationDnsDesiredRecordArray and HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsDesiredRecordArrayInput` via:

HostingCustomDomainCertVerificationDnsDesiredRecordArray{ HostingCustomDomainCertVerificationDnsDesiredRecordArgs{...} }

type HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput) Index added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput) ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput) ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput) ToHostingCustomDomainCertVerificationDnsDesiredRecordArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDesiredRecordArrayOutput

type HostingCustomDomainCertVerificationDnsDesiredRecordInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredRecordInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsDesiredRecordOutput() HostingCustomDomainCertVerificationDnsDesiredRecordOutput
	ToHostingCustomDomainCertVerificationDnsDesiredRecordOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsDesiredRecordOutput
}

HostingCustomDomainCertVerificationDnsDesiredRecordInput is an input type that accepts HostingCustomDomainCertVerificationDnsDesiredRecordArgs and HostingCustomDomainCertVerificationDnsDesiredRecordOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsDesiredRecordInput` via:

HostingCustomDomainCertVerificationDnsDesiredRecordArgs{...}

type HostingCustomDomainCertVerificationDnsDesiredRecordOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDesiredRecordOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsDesiredRecordOutput) DomainName added in v7.1.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (HostingCustomDomainCertVerificationDnsDesiredRecordOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredRecordOutput) Rdata added in v7.1.0

The data of the record. The meaning of the value depends on record type:

  • A and AAAA: IP addresses for the domain name.
  • CNAME: Another domain to check for records.
  • TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
  • CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.

func (HostingCustomDomainCertVerificationDnsDesiredRecordOutput) RequiredAction added in v7.1.0

Indicates the a required action for this record.

func (HostingCustomDomainCertVerificationDnsDesiredRecordOutput) ToHostingCustomDomainCertVerificationDnsDesiredRecordOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDesiredRecordOutput) ToHostingCustomDomainCertVerificationDnsDesiredRecordOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDesiredRecordOutput) ToHostingCustomDomainCertVerificationDnsDesiredRecordOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDesiredRecordOutput

func (HostingCustomDomainCertVerificationDnsDesiredRecordOutput) Type added in v7.1.0

The record's type, which determines what data the record contains.

type HostingCustomDomainCertVerificationDnsDiscovered added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscovered struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName *string `pulumi:"domainName"`
	// Records on the domain
	// Structure is documented below.
	Records []HostingCustomDomainCertVerificationDnsDiscoveredRecord `pulumi:"records"`
}

type HostingCustomDomainCertVerificationDnsDiscoveredArgs added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredArgs struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// Records on the domain
	// Structure is documented below.
	Records HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayInput `pulumi:"records"`
}

func (HostingCustomDomainCertVerificationDnsDiscoveredArgs) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredArgs) ToHostingCustomDomainCertVerificationDnsDiscoveredOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDiscoveredArgs) ToHostingCustomDomainCertVerificationDnsDiscoveredOutput() HostingCustomDomainCertVerificationDnsDiscoveredOutput

func (HostingCustomDomainCertVerificationDnsDiscoveredArgs) ToHostingCustomDomainCertVerificationDnsDiscoveredOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDiscoveredArgs) ToHostingCustomDomainCertVerificationDnsDiscoveredOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDiscoveredOutput

type HostingCustomDomainCertVerificationDnsDiscoveredArray added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredArray []HostingCustomDomainCertVerificationDnsDiscoveredInput

func (HostingCustomDomainCertVerificationDnsDiscoveredArray) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredArray) ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDiscoveredArray) ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutput() HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput

func (HostingCustomDomainCertVerificationDnsDiscoveredArray) ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDiscoveredArray) ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput

type HostingCustomDomainCertVerificationDnsDiscoveredArrayInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutput() HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput
	ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput
}

HostingCustomDomainCertVerificationDnsDiscoveredArrayInput is an input type that accepts HostingCustomDomainCertVerificationDnsDiscoveredArray and HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsDiscoveredArrayInput` via:

HostingCustomDomainCertVerificationDnsDiscoveredArray{ HostingCustomDomainCertVerificationDnsDiscoveredArgs{...} }

type HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput) Index added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDiscoveredArrayOutput

type HostingCustomDomainCertVerificationDnsDiscoveredInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsDiscoveredOutput() HostingCustomDomainCertVerificationDnsDiscoveredOutput
	ToHostingCustomDomainCertVerificationDnsDiscoveredOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsDiscoveredOutput
}

HostingCustomDomainCertVerificationDnsDiscoveredInput is an input type that accepts HostingCustomDomainCertVerificationDnsDiscoveredArgs and HostingCustomDomainCertVerificationDnsDiscoveredOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsDiscoveredInput` via:

HostingCustomDomainCertVerificationDnsDiscoveredArgs{...}

type HostingCustomDomainCertVerificationDnsDiscoveredOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsDiscoveredOutput) DomainName added in v7.1.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (HostingCustomDomainCertVerificationDnsDiscoveredOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredOutput) Records added in v7.1.0

Records on the domain Structure is documented below.

func (HostingCustomDomainCertVerificationDnsDiscoveredOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDiscoveredOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDiscoveredOutput

type HostingCustomDomainCertVerificationDnsDiscoveredRecord added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredRecord struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName *string `pulumi:"domainName"`
	// The data of the record. The meaning of the value depends on record type:
	// - A and AAAA: IP addresses for the domain name.
	// - CNAME: Another domain to check for records.
	// - TXT: Arbitrary text strings associated with the domain name. Hosting
	//   uses TXT records to determine a which Firebase Projects have
	//   permission to act on the domain name's behalf.
	// - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.
	Rdata *string `pulumi:"rdata"`
	// Indicates the a required action for this record.
	RequiredAction *string `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type *string `pulumi:"type"`
}

type HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// The data of the record. The meaning of the value depends on record type:
	// - A and AAAA: IP addresses for the domain name.
	// - CNAME: Another domain to check for records.
	// - TXT: Arbitrary text strings associated with the domain name. Hosting
	//   uses TXT records to determine a which Firebase Projects have
	//   permission to act on the domain name's behalf.
	// - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.
	Rdata pulumi.StringPtrInput `pulumi:"rdata"`
	// Indicates the a required action for this record.
	RequiredAction pulumi.StringPtrInput `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput

type HostingCustomDomainCertVerificationDnsDiscoveredRecordArray added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredRecordArray []HostingCustomDomainCertVerificationDnsDiscoveredRecordInput

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArray) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArray) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArray) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationDnsDiscoveredRecordArray) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput

type HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput() HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput
	ToHostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput
}

HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayInput is an input type that accepts HostingCustomDomainCertVerificationDnsDiscoveredRecordArray and HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayInput` via:

HostingCustomDomainCertVerificationDnsDiscoveredRecordArray{ HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs{...} }

type HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput) Index added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDiscoveredRecordArrayOutput

type HostingCustomDomainCertVerificationDnsDiscoveredRecordInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredRecordInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsDiscoveredRecordOutput() HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput
	ToHostingCustomDomainCertVerificationDnsDiscoveredRecordOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput
}

HostingCustomDomainCertVerificationDnsDiscoveredRecordInput is an input type that accepts HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs and HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsDiscoveredRecordInput` via:

HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs{...}

type HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput) DomainName added in v7.1.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput) Rdata added in v7.1.0

The data of the record. The meaning of the value depends on record type:

  • A and AAAA: IP addresses for the domain name.
  • CNAME: Another domain to check for records.
  • TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
  • CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput) RequiredAction added in v7.1.0

Indicates the a required action for this record.

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordOutput added in v7.1.0

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput) ToHostingCustomDomainCertVerificationDnsDiscoveredRecordOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput

func (HostingCustomDomainCertVerificationDnsDiscoveredRecordOutput) Type added in v7.1.0

The record's type, which determines what data the record contains.

type HostingCustomDomainCertVerificationDnsInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsOutput() HostingCustomDomainCertVerificationDnsOutput
	ToHostingCustomDomainCertVerificationDnsOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsOutput
}

HostingCustomDomainCertVerificationDnsInput is an input type that accepts HostingCustomDomainCertVerificationDnsArgs and HostingCustomDomainCertVerificationDnsOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsInput` via:

HostingCustomDomainCertVerificationDnsArgs{...}

type HostingCustomDomainCertVerificationDnsOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsOutput) CheckTime added in v7.1.0

(Output) The last time Hosting checked your CustomDomain's DNS records.

func (HostingCustomDomainCertVerificationDnsOutput) Desireds added in v7.1.0

A text string to serve at the path.

func (HostingCustomDomainCertVerificationDnsOutput) Discovereds added in v7.1.0

Whether Hosting was able to find the required file contents on the specified path during its last check.

func (HostingCustomDomainCertVerificationDnsOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsOutput) ToHostingCustomDomainCertVerificationDnsOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsOutput) ToHostingCustomDomainCertVerificationDnsOutput() HostingCustomDomainCertVerificationDnsOutput

func (HostingCustomDomainCertVerificationDnsOutput) ToHostingCustomDomainCertVerificationDnsOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsOutput) ToHostingCustomDomainCertVerificationDnsOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsOutput

func (HostingCustomDomainCertVerificationDnsOutput) ToHostingCustomDomainCertVerificationDnsPtrOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsOutput) ToHostingCustomDomainCertVerificationDnsPtrOutput() HostingCustomDomainCertVerificationDnsPtrOutput

func (HostingCustomDomainCertVerificationDnsOutput) ToHostingCustomDomainCertVerificationDnsPtrOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsOutput) ToHostingCustomDomainCertVerificationDnsPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsPtrOutput

type HostingCustomDomainCertVerificationDnsPtrInput added in v7.1.0

type HostingCustomDomainCertVerificationDnsPtrInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationDnsPtrOutput() HostingCustomDomainCertVerificationDnsPtrOutput
	ToHostingCustomDomainCertVerificationDnsPtrOutputWithContext(context.Context) HostingCustomDomainCertVerificationDnsPtrOutput
}

HostingCustomDomainCertVerificationDnsPtrInput is an input type that accepts HostingCustomDomainCertVerificationDnsArgs, HostingCustomDomainCertVerificationDnsPtr and HostingCustomDomainCertVerificationDnsPtrOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationDnsPtrInput` via:

        HostingCustomDomainCertVerificationDnsArgs{...}

or:

        nil

type HostingCustomDomainCertVerificationDnsPtrOutput added in v7.1.0

type HostingCustomDomainCertVerificationDnsPtrOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationDnsPtrOutput) CheckTime added in v7.1.0

(Output) The last time Hosting checked your CustomDomain's DNS records.

func (HostingCustomDomainCertVerificationDnsPtrOutput) Desireds added in v7.1.0

A text string to serve at the path.

func (HostingCustomDomainCertVerificationDnsPtrOutput) Discovereds added in v7.1.0

Whether Hosting was able to find the required file contents on the specified path during its last check.

func (HostingCustomDomainCertVerificationDnsPtrOutput) Elem added in v7.1.0

func (HostingCustomDomainCertVerificationDnsPtrOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationDnsPtrOutput) ToHostingCustomDomainCertVerificationDnsPtrOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsPtrOutput) ToHostingCustomDomainCertVerificationDnsPtrOutput() HostingCustomDomainCertVerificationDnsPtrOutput

func (HostingCustomDomainCertVerificationDnsPtrOutput) ToHostingCustomDomainCertVerificationDnsPtrOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationDnsPtrOutput) ToHostingCustomDomainCertVerificationDnsPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationDnsPtrOutput

type HostingCustomDomainCertVerificationHttp added in v7.1.0

type HostingCustomDomainCertVerificationHttp struct {
	// A text string to serve at the path.
	Desired *string `pulumi:"desired"`
	// Whether Hosting was able to find the required file contents on the
	// specified path during its last check.
	Discovered *string `pulumi:"discovered"`
	// (Output)
	// The last time Hosting systems checked for the file contents.
	LastCheckTime *string `pulumi:"lastCheckTime"`
	// The path to the file.
	Path *string `pulumi:"path"`
}

type HostingCustomDomainCertVerificationHttpArgs added in v7.1.0

type HostingCustomDomainCertVerificationHttpArgs struct {
	// A text string to serve at the path.
	Desired pulumi.StringPtrInput `pulumi:"desired"`
	// Whether Hosting was able to find the required file contents on the
	// specified path during its last check.
	Discovered pulumi.StringPtrInput `pulumi:"discovered"`
	// (Output)
	// The last time Hosting systems checked for the file contents.
	LastCheckTime pulumi.StringPtrInput `pulumi:"lastCheckTime"`
	// The path to the file.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

func (HostingCustomDomainCertVerificationHttpArgs) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationHttpArgs) ToHostingCustomDomainCertVerificationHttpOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationHttpArgs) ToHostingCustomDomainCertVerificationHttpOutput() HostingCustomDomainCertVerificationHttpOutput

func (HostingCustomDomainCertVerificationHttpArgs) ToHostingCustomDomainCertVerificationHttpOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationHttpArgs) ToHostingCustomDomainCertVerificationHttpOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationHttpOutput

func (HostingCustomDomainCertVerificationHttpArgs) ToHostingCustomDomainCertVerificationHttpPtrOutput added in v7.1.0

func (i HostingCustomDomainCertVerificationHttpArgs) ToHostingCustomDomainCertVerificationHttpPtrOutput() HostingCustomDomainCertVerificationHttpPtrOutput

func (HostingCustomDomainCertVerificationHttpArgs) ToHostingCustomDomainCertVerificationHttpPtrOutputWithContext added in v7.1.0

func (i HostingCustomDomainCertVerificationHttpArgs) ToHostingCustomDomainCertVerificationHttpPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationHttpPtrOutput

type HostingCustomDomainCertVerificationHttpInput added in v7.1.0

type HostingCustomDomainCertVerificationHttpInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationHttpOutput() HostingCustomDomainCertVerificationHttpOutput
	ToHostingCustomDomainCertVerificationHttpOutputWithContext(context.Context) HostingCustomDomainCertVerificationHttpOutput
}

HostingCustomDomainCertVerificationHttpInput is an input type that accepts HostingCustomDomainCertVerificationHttpArgs and HostingCustomDomainCertVerificationHttpOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationHttpInput` via:

HostingCustomDomainCertVerificationHttpArgs{...}

type HostingCustomDomainCertVerificationHttpOutput added in v7.1.0

type HostingCustomDomainCertVerificationHttpOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationHttpOutput) Desired added in v7.1.0

A text string to serve at the path.

func (HostingCustomDomainCertVerificationHttpOutput) Discovered added in v7.1.0

Whether Hosting was able to find the required file contents on the specified path during its last check.

func (HostingCustomDomainCertVerificationHttpOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationHttpOutput) LastCheckTime added in v7.1.0

(Output) The last time Hosting systems checked for the file contents.

func (HostingCustomDomainCertVerificationHttpOutput) Path added in v7.1.0

The path to the file.

func (HostingCustomDomainCertVerificationHttpOutput) ToHostingCustomDomainCertVerificationHttpOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationHttpOutput) ToHostingCustomDomainCertVerificationHttpOutput() HostingCustomDomainCertVerificationHttpOutput

func (HostingCustomDomainCertVerificationHttpOutput) ToHostingCustomDomainCertVerificationHttpOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationHttpOutput) ToHostingCustomDomainCertVerificationHttpOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationHttpOutput

func (HostingCustomDomainCertVerificationHttpOutput) ToHostingCustomDomainCertVerificationHttpPtrOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationHttpOutput) ToHostingCustomDomainCertVerificationHttpPtrOutput() HostingCustomDomainCertVerificationHttpPtrOutput

func (HostingCustomDomainCertVerificationHttpOutput) ToHostingCustomDomainCertVerificationHttpPtrOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationHttpOutput) ToHostingCustomDomainCertVerificationHttpPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationHttpPtrOutput

type HostingCustomDomainCertVerificationHttpPtrInput added in v7.1.0

type HostingCustomDomainCertVerificationHttpPtrInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationHttpPtrOutput() HostingCustomDomainCertVerificationHttpPtrOutput
	ToHostingCustomDomainCertVerificationHttpPtrOutputWithContext(context.Context) HostingCustomDomainCertVerificationHttpPtrOutput
}

HostingCustomDomainCertVerificationHttpPtrInput is an input type that accepts HostingCustomDomainCertVerificationHttpArgs, HostingCustomDomainCertVerificationHttpPtr and HostingCustomDomainCertVerificationHttpPtrOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationHttpPtrInput` via:

        HostingCustomDomainCertVerificationHttpArgs{...}

or:

        nil

type HostingCustomDomainCertVerificationHttpPtrOutput added in v7.1.0

type HostingCustomDomainCertVerificationHttpPtrOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationHttpPtrOutput) Desired added in v7.1.0

A text string to serve at the path.

func (HostingCustomDomainCertVerificationHttpPtrOutput) Discovered added in v7.1.0

Whether Hosting was able to find the required file contents on the specified path during its last check.

func (HostingCustomDomainCertVerificationHttpPtrOutput) Elem added in v7.1.0

func (HostingCustomDomainCertVerificationHttpPtrOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationHttpPtrOutput) LastCheckTime added in v7.1.0

(Output) The last time Hosting systems checked for the file contents.

func (HostingCustomDomainCertVerificationHttpPtrOutput) Path added in v7.1.0

The path to the file.

func (HostingCustomDomainCertVerificationHttpPtrOutput) ToHostingCustomDomainCertVerificationHttpPtrOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationHttpPtrOutput) ToHostingCustomDomainCertVerificationHttpPtrOutput() HostingCustomDomainCertVerificationHttpPtrOutput

func (HostingCustomDomainCertVerificationHttpPtrOutput) ToHostingCustomDomainCertVerificationHttpPtrOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationHttpPtrOutput) ToHostingCustomDomainCertVerificationHttpPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationHttpPtrOutput

type HostingCustomDomainCertVerificationInput added in v7.1.0

type HostingCustomDomainCertVerificationInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationOutput() HostingCustomDomainCertVerificationOutput
	ToHostingCustomDomainCertVerificationOutputWithContext(context.Context) HostingCustomDomainCertVerificationOutput
}

HostingCustomDomainCertVerificationInput is an input type that accepts HostingCustomDomainCertVerificationArgs and HostingCustomDomainCertVerificationOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationInput` via:

HostingCustomDomainCertVerificationArgs{...}

type HostingCustomDomainCertVerificationOutput added in v7.1.0

type HostingCustomDomainCertVerificationOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationOutput) Dns added in v7.1.0

A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.

func (HostingCustomDomainCertVerificationOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationOutput) Http added in v7.1.0

A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.

func (HostingCustomDomainCertVerificationOutput) ToHostingCustomDomainCertVerificationOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationOutput) ToHostingCustomDomainCertVerificationOutput() HostingCustomDomainCertVerificationOutput

func (HostingCustomDomainCertVerificationOutput) ToHostingCustomDomainCertVerificationOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationOutput) ToHostingCustomDomainCertVerificationOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationOutput

func (HostingCustomDomainCertVerificationOutput) ToHostingCustomDomainCertVerificationPtrOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationOutput) ToHostingCustomDomainCertVerificationPtrOutput() HostingCustomDomainCertVerificationPtrOutput

func (HostingCustomDomainCertVerificationOutput) ToHostingCustomDomainCertVerificationPtrOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationOutput) ToHostingCustomDomainCertVerificationPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationPtrOutput

type HostingCustomDomainCertVerificationPtrInput added in v7.1.0

type HostingCustomDomainCertVerificationPtrInput interface {
	pulumi.Input

	ToHostingCustomDomainCertVerificationPtrOutput() HostingCustomDomainCertVerificationPtrOutput
	ToHostingCustomDomainCertVerificationPtrOutputWithContext(context.Context) HostingCustomDomainCertVerificationPtrOutput
}

HostingCustomDomainCertVerificationPtrInput is an input type that accepts HostingCustomDomainCertVerificationArgs, HostingCustomDomainCertVerificationPtr and HostingCustomDomainCertVerificationPtrOutput values. You can construct a concrete instance of `HostingCustomDomainCertVerificationPtrInput` via:

        HostingCustomDomainCertVerificationArgs{...}

or:

        nil

type HostingCustomDomainCertVerificationPtrOutput added in v7.1.0

type HostingCustomDomainCertVerificationPtrOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainCertVerificationPtrOutput) Dns added in v7.1.0

A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.

func (HostingCustomDomainCertVerificationPtrOutput) Elem added in v7.1.0

func (HostingCustomDomainCertVerificationPtrOutput) ElementType added in v7.1.0

func (HostingCustomDomainCertVerificationPtrOutput) Http added in v7.1.0

A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.

func (HostingCustomDomainCertVerificationPtrOutput) ToHostingCustomDomainCertVerificationPtrOutput added in v7.1.0

func (o HostingCustomDomainCertVerificationPtrOutput) ToHostingCustomDomainCertVerificationPtrOutput() HostingCustomDomainCertVerificationPtrOutput

func (HostingCustomDomainCertVerificationPtrOutput) ToHostingCustomDomainCertVerificationPtrOutputWithContext added in v7.1.0

func (o HostingCustomDomainCertVerificationPtrOutput) ToHostingCustomDomainCertVerificationPtrOutputWithContext(ctx context.Context) HostingCustomDomainCertVerificationPtrOutput

type HostingCustomDomainInput added in v7.1.0

type HostingCustomDomainInput interface {
	pulumi.Input

	ToHostingCustomDomainOutput() HostingCustomDomainOutput
	ToHostingCustomDomainOutputWithContext(ctx context.Context) HostingCustomDomainOutput
}

type HostingCustomDomainIssue added in v7.1.0

type HostingCustomDomainIssue 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 *string `pulumi:"details"`
	// Error message
	Message *string `pulumi:"message"`
}

type HostingCustomDomainIssueArgs added in v7.1.0

type HostingCustomDomainIssueArgs 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.StringPtrInput `pulumi:"details"`
	// Error message
	Message pulumi.StringPtrInput `pulumi:"message"`
}

func (HostingCustomDomainIssueArgs) ElementType added in v7.1.0

func (HostingCustomDomainIssueArgs) ToHostingCustomDomainIssueOutput added in v7.1.0

func (i HostingCustomDomainIssueArgs) ToHostingCustomDomainIssueOutput() HostingCustomDomainIssueOutput

func (HostingCustomDomainIssueArgs) ToHostingCustomDomainIssueOutputWithContext added in v7.1.0

func (i HostingCustomDomainIssueArgs) ToHostingCustomDomainIssueOutputWithContext(ctx context.Context) HostingCustomDomainIssueOutput

type HostingCustomDomainIssueArray added in v7.1.0

type HostingCustomDomainIssueArray []HostingCustomDomainIssueInput

func (HostingCustomDomainIssueArray) ElementType added in v7.1.0

func (HostingCustomDomainIssueArray) ToHostingCustomDomainIssueArrayOutput added in v7.1.0

func (i HostingCustomDomainIssueArray) ToHostingCustomDomainIssueArrayOutput() HostingCustomDomainIssueArrayOutput

func (HostingCustomDomainIssueArray) ToHostingCustomDomainIssueArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainIssueArray) ToHostingCustomDomainIssueArrayOutputWithContext(ctx context.Context) HostingCustomDomainIssueArrayOutput

type HostingCustomDomainIssueArrayInput added in v7.1.0

type HostingCustomDomainIssueArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainIssueArrayOutput() HostingCustomDomainIssueArrayOutput
	ToHostingCustomDomainIssueArrayOutputWithContext(context.Context) HostingCustomDomainIssueArrayOutput
}

HostingCustomDomainIssueArrayInput is an input type that accepts HostingCustomDomainIssueArray and HostingCustomDomainIssueArrayOutput values. You can construct a concrete instance of `HostingCustomDomainIssueArrayInput` via:

HostingCustomDomainIssueArray{ HostingCustomDomainIssueArgs{...} }

type HostingCustomDomainIssueArrayOutput added in v7.1.0

type HostingCustomDomainIssueArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainIssueArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainIssueArrayOutput) Index added in v7.1.0

func (HostingCustomDomainIssueArrayOutput) ToHostingCustomDomainIssueArrayOutput added in v7.1.0

func (o HostingCustomDomainIssueArrayOutput) ToHostingCustomDomainIssueArrayOutput() HostingCustomDomainIssueArrayOutput

func (HostingCustomDomainIssueArrayOutput) ToHostingCustomDomainIssueArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainIssueArrayOutput) ToHostingCustomDomainIssueArrayOutputWithContext(ctx context.Context) HostingCustomDomainIssueArrayOutput

type HostingCustomDomainIssueInput added in v7.1.0

type HostingCustomDomainIssueInput interface {
	pulumi.Input

	ToHostingCustomDomainIssueOutput() HostingCustomDomainIssueOutput
	ToHostingCustomDomainIssueOutputWithContext(context.Context) HostingCustomDomainIssueOutput
}

HostingCustomDomainIssueInput is an input type that accepts HostingCustomDomainIssueArgs and HostingCustomDomainIssueOutput values. You can construct a concrete instance of `HostingCustomDomainIssueInput` via:

HostingCustomDomainIssueArgs{...}

type HostingCustomDomainIssueOutput added in v7.1.0

type HostingCustomDomainIssueOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainIssueOutput) Code added in v7.1.0

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

func (HostingCustomDomainIssueOutput) Details added in v7.1.0

A list of messages that carry the error details.

func (HostingCustomDomainIssueOutput) ElementType added in v7.1.0

func (HostingCustomDomainIssueOutput) Message added in v7.1.0

Error message

func (HostingCustomDomainIssueOutput) ToHostingCustomDomainIssueOutput added in v7.1.0

func (o HostingCustomDomainIssueOutput) ToHostingCustomDomainIssueOutput() HostingCustomDomainIssueOutput

func (HostingCustomDomainIssueOutput) ToHostingCustomDomainIssueOutputWithContext added in v7.1.0

func (o HostingCustomDomainIssueOutput) ToHostingCustomDomainIssueOutputWithContext(ctx context.Context) HostingCustomDomainIssueOutput

type HostingCustomDomainMap added in v7.1.0

type HostingCustomDomainMap map[string]HostingCustomDomainInput

func (HostingCustomDomainMap) ElementType added in v7.1.0

func (HostingCustomDomainMap) ElementType() reflect.Type

func (HostingCustomDomainMap) ToHostingCustomDomainMapOutput added in v7.1.0

func (i HostingCustomDomainMap) ToHostingCustomDomainMapOutput() HostingCustomDomainMapOutput

func (HostingCustomDomainMap) ToHostingCustomDomainMapOutputWithContext added in v7.1.0

func (i HostingCustomDomainMap) ToHostingCustomDomainMapOutputWithContext(ctx context.Context) HostingCustomDomainMapOutput

type HostingCustomDomainMapInput added in v7.1.0

type HostingCustomDomainMapInput interface {
	pulumi.Input

	ToHostingCustomDomainMapOutput() HostingCustomDomainMapOutput
	ToHostingCustomDomainMapOutputWithContext(context.Context) HostingCustomDomainMapOutput
}

HostingCustomDomainMapInput is an input type that accepts HostingCustomDomainMap and HostingCustomDomainMapOutput values. You can construct a concrete instance of `HostingCustomDomainMapInput` via:

HostingCustomDomainMap{ "key": HostingCustomDomainArgs{...} }

type HostingCustomDomainMapOutput added in v7.1.0

type HostingCustomDomainMapOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainMapOutput) ElementType added in v7.1.0

func (HostingCustomDomainMapOutput) MapIndex added in v7.1.0

func (HostingCustomDomainMapOutput) ToHostingCustomDomainMapOutput added in v7.1.0

func (o HostingCustomDomainMapOutput) ToHostingCustomDomainMapOutput() HostingCustomDomainMapOutput

func (HostingCustomDomainMapOutput) ToHostingCustomDomainMapOutputWithContext added in v7.1.0

func (o HostingCustomDomainMapOutput) ToHostingCustomDomainMapOutputWithContext(ctx context.Context) HostingCustomDomainMapOutput

type HostingCustomDomainOutput added in v7.1.0

type HostingCustomDomainOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainOutput) CertPreference added in v7.1.0

func (o HostingCustomDomainOutput) CertPreference() pulumi.StringOutput

A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan `CustomDomain`s only have access to the `GROUPED` cert type, while Blaze plan can select any option. Possible values are: `GROUPED`, `PROJECT_GROUPED`, `DEDICATED`.

func (HostingCustomDomainOutput) Certs added in v7.1.0

The SSL certificate Hosting has for this `CustomDomain`'s domain name. For new `CustomDomain`s, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the `state` field for more. Structure is documented below.

func (HostingCustomDomainOutput) CreateTime added in v7.1.0

The `CustomDomain`'s create time.

func (HostingCustomDomainOutput) CustomDomain added in v7.1.0

The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting.

***

func (HostingCustomDomainOutput) DeleteTime added in v7.1.0

The time the `CustomDomain` was deleted; null for `CustomDomains` that haven't been deleted. Deleted `CustomDomains` persist for approximately 30 days, after which time Hosting removes them completely.

func (HostingCustomDomainOutput) ElementType added in v7.1.0

func (HostingCustomDomainOutput) ElementType() reflect.Type

func (HostingCustomDomainOutput) Etag added in v7.1.0

A string that represents the current state of the `CustomDomain` and allows you to confirm its initial state in requests that would modify it.

func (HostingCustomDomainOutput) ExpireTime added in v7.1.0

The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for `CustomDomains` that haven't been deleted.

func (HostingCustomDomainOutput) HostState added in v7.1.0

The host state of your domain name. Host state is determined by checking each IP address associated with your domain name to see if it's serving Hosting content. HOST_UNHOSTED: Your `CustomDomain`'s domain name isn't associated with any IP addresses. HOST_UNREACHABLE: Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain`'s `issues` field for more details. HOST_MISMATCH: Your `CustomDomain`'s domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: Your `CustomDomain`'s domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services. HOST_ACTIVE: All requests against your `CustomDomain`'s domain name are served by Hosting. If the `CustomDomain`'s `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting Site's content on the domain name.

func (HostingCustomDomainOutput) Issues added in v7.1.0

A set of errors Hosting systems encountered when trying to establish Hosting's ability to serve secure content for your domain name. Resolve these issues to ensure your `CustomDomain` behaves properly. Structure is documented below.

func (HostingCustomDomainOutput) Name added in v7.1.0

The fully-qualified name of the `CustomDomain`.

func (HostingCustomDomainOutput) OwnershipState added in v7.1.0

func (o HostingCustomDomainOutput) OwnershipState() pulumi.StringOutput

The ownership state of your domain name. Ownership is determined at a Firebase project level, and established by adding `TXT` records to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership of `foo.com` also grants that project ownership over `bar.foo.com`, unless you add specific `TXT` records to `bar.foo.com` that grant a different project ownership. If your `CustomDomain` is in an `OwnershipState` other than `OWNERSHIP_ACTIVE` for more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete the `CustomDomain`. OWNERSHIP_MISSING: Your `CustomDomain`'s domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain`'s `issues` field for more details. OWNERSHIP_MISMATCH: Your `CustomDomain`'s domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: Your `CustomDomain`'s domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: Your `CustomDomain`'s DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours. OWNERSHIP_ACTIVE: Your `CustomDomain`'s domain name has `TXT` records that grant its project permission to act on its behalf.

func (HostingCustomDomainOutput) Project added in v7.1.0

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

func (HostingCustomDomainOutput) Reconciling added in v7.1.0

if true, indicates that Hosting's systems are attmepting to make the `CustomDomain`'s state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` or when creating a new SSL certificate to match an updated `certPreference`

func (HostingCustomDomainOutput) RedirectTarget added in v7.1.0

A domain name that this CustomDomain should direct traffic towards. If specified, Hosting will respond to requests against this CustomDomain with an HTTP 301 code, and route traffic to the specified `redirectTarget` instead.

func (HostingCustomDomainOutput) RequiredDnsUpdates added in v7.1.0

A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.

func (HostingCustomDomainOutput) SiteId added in v7.1.0

The ID of the site in which to create this custom domain association.

func (HostingCustomDomainOutput) ToHostingCustomDomainOutput added in v7.1.0

func (o HostingCustomDomainOutput) ToHostingCustomDomainOutput() HostingCustomDomainOutput

func (HostingCustomDomainOutput) ToHostingCustomDomainOutputWithContext added in v7.1.0

func (o HostingCustomDomainOutput) ToHostingCustomDomainOutputWithContext(ctx context.Context) HostingCustomDomainOutput

func (HostingCustomDomainOutput) UpdateTime added in v7.1.0

The last time the `CustomDomain` was updated.

func (HostingCustomDomainOutput) WaitDnsVerification added in v7.1.0

func (o HostingCustomDomainOutput) WaitDnsVerification() pulumi.BoolPtrOutput

If true, Terraform will wait for DNS records to be fully resolved on the 'CustomDomain'. If false, Terraform will not wait for DNS records on the 'CustomDomain'. Any issues in the 'CustomDomain' will be returned and stored in the Terraform state.

type HostingCustomDomainRequiredDnsUpdate added in v7.1.0

type HostingCustomDomainRequiredDnsUpdate struct {
	// (Output)
	// The last time Hosting checked your CustomDomain's DNS records.
	CheckTime *string `pulumi:"checkTime"`
	// A text string to serve at the path.
	Desireds []HostingCustomDomainRequiredDnsUpdateDesired `pulumi:"desireds"`
	// Whether Hosting was able to find the required file contents on the
	// specified path during its last check.
	Discovereds []HostingCustomDomainRequiredDnsUpdateDiscovered `pulumi:"discovereds"`
}

type HostingCustomDomainRequiredDnsUpdateArgs added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateArgs struct {
	// (Output)
	// The last time Hosting checked your CustomDomain's DNS records.
	CheckTime pulumi.StringPtrInput `pulumi:"checkTime"`
	// A text string to serve at the path.
	Desireds HostingCustomDomainRequiredDnsUpdateDesiredArrayInput `pulumi:"desireds"`
	// Whether Hosting was able to find the required file contents on the
	// specified path during its last check.
	Discovereds HostingCustomDomainRequiredDnsUpdateDiscoveredArrayInput `pulumi:"discovereds"`
}

func (HostingCustomDomainRequiredDnsUpdateArgs) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateArgs) ToHostingCustomDomainRequiredDnsUpdateOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateArgs) ToHostingCustomDomainRequiredDnsUpdateOutput() HostingCustomDomainRequiredDnsUpdateOutput

func (HostingCustomDomainRequiredDnsUpdateArgs) ToHostingCustomDomainRequiredDnsUpdateOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateArgs) ToHostingCustomDomainRequiredDnsUpdateOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateOutput

type HostingCustomDomainRequiredDnsUpdateArray added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateArray []HostingCustomDomainRequiredDnsUpdateInput

func (HostingCustomDomainRequiredDnsUpdateArray) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateArray) ToHostingCustomDomainRequiredDnsUpdateArrayOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateArray) ToHostingCustomDomainRequiredDnsUpdateArrayOutput() HostingCustomDomainRequiredDnsUpdateArrayOutput

func (HostingCustomDomainRequiredDnsUpdateArray) ToHostingCustomDomainRequiredDnsUpdateArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateArray) ToHostingCustomDomainRequiredDnsUpdateArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateArrayOutput

type HostingCustomDomainRequiredDnsUpdateArrayInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateArrayOutput() HostingCustomDomainRequiredDnsUpdateArrayOutput
	ToHostingCustomDomainRequiredDnsUpdateArrayOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateArrayOutput
}

HostingCustomDomainRequiredDnsUpdateArrayInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateArray and HostingCustomDomainRequiredDnsUpdateArrayOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateArrayInput` via:

HostingCustomDomainRequiredDnsUpdateArray{ HostingCustomDomainRequiredDnsUpdateArgs{...} }

type HostingCustomDomainRequiredDnsUpdateArrayOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateArrayOutput) Index added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateArrayOutput) ToHostingCustomDomainRequiredDnsUpdateArrayOutput added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateArrayOutput) ToHostingCustomDomainRequiredDnsUpdateArrayOutput() HostingCustomDomainRequiredDnsUpdateArrayOutput

func (HostingCustomDomainRequiredDnsUpdateArrayOutput) ToHostingCustomDomainRequiredDnsUpdateArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateArrayOutput) ToHostingCustomDomainRequiredDnsUpdateArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateArrayOutput

type HostingCustomDomainRequiredDnsUpdateDesired added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesired struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName *string `pulumi:"domainName"`
	// Records on the domain
	// Structure is documented below.
	Records []HostingCustomDomainRequiredDnsUpdateDesiredRecord `pulumi:"records"`
}

type HostingCustomDomainRequiredDnsUpdateDesiredArgs added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredArgs struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// Records on the domain
	// Structure is documented below.
	Records HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayInput `pulumi:"records"`
}

func (HostingCustomDomainRequiredDnsUpdateDesiredArgs) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredArgs) ToHostingCustomDomainRequiredDnsUpdateDesiredOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDesiredArgs) ToHostingCustomDomainRequiredDnsUpdateDesiredOutput() HostingCustomDomainRequiredDnsUpdateDesiredOutput

func (HostingCustomDomainRequiredDnsUpdateDesiredArgs) ToHostingCustomDomainRequiredDnsUpdateDesiredOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDesiredArgs) ToHostingCustomDomainRequiredDnsUpdateDesiredOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDesiredOutput

type HostingCustomDomainRequiredDnsUpdateDesiredArray added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredArray []HostingCustomDomainRequiredDnsUpdateDesiredInput

func (HostingCustomDomainRequiredDnsUpdateDesiredArray) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredArray) ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDesiredArray) ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutput() HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput

func (HostingCustomDomainRequiredDnsUpdateDesiredArray) ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDesiredArray) ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput

type HostingCustomDomainRequiredDnsUpdateDesiredArrayInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutput() HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput
	ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput
}

HostingCustomDomainRequiredDnsUpdateDesiredArrayInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateDesiredArray and HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateDesiredArrayInput` via:

HostingCustomDomainRequiredDnsUpdateDesiredArray{ HostingCustomDomainRequiredDnsUpdateDesiredArgs{...} }

type HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput) Index added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutput added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDesiredArrayOutput

type HostingCustomDomainRequiredDnsUpdateDesiredInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateDesiredOutput() HostingCustomDomainRequiredDnsUpdateDesiredOutput
	ToHostingCustomDomainRequiredDnsUpdateDesiredOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateDesiredOutput
}

HostingCustomDomainRequiredDnsUpdateDesiredInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateDesiredArgs and HostingCustomDomainRequiredDnsUpdateDesiredOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateDesiredInput` via:

HostingCustomDomainRequiredDnsUpdateDesiredArgs{...}

type HostingCustomDomainRequiredDnsUpdateDesiredOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateDesiredOutput) DomainName added in v7.1.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (HostingCustomDomainRequiredDnsUpdateDesiredOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredOutput) Records added in v7.1.0

Records on the domain Structure is documented below.

func (HostingCustomDomainRequiredDnsUpdateDesiredOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredOutput added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDesiredOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredOutput() HostingCustomDomainRequiredDnsUpdateDesiredOutput

func (HostingCustomDomainRequiredDnsUpdateDesiredOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDesiredOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDesiredOutput

type HostingCustomDomainRequiredDnsUpdateDesiredRecord added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredRecord struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName *string `pulumi:"domainName"`
	// The data of the record. The meaning of the value depends on record type:
	// - A and AAAA: IP addresses for the domain name.
	// - CNAME: Another domain to check for records.
	// - TXT: Arbitrary text strings associated with the domain name. Hosting
	//   uses TXT records to determine a which Firebase Projects have
	//   permission to act on the domain name's behalf.
	// - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.
	Rdata *string `pulumi:"rdata"`
	// Indicates the a required action for this record.
	RequiredAction *string `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type *string `pulumi:"type"`
}

type HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// The data of the record. The meaning of the value depends on record type:
	// - A and AAAA: IP addresses for the domain name.
	// - CNAME: Another domain to check for records.
	// - TXT: Arbitrary text strings associated with the domain name. Hosting
	//   uses TXT records to determine a which Firebase Projects have
	//   permission to act on the domain name's behalf.
	// - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.
	Rdata pulumi.StringPtrInput `pulumi:"rdata"`
	// Indicates the a required action for this record.
	RequiredAction pulumi.StringPtrInput `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutput() HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput

type HostingCustomDomainRequiredDnsUpdateDesiredRecordArray added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredRecordArray []HostingCustomDomainRequiredDnsUpdateDesiredRecordInput

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArray) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArray) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDesiredRecordArray) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput() HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArray) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDesiredRecordArray) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput

type HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput() HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput
	ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput
}

HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateDesiredRecordArray and HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayInput` via:

HostingCustomDomainRequiredDnsUpdateDesiredRecordArray{ HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs{...} }

type HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput) Index added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDesiredRecordArrayOutput

type HostingCustomDomainRequiredDnsUpdateDesiredRecordInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredRecordInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutput() HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput
	ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput
}

HostingCustomDomainRequiredDnsUpdateDesiredRecordInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs and HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateDesiredRecordInput` via:

HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs{...}

type HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput) DomainName added in v7.1.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput) Rdata added in v7.1.0

The data of the record. The meaning of the value depends on record type:

  • A and AAAA: IP addresses for the domain name.
  • CNAME: Another domain to check for records.
  • TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
  • CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput) RequiredAction added in v7.1.0

Indicates the a required action for this record.

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutput added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput) ToHostingCustomDomainRequiredDnsUpdateDesiredRecordOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput

func (HostingCustomDomainRequiredDnsUpdateDesiredRecordOutput) Type added in v7.1.0

The record's type, which determines what data the record contains.

type HostingCustomDomainRequiredDnsUpdateDiscovered added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscovered struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName *string `pulumi:"domainName"`
	// Records on the domain
	// Structure is documented below.
	Records []HostingCustomDomainRequiredDnsUpdateDiscoveredRecord `pulumi:"records"`
}

type HostingCustomDomainRequiredDnsUpdateDiscoveredArgs added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredArgs struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// Records on the domain
	// Structure is documented below.
	Records HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayInput `pulumi:"records"`
}

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArgs) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArgs) ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDiscoveredArgs) ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutput() HostingCustomDomainRequiredDnsUpdateDiscoveredOutput

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArgs) ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDiscoveredArgs) ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredOutput

type HostingCustomDomainRequiredDnsUpdateDiscoveredArray added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredArray []HostingCustomDomainRequiredDnsUpdateDiscoveredInput

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArray) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArray) ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDiscoveredArray) ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput() HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArray) ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDiscoveredArray) ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput

type HostingCustomDomainRequiredDnsUpdateDiscoveredArrayInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput() HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput
	ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput
}

HostingCustomDomainRequiredDnsUpdateDiscoveredArrayInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateDiscoveredArray and HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateDiscoveredArrayInput` via:

HostingCustomDomainRequiredDnsUpdateDiscoveredArray{ HostingCustomDomainRequiredDnsUpdateDiscoveredArgs{...} }

type HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput) Index added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredArrayOutput

type HostingCustomDomainRequiredDnsUpdateDiscoveredInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutput() HostingCustomDomainRequiredDnsUpdateDiscoveredOutput
	ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredOutput
}

HostingCustomDomainRequiredDnsUpdateDiscoveredInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateDiscoveredArgs and HostingCustomDomainRequiredDnsUpdateDiscoveredOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateDiscoveredInput` via:

HostingCustomDomainRequiredDnsUpdateDiscoveredArgs{...}

type HostingCustomDomainRequiredDnsUpdateDiscoveredOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateDiscoveredOutput) DomainName added in v7.1.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (HostingCustomDomainRequiredDnsUpdateDiscoveredOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredOutput) Records added in v7.1.0

Records on the domain Structure is documented below.

func (HostingCustomDomainRequiredDnsUpdateDiscoveredOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutput added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDiscoveredOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredOutput

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecord added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecord struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName *string `pulumi:"domainName"`
	// The data of the record. The meaning of the value depends on record type:
	// - A and AAAA: IP addresses for the domain name.
	// - CNAME: Another domain to check for records.
	// - TXT: Arbitrary text strings associated with the domain name. Hosting
	//   uses TXT records to determine a which Firebase Projects have
	//   permission to act on the domain name's behalf.
	// - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.
	Rdata *string `pulumi:"rdata"`
	// Indicates the a required action for this record.
	RequiredAction *string `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type *string `pulumi:"type"`
}

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// The data of the record. The meaning of the value depends on record type:
	// - A and AAAA: IP addresses for the domain name.
	// - CNAME: Another domain to check for records.
	// - TXT: Arbitrary text strings associated with the domain name. Hosting
	//   uses TXT records to determine a which Firebase Projects have
	//   permission to act on the domain name's behalf.
	// - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.
	Rdata pulumi.StringPtrInput `pulumi:"rdata"`
	// Indicates the a required action for this record.
	RequiredAction pulumi.StringPtrInput `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray []HostingCustomDomainRequiredDnsUpdateDiscoveredRecordInput

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput() HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutputWithContext added in v7.1.0

func (i HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput() HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput
	ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput
}

HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray and HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayInput` via:

HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArray{ HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs{...} }

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput) Index added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArrayOutput

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput() HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput
	ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput
}

HostingCustomDomainRequiredDnsUpdateDiscoveredRecordInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs and HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateDiscoveredRecordInput` via:

HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs{...}

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput) DomainName added in v7.1.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput) Rdata added in v7.1.0

The data of the record. The meaning of the value depends on record type:

  • A and AAAA: IP addresses for the domain name.
  • CNAME: Another domain to check for records.
  • TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
  • CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`.

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput) RequiredAction added in v7.1.0

Indicates the a required action for this record.

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput) ToHostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput

func (HostingCustomDomainRequiredDnsUpdateDiscoveredRecordOutput) Type added in v7.1.0

The record's type, which determines what data the record contains.

type HostingCustomDomainRequiredDnsUpdateInput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateInput interface {
	pulumi.Input

	ToHostingCustomDomainRequiredDnsUpdateOutput() HostingCustomDomainRequiredDnsUpdateOutput
	ToHostingCustomDomainRequiredDnsUpdateOutputWithContext(context.Context) HostingCustomDomainRequiredDnsUpdateOutput
}

HostingCustomDomainRequiredDnsUpdateInput is an input type that accepts HostingCustomDomainRequiredDnsUpdateArgs and HostingCustomDomainRequiredDnsUpdateOutput values. You can construct a concrete instance of `HostingCustomDomainRequiredDnsUpdateInput` via:

HostingCustomDomainRequiredDnsUpdateArgs{...}

type HostingCustomDomainRequiredDnsUpdateOutput added in v7.1.0

type HostingCustomDomainRequiredDnsUpdateOutput struct{ *pulumi.OutputState }

func (HostingCustomDomainRequiredDnsUpdateOutput) CheckTime added in v7.1.0

(Output) The last time Hosting checked your CustomDomain's DNS records.

func (HostingCustomDomainRequiredDnsUpdateOutput) Desireds added in v7.1.0

A text string to serve at the path.

func (HostingCustomDomainRequiredDnsUpdateOutput) Discovereds added in v7.1.0

Whether Hosting was able to find the required file contents on the specified path during its last check.

func (HostingCustomDomainRequiredDnsUpdateOutput) ElementType added in v7.1.0

func (HostingCustomDomainRequiredDnsUpdateOutput) ToHostingCustomDomainRequiredDnsUpdateOutput added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateOutput) ToHostingCustomDomainRequiredDnsUpdateOutput() HostingCustomDomainRequiredDnsUpdateOutput

func (HostingCustomDomainRequiredDnsUpdateOutput) ToHostingCustomDomainRequiredDnsUpdateOutputWithContext added in v7.1.0

func (o HostingCustomDomainRequiredDnsUpdateOutput) ToHostingCustomDomainRequiredDnsUpdateOutputWithContext(ctx context.Context) HostingCustomDomainRequiredDnsUpdateOutput

type HostingCustomDomainState added in v7.1.0

type HostingCustomDomainState struct {
	// A field that lets you specify which SSL certificate type Hosting creates
	// for your domain name. Spark plan `CustomDomain`s only have access to the
	// `GROUPED` cert type, while Blaze plan can select any option.
	// Possible values are: `GROUPED`, `PROJECT_GROUPED`, `DEDICATED`.
	CertPreference pulumi.StringPtrInput
	// The SSL certificate Hosting has for this `CustomDomain`'s domain name.
	// For new `CustomDomain`s, this often represents Hosting's intent to create
	// a certificate, rather than an actual cert. Check the `state` field for
	// more.
	// Structure is documented below.
	Certs HostingCustomDomainCertArrayInput
	// The `CustomDomain`'s create time.
	CreateTime pulumi.StringPtrInput
	// The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting.
	//
	// ***
	CustomDomain pulumi.StringPtrInput
	// The time the `CustomDomain` was deleted; null for `CustomDomains` that
	// haven't been deleted. Deleted `CustomDomains` persist for approximately 30
	// days, after which time Hosting removes them completely.
	DeleteTime pulumi.StringPtrInput
	// A string that represents the current state of the `CustomDomain` and
	// allows you to confirm its initial state in requests that would modify it.
	Etag pulumi.StringPtrInput
	// The minimum time before a soft-deleted `CustomDomain` is completely removed
	// from Hosting; null for `CustomDomains` that haven't been deleted.
	ExpireTime pulumi.StringPtrInput
	// The host state of your domain name. Host state is determined by checking each
	// IP address associated with your domain name to see if it's serving
	// Hosting content.
	// HOST_UNHOSTED:
	// Your `CustomDomain`'s domain name isn't associated with any IP addresses.
	// HOST_UNREACHABLE:
	// Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS
	// queries to find your domain name's IP addresses resulted in errors. See
	// your `CustomDomain`'s `issues` field for more details.
	// HOST_MISMATCH:
	// Your `CustomDomain`'s domain name has IP addresses that don't ultimately
	// resolve to Hosting.
	// HOST_CONFLICT:
	// Your `CustomDomain`'s domain name has IP addresses that resolve to both
	// Hosting and other services. To ensure consistent results, remove `A` and
	// `AAAA` records related to non-Hosting services.
	// HOST_ACTIVE:
	// All requests against your `CustomDomain`'s domain name are served by
	// Hosting. If the `CustomDomain`'s `OwnershipState` is also `ACTIVE`, Hosting
	// serves your Hosting Site's content on the domain name.
	HostState pulumi.StringPtrInput
	// A set of errors Hosting systems encountered when trying to establish
	// Hosting's ability to serve secure content for your domain name. Resolve
	// these issues to ensure your `CustomDomain` behaves properly.
	// Structure is documented below.
	Issues HostingCustomDomainIssueArrayInput
	// The fully-qualified name of the `CustomDomain`.
	Name pulumi.StringPtrInput
	// The ownership state of your domain name. Ownership is determined at a
	// Firebase project level, and established by adding `TXT` records to your
	// domain name's DNS records.
	// Ownership cascades to subdomains. Granting a project ownership of `foo.com`
	// also grants that project ownership over `bar.foo.com`, unless you add
	// specific `TXT` records to `bar.foo.com` that grant a different project
	// ownership.
	// If your `CustomDomain` is in an `OwnershipState` other than
	// `OWNERSHIP_ACTIVE` for more than 30 days and it hasn't been updated in at
	// least 30 days, Hosting's ownership systems delete the `CustomDomain`.
	// OWNERSHIP_MISSING:
	// Your `CustomDomain`'s domain name has no Hosting-related ownership records;
	// no Firebase project has permission to act on the domain name's behalf.
	// OWNERSHIP_UNREACHABLE:
	// Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS
	// queries to find your domain name's ownership records resulted in errors.
	// See your `CustomDomain`'s `issues` field for more details.
	// OWNERSHIP_MISMATCH:
	// Your `CustomDomain`'s domain name is owned by another Firebase project.
	// Remove the conflicting `TXT` records and replace them with project-specific
	// records for your current Firebase project.
	// OWNERSHIP_CONFLICT:
	// Your `CustomDomain`'s domain name has conflicting `TXT` records that
	// indicate ownership by both your current Firebase project and another
	// project. Remove the other project's ownership records to grant the current
	// project ownership.
	// OWNERSHIP_PENDING:
	// Your `CustomDomain`'s DNS records are configured correctly. Hosting will
	// transfer ownership of your domain to this `CustomDomain` within 24 hours.
	// OWNERSHIP_ACTIVE:
	// Your `CustomDomain`'s domain name has `TXT` records that grant its project
	// permission to act on its behalf.
	OwnershipState 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
	// if true, indicates that Hosting's systems are attmepting to
	// make the `CustomDomain`'s state match your preferred state. This is most
	// frequently `true` when initially provisioning a `CustomDomain` or when creating
	// a new SSL certificate to match an updated `certPreference`
	Reconciling pulumi.BoolPtrInput
	// A domain name that this CustomDomain should direct traffic towards. If
	// specified, Hosting will respond to requests against this CustomDomain
	// with an HTTP 301 code, and route traffic to the specified `redirectTarget`
	// instead.
	RedirectTarget pulumi.StringPtrInput
	// A set of updates you should make to the domain name's DNS records to
	// let Hosting serve secure content on its behalf.
	// Structure is documented below.
	RequiredDnsUpdates HostingCustomDomainRequiredDnsUpdateArrayInput
	// The ID of the site in which to create this custom domain association.
	SiteId pulumi.StringPtrInput
	// The last time the `CustomDomain` was updated.
	UpdateTime pulumi.StringPtrInput
	// If true, Terraform will wait for DNS records to be fully resolved on the 'CustomDomain'. If false, Terraform will not
	// wait for DNS records on the 'CustomDomain'. Any issues in the 'CustomDomain' will be returned and stored in the
	// Terraform state.
	WaitDnsVerification pulumi.BoolPtrInput
}

func (HostingCustomDomainState) ElementType added in v7.1.0

func (HostingCustomDomainState) ElementType() reflect.Type

type HostingRelease

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

``` ### Firebasehosting Release In Channel

```go package main

import (

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

``` ### Firebasehosting Release Disable

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/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-id"),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "default", &firebase.HostingReleaseArgs{
			SiteId:  _default.SiteId,
			Type:    pulumi.String("SITE_DISABLE"),
			Message: pulumi.String("Take down site"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Release can be imported using any of these accepted formats:

* `sites/{{site_id}}/channels/{{channel_id}}/releases/{{release_id}}`

* `sites/{{site_id}}/releases/{{release_id}}`

* `{{site_id}}/{{channel_id}}/{{release_id}}`

* `{{site_id}}/{{release_id}}`

When using the `pulumi import` command, Release can be imported using one of the formats above. For example:

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

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

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

func (*HostingRelease) ElementType() reflect.Type

func (*HostingRelease) ToHostingReleaseOutput

func (i *HostingRelease) ToHostingReleaseOutput() HostingReleaseOutput

func (*HostingRelease) ToHostingReleaseOutputWithContext

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

type HostingReleaseArgs

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

func (HostingReleaseArgs) ElementType() reflect.Type

type HostingReleaseArray

type HostingReleaseArray []HostingReleaseInput

func (HostingReleaseArray) ElementType

func (HostingReleaseArray) ElementType() reflect.Type

func (HostingReleaseArray) ToHostingReleaseArrayOutput

func (i HostingReleaseArray) ToHostingReleaseArrayOutput() HostingReleaseArrayOutput

func (HostingReleaseArray) ToHostingReleaseArrayOutputWithContext

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

type HostingReleaseArrayInput

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

type HostingReleaseArrayOutput struct{ *pulumi.OutputState }

func (HostingReleaseArrayOutput) ElementType

func (HostingReleaseArrayOutput) ElementType() reflect.Type

func (HostingReleaseArrayOutput) Index

func (HostingReleaseArrayOutput) ToHostingReleaseArrayOutput

func (o HostingReleaseArrayOutput) ToHostingReleaseArrayOutput() HostingReleaseArrayOutput

func (HostingReleaseArrayOutput) ToHostingReleaseArrayOutputWithContext

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

type HostingReleaseInput

type HostingReleaseInput interface {
	pulumi.Input

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

type HostingReleaseMap

type HostingReleaseMap map[string]HostingReleaseInput

func (HostingReleaseMap) ElementType

func (HostingReleaseMap) ElementType() reflect.Type

func (HostingReleaseMap) ToHostingReleaseMapOutput

func (i HostingReleaseMap) ToHostingReleaseMapOutput() HostingReleaseMapOutput

func (HostingReleaseMap) ToHostingReleaseMapOutputWithContext

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

type HostingReleaseMapInput

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

type HostingReleaseMapOutput struct{ *pulumi.OutputState }

func (HostingReleaseMapOutput) ElementType

func (HostingReleaseMapOutput) ElementType() reflect.Type

func (HostingReleaseMapOutput) MapIndex

func (HostingReleaseMapOutput) ToHostingReleaseMapOutput

func (o HostingReleaseMapOutput) ToHostingReleaseMapOutput() HostingReleaseMapOutput

func (HostingReleaseMapOutput) ToHostingReleaseMapOutputWithContext

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

type HostingReleaseOutput

type HostingReleaseOutput struct{ *pulumi.OutputState }

func (HostingReleaseOutput) ChannelId

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

func (HostingReleaseOutput) ElementType() reflect.Type

func (HostingReleaseOutput) Message

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

func (HostingReleaseOutput) Name

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

The unique identifier for the Release.

func (HostingReleaseOutput) SiteId

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

***

func (HostingReleaseOutput) ToHostingReleaseOutput

func (o HostingReleaseOutput) ToHostingReleaseOutput() HostingReleaseOutput

func (HostingReleaseOutput) ToHostingReleaseOutputWithContext

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

func (HostingReleaseOutput) Type

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

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

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

func (HostingReleaseState) ElementType() reflect.Type

type HostingSite

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/v7/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"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Site Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/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"),
		})
		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,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Site can be imported using any of these accepted formats:

* `projects/{{project}}/sites/{{site_id}}`

* `{{project}}/{{site_id}}`

* `sites/{{site_id}}`

* `{{site_id}}`

When using the `pulumi import` command, Site can be imported using one of the formats above. For example:

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

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

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

func (*HostingSite) ElementType() reflect.Type

func (*HostingSite) ToHostingSiteOutput

func (i *HostingSite) ToHostingSiteOutput() HostingSiteOutput

func (*HostingSite) ToHostingSiteOutputWithContext

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

type HostingSiteArgs

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

func (HostingSiteArgs) ElementType() reflect.Type

type HostingSiteArray

type HostingSiteArray []HostingSiteInput

func (HostingSiteArray) ElementType

func (HostingSiteArray) ElementType() reflect.Type

func (HostingSiteArray) ToHostingSiteArrayOutput

func (i HostingSiteArray) ToHostingSiteArrayOutput() HostingSiteArrayOutput

func (HostingSiteArray) ToHostingSiteArrayOutputWithContext

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

type HostingSiteArrayInput

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

type HostingSiteArrayOutput struct{ *pulumi.OutputState }

func (HostingSiteArrayOutput) ElementType

func (HostingSiteArrayOutput) ElementType() reflect.Type

func (HostingSiteArrayOutput) Index

func (HostingSiteArrayOutput) ToHostingSiteArrayOutput

func (o HostingSiteArrayOutput) ToHostingSiteArrayOutput() HostingSiteArrayOutput

func (HostingSiteArrayOutput) ToHostingSiteArrayOutputWithContext

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

type HostingSiteInput

type HostingSiteInput interface {
	pulumi.Input

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

type HostingSiteMap

type HostingSiteMap map[string]HostingSiteInput

func (HostingSiteMap) ElementType

func (HostingSiteMap) ElementType() reflect.Type

func (HostingSiteMap) ToHostingSiteMapOutput

func (i HostingSiteMap) ToHostingSiteMapOutput() HostingSiteMapOutput

func (HostingSiteMap) ToHostingSiteMapOutputWithContext

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

type HostingSiteMapInput

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

type HostingSiteMapOutput struct{ *pulumi.OutputState }

func (HostingSiteMapOutput) ElementType

func (HostingSiteMapOutput) ElementType() reflect.Type

func (HostingSiteMapOutput) MapIndex

func (HostingSiteMapOutput) ToHostingSiteMapOutput

func (o HostingSiteMapOutput) ToHostingSiteMapOutput() HostingSiteMapOutput

func (HostingSiteMapOutput) ToHostingSiteMapOutputWithContext

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

type HostingSiteOutput

type HostingSiteOutput struct{ *pulumi.OutputState }

func (HostingSiteOutput) AppId

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

func (o HostingSiteOutput) DefaultUrl() pulumi.StringOutput

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

func (HostingSiteOutput) ElementType

func (HostingSiteOutput) ElementType() reflect.Type

func (HostingSiteOutput) Name

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

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

func (HostingSiteOutput) SiteId

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

func (o HostingSiteOutput) ToHostingSiteOutput() HostingSiteOutput

func (HostingSiteOutput) ToHostingSiteOutputWithContext

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

type HostingSiteState

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

func (HostingSiteState) ElementType() reflect.Type

type HostingVersion

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

``` ### Firebasehosting Version Cloud Run

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v7/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-id"),
		})
		if err != nil {
			return err
		}
		defaultService, err := cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Project:  pulumi.String("my-project-name"),
			Name:     pulumi.String("cloud-run-service-via-hosting"),
			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"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "default", &firebase.HostingVersionArgs{
			SiteId: _default.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Rewrites: firebase.HostingVersionConfigRewriteArray{
					&firebase.HostingVersionConfigRewriteArgs{
						Glob: pulumi.String("/hello/**"),
						Run: &firebase.HostingVersionConfigRewriteRunArgs{
							ServiceId: defaultService.Name,
							Region:    defaultService.Location,
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "default", &firebase.HostingReleaseArgs{
			SiteId:      _default.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Cloud Run Integration"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Version Cloud Functions

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudfunctions"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"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-id"),
		})
		if err != nil {
			return err
		}
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Project:                  pulumi.String("my-project-name"),
			Name:                     pulumi.String("site-id-function-source"),
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Name:   pulumi.String("function-source.zip"),
			Bucket: bucket.Name,
			Source: pulumi.NewFileAsset("function-source.zip"),
		})
		if err != nil {
			return err
		}
		function, err := cloudfunctions.NewFunction(ctx, "function", &cloudfunctions.FunctionArgs{
			Project:             pulumi.String("my-project-name"),
			Name:                pulumi.String("cloud-function-via-hosting"),
			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"),
		})
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "default", &firebase.HostingVersionArgs{
			SiteId: _default.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Rewrites: firebase.HostingVersionConfigRewriteArray{
					&firebase.HostingVersionConfigRewriteArgs{
						Glob:     pulumi.String("/hello/**"),
						Function: function.Name,
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "default", &firebase.HostingReleaseArgs{
			SiteId:      _default.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Cloud Functions Integration"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Version can be imported using any of these accepted formats:

* `sites/{{site_id}}/versions/{{version_id}}`

* `{{site_id}}/{{version_id}}`

When using the `pulumi import` command, Version can be imported using one of the formats above. For example:

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

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

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

func (*HostingVersion) ElementType() reflect.Type

func (*HostingVersion) ToHostingVersionOutput

func (i *HostingVersion) ToHostingVersionOutput() HostingVersionOutput

func (*HostingVersion) ToHostingVersionOutputWithContext

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

type HostingVersionArgs

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

func (HostingVersionArgs) ElementType() reflect.Type

type HostingVersionArray

type HostingVersionArray []HostingVersionInput

func (HostingVersionArray) ElementType

func (HostingVersionArray) ElementType() reflect.Type

func (HostingVersionArray) ToHostingVersionArrayOutput

func (i HostingVersionArray) ToHostingVersionArrayOutput() HostingVersionArrayOutput

func (HostingVersionArray) ToHostingVersionArrayOutputWithContext

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

type HostingVersionArrayInput

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

type HostingVersionArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionArrayOutput) ElementType

func (HostingVersionArrayOutput) ElementType() reflect.Type

func (HostingVersionArrayOutput) Index

func (HostingVersionArrayOutput) ToHostingVersionArrayOutput

func (o HostingVersionArrayOutput) ToHostingVersionArrayOutput() HostingVersionArrayOutput

func (HostingVersionArrayOutput) ToHostingVersionArrayOutputWithContext

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

type HostingVersionConfig

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

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

func (HostingVersionConfigArgs) ElementType() reflect.Type

func (HostingVersionConfigArgs) ToHostingVersionConfigOutput

func (i HostingVersionConfigArgs) ToHostingVersionConfigOutput() HostingVersionConfigOutput

func (HostingVersionConfigArgs) ToHostingVersionConfigOutputWithContext

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

func (HostingVersionConfigArgs) ToHostingVersionConfigPtrOutput

func (i HostingVersionConfigArgs) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigArgs) ToHostingVersionConfigPtrOutputWithContext

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

type HostingVersionConfigInput

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

type HostingVersionConfigOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigOutput) ElementType

func (HostingVersionConfigOutput) ElementType() reflect.Type

func (HostingVersionConfigOutput) Redirects

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

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

func (o HostingVersionConfigOutput) ToHostingVersionConfigOutput() HostingVersionConfigOutput

func (HostingVersionConfigOutput) ToHostingVersionConfigOutputWithContext

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

func (HostingVersionConfigOutput) ToHostingVersionConfigPtrOutput

func (o HostingVersionConfigOutput) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigOutput) ToHostingVersionConfigPtrOutputWithContext

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

type HostingVersionConfigPtrInput

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

type HostingVersionConfigPtrOutput

type HostingVersionConfigPtrOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigPtrOutput) Elem

func (HostingVersionConfigPtrOutput) ElementType

func (HostingVersionConfigPtrOutput) Redirects

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

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

func (o HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutputWithContext

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

type HostingVersionConfigRedirect

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:
	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

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:
	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

func (HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutput

func (i HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutput() HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutputWithContext

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

type HostingVersionConfigRedirectArray

type HostingVersionConfigRedirectArray []HostingVersionConfigRedirectInput

func (HostingVersionConfigRedirectArray) ElementType

func (HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutput

func (i HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutput() HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutputWithContext

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

type HostingVersionConfigRedirectArrayInput

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

type HostingVersionConfigRedirectArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRedirectArrayOutput) ElementType

func (HostingVersionConfigRedirectArrayOutput) Index

func (HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutput

func (o HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutput() HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutputWithContext

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

type HostingVersionConfigRedirectInput

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

type HostingVersionConfigRedirectOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRedirectOutput) ElementType

func (HostingVersionConfigRedirectOutput) Glob

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

func (HostingVersionConfigRedirectOutput) Location

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:

func (HostingVersionConfigRedirectOutput) Regex

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

func (HostingVersionConfigRedirectOutput) StatusCode

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

func (HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutput

func (o HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutput() HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutputWithContext

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

type HostingVersionConfigRewrite

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

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

func (HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutput

func (i HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutput() HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutputWithContext

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

type HostingVersionConfigRewriteArray

type HostingVersionConfigRewriteArray []HostingVersionConfigRewriteInput

func (HostingVersionConfigRewriteArray) ElementType

func (HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutput

func (i HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutput() HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutputWithContext

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

type HostingVersionConfigRewriteArrayInput

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

type HostingVersionConfigRewriteArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteArrayOutput) ElementType

func (HostingVersionConfigRewriteArrayOutput) Index

func (HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutput

func (o HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutput() HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutputWithContext

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

type HostingVersionConfigRewriteInput

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

type HostingVersionConfigRewriteOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteOutput) ElementType

func (HostingVersionConfigRewriteOutput) Function

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

func (HostingVersionConfigRewriteOutput) Glob

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

func (HostingVersionConfigRewriteOutput) Regex

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

func (HostingVersionConfigRewriteOutput) Run

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

func (HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutput

func (o HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutput() HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutputWithContext

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

type HostingVersionConfigRewriteRun

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

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

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutput

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutput() HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutputWithContext

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

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutput

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutputWithContext

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

type HostingVersionConfigRewriteRunInput

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

type HostingVersionConfigRewriteRunOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteRunOutput) ElementType

func (HostingVersionConfigRewriteRunOutput) Region

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

func (HostingVersionConfigRewriteRunOutput) ServiceId

User-defined ID of the Cloud Run service.

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutput

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutput() HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutputWithContext

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

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutput

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext

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

type HostingVersionConfigRewriteRunPtrInput

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

type HostingVersionConfigRewriteRunPtrOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteRunPtrOutput) Elem

func (HostingVersionConfigRewriteRunPtrOutput) ElementType

func (HostingVersionConfigRewriteRunPtrOutput) Region

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

func (HostingVersionConfigRewriteRunPtrOutput) ServiceId

User-defined ID of the Cloud Run service.

func (HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutput

func (o HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext

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

type HostingVersionInput

type HostingVersionInput interface {
	pulumi.Input

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

type HostingVersionMap

type HostingVersionMap map[string]HostingVersionInput

func (HostingVersionMap) ElementType

func (HostingVersionMap) ElementType() reflect.Type

func (HostingVersionMap) ToHostingVersionMapOutput

func (i HostingVersionMap) ToHostingVersionMapOutput() HostingVersionMapOutput

func (HostingVersionMap) ToHostingVersionMapOutputWithContext

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

type HostingVersionMapInput

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

type HostingVersionMapOutput struct{ *pulumi.OutputState }

func (HostingVersionMapOutput) ElementType

func (HostingVersionMapOutput) ElementType() reflect.Type

func (HostingVersionMapOutput) MapIndex

func (HostingVersionMapOutput) ToHostingVersionMapOutput

func (o HostingVersionMapOutput) ToHostingVersionMapOutput() HostingVersionMapOutput

func (HostingVersionMapOutput) ToHostingVersionMapOutputWithContext

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

type HostingVersionOutput

type HostingVersionOutput struct{ *pulumi.OutputState }

func (HostingVersionOutput) Config

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

func (HostingVersionOutput) ElementType

func (HostingVersionOutput) ElementType() reflect.Type

func (HostingVersionOutput) Name

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

func (HostingVersionOutput) SiteId

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

***

func (HostingVersionOutput) ToHostingVersionOutput

func (o HostingVersionOutput) ToHostingVersionOutput() HostingVersionOutput

func (HostingVersionOutput) ToHostingVersionOutputWithContext

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

func (HostingVersionOutput) VersionId

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

type HostingVersionState

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

func (HostingVersionState) ElementType() reflect.Type

type LookupAndroidAppArgs

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

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

func (LookupAndroidAppOutputArgs) ElementType() reflect.Type

type LookupAndroidAppResult

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.

type LookupAndroidAppResultOutput

type LookupAndroidAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAndroidApp.

func (LookupAndroidAppResultOutput) ApiKeyId

func (LookupAndroidAppResultOutput) AppId

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

func (LookupAndroidAppResultOutput) DisplayName

The user-assigned display name of the AndroidApp.

func (LookupAndroidAppResultOutput) ElementType

func (LookupAndroidAppResultOutput) Etag

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

The provider-assigned unique ID for this managed resource.

func (LookupAndroidAppResultOutput) Name

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

func (LookupAndroidAppResultOutput) PackageName

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

func (LookupAndroidAppResultOutput) Project

func (LookupAndroidAppResultOutput) Sha1Hashes

The SHA1 certificate hashes for the AndroidApp.

func (LookupAndroidAppResultOutput) Sha256Hashes

The SHA256 certificate hashes for the AndroidApp.

func (LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput

func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput() LookupAndroidAppResultOutput

func (LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext

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

type LookupAppleAppArgs

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

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

func (LookupAppleAppOutputArgs) ElementType() reflect.Type

type LookupAppleAppResult

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

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

type LookupAppleAppResultOutput

type LookupAppleAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppleApp.

func (LookupAppleAppResultOutput) ApiKeyId

func (LookupAppleAppResultOutput) 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 (LookupAppleAppResultOutput) AppStoreId

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

func (LookupAppleAppResultOutput) BundleId

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

func (LookupAppleAppResultOutput) DeletionPolicy

func (o LookupAppleAppResultOutput) DeletionPolicy() pulumi.StringOutput

func (LookupAppleAppResultOutput) DisplayName

The user-assigned display name of the App.

func (LookupAppleAppResultOutput) ElementType

func (LookupAppleAppResultOutput) ElementType() reflect.Type

func (LookupAppleAppResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAppleAppResultOutput) Name

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

func (LookupAppleAppResultOutput) Project

func (LookupAppleAppResultOutput) TeamId

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

func (LookupAppleAppResultOutput) ToLookupAppleAppResultOutput

func (o LookupAppleAppResultOutput) ToLookupAppleAppResultOutput() LookupAppleAppResultOutput

func (LookupAppleAppResultOutput) ToLookupAppleAppResultOutputWithContext

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

type LookupHostingChannelArgs

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

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

type LookupHostingChannelResult

type LookupHostingChannelResult struct {
	ChannelId       string            `pulumi:"channelId"`
	EffectiveLabels map[string]string `pulumi:"effectiveLabels"`
	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"`
	PulumiLabels         map[string]string `pulumi:"pulumiLabels"`
	RetainedReleaseCount int               `pulumi:"retainedReleaseCount"`
	SiteId               string            `pulumi:"siteId"`
	Ttl                  string            `pulumi:"ttl"`
}

A collection of values returned by getHostingChannel.

type LookupHostingChannelResultOutput

type LookupHostingChannelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHostingChannel.

func (LookupHostingChannelResultOutput) ChannelId

func (LookupHostingChannelResultOutput) EffectiveLabels

func (LookupHostingChannelResultOutput) ElementType

func (LookupHostingChannelResultOutput) ExpireTime

func (LookupHostingChannelResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupHostingChannelResultOutput) Labels

func (LookupHostingChannelResultOutput) Name

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

func (LookupHostingChannelResultOutput) PulumiLabels

func (LookupHostingChannelResultOutput) RetainedReleaseCount

func (o LookupHostingChannelResultOutput) RetainedReleaseCount() pulumi.IntOutput

func (LookupHostingChannelResultOutput) SiteId

func (LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutput

func (o LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutput() LookupHostingChannelResultOutput

func (LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutputWithContext

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

func (LookupHostingChannelResultOutput) Ttl

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

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

func (LookupWebAppResultOutput) DeletionPolicy

func (o LookupWebAppResultOutput) DeletionPolicy() pulumi.StringOutput

func (LookupWebAppResultOutput) DisplayName

func (LookupWebAppResultOutput) ElementType

func (LookupWebAppResultOutput) ElementType() reflect.Type

func (LookupWebAppResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupWebAppResultOutput) Name

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

func (LookupWebAppResultOutput) Project

func (LookupWebAppResultOutput) ToLookupWebAppResultOutput

func (o LookupWebAppResultOutput) ToLookupWebAppResultOutput() LookupWebAppResultOutput

func (LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext

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

type Project

type Project struct {
	pulumi.CustomResourceState

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

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/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := organizations.NewProject(ctx, "default", &organizations.ProjectArgs{
			ProjectId: pulumi.String("my-project"),
			Name:      pulumi.String("my-project"),
			OrgId:     pulumi.String("123456789"),
			Labels: pulumi.StringMap{
				"firebase": pulumi.String("enabled"),
			},
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewProject(ctx, "default", &firebase.ProjectArgs{
			Project: _default.ProjectId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Project can be imported using any of these accepted formats:

* `projects/{{project}}`

* `{{project}}`

When using the `pulumi import` command, Project can be imported using one of the formats above. For example:

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

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

func GetProject

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

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

func NewProject

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

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

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

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

type ProjectArgs

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

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

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

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

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

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

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

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

type ProjectInput

type ProjectInput interface {
	pulumi.Input

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

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

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

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

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

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

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

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

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

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) DisplayName

func (o ProjectOutput) DisplayName() pulumi.StringOutput

The GCP project display name

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Project

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

func (o ProjectOutput) ProjectNumber() pulumi.StringOutput

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

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

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

type ProjectState

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

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type StorageBucket

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/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

Bucket can be imported using any of these accepted formats:

* `projects/{{project}}/buckets/{{bucket_id}}`

* `{{project}}/{{bucket_id}}`

* `{{bucket_id}}`

When using the `pulumi import` command, Bucket can be imported using one of the formats above. For example:

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

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

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

func (*StorageBucket) ElementType() reflect.Type

func (*StorageBucket) ToStorageBucketOutput

func (i *StorageBucket) ToStorageBucketOutput() StorageBucketOutput

func (*StorageBucket) ToStorageBucketOutputWithContext

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

type StorageBucketArgs

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

func (StorageBucketArgs) ElementType() reflect.Type

type StorageBucketArray

type StorageBucketArray []StorageBucketInput

func (StorageBucketArray) ElementType

func (StorageBucketArray) ElementType() reflect.Type

func (StorageBucketArray) ToStorageBucketArrayOutput

func (i StorageBucketArray) ToStorageBucketArrayOutput() StorageBucketArrayOutput

func (StorageBucketArray) ToStorageBucketArrayOutputWithContext

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

type StorageBucketArrayInput

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

type StorageBucketArrayOutput struct{ *pulumi.OutputState }

func (StorageBucketArrayOutput) ElementType

func (StorageBucketArrayOutput) ElementType() reflect.Type

func (StorageBucketArrayOutput) Index

func (StorageBucketArrayOutput) ToStorageBucketArrayOutput

func (o StorageBucketArrayOutput) ToStorageBucketArrayOutput() StorageBucketArrayOutput

func (StorageBucketArrayOutput) ToStorageBucketArrayOutputWithContext

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

type StorageBucketInput

type StorageBucketInput interface {
	pulumi.Input

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

type StorageBucketMap

type StorageBucketMap map[string]StorageBucketInput

func (StorageBucketMap) ElementType

func (StorageBucketMap) ElementType() reflect.Type

func (StorageBucketMap) ToStorageBucketMapOutput

func (i StorageBucketMap) ToStorageBucketMapOutput() StorageBucketMapOutput

func (StorageBucketMap) ToStorageBucketMapOutputWithContext

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

type StorageBucketMapInput

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

type StorageBucketMapOutput struct{ *pulumi.OutputState }

func (StorageBucketMapOutput) ElementType

func (StorageBucketMapOutput) ElementType() reflect.Type

func (StorageBucketMapOutput) MapIndex

func (StorageBucketMapOutput) ToStorageBucketMapOutput

func (o StorageBucketMapOutput) ToStorageBucketMapOutput() StorageBucketMapOutput

func (StorageBucketMapOutput) ToStorageBucketMapOutputWithContext

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

type StorageBucketOutput

type StorageBucketOutput struct{ *pulumi.OutputState }

func (StorageBucketOutput) BucketId

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

func (StorageBucketOutput) ElementType

func (StorageBucketOutput) ElementType() reflect.Type

func (StorageBucketOutput) Name

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

func (StorageBucketOutput) Project

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

func (StorageBucketOutput) ToStorageBucketOutput

func (o StorageBucketOutput) ToStorageBucketOutput() StorageBucketOutput

func (StorageBucketOutput) ToStorageBucketOutputWithContext

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

type StorageBucketState

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

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 '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/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 Custom Api Key

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/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"),
			Name:        pulumi.String("api-key"),
			DisplayName: pulumi.String("Display Name"),
			Restrictions: &projects.ApiKeyRestrictionsArgs{
				BrowserKeyRestrictions: &projects.ApiKeyRestrictionsBrowserKeyRestrictionsArgs{
					AllowedReferrers: pulumi.StringArray{
						pulumi.String("*"),
					},
				},
			},
		})
		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"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

WebApp can be imported using any of these accepted formats:

* `{{project}} projects/{{project}}/webApps/{{app_id}}`

* `projects/{{project}}/webApps/{{app_id}}`

* `{{project}}/{{project}}/{{app_id}}`

* `webApps/{{app_id}}`

* `{{app_id}}`

When using the `pulumi import` command, WebApp can be imported using one of the formats above. For example:

```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) 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 '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 set of arguments for constructing a WebApp resource.

func (WebAppArgs) ElementType

func (WebAppArgs) ElementType() reflect.Type

type WebAppArray

type WebAppArray []WebAppInput

func (WebAppArray) ElementType

func (WebAppArray) ElementType() reflect.Type

func (WebAppArray) ToWebAppArrayOutput

func (i WebAppArray) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArray) ToWebAppArrayOutputWithContext

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

type WebAppArrayInput

type WebAppArrayInput interface {
	pulumi.Input

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

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

WebAppArray{ WebAppArgs{...} }

type WebAppArrayOutput

type WebAppArrayOutput struct{ *pulumi.OutputState }

func (WebAppArrayOutput) ElementType

func (WebAppArrayOutput) ElementType() reflect.Type

func (WebAppArrayOutput) Index

func (WebAppArrayOutput) ToWebAppArrayOutput

func (o WebAppArrayOutput) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArrayOutput) ToWebAppArrayOutputWithContext

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

type WebAppInput

type WebAppInput interface {
	pulumi.Input

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

type WebAppMap

type WebAppMap map[string]WebAppInput

func (WebAppMap) ElementType

func (WebAppMap) ElementType() reflect.Type

func (WebAppMap) ToWebAppMapOutput

func (i WebAppMap) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMap) ToWebAppMapOutputWithContext

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

type WebAppMapInput

type WebAppMapInput interface {
	pulumi.Input

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

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

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

type WebAppMapOutput

type WebAppMapOutput struct{ *pulumi.OutputState }

func (WebAppMapOutput) ElementType

func (WebAppMapOutput) ElementType() reflect.Type

func (WebAppMapOutput) MapIndex

func (WebAppMapOutput) ToWebAppMapOutput

func (o WebAppMapOutput) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMapOutput) ToWebAppMapOutputWithContext

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

type WebAppOutput

type WebAppOutput struct{ *pulumi.OutputState }

func (WebAppOutput) ApiKeyId

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

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

The URLs where the `WebApp` is hosted.

func (WebAppOutput) DeletionPolicy

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 'DELETE'

func (WebAppOutput) DisplayName

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

func (o WebAppOutput) Name() pulumi.StringOutput

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

func (WebAppOutput) Project

func (o WebAppOutput) Project() pulumi.StringOutput

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

func (WebAppOutput) ToWebAppOutput

func (o WebAppOutput) ToWebAppOutput() WebAppOutput

func (WebAppOutput) ToWebAppOutputWithContext

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

type WebAppState

type WebAppState struct {
	// The globally unique, 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 '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/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