v1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Default case. Should never be this.
	AuditLogConfigLogTypeLogTypeUnspecified = AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")
	// Admin reads. Example: CloudIAM getIamPolicy
	AuditLogConfigLogTypeAdminRead = AuditLogConfigLogType("ADMIN_READ")
	// Data writes. Example: CloudSQL Users create
	AuditLogConfigLogTypeDataWrite = AuditLogConfigLogType("DATA_WRITE")
	// Data reads. Example: CloudSQL Users list
	AuditLogConfigLogTypeDataRead = AuditLogConfigLogType("DATA_READ")
)
View Source
const (
	// Unspecified.
	FunctionDockerRegistryDockerRegistryUnspecified = FunctionDockerRegistry("DOCKER_REGISTRY_UNSPECIFIED")
	// Docker images will be stored in multi-regional Container Registry repositories named `gcf`.
	FunctionDockerRegistryContainerRegistry = FunctionDockerRegistry("CONTAINER_REGISTRY")
	// Docker images will be stored in regional Artifact Registry repositories. By default, GCF will create and use repositories named `gcf-artifacts` in every region in which a function is deployed. But the repository to use can also be specified by the user using the `docker_repository` field.
	FunctionDockerRegistryArtifactRegistry = FunctionDockerRegistry("ARTIFACT_REGISTRY")
)
View Source
const (
	// Unspecified.
	FunctionIngressSettingsIngressSettingsUnspecified = FunctionIngressSettings("INGRESS_SETTINGS_UNSPECIFIED")
	// Allow HTTP traffic from public and private sources.
	FunctionIngressSettingsAllowAll = FunctionIngressSettings("ALLOW_ALL")
	// Allow HTTP traffic from only private VPC sources.
	FunctionIngressSettingsAllowInternalOnly = FunctionIngressSettings("ALLOW_INTERNAL_ONLY")
	// Allow HTTP traffic from private VPC sources and through GCLB.
	FunctionIngressSettingsAllowInternalAndGclb = FunctionIngressSettings("ALLOW_INTERNAL_AND_GCLB")
)
View Source
const (
	// Unspecified.
	FunctionVpcConnectorEgressSettingsVpcConnectorEgressSettingsUnspecified = FunctionVpcConnectorEgressSettings("VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED")
	// Use the VPC Access Connector only for private IP space from RFC1918.
	FunctionVpcConnectorEgressSettingsPrivateRangesOnly = FunctionVpcConnectorEgressSettings("PRIVATE_RANGES_ONLY")
	// Force the use of VPC Access Connector for all egress traffic from the function.
	FunctionVpcConnectorEgressSettingsAllTraffic = FunctionVpcConnectorEgressSettings("ALL_TRAFFIC")
)
View Source
const (
	// Unspecified.
	HttpsTriggerSecurityLevelSecurityLevelUnspecified = HttpsTriggerSecurityLevel("SECURITY_LEVEL_UNSPECIFIED")
	// Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect.
	HttpsTriggerSecurityLevelSecureAlways = HttpsTriggerSecurityLevel("SECURE_ALWAYS")
	// Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.
	HttpsTriggerSecurityLevelSecureOptional = HttpsTriggerSecurityLevel("SECURE_OPTIONAL")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditConfig

type AuditConfig struct {
	// The configuration for logging of each type of permission.
	AuditLogConfigs []AuditLogConfig `pulumi:"auditLogConfigs"`
	// Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
	Service *string `pulumi:"service"`
}

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.

type AuditConfigArgs

type AuditConfigArgs struct {
	// The configuration for logging of each type of permission.
	AuditLogConfigs AuditLogConfigArrayInput `pulumi:"auditLogConfigs"`
	// Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
	Service pulumi.StringPtrInput `pulumi:"service"`
}

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.

func (AuditConfigArgs) ElementType

func (AuditConfigArgs) ElementType() reflect.Type

func (AuditConfigArgs) ToAuditConfigOutput

func (i AuditConfigArgs) ToAuditConfigOutput() AuditConfigOutput

func (AuditConfigArgs) ToAuditConfigOutputWithContext

func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput

type AuditConfigArray

type AuditConfigArray []AuditConfigInput

func (AuditConfigArray) ElementType

func (AuditConfigArray) ElementType() reflect.Type

func (AuditConfigArray) ToAuditConfigArrayOutput

func (i AuditConfigArray) ToAuditConfigArrayOutput() AuditConfigArrayOutput

func (AuditConfigArray) ToAuditConfigArrayOutputWithContext

func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput

type AuditConfigArrayInput

type AuditConfigArrayInput interface {
	pulumi.Input

	ToAuditConfigArrayOutput() AuditConfigArrayOutput
	ToAuditConfigArrayOutputWithContext(context.Context) AuditConfigArrayOutput
}

AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. You can construct a concrete instance of `AuditConfigArrayInput` via:

AuditConfigArray{ AuditConfigArgs{...} }

type AuditConfigArrayOutput

type AuditConfigArrayOutput struct{ *pulumi.OutputState }

func (AuditConfigArrayOutput) ElementType

func (AuditConfigArrayOutput) ElementType() reflect.Type

func (AuditConfigArrayOutput) Index

func (AuditConfigArrayOutput) ToAuditConfigArrayOutput

func (o AuditConfigArrayOutput) ToAuditConfigArrayOutput() AuditConfigArrayOutput

func (AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext

func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput

type AuditConfigInput

type AuditConfigInput interface {
	pulumi.Input

	ToAuditConfigOutput() AuditConfigOutput
	ToAuditConfigOutputWithContext(context.Context) AuditConfigOutput
}

AuditConfigInput is an input type that accepts AuditConfigArgs and AuditConfigOutput values. You can construct a concrete instance of `AuditConfigInput` via:

AuditConfigArgs{...}

type AuditConfigOutput

type AuditConfigOutput struct{ *pulumi.OutputState }

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.

func (AuditConfigOutput) AuditLogConfigs

func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput

The configuration for logging of each type of permission.

func (AuditConfigOutput) ElementType

func (AuditConfigOutput) ElementType() reflect.Type

func (AuditConfigOutput) Service

Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.

func (AuditConfigOutput) ToAuditConfigOutput

func (o AuditConfigOutput) ToAuditConfigOutput() AuditConfigOutput

func (AuditConfigOutput) ToAuditConfigOutputWithContext

func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput

type AuditConfigResponse

type AuditConfigResponse struct {
	// The configuration for logging of each type of permission.
	AuditLogConfigs []AuditLogConfigResponse `pulumi:"auditLogConfigs"`
	// Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
	Service string `pulumi:"service"`
}

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.

type AuditConfigResponseArrayOutput

type AuditConfigResponseArrayOutput struct{ *pulumi.OutputState }

func (AuditConfigResponseArrayOutput) ElementType

func (AuditConfigResponseArrayOutput) Index

func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput

func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput

func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext

func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext(ctx context.Context) AuditConfigResponseArrayOutput

type AuditConfigResponseOutput

type AuditConfigResponseOutput struct{ *pulumi.OutputState }

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.

func (AuditConfigResponseOutput) AuditLogConfigs

The configuration for logging of each type of permission.

func (AuditConfigResponseOutput) ElementType

func (AuditConfigResponseOutput) ElementType() reflect.Type

func (AuditConfigResponseOutput) Service

Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.

func (AuditConfigResponseOutput) ToAuditConfigResponseOutput

func (o AuditConfigResponseOutput) ToAuditConfigResponseOutput() AuditConfigResponseOutput

func (AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext

func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx context.Context) AuditConfigResponseOutput

type AuditLogConfig

type AuditLogConfig struct {
	// Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
	ExemptedMembers []string `pulumi:"exemptedMembers"`
	// The log type that this config enables.
	LogType *AuditLogConfigLogType `pulumi:"logType"`
}

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

type AuditLogConfigArgs

type AuditLogConfigArgs struct {
	// Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
	ExemptedMembers pulumi.StringArrayInput `pulumi:"exemptedMembers"`
	// The log type that this config enables.
	LogType AuditLogConfigLogTypePtrInput `pulumi:"logType"`
}

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

func (AuditLogConfigArgs) ElementType

func (AuditLogConfigArgs) ElementType() reflect.Type

func (AuditLogConfigArgs) ToAuditLogConfigOutput

func (i AuditLogConfigArgs) ToAuditLogConfigOutput() AuditLogConfigOutput

func (AuditLogConfigArgs) ToAuditLogConfigOutputWithContext

func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput

type AuditLogConfigArray

type AuditLogConfigArray []AuditLogConfigInput

func (AuditLogConfigArray) ElementType

func (AuditLogConfigArray) ElementType() reflect.Type

func (AuditLogConfigArray) ToAuditLogConfigArrayOutput

func (i AuditLogConfigArray) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput

func (AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext

func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput

type AuditLogConfigArrayInput

type AuditLogConfigArrayInput interface {
	pulumi.Input

	ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
	ToAuditLogConfigArrayOutputWithContext(context.Context) AuditLogConfigArrayOutput
}

AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. You can construct a concrete instance of `AuditLogConfigArrayInput` via:

AuditLogConfigArray{ AuditLogConfigArgs{...} }

type AuditLogConfigArrayOutput

type AuditLogConfigArrayOutput struct{ *pulumi.OutputState }

func (AuditLogConfigArrayOutput) ElementType

func (AuditLogConfigArrayOutput) ElementType() reflect.Type

func (AuditLogConfigArrayOutput) Index

func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput

func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput

func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext

func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput

type AuditLogConfigInput

type AuditLogConfigInput interface {
	pulumi.Input

	ToAuditLogConfigOutput() AuditLogConfigOutput
	ToAuditLogConfigOutputWithContext(context.Context) AuditLogConfigOutput
}

AuditLogConfigInput is an input type that accepts AuditLogConfigArgs and AuditLogConfigOutput values. You can construct a concrete instance of `AuditLogConfigInput` via:

AuditLogConfigArgs{...}

type AuditLogConfigLogType added in v0.4.0

type AuditLogConfigLogType string

The log type that this config enables.

func (AuditLogConfigLogType) ElementType added in v0.4.0

func (AuditLogConfigLogType) ElementType() reflect.Type

func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput added in v0.6.0

func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput

func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext added in v0.6.0

func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput

func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput added in v0.6.0

func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext added in v0.6.0

func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogType) ToStringOutput added in v0.4.0

func (e AuditLogConfigLogType) ToStringOutput() pulumi.StringOutput

func (AuditLogConfigLogType) ToStringOutputWithContext added in v0.4.0

func (e AuditLogConfigLogType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AuditLogConfigLogType) ToStringPtrOutput added in v0.4.0

func (e AuditLogConfigLogType) ToStringPtrOutput() pulumi.StringPtrOutput

func (AuditLogConfigLogType) ToStringPtrOutputWithContext added in v0.4.0

func (e AuditLogConfigLogType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AuditLogConfigLogTypeInput added in v0.6.0

type AuditLogConfigLogTypeInput interface {
	pulumi.Input

	ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
	ToAuditLogConfigLogTypeOutputWithContext(context.Context) AuditLogConfigLogTypeOutput
}

AuditLogConfigLogTypeInput is an input type that accepts AuditLogConfigLogTypeArgs and AuditLogConfigLogTypeOutput values. You can construct a concrete instance of `AuditLogConfigLogTypeInput` via:

AuditLogConfigLogTypeArgs{...}

type AuditLogConfigLogTypeOutput added in v0.6.0

type AuditLogConfigLogTypeOutput struct{ *pulumi.OutputState }

func (AuditLogConfigLogTypeOutput) ElementType added in v0.6.0

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogTypeOutput) ToStringOutput added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput

func (AuditLogConfigLogTypeOutput) ToStringOutputWithContext added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AuditLogConfigLogTypeOutput) ToStringPtrOutput added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AuditLogConfigLogTypePtrInput added in v0.6.0

type AuditLogConfigLogTypePtrInput interface {
	pulumi.Input

	ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
	ToAuditLogConfigLogTypePtrOutputWithContext(context.Context) AuditLogConfigLogTypePtrOutput
}

func AuditLogConfigLogTypePtr added in v0.6.0

func AuditLogConfigLogTypePtr(v string) AuditLogConfigLogTypePtrInput

type AuditLogConfigLogTypePtrOutput added in v0.6.0

type AuditLogConfigLogTypePtrOutput struct{ *pulumi.OutputState }

func (AuditLogConfigLogTypePtrOutput) Elem added in v0.6.0

func (AuditLogConfigLogTypePtrOutput) ElementType added in v0.6.0

func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput added in v0.6.0

func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext added in v0.6.0

func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutput added in v0.6.0

func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AuditLogConfigOutput

type AuditLogConfigOutput struct{ *pulumi.OutputState }

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

func (AuditLogConfigOutput) ElementType

func (AuditLogConfigOutput) ElementType() reflect.Type

func (AuditLogConfigOutput) ExemptedMembers

func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput

Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.

func (AuditLogConfigOutput) LogType

The log type that this config enables.

func (AuditLogConfigOutput) ToAuditLogConfigOutput

func (o AuditLogConfigOutput) ToAuditLogConfigOutput() AuditLogConfigOutput

func (AuditLogConfigOutput) ToAuditLogConfigOutputWithContext

func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput

type AuditLogConfigResponse

type AuditLogConfigResponse struct {
	// Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
	ExemptedMembers []string `pulumi:"exemptedMembers"`
	// The log type that this config enables.
	LogType string `pulumi:"logType"`
}

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

type AuditLogConfigResponseArrayOutput

type AuditLogConfigResponseArrayOutput struct{ *pulumi.OutputState }

func (AuditLogConfigResponseArrayOutput) ElementType

func (AuditLogConfigResponseArrayOutput) Index

func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput

func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput

func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext

func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput

type AuditLogConfigResponseOutput

type AuditLogConfigResponseOutput struct{ *pulumi.OutputState }

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

func (AuditLogConfigResponseOutput) ElementType

func (AuditLogConfigResponseOutput) ExemptedMembers

Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.

func (AuditLogConfigResponseOutput) LogType

The log type that this config enables.

func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput

func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput

func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext

func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext(ctx context.Context) AuditLogConfigResponseOutput

type Binding

type Binding struct {
	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition *Expr `pulumi:"condition"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members []string `pulumi:"members"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role *string `pulumi:"role"`
}

Associates `members`, or principals, with a `role`.

type BindingArgs

type BindingArgs struct {
	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition ExprPtrInput `pulumi:"condition"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members pulumi.StringArrayInput `pulumi:"members"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringPtrInput `pulumi:"role"`
}

Associates `members`, or principals, with a `role`.

func (BindingArgs) ElementType

func (BindingArgs) ElementType() reflect.Type

func (BindingArgs) ToBindingOutput

func (i BindingArgs) ToBindingOutput() BindingOutput

func (BindingArgs) ToBindingOutputWithContext

func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutput

type BindingArray

type BindingArray []BindingInput

func (BindingArray) ElementType

func (BindingArray) ElementType() reflect.Type

func (BindingArray) ToBindingArrayOutput

func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput

func (BindingArray) ToBindingArrayOutputWithContext

func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput

type BindingArrayInput

type BindingArrayInput interface {
	pulumi.Input

	ToBindingArrayOutput() BindingArrayOutput
	ToBindingArrayOutputWithContext(context.Context) BindingArrayOutput
}

BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. You can construct a concrete instance of `BindingArrayInput` via:

BindingArray{ BindingArgs{...} }

type BindingArrayOutput

type BindingArrayOutput struct{ *pulumi.OutputState }

func (BindingArrayOutput) ElementType

func (BindingArrayOutput) ElementType() reflect.Type

func (BindingArrayOutput) Index

func (BindingArrayOutput) ToBindingArrayOutput

func (o BindingArrayOutput) ToBindingArrayOutput() BindingArrayOutput

func (BindingArrayOutput) ToBindingArrayOutputWithContext

func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput

type BindingInput

type BindingInput interface {
	pulumi.Input

	ToBindingOutput() BindingOutput
	ToBindingOutputWithContext(context.Context) BindingOutput
}

BindingInput is an input type that accepts BindingArgs and BindingOutput values. You can construct a concrete instance of `BindingInput` via:

BindingArgs{...}

type BindingOutput

type BindingOutput struct{ *pulumi.OutputState }

Associates `members`, or principals, with a `role`.

func (BindingOutput) Condition

func (o BindingOutput) Condition() ExprPtrOutput

The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

func (BindingOutput) ElementType

func (BindingOutput) ElementType() reflect.Type

func (BindingOutput) Members

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (BindingOutput) Role

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (BindingOutput) ToBindingOutput

func (o BindingOutput) ToBindingOutput() BindingOutput

func (BindingOutput) ToBindingOutputWithContext

func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput

type BindingResponse

type BindingResponse struct {
	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition ExprResponse `pulumi:"condition"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members []string `pulumi:"members"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role string `pulumi:"role"`
}

Associates `members`, or principals, with a `role`.

type BindingResponseArrayOutput

type BindingResponseArrayOutput struct{ *pulumi.OutputState }

func (BindingResponseArrayOutput) ElementType

func (BindingResponseArrayOutput) ElementType() reflect.Type

func (BindingResponseArrayOutput) Index

func (BindingResponseArrayOutput) ToBindingResponseArrayOutput

func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput

func (BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext

func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput

type BindingResponseOutput

type BindingResponseOutput struct{ *pulumi.OutputState }

Associates `members`, or principals, with a `role`.

func (BindingResponseOutput) Condition

The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

func (BindingResponseOutput) ElementType

func (BindingResponseOutput) ElementType() reflect.Type

func (BindingResponseOutput) Members

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (BindingResponseOutput) Role

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (BindingResponseOutput) ToBindingResponseOutput

func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput

func (BindingResponseOutput) ToBindingResponseOutputWithContext

func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput

type EventTrigger

type EventTrigger struct {
	// The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
	EventType string `pulumi:"eventType"`
	// Specifies policy for failed executions.
	FailurePolicy *FailurePolicy `pulumi:"failurePolicy"`
	// The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The resource type must match the pattern expected for an `event_type`. For example, an `EventTrigger` that has an `event_type` of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long" format. See each *service's* documentation for supported formats.
	Resource string `pulumi:"resource"`
	// The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.
	Service *string `pulumi:"service"`
}

Describes EventTrigger, used to request events be sent from another service.

type EventTriggerArgs

type EventTriggerArgs struct {
	// The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
	EventType pulumi.StringInput `pulumi:"eventType"`
	// Specifies policy for failed executions.
	FailurePolicy FailurePolicyPtrInput `pulumi:"failurePolicy"`
	// The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The resource type must match the pattern expected for an `event_type`. For example, an `EventTrigger` that has an `event_type` of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long" format. See each *service's* documentation for supported formats.
	Resource pulumi.StringInput `pulumi:"resource"`
	// The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.
	Service pulumi.StringPtrInput `pulumi:"service"`
}

Describes EventTrigger, used to request events be sent from another service.

func (EventTriggerArgs) ElementType

func (EventTriggerArgs) ElementType() reflect.Type

func (EventTriggerArgs) ToEventTriggerOutput

func (i EventTriggerArgs) ToEventTriggerOutput() EventTriggerOutput

func (EventTriggerArgs) ToEventTriggerOutputWithContext

func (i EventTriggerArgs) ToEventTriggerOutputWithContext(ctx context.Context) EventTriggerOutput

func (EventTriggerArgs) ToEventTriggerPtrOutput

func (i EventTriggerArgs) ToEventTriggerPtrOutput() EventTriggerPtrOutput

func (EventTriggerArgs) ToEventTriggerPtrOutputWithContext

func (i EventTriggerArgs) ToEventTriggerPtrOutputWithContext(ctx context.Context) EventTriggerPtrOutput

type EventTriggerInput

type EventTriggerInput interface {
	pulumi.Input

	ToEventTriggerOutput() EventTriggerOutput
	ToEventTriggerOutputWithContext(context.Context) EventTriggerOutput
}

EventTriggerInput is an input type that accepts EventTriggerArgs and EventTriggerOutput values. You can construct a concrete instance of `EventTriggerInput` via:

EventTriggerArgs{...}

type EventTriggerOutput

type EventTriggerOutput struct{ *pulumi.OutputState }

Describes EventTrigger, used to request events be sent from another service.

func (EventTriggerOutput) ElementType

func (EventTriggerOutput) ElementType() reflect.Type

func (EventTriggerOutput) EventType

func (o EventTriggerOutput) EventType() pulumi.StringOutput

The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.

func (EventTriggerOutput) FailurePolicy

func (o EventTriggerOutput) FailurePolicy() FailurePolicyPtrOutput

Specifies policy for failed executions.

func (EventTriggerOutput) Resource

func (o EventTriggerOutput) Resource() pulumi.StringOutput

The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The resource type must match the pattern expected for an `event_type`. For example, an `EventTrigger` that has an `event_type` of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long" format. See each *service's* documentation for supported formats.

func (EventTriggerOutput) Service

The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.

func (EventTriggerOutput) ToEventTriggerOutput

func (o EventTriggerOutput) ToEventTriggerOutput() EventTriggerOutput

func (EventTriggerOutput) ToEventTriggerOutputWithContext

func (o EventTriggerOutput) ToEventTriggerOutputWithContext(ctx context.Context) EventTriggerOutput

func (EventTriggerOutput) ToEventTriggerPtrOutput

func (o EventTriggerOutput) ToEventTriggerPtrOutput() EventTriggerPtrOutput

func (EventTriggerOutput) ToEventTriggerPtrOutputWithContext

func (o EventTriggerOutput) ToEventTriggerPtrOutputWithContext(ctx context.Context) EventTriggerPtrOutput

type EventTriggerPtrInput

type EventTriggerPtrInput interface {
	pulumi.Input

	ToEventTriggerPtrOutput() EventTriggerPtrOutput
	ToEventTriggerPtrOutputWithContext(context.Context) EventTriggerPtrOutput
}

EventTriggerPtrInput is an input type that accepts EventTriggerArgs, EventTriggerPtr and EventTriggerPtrOutput values. You can construct a concrete instance of `EventTriggerPtrInput` via:

        EventTriggerArgs{...}

or:

        nil

type EventTriggerPtrOutput

type EventTriggerPtrOutput struct{ *pulumi.OutputState }

func (EventTriggerPtrOutput) Elem

func (EventTriggerPtrOutput) ElementType

func (EventTriggerPtrOutput) ElementType() reflect.Type

func (EventTriggerPtrOutput) EventType

The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.

func (EventTriggerPtrOutput) FailurePolicy

Specifies policy for failed executions.

func (EventTriggerPtrOutput) Resource

The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The resource type must match the pattern expected for an `event_type`. For example, an `EventTrigger` that has an `event_type` of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long" format. See each *service's* documentation for supported formats.

func (EventTriggerPtrOutput) Service

The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.

func (EventTriggerPtrOutput) ToEventTriggerPtrOutput

func (o EventTriggerPtrOutput) ToEventTriggerPtrOutput() EventTriggerPtrOutput

func (EventTriggerPtrOutput) ToEventTriggerPtrOutputWithContext

func (o EventTriggerPtrOutput) ToEventTriggerPtrOutputWithContext(ctx context.Context) EventTriggerPtrOutput

type EventTriggerResponse

type EventTriggerResponse struct {
	// The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
	EventType string `pulumi:"eventType"`
	// Specifies policy for failed executions.
	FailurePolicy FailurePolicyResponse `pulumi:"failurePolicy"`
	// The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The resource type must match the pattern expected for an `event_type`. For example, an `EventTrigger` that has an `event_type` of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long" format. See each *service's* documentation for supported formats.
	Resource string `pulumi:"resource"`
	// The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.
	Service string `pulumi:"service"`
}

Describes EventTrigger, used to request events be sent from another service.

type EventTriggerResponseOutput

type EventTriggerResponseOutput struct{ *pulumi.OutputState }

Describes EventTrigger, used to request events be sent from another service.

func (EventTriggerResponseOutput) ElementType

func (EventTriggerResponseOutput) ElementType() reflect.Type

func (EventTriggerResponseOutput) EventType

The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.

func (EventTriggerResponseOutput) FailurePolicy

Specifies policy for failed executions.

func (EventTriggerResponseOutput) Resource

The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The resource type must match the pattern expected for an `event_type`. For example, an `EventTrigger` that has an `event_type` of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long" format. See each *service's* documentation for supported formats.

func (EventTriggerResponseOutput) Service

The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.

func (EventTriggerResponseOutput) ToEventTriggerResponseOutput

func (o EventTriggerResponseOutput) ToEventTriggerResponseOutput() EventTriggerResponseOutput

func (EventTriggerResponseOutput) ToEventTriggerResponseOutputWithContext

func (o EventTriggerResponseOutput) ToEventTriggerResponseOutputWithContext(ctx context.Context) EventTriggerResponseOutput

type Expr

type Expr struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description *string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression *string `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location *string `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title *string `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

type ExprArgs

type ExprArgs struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title pulumi.StringPtrInput `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprArgs) ElementType

func (ExprArgs) ElementType() reflect.Type

func (ExprArgs) ToExprOutput

func (i ExprArgs) ToExprOutput() ExprOutput

func (ExprArgs) ToExprOutputWithContext

func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput

func (ExprArgs) ToExprPtrOutput

func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput

func (ExprArgs) ToExprPtrOutputWithContext

func (i ExprArgs) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprInput

type ExprInput interface {
	pulumi.Input

	ToExprOutput() ExprOutput
	ToExprOutputWithContext(context.Context) ExprOutput
}

ExprInput is an input type that accepts ExprArgs and ExprOutput values. You can construct a concrete instance of `ExprInput` via:

ExprArgs{...}

type ExprOutput

type ExprOutput struct{ *pulumi.OutputState }

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprOutput) Description

func (o ExprOutput) Description() pulumi.StringPtrOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprOutput) ElementType

func (ExprOutput) ElementType() reflect.Type

func (ExprOutput) Expression

func (o ExprOutput) Expression() pulumi.StringPtrOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprOutput) Location

func (o ExprOutput) Location() pulumi.StringPtrOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprOutput) Title

func (o ExprOutput) Title() pulumi.StringPtrOutput

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprOutput) ToExprOutput

func (o ExprOutput) ToExprOutput() ExprOutput

func (ExprOutput) ToExprOutputWithContext

func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput

func (ExprOutput) ToExprPtrOutput

func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput

func (ExprOutput) ToExprPtrOutputWithContext

func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprPtrInput

type ExprPtrInput interface {
	pulumi.Input

	ToExprPtrOutput() ExprPtrOutput
	ToExprPtrOutputWithContext(context.Context) ExprPtrOutput
}

ExprPtrInput is an input type that accepts ExprArgs, ExprPtr and ExprPtrOutput values. You can construct a concrete instance of `ExprPtrInput` via:

        ExprArgs{...}

or:

        nil

func ExprPtr

func ExprPtr(v *ExprArgs) ExprPtrInput

type ExprPtrOutput

type ExprPtrOutput struct{ *pulumi.OutputState }

func (ExprPtrOutput) Description

func (o ExprPtrOutput) Description() pulumi.StringPtrOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprPtrOutput) Elem

func (o ExprPtrOutput) Elem() ExprOutput

func (ExprPtrOutput) ElementType

func (ExprPtrOutput) ElementType() reflect.Type

func (ExprPtrOutput) Expression

func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprPtrOutput) Location

func (o ExprPtrOutput) Location() pulumi.StringPtrOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprPtrOutput) Title

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprPtrOutput) ToExprPtrOutput

func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput

func (ExprPtrOutput) ToExprPtrOutputWithContext

func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprResponse

type ExprResponse struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression string `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location string `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title string `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

type ExprResponseOutput

type ExprResponseOutput struct{ *pulumi.OutputState }

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprResponseOutput) Description

func (o ExprResponseOutput) Description() pulumi.StringOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprResponseOutput) ElementType

func (ExprResponseOutput) ElementType() reflect.Type

func (ExprResponseOutput) Expression

func (o ExprResponseOutput) Expression() pulumi.StringOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprResponseOutput) Location

func (o ExprResponseOutput) Location() pulumi.StringOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprResponseOutput) Title

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprResponseOutput) ToExprResponseOutput

func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput

func (ExprResponseOutput) ToExprResponseOutputWithContext

func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput

type FailurePolicy

type FailurePolicy struct {
	// If specified, then the function will be retried in case of a failure.
	Retry *Retry `pulumi:"retry"`
}

Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).

type FailurePolicyArgs

type FailurePolicyArgs struct {
	// If specified, then the function will be retried in case of a failure.
	Retry RetryPtrInput `pulumi:"retry"`
}

Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).

func (FailurePolicyArgs) ElementType

func (FailurePolicyArgs) ElementType() reflect.Type

func (FailurePolicyArgs) ToFailurePolicyOutput

func (i FailurePolicyArgs) ToFailurePolicyOutput() FailurePolicyOutput

func (FailurePolicyArgs) ToFailurePolicyOutputWithContext

func (i FailurePolicyArgs) ToFailurePolicyOutputWithContext(ctx context.Context) FailurePolicyOutput

func (FailurePolicyArgs) ToFailurePolicyPtrOutput

func (i FailurePolicyArgs) ToFailurePolicyPtrOutput() FailurePolicyPtrOutput

func (FailurePolicyArgs) ToFailurePolicyPtrOutputWithContext

func (i FailurePolicyArgs) ToFailurePolicyPtrOutputWithContext(ctx context.Context) FailurePolicyPtrOutput

type FailurePolicyInput

type FailurePolicyInput interface {
	pulumi.Input

	ToFailurePolicyOutput() FailurePolicyOutput
	ToFailurePolicyOutputWithContext(context.Context) FailurePolicyOutput
}

FailurePolicyInput is an input type that accepts FailurePolicyArgs and FailurePolicyOutput values. You can construct a concrete instance of `FailurePolicyInput` via:

FailurePolicyArgs{...}

type FailurePolicyOutput

type FailurePolicyOutput struct{ *pulumi.OutputState }

Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).

func (FailurePolicyOutput) ElementType

func (FailurePolicyOutput) ElementType() reflect.Type

func (FailurePolicyOutput) Retry

If specified, then the function will be retried in case of a failure.

func (FailurePolicyOutput) ToFailurePolicyOutput

func (o FailurePolicyOutput) ToFailurePolicyOutput() FailurePolicyOutput

func (FailurePolicyOutput) ToFailurePolicyOutputWithContext

func (o FailurePolicyOutput) ToFailurePolicyOutputWithContext(ctx context.Context) FailurePolicyOutput

func (FailurePolicyOutput) ToFailurePolicyPtrOutput

func (o FailurePolicyOutput) ToFailurePolicyPtrOutput() FailurePolicyPtrOutput

func (FailurePolicyOutput) ToFailurePolicyPtrOutputWithContext

func (o FailurePolicyOutput) ToFailurePolicyPtrOutputWithContext(ctx context.Context) FailurePolicyPtrOutput

type FailurePolicyPtrInput

type FailurePolicyPtrInput interface {
	pulumi.Input

	ToFailurePolicyPtrOutput() FailurePolicyPtrOutput
	ToFailurePolicyPtrOutputWithContext(context.Context) FailurePolicyPtrOutput
}

FailurePolicyPtrInput is an input type that accepts FailurePolicyArgs, FailurePolicyPtr and FailurePolicyPtrOutput values. You can construct a concrete instance of `FailurePolicyPtrInput` via:

        FailurePolicyArgs{...}

or:

        nil

type FailurePolicyPtrOutput

type FailurePolicyPtrOutput struct{ *pulumi.OutputState }

func (FailurePolicyPtrOutput) Elem

func (FailurePolicyPtrOutput) ElementType

func (FailurePolicyPtrOutput) ElementType() reflect.Type

func (FailurePolicyPtrOutput) Retry

If specified, then the function will be retried in case of a failure.

func (FailurePolicyPtrOutput) ToFailurePolicyPtrOutput

func (o FailurePolicyPtrOutput) ToFailurePolicyPtrOutput() FailurePolicyPtrOutput

func (FailurePolicyPtrOutput) ToFailurePolicyPtrOutputWithContext

func (o FailurePolicyPtrOutput) ToFailurePolicyPtrOutputWithContext(ctx context.Context) FailurePolicyPtrOutput

type FailurePolicyResponse

type FailurePolicyResponse struct {
	// If specified, then the function will be retried in case of a failure.
	Retry RetryResponse `pulumi:"retry"`
}

Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).

type FailurePolicyResponseOutput

type FailurePolicyResponseOutput struct{ *pulumi.OutputState }

Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).

func (FailurePolicyResponseOutput) ElementType

func (FailurePolicyResponseOutput) Retry

If specified, then the function will be retried in case of a failure.

func (FailurePolicyResponseOutput) ToFailurePolicyResponseOutput

func (o FailurePolicyResponseOutput) ToFailurePolicyResponseOutput() FailurePolicyResponseOutput

func (FailurePolicyResponseOutput) ToFailurePolicyResponseOutputWithContext

func (o FailurePolicyResponseOutput) ToFailurePolicyResponseOutputWithContext(ctx context.Context) FailurePolicyResponseOutput

type Function

type Function struct {
	pulumi.CustomResourceState

	// The amount of memory in MB available for a function. Defaults to 256MB.
	AvailableMemoryMb pulumi.IntOutput `pulumi:"availableMemoryMb"`
	// Build environment variables that shall be available during build time.
	BuildEnvironmentVariables pulumi.StringMapOutput `pulumi:"buildEnvironmentVariables"`
	// The Cloud Build ID of the latest successful deployment of the function.
	BuildId pulumi.StringOutput `pulumi:"buildId"`
	// The Cloud Build Name of the function deployment. `projects//locations//builds/`.
	BuildName pulumi.StringOutput `pulumi:"buildName"`
	// Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.
	BuildWorkerPool pulumi.StringOutput `pulumi:"buildWorkerPool"`
	// User-provided description of a function.
	Description pulumi.StringOutput `pulumi:"description"`
	// Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
	DockerRegistry pulumi.StringOutput `pulumi:"dockerRegistry"`
	// User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
	DockerRepository pulumi.StringOutput `pulumi:"dockerRepository"`
	// The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
	EntryPoint pulumi.StringOutput `pulumi:"entryPoint"`
	// Environment variables that shall be available during function execution.
	EnvironmentVariables pulumi.StringMapOutput `pulumi:"environmentVariables"`
	// A source that fires events in response to a condition in another service.
	EventTrigger EventTriggerResponseOutput `pulumi:"eventTrigger"`
	// An HTTPS endpoint type of source that can be triggered via URL.
	HttpsTrigger HttpsTriggerResponseOutput `pulumi:"httpsTrigger"`
	// The ingress settings for the function, controlling what traffic can reach it.
	IngressSettings pulumi.StringOutput `pulumi:"ingressSettings"`
	// Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. If specified, you must also provide an artifact registry repository using the `docker_repository` field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
	KmsKeyName pulumi.StringOutput `pulumi:"kmsKeyName"`
	// Labels associated with this Cloud Function.
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
	MaxInstances pulumi.IntOutput `pulumi:"maxInstances"`
	// A lower bound for the number function instances that may coexist at a given time.
	MinInstances pulumi.IntOutput `pulumi:"minInstances"`
	// A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated: use vpc_connector
	//
	// Deprecated: Deprecated: use vpc_connector
	Network pulumi.StringOutput `pulumi:"network"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
	Runtime pulumi.StringOutput `pulumi:"runtime"`
	// Secret environment variables configuration.
	SecretEnvironmentVariables SecretEnvVarResponseArrayOutput `pulumi:"secretEnvironmentVariables"`
	// Secret volumes configuration.
	SecretVolumes SecretVolumeResponseArrayOutput `pulumi:"secretVolumes"`
	// The email of the function's service account. If empty, defaults to `{project_id}@appspot.gserviceaccount.com`.
	ServiceAccountEmail pulumi.StringOutput `pulumi:"serviceAccountEmail"`
	// The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
	SourceArchiveUrl pulumi.StringOutput `pulumi:"sourceArchiveUrl"`
	// **Beta Feature** The source repository where a function is hosted.
	SourceRepository SourceRepositoryResponseOutput `pulumi:"sourceRepository"`
	// Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
	SourceToken pulumi.StringOutput `pulumi:"sourceToken"`
	// The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
	SourceUploadUrl pulumi.StringOutput `pulumi:"sourceUploadUrl"`
	// Status of the function deployment.
	Status pulumi.StringOutput `pulumi:"status"`
	// The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
	Timeout pulumi.StringOutput `pulumi:"timeout"`
	// The last update timestamp of a Cloud Function.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
	VersionId pulumi.StringOutput `pulumi:"versionId"`
	// The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
	VpcConnector pulumi.StringOutput `pulumi:"vpcConnector"`
	// The egress settings for the connector, controlling what traffic is diverted through it.
	VpcConnectorEgressSettings pulumi.StringOutput `pulumi:"vpcConnectorEgressSettings"`
}

Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error.

func GetFunction

func GetFunction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)

GetFunction gets an existing Function 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 NewFunction

func NewFunction(ctx *pulumi.Context,
	name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)

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

func (*Function) ElementType

func (*Function) ElementType() reflect.Type

func (*Function) ToFunctionOutput

func (i *Function) ToFunctionOutput() FunctionOutput

func (*Function) ToFunctionOutputWithContext

func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput

type FunctionArgs

type FunctionArgs struct {
	// The amount of memory in MB available for a function. Defaults to 256MB.
	AvailableMemoryMb pulumi.IntPtrInput
	// Build environment variables that shall be available during build time.
	BuildEnvironmentVariables pulumi.StringMapInput
	// Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.
	BuildWorkerPool pulumi.StringPtrInput
	// User-provided description of a function.
	Description pulumi.StringPtrInput
	// Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
	DockerRegistry FunctionDockerRegistryPtrInput
	// User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
	DockerRepository pulumi.StringPtrInput
	// The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
	EntryPoint pulumi.StringPtrInput
	// Environment variables that shall be available during function execution.
	EnvironmentVariables pulumi.StringMapInput
	// A source that fires events in response to a condition in another service.
	EventTrigger EventTriggerPtrInput
	// An HTTPS endpoint type of source that can be triggered via URL.
	HttpsTrigger HttpsTriggerPtrInput
	// The ingress settings for the function, controlling what traffic can reach it.
	IngressSettings FunctionIngressSettingsPtrInput
	// Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. If specified, you must also provide an artifact registry repository using the `docker_repository` field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
	KmsKeyName pulumi.StringPtrInput
	// Labels associated with this Cloud Function.
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
	MaxInstances pulumi.IntPtrInput
	// A lower bound for the number function instances that may coexist at a given time.
	MinInstances pulumi.IntPtrInput
	// A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
	Name pulumi.StringPtrInput
	// Deprecated: use vpc_connector
	//
	// Deprecated: Deprecated: use vpc_connector
	Network pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
	Runtime pulumi.StringPtrInput
	// Secret environment variables configuration.
	SecretEnvironmentVariables SecretEnvVarArrayInput
	// Secret volumes configuration.
	SecretVolumes SecretVolumeArrayInput
	// The email of the function's service account. If empty, defaults to `{project_id}@appspot.gserviceaccount.com`.
	ServiceAccountEmail pulumi.StringPtrInput
	// The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
	SourceArchiveUrl pulumi.StringPtrInput
	// **Beta Feature** The source repository where a function is hosted.
	SourceRepository SourceRepositoryPtrInput
	// Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
	SourceToken pulumi.StringPtrInput
	// The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
	SourceUploadUrl pulumi.StringPtrInput
	// The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
	Timeout pulumi.StringPtrInput
	// The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
	VpcConnector pulumi.StringPtrInput
	// The egress settings for the connector, controlling what traffic is diverted through it.
	VpcConnectorEgressSettings FunctionVpcConnectorEgressSettingsPtrInput
}

The set of arguments for constructing a Function resource.

func (FunctionArgs) ElementType

func (FunctionArgs) ElementType() reflect.Type

type FunctionDockerRegistry added in v0.15.0

type FunctionDockerRegistry string

Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.

func (FunctionDockerRegistry) ElementType added in v0.15.0

func (FunctionDockerRegistry) ElementType() reflect.Type

func (FunctionDockerRegistry) ToFunctionDockerRegistryOutput added in v0.15.0

func (e FunctionDockerRegistry) ToFunctionDockerRegistryOutput() FunctionDockerRegistryOutput

func (FunctionDockerRegistry) ToFunctionDockerRegistryOutputWithContext added in v0.15.0

func (e FunctionDockerRegistry) ToFunctionDockerRegistryOutputWithContext(ctx context.Context) FunctionDockerRegistryOutput

func (FunctionDockerRegistry) ToFunctionDockerRegistryPtrOutput added in v0.15.0

func (e FunctionDockerRegistry) ToFunctionDockerRegistryPtrOutput() FunctionDockerRegistryPtrOutput

func (FunctionDockerRegistry) ToFunctionDockerRegistryPtrOutputWithContext added in v0.15.0

func (e FunctionDockerRegistry) ToFunctionDockerRegistryPtrOutputWithContext(ctx context.Context) FunctionDockerRegistryPtrOutput

func (FunctionDockerRegistry) ToStringOutput added in v0.15.0

func (e FunctionDockerRegistry) ToStringOutput() pulumi.StringOutput

func (FunctionDockerRegistry) ToStringOutputWithContext added in v0.15.0

func (e FunctionDockerRegistry) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FunctionDockerRegistry) ToStringPtrOutput added in v0.15.0

func (e FunctionDockerRegistry) ToStringPtrOutput() pulumi.StringPtrOutput

func (FunctionDockerRegistry) ToStringPtrOutputWithContext added in v0.15.0

func (e FunctionDockerRegistry) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FunctionDockerRegistryInput added in v0.15.0

type FunctionDockerRegistryInput interface {
	pulumi.Input

	ToFunctionDockerRegistryOutput() FunctionDockerRegistryOutput
	ToFunctionDockerRegistryOutputWithContext(context.Context) FunctionDockerRegistryOutput
}

FunctionDockerRegistryInput is an input type that accepts FunctionDockerRegistryArgs and FunctionDockerRegistryOutput values. You can construct a concrete instance of `FunctionDockerRegistryInput` via:

FunctionDockerRegistryArgs{...}

type FunctionDockerRegistryOutput added in v0.15.0

type FunctionDockerRegistryOutput struct{ *pulumi.OutputState }

func (FunctionDockerRegistryOutput) ElementType added in v0.15.0

func (FunctionDockerRegistryOutput) ToFunctionDockerRegistryOutput added in v0.15.0

func (o FunctionDockerRegistryOutput) ToFunctionDockerRegistryOutput() FunctionDockerRegistryOutput

func (FunctionDockerRegistryOutput) ToFunctionDockerRegistryOutputWithContext added in v0.15.0

func (o FunctionDockerRegistryOutput) ToFunctionDockerRegistryOutputWithContext(ctx context.Context) FunctionDockerRegistryOutput

func (FunctionDockerRegistryOutput) ToFunctionDockerRegistryPtrOutput added in v0.15.0

func (o FunctionDockerRegistryOutput) ToFunctionDockerRegistryPtrOutput() FunctionDockerRegistryPtrOutput

func (FunctionDockerRegistryOutput) ToFunctionDockerRegistryPtrOutputWithContext added in v0.15.0

func (o FunctionDockerRegistryOutput) ToFunctionDockerRegistryPtrOutputWithContext(ctx context.Context) FunctionDockerRegistryPtrOutput

func (FunctionDockerRegistryOutput) ToStringOutput added in v0.15.0

func (FunctionDockerRegistryOutput) ToStringOutputWithContext added in v0.15.0

func (o FunctionDockerRegistryOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FunctionDockerRegistryOutput) ToStringPtrOutput added in v0.15.0

func (o FunctionDockerRegistryOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FunctionDockerRegistryOutput) ToStringPtrOutputWithContext added in v0.15.0

func (o FunctionDockerRegistryOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FunctionDockerRegistryPtrInput added in v0.15.0

type FunctionDockerRegistryPtrInput interface {
	pulumi.Input

	ToFunctionDockerRegistryPtrOutput() FunctionDockerRegistryPtrOutput
	ToFunctionDockerRegistryPtrOutputWithContext(context.Context) FunctionDockerRegistryPtrOutput
}

func FunctionDockerRegistryPtr added in v0.15.0

func FunctionDockerRegistryPtr(v string) FunctionDockerRegistryPtrInput

type FunctionDockerRegistryPtrOutput added in v0.15.0

type FunctionDockerRegistryPtrOutput struct{ *pulumi.OutputState }

func (FunctionDockerRegistryPtrOutput) Elem added in v0.15.0

func (FunctionDockerRegistryPtrOutput) ElementType added in v0.15.0

func (FunctionDockerRegistryPtrOutput) ToFunctionDockerRegistryPtrOutput added in v0.15.0

func (o FunctionDockerRegistryPtrOutput) ToFunctionDockerRegistryPtrOutput() FunctionDockerRegistryPtrOutput

func (FunctionDockerRegistryPtrOutput) ToFunctionDockerRegistryPtrOutputWithContext added in v0.15.0

func (o FunctionDockerRegistryPtrOutput) ToFunctionDockerRegistryPtrOutputWithContext(ctx context.Context) FunctionDockerRegistryPtrOutput

func (FunctionDockerRegistryPtrOutput) ToStringPtrOutput added in v0.15.0

func (FunctionDockerRegistryPtrOutput) ToStringPtrOutputWithContext added in v0.15.0

func (o FunctionDockerRegistryPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FunctionIamBinding added in v0.26.0

type FunctionIamBinding struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Sets the IAM access control policy on the specified function. Replaces any existing policy.

func GetFunctionIamBinding added in v0.26.0

func GetFunctionIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionIamBindingState, opts ...pulumi.ResourceOption) (*FunctionIamBinding, error)

GetFunctionIamBinding gets an existing FunctionIamBinding 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 NewFunctionIamBinding added in v0.26.0

func NewFunctionIamBinding(ctx *pulumi.Context,
	name string, args *FunctionIamBindingArgs, opts ...pulumi.ResourceOption) (*FunctionIamBinding, error)

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

func (*FunctionIamBinding) ElementType added in v0.26.0

func (*FunctionIamBinding) ElementType() reflect.Type

func (*FunctionIamBinding) ToFunctionIamBindingOutput added in v0.26.0

func (i *FunctionIamBinding) ToFunctionIamBindingOutput() FunctionIamBindingOutput

func (*FunctionIamBinding) ToFunctionIamBindingOutputWithContext added in v0.26.0

func (i *FunctionIamBinding) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput

type FunctionIamBindingArgs added in v0.26.0

type FunctionIamBindingArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identities that will be granted the privilege in role. Each entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Members pulumi.StringArrayInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied. Only one `IamBinding` can be used per role.
	Role pulumi.StringInput
}

The set of arguments for constructing a FunctionIamBinding resource.

func (FunctionIamBindingArgs) ElementType added in v0.26.0

func (FunctionIamBindingArgs) ElementType() reflect.Type

type FunctionIamBindingInput added in v0.26.0

type FunctionIamBindingInput interface {
	pulumi.Input

	ToFunctionIamBindingOutput() FunctionIamBindingOutput
	ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
}

type FunctionIamBindingOutput added in v0.26.0

type FunctionIamBindingOutput struct{ *pulumi.OutputState }

func (FunctionIamBindingOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (FunctionIamBindingOutput) ElementType added in v0.26.0

func (FunctionIamBindingOutput) ElementType() reflect.Type

func (FunctionIamBindingOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (FunctionIamBindingOutput) Members added in v0.26.0

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (FunctionIamBindingOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (FunctionIamBindingOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (FunctionIamBindingOutput) Role added in v0.26.0

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (FunctionIamBindingOutput) ToFunctionIamBindingOutput added in v0.26.0

func (o FunctionIamBindingOutput) ToFunctionIamBindingOutput() FunctionIamBindingOutput

func (FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext added in v0.26.0

func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput

type FunctionIamBindingState added in v0.26.0

type FunctionIamBindingState struct {
}

func (FunctionIamBindingState) ElementType added in v0.26.0

func (FunctionIamBindingState) ElementType() reflect.Type

type FunctionIamMember added in v0.26.0

type FunctionIamMember struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Member pulumi.StringOutput `pulumi:"member"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Sets the IAM access control policy on the specified function. Replaces any existing policy.

func GetFunctionIamMember added in v0.26.0

func GetFunctionIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionIamMemberState, opts ...pulumi.ResourceOption) (*FunctionIamMember, error)

GetFunctionIamMember gets an existing FunctionIamMember 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 NewFunctionIamMember added in v0.26.0

func NewFunctionIamMember(ctx *pulumi.Context,
	name string, args *FunctionIamMemberArgs, opts ...pulumi.ResourceOption) (*FunctionIamMember, error)

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

func (*FunctionIamMember) ElementType added in v0.26.0

func (*FunctionIamMember) ElementType() reflect.Type

func (*FunctionIamMember) ToFunctionIamMemberOutput added in v0.26.0

func (i *FunctionIamMember) ToFunctionIamMemberOutput() FunctionIamMemberOutput

func (*FunctionIamMember) ToFunctionIamMemberOutputWithContext added in v0.26.0

func (i *FunctionIamMember) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput

type FunctionIamMemberArgs added in v0.26.0

type FunctionIamMemberArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identity that will be granted the privilege in role. The entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Member pulumi.StringInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied.
	Role pulumi.StringInput
}

The set of arguments for constructing a FunctionIamMember resource.

func (FunctionIamMemberArgs) ElementType added in v0.26.0

func (FunctionIamMemberArgs) ElementType() reflect.Type

type FunctionIamMemberInput added in v0.26.0

type FunctionIamMemberInput interface {
	pulumi.Input

	ToFunctionIamMemberOutput() FunctionIamMemberOutput
	ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
}

type FunctionIamMemberOutput added in v0.26.0

type FunctionIamMemberOutput struct{ *pulumi.OutputState }

func (FunctionIamMemberOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (FunctionIamMemberOutput) ElementType added in v0.26.0

func (FunctionIamMemberOutput) ElementType() reflect.Type

func (FunctionIamMemberOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (FunctionIamMemberOutput) Member added in v0.26.0

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (FunctionIamMemberOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (FunctionIamMemberOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (FunctionIamMemberOutput) Role added in v0.26.0

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (FunctionIamMemberOutput) ToFunctionIamMemberOutput added in v0.26.0

func (o FunctionIamMemberOutput) ToFunctionIamMemberOutput() FunctionIamMemberOutput

func (FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext added in v0.26.0

func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput

type FunctionIamMemberState added in v0.26.0

type FunctionIamMemberState struct {
}

func (FunctionIamMemberState) ElementType added in v0.26.0

func (FunctionIamMemberState) ElementType() reflect.Type

type FunctionIamPolicy

type FunctionIamPolicy struct {
	pulumi.CustomResourceState

	// Specifies cloud audit logging configuration for this policy.
	AuditConfigs AuditConfigResponseArrayOutput `pulumi:"auditConfigs"`
	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingResponseArrayOutput `pulumi:"bindings"`
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag       pulumi.StringOutput `pulumi:"etag"`
	FunctionId pulumi.StringOutput `pulumi:"functionId"`
	Location   pulumi.StringOutput `pulumi:"location"`
	Project    pulumi.StringOutput `pulumi:"project"`
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version pulumi.IntOutput `pulumi:"version"`
}

Sets the IAM access control policy on the specified function. Replaces any existing policy. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetFunctionIamPolicy

func GetFunctionIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionIamPolicyState, opts ...pulumi.ResourceOption) (*FunctionIamPolicy, error)

GetFunctionIamPolicy gets an existing FunctionIamPolicy 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 NewFunctionIamPolicy

func NewFunctionIamPolicy(ctx *pulumi.Context,
	name string, args *FunctionIamPolicyArgs, opts ...pulumi.ResourceOption) (*FunctionIamPolicy, error)

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

func (*FunctionIamPolicy) ElementType

func (*FunctionIamPolicy) ElementType() reflect.Type

func (*FunctionIamPolicy) ToFunctionIamPolicyOutput

func (i *FunctionIamPolicy) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput

func (*FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext

func (i *FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput

type FunctionIamPolicyArgs

type FunctionIamPolicyArgs struct {
	// Specifies cloud audit logging configuration for this policy.
	AuditConfigs AuditConfigArrayInput
	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingArrayInput
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag       pulumi.StringPtrInput
	FunctionId pulumi.StringInput
	Location   pulumi.StringPtrInput
	Project    pulumi.StringPtrInput
	// OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"`
	UpdateMask pulumi.StringPtrInput
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version pulumi.IntPtrInput
}

The set of arguments for constructing a FunctionIamPolicy resource.

func (FunctionIamPolicyArgs) ElementType

func (FunctionIamPolicyArgs) ElementType() reflect.Type

type FunctionIamPolicyInput

type FunctionIamPolicyInput interface {
	pulumi.Input

	ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
	ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
}

type FunctionIamPolicyOutput

type FunctionIamPolicyOutput struct{ *pulumi.OutputState }

func (FunctionIamPolicyOutput) AuditConfigs added in v0.19.0

Specifies cloud audit logging configuration for this policy.

func (FunctionIamPolicyOutput) Bindings added in v0.19.0

Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.

func (FunctionIamPolicyOutput) ElementType

func (FunctionIamPolicyOutput) ElementType() reflect.Type

func (FunctionIamPolicyOutput) Etag added in v0.19.0

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.

func (FunctionIamPolicyOutput) FunctionId added in v0.21.0

func (FunctionIamPolicyOutput) Location added in v0.21.0

func (FunctionIamPolicyOutput) Project added in v0.21.0

func (FunctionIamPolicyOutput) ToFunctionIamPolicyOutput

func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput

func (FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext

func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput

func (FunctionIamPolicyOutput) Version added in v0.19.0

Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

type FunctionIamPolicyState

type FunctionIamPolicyState struct {
}

func (FunctionIamPolicyState) ElementType

func (FunctionIamPolicyState) ElementType() reflect.Type

type FunctionIngressSettings added in v0.4.0

type FunctionIngressSettings string

The ingress settings for the function, controlling what traffic can reach it.

func (FunctionIngressSettings) ElementType added in v0.4.0

func (FunctionIngressSettings) ElementType() reflect.Type

func (FunctionIngressSettings) ToFunctionIngressSettingsOutput added in v0.6.0

func (e FunctionIngressSettings) ToFunctionIngressSettingsOutput() FunctionIngressSettingsOutput

func (FunctionIngressSettings) ToFunctionIngressSettingsOutputWithContext added in v0.6.0

func (e FunctionIngressSettings) ToFunctionIngressSettingsOutputWithContext(ctx context.Context) FunctionIngressSettingsOutput

func (FunctionIngressSettings) ToFunctionIngressSettingsPtrOutput added in v0.6.0

func (e FunctionIngressSettings) ToFunctionIngressSettingsPtrOutput() FunctionIngressSettingsPtrOutput

func (FunctionIngressSettings) ToFunctionIngressSettingsPtrOutputWithContext added in v0.6.0

func (e FunctionIngressSettings) ToFunctionIngressSettingsPtrOutputWithContext(ctx context.Context) FunctionIngressSettingsPtrOutput

func (FunctionIngressSettings) ToStringOutput added in v0.4.0

func (e FunctionIngressSettings) ToStringOutput() pulumi.StringOutput

func (FunctionIngressSettings) ToStringOutputWithContext added in v0.4.0

func (e FunctionIngressSettings) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FunctionIngressSettings) ToStringPtrOutput added in v0.4.0

func (e FunctionIngressSettings) ToStringPtrOutput() pulumi.StringPtrOutput

func (FunctionIngressSettings) ToStringPtrOutputWithContext added in v0.4.0

func (e FunctionIngressSettings) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FunctionIngressSettingsInput added in v0.6.0

type FunctionIngressSettingsInput interface {
	pulumi.Input

	ToFunctionIngressSettingsOutput() FunctionIngressSettingsOutput
	ToFunctionIngressSettingsOutputWithContext(context.Context) FunctionIngressSettingsOutput
}

FunctionIngressSettingsInput is an input type that accepts FunctionIngressSettingsArgs and FunctionIngressSettingsOutput values. You can construct a concrete instance of `FunctionIngressSettingsInput` via:

FunctionIngressSettingsArgs{...}

type FunctionIngressSettingsOutput added in v0.6.0

type FunctionIngressSettingsOutput struct{ *pulumi.OutputState }

func (FunctionIngressSettingsOutput) ElementType added in v0.6.0

func (FunctionIngressSettingsOutput) ToFunctionIngressSettingsOutput added in v0.6.0

func (o FunctionIngressSettingsOutput) ToFunctionIngressSettingsOutput() FunctionIngressSettingsOutput

func (FunctionIngressSettingsOutput) ToFunctionIngressSettingsOutputWithContext added in v0.6.0

func (o FunctionIngressSettingsOutput) ToFunctionIngressSettingsOutputWithContext(ctx context.Context) FunctionIngressSettingsOutput

func (FunctionIngressSettingsOutput) ToFunctionIngressSettingsPtrOutput added in v0.6.0

func (o FunctionIngressSettingsOutput) ToFunctionIngressSettingsPtrOutput() FunctionIngressSettingsPtrOutput

func (FunctionIngressSettingsOutput) ToFunctionIngressSettingsPtrOutputWithContext added in v0.6.0

func (o FunctionIngressSettingsOutput) ToFunctionIngressSettingsPtrOutputWithContext(ctx context.Context) FunctionIngressSettingsPtrOutput

func (FunctionIngressSettingsOutput) ToStringOutput added in v0.6.0

func (FunctionIngressSettingsOutput) ToStringOutputWithContext added in v0.6.0

func (o FunctionIngressSettingsOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FunctionIngressSettingsOutput) ToStringPtrOutput added in v0.6.0

func (FunctionIngressSettingsOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o FunctionIngressSettingsOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FunctionIngressSettingsPtrInput added in v0.6.0

type FunctionIngressSettingsPtrInput interface {
	pulumi.Input

	ToFunctionIngressSettingsPtrOutput() FunctionIngressSettingsPtrOutput
	ToFunctionIngressSettingsPtrOutputWithContext(context.Context) FunctionIngressSettingsPtrOutput
}

func FunctionIngressSettingsPtr added in v0.6.0

func FunctionIngressSettingsPtr(v string) FunctionIngressSettingsPtrInput

type FunctionIngressSettingsPtrOutput added in v0.6.0

type FunctionIngressSettingsPtrOutput struct{ *pulumi.OutputState }

func (FunctionIngressSettingsPtrOutput) Elem added in v0.6.0

func (FunctionIngressSettingsPtrOutput) ElementType added in v0.6.0

func (FunctionIngressSettingsPtrOutput) ToFunctionIngressSettingsPtrOutput added in v0.6.0

func (o FunctionIngressSettingsPtrOutput) ToFunctionIngressSettingsPtrOutput() FunctionIngressSettingsPtrOutput

func (FunctionIngressSettingsPtrOutput) ToFunctionIngressSettingsPtrOutputWithContext added in v0.6.0

func (o FunctionIngressSettingsPtrOutput) ToFunctionIngressSettingsPtrOutputWithContext(ctx context.Context) FunctionIngressSettingsPtrOutput

func (FunctionIngressSettingsPtrOutput) ToStringPtrOutput added in v0.6.0

func (FunctionIngressSettingsPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o FunctionIngressSettingsPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FunctionInput

type FunctionInput interface {
	pulumi.Input

	ToFunctionOutput() FunctionOutput
	ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
}

type FunctionOutput

type FunctionOutput struct{ *pulumi.OutputState }

func (FunctionOutput) AvailableMemoryMb added in v0.19.0

func (o FunctionOutput) AvailableMemoryMb() pulumi.IntOutput

The amount of memory in MB available for a function. Defaults to 256MB.

func (FunctionOutput) BuildEnvironmentVariables added in v0.19.0

func (o FunctionOutput) BuildEnvironmentVariables() pulumi.StringMapOutput

Build environment variables that shall be available during build time.

func (FunctionOutput) BuildId added in v0.19.0

func (o FunctionOutput) BuildId() pulumi.StringOutput

The Cloud Build ID of the latest successful deployment of the function.

func (FunctionOutput) BuildName added in v0.19.0

func (o FunctionOutput) BuildName() pulumi.StringOutput

The Cloud Build Name of the function deployment. `projects//locations//builds/`.

func (FunctionOutput) BuildWorkerPool added in v0.19.0

func (o FunctionOutput) BuildWorkerPool() pulumi.StringOutput

Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.

func (FunctionOutput) Description added in v0.19.0

func (o FunctionOutput) Description() pulumi.StringOutput

User-provided description of a function.

func (FunctionOutput) DockerRegistry added in v0.19.0

func (o FunctionOutput) DockerRegistry() pulumi.StringOutput

Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.

func (FunctionOutput) DockerRepository added in v0.19.0

func (o FunctionOutput) DockerRepository() pulumi.StringOutput

User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.

func (FunctionOutput) ElementType

func (FunctionOutput) ElementType() reflect.Type

func (FunctionOutput) EntryPoint added in v0.19.0

func (o FunctionOutput) EntryPoint() pulumi.StringOutput

The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.

func (FunctionOutput) EnvironmentVariables added in v0.19.0

func (o FunctionOutput) EnvironmentVariables() pulumi.StringMapOutput

Environment variables that shall be available during function execution.

func (FunctionOutput) EventTrigger added in v0.19.0

func (o FunctionOutput) EventTrigger() EventTriggerResponseOutput

A source that fires events in response to a condition in another service.

func (FunctionOutput) HttpsTrigger added in v0.19.0

func (o FunctionOutput) HttpsTrigger() HttpsTriggerResponseOutput

An HTTPS endpoint type of source that can be triggered via URL.

func (FunctionOutput) IngressSettings added in v0.19.0

func (o FunctionOutput) IngressSettings() pulumi.StringOutput

The ingress settings for the function, controlling what traffic can reach it.

func (FunctionOutput) KmsKeyName added in v0.19.0

func (o FunctionOutput) KmsKeyName() pulumi.StringOutput

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. If specified, you must also provide an artifact registry repository using the `docker_repository` field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.

func (FunctionOutput) Labels added in v0.19.0

Labels associated with this Cloud Function.

func (FunctionOutput) Location added in v0.21.0

func (o FunctionOutput) Location() pulumi.StringOutput

func (FunctionOutput) MaxInstances added in v0.19.0

func (o FunctionOutput) MaxInstances() pulumi.IntOutput

The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.

func (FunctionOutput) MinInstances added in v0.19.0

func (o FunctionOutput) MinInstances() pulumi.IntOutput

A lower bound for the number function instances that may coexist at a given time.

func (FunctionOutput) Name added in v0.19.0

A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`

func (FunctionOutput) Network deprecated added in v0.19.0

func (o FunctionOutput) Network() pulumi.StringOutput

Deprecated: use vpc_connector

Deprecated: Deprecated: use vpc_connector

func (FunctionOutput) Project added in v0.21.0

func (o FunctionOutput) Project() pulumi.StringOutput

func (FunctionOutput) Runtime added in v0.19.0

func (o FunctionOutput) Runtime() pulumi.StringOutput

The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).

func (FunctionOutput) SecretEnvironmentVariables added in v0.19.0

func (o FunctionOutput) SecretEnvironmentVariables() SecretEnvVarResponseArrayOutput

Secret environment variables configuration.

func (FunctionOutput) SecretVolumes added in v0.19.0

Secret volumes configuration.

func (FunctionOutput) ServiceAccountEmail added in v0.19.0

func (o FunctionOutput) ServiceAccountEmail() pulumi.StringOutput

The email of the function's service account. If empty, defaults to `{project_id}@appspot.gserviceaccount.com`.

func (FunctionOutput) SourceArchiveUrl added in v0.19.0

func (o FunctionOutput) SourceArchiveUrl() pulumi.StringOutput

The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.

func (FunctionOutput) SourceRepository added in v0.19.0

func (o FunctionOutput) SourceRepository() SourceRepositoryResponseOutput

**Beta Feature** The source repository where a function is hosted.

func (FunctionOutput) SourceToken added in v0.19.0

func (o FunctionOutput) SourceToken() pulumi.StringOutput

Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

func (FunctionOutput) SourceUploadUrl added in v0.19.0

func (o FunctionOutput) SourceUploadUrl() pulumi.StringOutput

The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)

func (FunctionOutput) Status added in v0.19.0

func (o FunctionOutput) Status() pulumi.StringOutput

Status of the function deployment.

func (FunctionOutput) Timeout added in v0.19.0

func (o FunctionOutput) Timeout() pulumi.StringOutput

The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.

func (FunctionOutput) ToFunctionOutput

func (o FunctionOutput) ToFunctionOutput() FunctionOutput

func (FunctionOutput) ToFunctionOutputWithContext

func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput

func (FunctionOutput) UpdateTime added in v0.19.0

func (o FunctionOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of a Cloud Function.

func (FunctionOutput) VersionId added in v0.19.0

func (o FunctionOutput) VersionId() pulumi.StringOutput

The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.

func (FunctionOutput) VpcConnector added in v0.19.0

func (o FunctionOutput) VpcConnector() pulumi.StringOutput

The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.

func (FunctionOutput) VpcConnectorEgressSettings added in v0.19.0

func (o FunctionOutput) VpcConnectorEgressSettings() pulumi.StringOutput

The egress settings for the connector, controlling what traffic is diverted through it.

type FunctionState

type FunctionState struct {
}

func (FunctionState) ElementType

func (FunctionState) ElementType() reflect.Type

type FunctionVpcConnectorEgressSettings added in v0.4.0

type FunctionVpcConnectorEgressSettings string

The egress settings for the connector, controlling what traffic is diverted through it.

func (FunctionVpcConnectorEgressSettings) ElementType added in v0.4.0

func (FunctionVpcConnectorEgressSettings) ToFunctionVpcConnectorEgressSettingsOutput added in v0.6.0

func (e FunctionVpcConnectorEgressSettings) ToFunctionVpcConnectorEgressSettingsOutput() FunctionVpcConnectorEgressSettingsOutput

func (FunctionVpcConnectorEgressSettings) ToFunctionVpcConnectorEgressSettingsOutputWithContext added in v0.6.0

func (e FunctionVpcConnectorEgressSettings) ToFunctionVpcConnectorEgressSettingsOutputWithContext(ctx context.Context) FunctionVpcConnectorEgressSettingsOutput

func (FunctionVpcConnectorEgressSettings) ToFunctionVpcConnectorEgressSettingsPtrOutput added in v0.6.0

func (e FunctionVpcConnectorEgressSettings) ToFunctionVpcConnectorEgressSettingsPtrOutput() FunctionVpcConnectorEgressSettingsPtrOutput

func (FunctionVpcConnectorEgressSettings) ToFunctionVpcConnectorEgressSettingsPtrOutputWithContext added in v0.6.0

func (e FunctionVpcConnectorEgressSettings) ToFunctionVpcConnectorEgressSettingsPtrOutputWithContext(ctx context.Context) FunctionVpcConnectorEgressSettingsPtrOutput

func (FunctionVpcConnectorEgressSettings) ToStringOutput added in v0.4.0

func (FunctionVpcConnectorEgressSettings) ToStringOutputWithContext added in v0.4.0

func (e FunctionVpcConnectorEgressSettings) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FunctionVpcConnectorEgressSettings) ToStringPtrOutput added in v0.4.0

func (FunctionVpcConnectorEgressSettings) ToStringPtrOutputWithContext added in v0.4.0

func (e FunctionVpcConnectorEgressSettings) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FunctionVpcConnectorEgressSettingsInput added in v0.6.0

type FunctionVpcConnectorEgressSettingsInput interface {
	pulumi.Input

	ToFunctionVpcConnectorEgressSettingsOutput() FunctionVpcConnectorEgressSettingsOutput
	ToFunctionVpcConnectorEgressSettingsOutputWithContext(context.Context) FunctionVpcConnectorEgressSettingsOutput
}

FunctionVpcConnectorEgressSettingsInput is an input type that accepts FunctionVpcConnectorEgressSettingsArgs and FunctionVpcConnectorEgressSettingsOutput values. You can construct a concrete instance of `FunctionVpcConnectorEgressSettingsInput` via:

FunctionVpcConnectorEgressSettingsArgs{...}

type FunctionVpcConnectorEgressSettingsOutput added in v0.6.0

type FunctionVpcConnectorEgressSettingsOutput struct{ *pulumi.OutputState }

func (FunctionVpcConnectorEgressSettingsOutput) ElementType added in v0.6.0

func (FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSettingsOutput added in v0.6.0

func (o FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSettingsOutput() FunctionVpcConnectorEgressSettingsOutput

func (FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSettingsOutputWithContext added in v0.6.0

func (o FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSettingsOutputWithContext(ctx context.Context) FunctionVpcConnectorEgressSettingsOutput

func (FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSettingsPtrOutput added in v0.6.0

func (o FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSettingsPtrOutput() FunctionVpcConnectorEgressSettingsPtrOutput

func (FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSettingsPtrOutputWithContext added in v0.6.0

func (o FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSettingsPtrOutputWithContext(ctx context.Context) FunctionVpcConnectorEgressSettingsPtrOutput

func (FunctionVpcConnectorEgressSettingsOutput) ToStringOutput added in v0.6.0

func (FunctionVpcConnectorEgressSettingsOutput) ToStringOutputWithContext added in v0.6.0

func (FunctionVpcConnectorEgressSettingsOutput) ToStringPtrOutput added in v0.6.0

func (FunctionVpcConnectorEgressSettingsOutput) ToStringPtrOutputWithContext added in v0.6.0

type FunctionVpcConnectorEgressSettingsPtrInput added in v0.6.0

type FunctionVpcConnectorEgressSettingsPtrInput interface {
	pulumi.Input

	ToFunctionVpcConnectorEgressSettingsPtrOutput() FunctionVpcConnectorEgressSettingsPtrOutput
	ToFunctionVpcConnectorEgressSettingsPtrOutputWithContext(context.Context) FunctionVpcConnectorEgressSettingsPtrOutput
}

func FunctionVpcConnectorEgressSettingsPtr added in v0.6.0

func FunctionVpcConnectorEgressSettingsPtr(v string) FunctionVpcConnectorEgressSettingsPtrInput

type FunctionVpcConnectorEgressSettingsPtrOutput added in v0.6.0

type FunctionVpcConnectorEgressSettingsPtrOutput struct{ *pulumi.OutputState }

func (FunctionVpcConnectorEgressSettingsPtrOutput) Elem added in v0.6.0

func (FunctionVpcConnectorEgressSettingsPtrOutput) ElementType added in v0.6.0

func (FunctionVpcConnectorEgressSettingsPtrOutput) ToFunctionVpcConnectorEgressSettingsPtrOutput added in v0.6.0

func (o FunctionVpcConnectorEgressSettingsPtrOutput) ToFunctionVpcConnectorEgressSettingsPtrOutput() FunctionVpcConnectorEgressSettingsPtrOutput

func (FunctionVpcConnectorEgressSettingsPtrOutput) ToFunctionVpcConnectorEgressSettingsPtrOutputWithContext added in v0.6.0

func (o FunctionVpcConnectorEgressSettingsPtrOutput) ToFunctionVpcConnectorEgressSettingsPtrOutputWithContext(ctx context.Context) FunctionVpcConnectorEgressSettingsPtrOutput

func (FunctionVpcConnectorEgressSettingsPtrOutput) ToStringPtrOutput added in v0.6.0

func (FunctionVpcConnectorEgressSettingsPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type HttpsTrigger

type HttpsTrigger struct {
	// The security level for the function.
	SecurityLevel *HttpsTriggerSecurityLevel `pulumi:"securityLevel"`
}

Describes HttpsTrigger, could be used to connect web hooks to function.

type HttpsTriggerArgs

type HttpsTriggerArgs struct {
	// The security level for the function.
	SecurityLevel HttpsTriggerSecurityLevelPtrInput `pulumi:"securityLevel"`
}

Describes HttpsTrigger, could be used to connect web hooks to function.

func (HttpsTriggerArgs) ElementType

func (HttpsTriggerArgs) ElementType() reflect.Type

func (HttpsTriggerArgs) ToHttpsTriggerOutput

func (i HttpsTriggerArgs) ToHttpsTriggerOutput() HttpsTriggerOutput

func (HttpsTriggerArgs) ToHttpsTriggerOutputWithContext

func (i HttpsTriggerArgs) ToHttpsTriggerOutputWithContext(ctx context.Context) HttpsTriggerOutput

func (HttpsTriggerArgs) ToHttpsTriggerPtrOutput

func (i HttpsTriggerArgs) ToHttpsTriggerPtrOutput() HttpsTriggerPtrOutput

func (HttpsTriggerArgs) ToHttpsTriggerPtrOutputWithContext

func (i HttpsTriggerArgs) ToHttpsTriggerPtrOutputWithContext(ctx context.Context) HttpsTriggerPtrOutput

type HttpsTriggerInput

type HttpsTriggerInput interface {
	pulumi.Input

	ToHttpsTriggerOutput() HttpsTriggerOutput
	ToHttpsTriggerOutputWithContext(context.Context) HttpsTriggerOutput
}

HttpsTriggerInput is an input type that accepts HttpsTriggerArgs and HttpsTriggerOutput values. You can construct a concrete instance of `HttpsTriggerInput` via:

HttpsTriggerArgs{...}

type HttpsTriggerOutput

type HttpsTriggerOutput struct{ *pulumi.OutputState }

Describes HttpsTrigger, could be used to connect web hooks to function.

func (HttpsTriggerOutput) ElementType

func (HttpsTriggerOutput) ElementType() reflect.Type

func (HttpsTriggerOutput) SecurityLevel

The security level for the function.

func (HttpsTriggerOutput) ToHttpsTriggerOutput

func (o HttpsTriggerOutput) ToHttpsTriggerOutput() HttpsTriggerOutput

func (HttpsTriggerOutput) ToHttpsTriggerOutputWithContext

func (o HttpsTriggerOutput) ToHttpsTriggerOutputWithContext(ctx context.Context) HttpsTriggerOutput

func (HttpsTriggerOutput) ToHttpsTriggerPtrOutput

func (o HttpsTriggerOutput) ToHttpsTriggerPtrOutput() HttpsTriggerPtrOutput

func (HttpsTriggerOutput) ToHttpsTriggerPtrOutputWithContext

func (o HttpsTriggerOutput) ToHttpsTriggerPtrOutputWithContext(ctx context.Context) HttpsTriggerPtrOutput

type HttpsTriggerPtrInput

type HttpsTriggerPtrInput interface {
	pulumi.Input

	ToHttpsTriggerPtrOutput() HttpsTriggerPtrOutput
	ToHttpsTriggerPtrOutputWithContext(context.Context) HttpsTriggerPtrOutput
}

HttpsTriggerPtrInput is an input type that accepts HttpsTriggerArgs, HttpsTriggerPtr and HttpsTriggerPtrOutput values. You can construct a concrete instance of `HttpsTriggerPtrInput` via:

        HttpsTriggerArgs{...}

or:

        nil

type HttpsTriggerPtrOutput

type HttpsTriggerPtrOutput struct{ *pulumi.OutputState }

func (HttpsTriggerPtrOutput) Elem

func (HttpsTriggerPtrOutput) ElementType

func (HttpsTriggerPtrOutput) ElementType() reflect.Type

func (HttpsTriggerPtrOutput) SecurityLevel

The security level for the function.

func (HttpsTriggerPtrOutput) ToHttpsTriggerPtrOutput

func (o HttpsTriggerPtrOutput) ToHttpsTriggerPtrOutput() HttpsTriggerPtrOutput

func (HttpsTriggerPtrOutput) ToHttpsTriggerPtrOutputWithContext

func (o HttpsTriggerPtrOutput) ToHttpsTriggerPtrOutputWithContext(ctx context.Context) HttpsTriggerPtrOutput

type HttpsTriggerResponse

type HttpsTriggerResponse struct {
	// The security level for the function.
	SecurityLevel string `pulumi:"securityLevel"`
	// The deployed url for the function.
	Url string `pulumi:"url"`
}

Describes HttpsTrigger, could be used to connect web hooks to function.

type HttpsTriggerResponseOutput

type HttpsTriggerResponseOutput struct{ *pulumi.OutputState }

Describes HttpsTrigger, could be used to connect web hooks to function.

func (HttpsTriggerResponseOutput) ElementType

func (HttpsTriggerResponseOutput) ElementType() reflect.Type

func (HttpsTriggerResponseOutput) SecurityLevel

The security level for the function.

func (HttpsTriggerResponseOutput) ToHttpsTriggerResponseOutput

func (o HttpsTriggerResponseOutput) ToHttpsTriggerResponseOutput() HttpsTriggerResponseOutput

func (HttpsTriggerResponseOutput) ToHttpsTriggerResponseOutputWithContext

func (o HttpsTriggerResponseOutput) ToHttpsTriggerResponseOutputWithContext(ctx context.Context) HttpsTriggerResponseOutput

func (HttpsTriggerResponseOutput) Url

The deployed url for the function.

type HttpsTriggerSecurityLevel added in v0.4.0

type HttpsTriggerSecurityLevel string

The security level for the function.

func (HttpsTriggerSecurityLevel) ElementType added in v0.4.0

func (HttpsTriggerSecurityLevel) ElementType() reflect.Type

func (HttpsTriggerSecurityLevel) ToHttpsTriggerSecurityLevelOutput added in v0.6.0

func (e HttpsTriggerSecurityLevel) ToHttpsTriggerSecurityLevelOutput() HttpsTriggerSecurityLevelOutput

func (HttpsTriggerSecurityLevel) ToHttpsTriggerSecurityLevelOutputWithContext added in v0.6.0

func (e HttpsTriggerSecurityLevel) ToHttpsTriggerSecurityLevelOutputWithContext(ctx context.Context) HttpsTriggerSecurityLevelOutput

func (HttpsTriggerSecurityLevel) ToHttpsTriggerSecurityLevelPtrOutput added in v0.6.0

func (e HttpsTriggerSecurityLevel) ToHttpsTriggerSecurityLevelPtrOutput() HttpsTriggerSecurityLevelPtrOutput

func (HttpsTriggerSecurityLevel) ToHttpsTriggerSecurityLevelPtrOutputWithContext added in v0.6.0

func (e HttpsTriggerSecurityLevel) ToHttpsTriggerSecurityLevelPtrOutputWithContext(ctx context.Context) HttpsTriggerSecurityLevelPtrOutput

func (HttpsTriggerSecurityLevel) ToStringOutput added in v0.4.0

func (e HttpsTriggerSecurityLevel) ToStringOutput() pulumi.StringOutput

func (HttpsTriggerSecurityLevel) ToStringOutputWithContext added in v0.4.0

func (e HttpsTriggerSecurityLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (HttpsTriggerSecurityLevel) ToStringPtrOutput added in v0.4.0

func (e HttpsTriggerSecurityLevel) ToStringPtrOutput() pulumi.StringPtrOutput

func (HttpsTriggerSecurityLevel) ToStringPtrOutputWithContext added in v0.4.0

func (e HttpsTriggerSecurityLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type HttpsTriggerSecurityLevelInput added in v0.6.0

type HttpsTriggerSecurityLevelInput interface {
	pulumi.Input

	ToHttpsTriggerSecurityLevelOutput() HttpsTriggerSecurityLevelOutput
	ToHttpsTriggerSecurityLevelOutputWithContext(context.Context) HttpsTriggerSecurityLevelOutput
}

HttpsTriggerSecurityLevelInput is an input type that accepts HttpsTriggerSecurityLevelArgs and HttpsTriggerSecurityLevelOutput values. You can construct a concrete instance of `HttpsTriggerSecurityLevelInput` via:

HttpsTriggerSecurityLevelArgs{...}

type HttpsTriggerSecurityLevelOutput added in v0.6.0

type HttpsTriggerSecurityLevelOutput struct{ *pulumi.OutputState }

func (HttpsTriggerSecurityLevelOutput) ElementType added in v0.6.0

func (HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelOutput added in v0.6.0

func (o HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelOutput() HttpsTriggerSecurityLevelOutput

func (HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelOutputWithContext added in v0.6.0

func (o HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelOutputWithContext(ctx context.Context) HttpsTriggerSecurityLevelOutput

func (HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelPtrOutput added in v0.6.0

func (o HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelPtrOutput() HttpsTriggerSecurityLevelPtrOutput

func (HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelPtrOutputWithContext added in v0.6.0

func (o HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelPtrOutputWithContext(ctx context.Context) HttpsTriggerSecurityLevelPtrOutput

func (HttpsTriggerSecurityLevelOutput) ToStringOutput added in v0.6.0

func (HttpsTriggerSecurityLevelOutput) ToStringOutputWithContext added in v0.6.0

func (o HttpsTriggerSecurityLevelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (HttpsTriggerSecurityLevelOutput) ToStringPtrOutput added in v0.6.0

func (HttpsTriggerSecurityLevelOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o HttpsTriggerSecurityLevelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type HttpsTriggerSecurityLevelPtrInput added in v0.6.0

type HttpsTriggerSecurityLevelPtrInput interface {
	pulumi.Input

	ToHttpsTriggerSecurityLevelPtrOutput() HttpsTriggerSecurityLevelPtrOutput
	ToHttpsTriggerSecurityLevelPtrOutputWithContext(context.Context) HttpsTriggerSecurityLevelPtrOutput
}

func HttpsTriggerSecurityLevelPtr added in v0.6.0

func HttpsTriggerSecurityLevelPtr(v string) HttpsTriggerSecurityLevelPtrInput

type HttpsTriggerSecurityLevelPtrOutput added in v0.6.0

type HttpsTriggerSecurityLevelPtrOutput struct{ *pulumi.OutputState }

func (HttpsTriggerSecurityLevelPtrOutput) Elem added in v0.6.0

func (HttpsTriggerSecurityLevelPtrOutput) ElementType added in v0.6.0

func (HttpsTriggerSecurityLevelPtrOutput) ToHttpsTriggerSecurityLevelPtrOutput added in v0.6.0

func (o HttpsTriggerSecurityLevelPtrOutput) ToHttpsTriggerSecurityLevelPtrOutput() HttpsTriggerSecurityLevelPtrOutput

func (HttpsTriggerSecurityLevelPtrOutput) ToHttpsTriggerSecurityLevelPtrOutputWithContext added in v0.6.0

func (o HttpsTriggerSecurityLevelPtrOutput) ToHttpsTriggerSecurityLevelPtrOutputWithContext(ctx context.Context) HttpsTriggerSecurityLevelPtrOutput

func (HttpsTriggerSecurityLevelPtrOutput) ToStringPtrOutput added in v0.6.0

func (HttpsTriggerSecurityLevelPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o HttpsTriggerSecurityLevelPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LookupFunctionArgs added in v0.4.0

type LookupFunctionArgs struct {
	FunctionId string  `pulumi:"functionId"`
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
	VersionId  *string `pulumi:"versionId"`
}

type LookupFunctionIamPolicyArgs added in v0.4.0

type LookupFunctionIamPolicyArgs struct {
	FunctionId                    string  `pulumi:"functionId"`
	Location                      string  `pulumi:"location"`
	OptionsRequestedPolicyVersion *int    `pulumi:"optionsRequestedPolicyVersion"`
	Project                       *string `pulumi:"project"`
}

type LookupFunctionIamPolicyOutputArgs added in v0.8.0

type LookupFunctionIamPolicyOutputArgs struct {
	FunctionId                    pulumi.StringInput    `pulumi:"functionId"`
	Location                      pulumi.StringInput    `pulumi:"location"`
	OptionsRequestedPolicyVersion pulumi.IntPtrInput    `pulumi:"optionsRequestedPolicyVersion"`
	Project                       pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupFunctionIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupFunctionIamPolicyResult added in v0.4.0

type LookupFunctionIamPolicyResult struct {
	// Specifies cloud audit logging configuration for this policy.
	AuditConfigs []AuditConfigResponse `pulumi:"auditConfigs"`
	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings []BindingResponse `pulumi:"bindings"`
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag string `pulumi:"etag"`
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version int `pulumi:"version"`
}

func LookupFunctionIamPolicy added in v0.4.0

func LookupFunctionIamPolicy(ctx *pulumi.Context, args *LookupFunctionIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupFunctionIamPolicyResult, error)

Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set.

type LookupFunctionIamPolicyResultOutput added in v0.8.0

type LookupFunctionIamPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupFunctionIamPolicyResultOutput) AuditConfigs added in v0.8.0

Specifies cloud audit logging configuration for this policy.

func (LookupFunctionIamPolicyResultOutput) Bindings added in v0.8.0

Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.

func (LookupFunctionIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupFunctionIamPolicyResultOutput) Etag added in v0.8.0

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.

func (LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutput added in v0.8.0

func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutput() LookupFunctionIamPolicyResultOutput

func (LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutputWithContext(ctx context.Context) LookupFunctionIamPolicyResultOutput

func (LookupFunctionIamPolicyResultOutput) Version added in v0.8.0

Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

type LookupFunctionOutputArgs added in v0.8.0

type LookupFunctionOutputArgs struct {
	FunctionId pulumi.StringInput    `pulumi:"functionId"`
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
	VersionId  pulumi.StringPtrInput `pulumi:"versionId"`
}

func (LookupFunctionOutputArgs) ElementType added in v0.8.0

func (LookupFunctionOutputArgs) ElementType() reflect.Type

type LookupFunctionResult added in v0.4.0

type LookupFunctionResult struct {
	// The amount of memory in MB available for a function. Defaults to 256MB.
	AvailableMemoryMb int `pulumi:"availableMemoryMb"`
	// Build environment variables that shall be available during build time.
	BuildEnvironmentVariables map[string]string `pulumi:"buildEnvironmentVariables"`
	// The Cloud Build ID of the latest successful deployment of the function.
	BuildId string `pulumi:"buildId"`
	// The Cloud Build Name of the function deployment. `projects//locations//builds/`.
	BuildName string `pulumi:"buildName"`
	// Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.
	BuildWorkerPool string `pulumi:"buildWorkerPool"`
	// User-provided description of a function.
	Description string `pulumi:"description"`
	// Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
	DockerRegistry string `pulumi:"dockerRegistry"`
	// User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
	DockerRepository string `pulumi:"dockerRepository"`
	// The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
	EntryPoint string `pulumi:"entryPoint"`
	// Environment variables that shall be available during function execution.
	EnvironmentVariables map[string]string `pulumi:"environmentVariables"`
	// A source that fires events in response to a condition in another service.
	EventTrigger EventTriggerResponse `pulumi:"eventTrigger"`
	// An HTTPS endpoint type of source that can be triggered via URL.
	HttpsTrigger HttpsTriggerResponse `pulumi:"httpsTrigger"`
	// The ingress settings for the function, controlling what traffic can reach it.
	IngressSettings string `pulumi:"ingressSettings"`
	// Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. If specified, you must also provide an artifact registry repository using the `docker_repository` field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// Labels associated with this Cloud Function.
	Labels map[string]string `pulumi:"labels"`
	// The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
	MaxInstances int `pulumi:"maxInstances"`
	// A lower bound for the number function instances that may coexist at a given time.
	MinInstances int `pulumi:"minInstances"`
	// A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
	Name string `pulumi:"name"`
	// Deprecated: use vpc_connector
	//
	// Deprecated: Deprecated: use vpc_connector
	Network string `pulumi:"network"`
	// The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
	Runtime string `pulumi:"runtime"`
	// Secret environment variables configuration.
	SecretEnvironmentVariables []SecretEnvVarResponse `pulumi:"secretEnvironmentVariables"`
	// Secret volumes configuration.
	SecretVolumes []SecretVolumeResponse `pulumi:"secretVolumes"`
	// The email of the function's service account. If empty, defaults to `{project_id}@appspot.gserviceaccount.com`.
	ServiceAccountEmail string `pulumi:"serviceAccountEmail"`
	// The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
	SourceArchiveUrl string `pulumi:"sourceArchiveUrl"`
	// **Beta Feature** The source repository where a function is hosted.
	SourceRepository SourceRepositoryResponse `pulumi:"sourceRepository"`
	// Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
	SourceToken string `pulumi:"sourceToken"`
	// The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
	SourceUploadUrl string `pulumi:"sourceUploadUrl"`
	// Status of the function deployment.
	Status string `pulumi:"status"`
	// The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
	Timeout string `pulumi:"timeout"`
	// The last update timestamp of a Cloud Function.
	UpdateTime string `pulumi:"updateTime"`
	// The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
	VersionId string `pulumi:"versionId"`
	// The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
	VpcConnector string `pulumi:"vpcConnector"`
	// The egress settings for the connector, controlling what traffic is diverted through it.
	VpcConnectorEgressSettings string `pulumi:"vpcConnectorEgressSettings"`
}

func LookupFunction added in v0.4.0

func LookupFunction(ctx *pulumi.Context, args *LookupFunctionArgs, opts ...pulumi.InvokeOption) (*LookupFunctionResult, error)

Returns a function with the given name from the requested project.

type LookupFunctionResultOutput added in v0.8.0

type LookupFunctionResultOutput struct{ *pulumi.OutputState }

func LookupFunctionOutput added in v0.8.0

func LookupFunctionOutput(ctx *pulumi.Context, args LookupFunctionOutputArgs, opts ...pulumi.InvokeOption) LookupFunctionResultOutput

func (LookupFunctionResultOutput) AvailableMemoryMb added in v0.8.0

func (o LookupFunctionResultOutput) AvailableMemoryMb() pulumi.IntOutput

The amount of memory in MB available for a function. Defaults to 256MB.

func (LookupFunctionResultOutput) BuildEnvironmentVariables added in v0.8.0

func (o LookupFunctionResultOutput) BuildEnvironmentVariables() pulumi.StringMapOutput

Build environment variables that shall be available during build time.

func (LookupFunctionResultOutput) BuildId added in v0.8.0

The Cloud Build ID of the latest successful deployment of the function.

func (LookupFunctionResultOutput) BuildName added in v0.8.0

The Cloud Build Name of the function deployment. `projects//locations//builds/`.

func (LookupFunctionResultOutput) BuildWorkerPool added in v0.8.0

func (o LookupFunctionResultOutput) BuildWorkerPool() pulumi.StringOutput

Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.

func (LookupFunctionResultOutput) Description added in v0.8.0

User-provided description of a function.

func (LookupFunctionResultOutput) DockerRegistry added in v0.15.0

func (o LookupFunctionResultOutput) DockerRegistry() pulumi.StringOutput

Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.

func (LookupFunctionResultOutput) DockerRepository added in v0.9.0

func (o LookupFunctionResultOutput) DockerRepository() pulumi.StringOutput

User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.

func (LookupFunctionResultOutput) ElementType added in v0.8.0

func (LookupFunctionResultOutput) ElementType() reflect.Type

func (LookupFunctionResultOutput) EntryPoint added in v0.8.0

The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.

func (LookupFunctionResultOutput) EnvironmentVariables added in v0.8.0

func (o LookupFunctionResultOutput) EnvironmentVariables() pulumi.StringMapOutput

Environment variables that shall be available during function execution.

func (LookupFunctionResultOutput) EventTrigger added in v0.8.0

A source that fires events in response to a condition in another service.

func (LookupFunctionResultOutput) HttpsTrigger added in v0.8.0

An HTTPS endpoint type of source that can be triggered via URL.

func (LookupFunctionResultOutput) IngressSettings added in v0.8.0

func (o LookupFunctionResultOutput) IngressSettings() pulumi.StringOutput

The ingress settings for the function, controlling what traffic can reach it.

func (LookupFunctionResultOutput) KmsKeyName added in v0.9.0

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. If specified, you must also provide an artifact registry repository using the `docker_repository` field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.

func (LookupFunctionResultOutput) Labels added in v0.8.0

Labels associated with this Cloud Function.

func (LookupFunctionResultOutput) MaxInstances added in v0.8.0

func (o LookupFunctionResultOutput) MaxInstances() pulumi.IntOutput

The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.

func (LookupFunctionResultOutput) MinInstances added in v0.8.0

func (o LookupFunctionResultOutput) MinInstances() pulumi.IntOutput

A lower bound for the number function instances that may coexist at a given time.

func (LookupFunctionResultOutput) Name added in v0.8.0

A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`

func (LookupFunctionResultOutput) Network deprecated added in v0.8.0

Deprecated: use vpc_connector

Deprecated: Deprecated: use vpc_connector

func (LookupFunctionResultOutput) Runtime added in v0.8.0

The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).

func (LookupFunctionResultOutput) SecretEnvironmentVariables added in v0.8.0

func (o LookupFunctionResultOutput) SecretEnvironmentVariables() SecretEnvVarResponseArrayOutput

Secret environment variables configuration.

func (LookupFunctionResultOutput) SecretVolumes added in v0.8.0

Secret volumes configuration.

func (LookupFunctionResultOutput) ServiceAccountEmail added in v0.8.0

func (o LookupFunctionResultOutput) ServiceAccountEmail() pulumi.StringOutput

The email of the function's service account. If empty, defaults to `{project_id}@appspot.gserviceaccount.com`.

func (LookupFunctionResultOutput) SourceArchiveUrl added in v0.8.0

func (o LookupFunctionResultOutput) SourceArchiveUrl() pulumi.StringOutput

The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.

func (LookupFunctionResultOutput) SourceRepository added in v0.8.0

**Beta Feature** The source repository where a function is hosted.

func (LookupFunctionResultOutput) SourceToken added in v0.8.0

Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

func (LookupFunctionResultOutput) SourceUploadUrl added in v0.8.0

func (o LookupFunctionResultOutput) SourceUploadUrl() pulumi.StringOutput

The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)

func (LookupFunctionResultOutput) Status added in v0.8.0

Status of the function deployment.

func (LookupFunctionResultOutput) Timeout added in v0.8.0

The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.

func (LookupFunctionResultOutput) ToLookupFunctionResultOutput added in v0.8.0

func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput

func (LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext added in v0.8.0

func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx context.Context) LookupFunctionResultOutput

func (LookupFunctionResultOutput) UpdateTime added in v0.8.0

The last update timestamp of a Cloud Function.

func (LookupFunctionResultOutput) VersionId added in v0.8.0

The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.

func (LookupFunctionResultOutput) VpcConnector added in v0.8.0

The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.

func (LookupFunctionResultOutput) VpcConnectorEgressSettings added in v0.8.0

func (o LookupFunctionResultOutput) VpcConnectorEgressSettings() pulumi.StringOutput

The egress settings for the connector, controlling what traffic is diverted through it.

type Retry

type Retry struct {
}

Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.

type RetryArgs

type RetryArgs struct {
}

Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.

func (RetryArgs) ElementType

func (RetryArgs) ElementType() reflect.Type

func (RetryArgs) ToRetryOutput

func (i RetryArgs) ToRetryOutput() RetryOutput

func (RetryArgs) ToRetryOutputWithContext

func (i RetryArgs) ToRetryOutputWithContext(ctx context.Context) RetryOutput

func (RetryArgs) ToRetryPtrOutput

func (i RetryArgs) ToRetryPtrOutput() RetryPtrOutput

func (RetryArgs) ToRetryPtrOutputWithContext

func (i RetryArgs) ToRetryPtrOutputWithContext(ctx context.Context) RetryPtrOutput

type RetryInput

type RetryInput interface {
	pulumi.Input

	ToRetryOutput() RetryOutput
	ToRetryOutputWithContext(context.Context) RetryOutput
}

RetryInput is an input type that accepts RetryArgs and RetryOutput values. You can construct a concrete instance of `RetryInput` via:

RetryArgs{...}

type RetryOutput

type RetryOutput struct{ *pulumi.OutputState }

Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.

func (RetryOutput) ElementType

func (RetryOutput) ElementType() reflect.Type

func (RetryOutput) ToRetryOutput

func (o RetryOutput) ToRetryOutput() RetryOutput

func (RetryOutput) ToRetryOutputWithContext

func (o RetryOutput) ToRetryOutputWithContext(ctx context.Context) RetryOutput

func (RetryOutput) ToRetryPtrOutput

func (o RetryOutput) ToRetryPtrOutput() RetryPtrOutput

func (RetryOutput) ToRetryPtrOutputWithContext

func (o RetryOutput) ToRetryPtrOutputWithContext(ctx context.Context) RetryPtrOutput

type RetryPtrInput

type RetryPtrInput interface {
	pulumi.Input

	ToRetryPtrOutput() RetryPtrOutput
	ToRetryPtrOutputWithContext(context.Context) RetryPtrOutput
}

RetryPtrInput is an input type that accepts RetryArgs, RetryPtr and RetryPtrOutput values. You can construct a concrete instance of `RetryPtrInput` via:

        RetryArgs{...}

or:

        nil

func RetryPtr

func RetryPtr(v *RetryArgs) RetryPtrInput

type RetryPtrOutput

type RetryPtrOutput struct{ *pulumi.OutputState }

func (RetryPtrOutput) Elem

func (o RetryPtrOutput) Elem() RetryOutput

func (RetryPtrOutput) ElementType

func (RetryPtrOutput) ElementType() reflect.Type

func (RetryPtrOutput) ToRetryPtrOutput

func (o RetryPtrOutput) ToRetryPtrOutput() RetryPtrOutput

func (RetryPtrOutput) ToRetryPtrOutputWithContext

func (o RetryPtrOutput) ToRetryPtrOutputWithContext(ctx context.Context) RetryPtrOutput

type RetryResponse

type RetryResponse struct {
}

Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.

type RetryResponseOutput

type RetryResponseOutput struct{ *pulumi.OutputState }

Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.

func (RetryResponseOutput) ElementType

func (RetryResponseOutput) ElementType() reflect.Type

func (RetryResponseOutput) ToRetryResponseOutput

func (o RetryResponseOutput) ToRetryResponseOutput() RetryResponseOutput

func (RetryResponseOutput) ToRetryResponseOutputWithContext

func (o RetryResponseOutput) ToRetryResponseOutputWithContext(ctx context.Context) RetryResponseOutput

type SecretEnvVar added in v0.6.0

type SecretEnvVar struct {
	// Name of the environment variable.
	Key *string `pulumi:"key"`
	// Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
	Project *string `pulumi:"project"`
	// Name of the secret in secret manager (not the full resource name).
	Secret *string `pulumi:"secret"`
	// Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
	Version *string `pulumi:"version"`
}

Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

type SecretEnvVarArgs added in v0.6.0

type SecretEnvVarArgs struct {
	// Name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// Name of the secret in secret manager (not the full resource name).
	Secret pulumi.StringPtrInput `pulumi:"secret"`
	// Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

func (SecretEnvVarArgs) ElementType added in v0.6.0

func (SecretEnvVarArgs) ElementType() reflect.Type

func (SecretEnvVarArgs) ToSecretEnvVarOutput added in v0.6.0

func (i SecretEnvVarArgs) ToSecretEnvVarOutput() SecretEnvVarOutput

func (SecretEnvVarArgs) ToSecretEnvVarOutputWithContext added in v0.6.0

func (i SecretEnvVarArgs) ToSecretEnvVarOutputWithContext(ctx context.Context) SecretEnvVarOutput

type SecretEnvVarArray added in v0.6.0

type SecretEnvVarArray []SecretEnvVarInput

func (SecretEnvVarArray) ElementType added in v0.6.0

func (SecretEnvVarArray) ElementType() reflect.Type

func (SecretEnvVarArray) ToSecretEnvVarArrayOutput added in v0.6.0

func (i SecretEnvVarArray) ToSecretEnvVarArrayOutput() SecretEnvVarArrayOutput

func (SecretEnvVarArray) ToSecretEnvVarArrayOutputWithContext added in v0.6.0

func (i SecretEnvVarArray) ToSecretEnvVarArrayOutputWithContext(ctx context.Context) SecretEnvVarArrayOutput

type SecretEnvVarArrayInput added in v0.6.0

type SecretEnvVarArrayInput interface {
	pulumi.Input

	ToSecretEnvVarArrayOutput() SecretEnvVarArrayOutput
	ToSecretEnvVarArrayOutputWithContext(context.Context) SecretEnvVarArrayOutput
}

SecretEnvVarArrayInput is an input type that accepts SecretEnvVarArray and SecretEnvVarArrayOutput values. You can construct a concrete instance of `SecretEnvVarArrayInput` via:

SecretEnvVarArray{ SecretEnvVarArgs{...} }

type SecretEnvVarArrayOutput added in v0.6.0

type SecretEnvVarArrayOutput struct{ *pulumi.OutputState }

func (SecretEnvVarArrayOutput) ElementType added in v0.6.0

func (SecretEnvVarArrayOutput) ElementType() reflect.Type

func (SecretEnvVarArrayOutput) Index added in v0.6.0

func (SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutput added in v0.6.0

func (o SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutput() SecretEnvVarArrayOutput

func (SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutputWithContext added in v0.6.0

func (o SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutputWithContext(ctx context.Context) SecretEnvVarArrayOutput

type SecretEnvVarInput added in v0.6.0

type SecretEnvVarInput interface {
	pulumi.Input

	ToSecretEnvVarOutput() SecretEnvVarOutput
	ToSecretEnvVarOutputWithContext(context.Context) SecretEnvVarOutput
}

SecretEnvVarInput is an input type that accepts SecretEnvVarArgs and SecretEnvVarOutput values. You can construct a concrete instance of `SecretEnvVarInput` via:

SecretEnvVarArgs{...}

type SecretEnvVarOutput added in v0.6.0

type SecretEnvVarOutput struct{ *pulumi.OutputState }

Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

func (SecretEnvVarOutput) ElementType added in v0.6.0

func (SecretEnvVarOutput) ElementType() reflect.Type

func (SecretEnvVarOutput) Key added in v0.6.0

Name of the environment variable.

func (SecretEnvVarOutput) Project added in v0.6.0

Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

func (SecretEnvVarOutput) Secret added in v0.6.0

Name of the secret in secret manager (not the full resource name).

func (SecretEnvVarOutput) ToSecretEnvVarOutput added in v0.6.0

func (o SecretEnvVarOutput) ToSecretEnvVarOutput() SecretEnvVarOutput

func (SecretEnvVarOutput) ToSecretEnvVarOutputWithContext added in v0.6.0

func (o SecretEnvVarOutput) ToSecretEnvVarOutputWithContext(ctx context.Context) SecretEnvVarOutput

func (SecretEnvVarOutput) Version added in v0.6.0

Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.

type SecretEnvVarResponse added in v0.6.0

type SecretEnvVarResponse struct {
	// Name of the environment variable.
	Key string `pulumi:"key"`
	// Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
	Project string `pulumi:"project"`
	// Name of the secret in secret manager (not the full resource name).
	Secret string `pulumi:"secret"`
	// Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
	Version string `pulumi:"version"`
}

Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

type SecretEnvVarResponseArrayOutput added in v0.6.0

type SecretEnvVarResponseArrayOutput struct{ *pulumi.OutputState }

func (SecretEnvVarResponseArrayOutput) ElementType added in v0.6.0

func (SecretEnvVarResponseArrayOutput) Index added in v0.6.0

func (SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutput added in v0.6.0

func (o SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutput() SecretEnvVarResponseArrayOutput

func (SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutputWithContext added in v0.6.0

func (o SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutputWithContext(ctx context.Context) SecretEnvVarResponseArrayOutput

type SecretEnvVarResponseOutput added in v0.6.0

type SecretEnvVarResponseOutput struct{ *pulumi.OutputState }

Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

func (SecretEnvVarResponseOutput) ElementType added in v0.6.0

func (SecretEnvVarResponseOutput) ElementType() reflect.Type

func (SecretEnvVarResponseOutput) Key added in v0.6.0

Name of the environment variable.

func (SecretEnvVarResponseOutput) Project added in v0.6.0

Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

func (SecretEnvVarResponseOutput) Secret added in v0.6.0

Name of the secret in secret manager (not the full resource name).

func (SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutput added in v0.6.0

func (o SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutput() SecretEnvVarResponseOutput

func (SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutputWithContext added in v0.6.0

func (o SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutputWithContext(ctx context.Context) SecretEnvVarResponseOutput

func (SecretEnvVarResponseOutput) Version added in v0.6.0

Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.

type SecretVersion added in v0.6.0

type SecretVersion struct {
	// Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
	Path *string `pulumi:"path"`
	// Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.
	Version *string `pulumi:"version"`
}

Configuration for a single version.

type SecretVersionArgs added in v0.6.0

type SecretVersionArgs struct {
	// Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

Configuration for a single version.

func (SecretVersionArgs) ElementType added in v0.6.0

func (SecretVersionArgs) ElementType() reflect.Type

func (SecretVersionArgs) ToSecretVersionOutput added in v0.6.0

func (i SecretVersionArgs) ToSecretVersionOutput() SecretVersionOutput

func (SecretVersionArgs) ToSecretVersionOutputWithContext added in v0.6.0

func (i SecretVersionArgs) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput

type SecretVersionArray added in v0.6.0

type SecretVersionArray []SecretVersionInput

func (SecretVersionArray) ElementType added in v0.6.0

func (SecretVersionArray) ElementType() reflect.Type

func (SecretVersionArray) ToSecretVersionArrayOutput added in v0.6.0

func (i SecretVersionArray) ToSecretVersionArrayOutput() SecretVersionArrayOutput

func (SecretVersionArray) ToSecretVersionArrayOutputWithContext added in v0.6.0

func (i SecretVersionArray) ToSecretVersionArrayOutputWithContext(ctx context.Context) SecretVersionArrayOutput

type SecretVersionArrayInput added in v0.6.0

type SecretVersionArrayInput interface {
	pulumi.Input

	ToSecretVersionArrayOutput() SecretVersionArrayOutput
	ToSecretVersionArrayOutputWithContext(context.Context) SecretVersionArrayOutput
}

SecretVersionArrayInput is an input type that accepts SecretVersionArray and SecretVersionArrayOutput values. You can construct a concrete instance of `SecretVersionArrayInput` via:

SecretVersionArray{ SecretVersionArgs{...} }

type SecretVersionArrayOutput added in v0.6.0

type SecretVersionArrayOutput struct{ *pulumi.OutputState }

func (SecretVersionArrayOutput) ElementType added in v0.6.0

func (SecretVersionArrayOutput) ElementType() reflect.Type

func (SecretVersionArrayOutput) Index added in v0.6.0

func (SecretVersionArrayOutput) ToSecretVersionArrayOutput added in v0.6.0

func (o SecretVersionArrayOutput) ToSecretVersionArrayOutput() SecretVersionArrayOutput

func (SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext added in v0.6.0

func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx context.Context) SecretVersionArrayOutput

type SecretVersionInput added in v0.6.0

type SecretVersionInput interface {
	pulumi.Input

	ToSecretVersionOutput() SecretVersionOutput
	ToSecretVersionOutputWithContext(context.Context) SecretVersionOutput
}

SecretVersionInput is an input type that accepts SecretVersionArgs and SecretVersionOutput values. You can construct a concrete instance of `SecretVersionInput` via:

SecretVersionArgs{...}

type SecretVersionOutput added in v0.6.0

type SecretVersionOutput struct{ *pulumi.OutputState }

Configuration for a single version.

func (SecretVersionOutput) ElementType added in v0.6.0

func (SecretVersionOutput) ElementType() reflect.Type

func (SecretVersionOutput) Path added in v0.6.0

Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.

func (SecretVersionOutput) ToSecretVersionOutput added in v0.6.0

func (o SecretVersionOutput) ToSecretVersionOutput() SecretVersionOutput

func (SecretVersionOutput) ToSecretVersionOutputWithContext added in v0.6.0

func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput

func (SecretVersionOutput) Version added in v0.6.0

Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.

type SecretVersionResponse added in v0.6.0

type SecretVersionResponse struct {
	// Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
	Path string `pulumi:"path"`
	// Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.
	Version string `pulumi:"version"`
}

Configuration for a single version.

type SecretVersionResponseArrayOutput added in v0.6.0

type SecretVersionResponseArrayOutput struct{ *pulumi.OutputState }

func (SecretVersionResponseArrayOutput) ElementType added in v0.6.0

func (SecretVersionResponseArrayOutput) Index added in v0.6.0

func (SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutput added in v0.6.0

func (o SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutput() SecretVersionResponseArrayOutput

func (SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutputWithContext added in v0.6.0

func (o SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutputWithContext(ctx context.Context) SecretVersionResponseArrayOutput

type SecretVersionResponseOutput added in v0.6.0

type SecretVersionResponseOutput struct{ *pulumi.OutputState }

Configuration for a single version.

func (SecretVersionResponseOutput) ElementType added in v0.6.0

func (SecretVersionResponseOutput) Path added in v0.6.0

Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.

func (SecretVersionResponseOutput) ToSecretVersionResponseOutput added in v0.6.0

func (o SecretVersionResponseOutput) ToSecretVersionResponseOutput() SecretVersionResponseOutput

func (SecretVersionResponseOutput) ToSecretVersionResponseOutputWithContext added in v0.6.0

func (o SecretVersionResponseOutput) ToSecretVersionResponseOutputWithContext(ctx context.Context) SecretVersionResponseOutput

func (SecretVersionResponseOutput) Version added in v0.6.0

Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.

type SecretVolume added in v0.6.0

type SecretVolume struct {
	// The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
	MountPath *string `pulumi:"mountPath"`
	// Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
	Project *string `pulumi:"project"`
	// Name of the secret in secret manager (not the full resource name).
	Secret *string `pulumi:"secret"`
	// List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.
	Versions []SecretVersion `pulumi:"versions"`
}

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. Secret value is not a part of the configuration. Every filesystem read operation performs a lookup in secret manager to retrieve the secret value.

type SecretVolumeArgs added in v0.6.0

type SecretVolumeArgs struct {
	// The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
	MountPath pulumi.StringPtrInput `pulumi:"mountPath"`
	// Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// Name of the secret in secret manager (not the full resource name).
	Secret pulumi.StringPtrInput `pulumi:"secret"`
	// List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.
	Versions SecretVersionArrayInput `pulumi:"versions"`
}

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. Secret value is not a part of the configuration. Every filesystem read operation performs a lookup in secret manager to retrieve the secret value.

func (SecretVolumeArgs) ElementType added in v0.6.0

func (SecretVolumeArgs) ElementType() reflect.Type

func (SecretVolumeArgs) ToSecretVolumeOutput added in v0.6.0

func (i SecretVolumeArgs) ToSecretVolumeOutput() SecretVolumeOutput

func (SecretVolumeArgs) ToSecretVolumeOutputWithContext added in v0.6.0

func (i SecretVolumeArgs) ToSecretVolumeOutputWithContext(ctx context.Context) SecretVolumeOutput

type SecretVolumeArray added in v0.6.0

type SecretVolumeArray []SecretVolumeInput

func (SecretVolumeArray) ElementType added in v0.6.0

func (SecretVolumeArray) ElementType() reflect.Type

func (SecretVolumeArray) ToSecretVolumeArrayOutput added in v0.6.0

func (i SecretVolumeArray) ToSecretVolumeArrayOutput() SecretVolumeArrayOutput

func (SecretVolumeArray) ToSecretVolumeArrayOutputWithContext added in v0.6.0

func (i SecretVolumeArray) ToSecretVolumeArrayOutputWithContext(ctx context.Context) SecretVolumeArrayOutput

type SecretVolumeArrayInput added in v0.6.0

type SecretVolumeArrayInput interface {
	pulumi.Input

	ToSecretVolumeArrayOutput() SecretVolumeArrayOutput
	ToSecretVolumeArrayOutputWithContext(context.Context) SecretVolumeArrayOutput
}

SecretVolumeArrayInput is an input type that accepts SecretVolumeArray and SecretVolumeArrayOutput values. You can construct a concrete instance of `SecretVolumeArrayInput` via:

SecretVolumeArray{ SecretVolumeArgs{...} }

type SecretVolumeArrayOutput added in v0.6.0

type SecretVolumeArrayOutput struct{ *pulumi.OutputState }

func (SecretVolumeArrayOutput) ElementType added in v0.6.0

func (SecretVolumeArrayOutput) ElementType() reflect.Type

func (SecretVolumeArrayOutput) Index added in v0.6.0

func (SecretVolumeArrayOutput) ToSecretVolumeArrayOutput added in v0.6.0

func (o SecretVolumeArrayOutput) ToSecretVolumeArrayOutput() SecretVolumeArrayOutput

func (SecretVolumeArrayOutput) ToSecretVolumeArrayOutputWithContext added in v0.6.0

func (o SecretVolumeArrayOutput) ToSecretVolumeArrayOutputWithContext(ctx context.Context) SecretVolumeArrayOutput

type SecretVolumeInput added in v0.6.0

type SecretVolumeInput interface {
	pulumi.Input

	ToSecretVolumeOutput() SecretVolumeOutput
	ToSecretVolumeOutputWithContext(context.Context) SecretVolumeOutput
}

SecretVolumeInput is an input type that accepts SecretVolumeArgs and SecretVolumeOutput values. You can construct a concrete instance of `SecretVolumeInput` via:

SecretVolumeArgs{...}

type SecretVolumeOutput added in v0.6.0

type SecretVolumeOutput struct{ *pulumi.OutputState }

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. Secret value is not a part of the configuration. Every filesystem read operation performs a lookup in secret manager to retrieve the secret value.

func (SecretVolumeOutput) ElementType added in v0.6.0

func (SecretVolumeOutput) ElementType() reflect.Type

func (SecretVolumeOutput) MountPath added in v0.6.0

The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log

func (SecretVolumeOutput) Project added in v0.6.0

Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

func (SecretVolumeOutput) Secret added in v0.6.0

Name of the secret in secret manager (not the full resource name).

func (SecretVolumeOutput) ToSecretVolumeOutput added in v0.6.0

func (o SecretVolumeOutput) ToSecretVolumeOutput() SecretVolumeOutput

func (SecretVolumeOutput) ToSecretVolumeOutputWithContext added in v0.6.0

func (o SecretVolumeOutput) ToSecretVolumeOutputWithContext(ctx context.Context) SecretVolumeOutput

func (SecretVolumeOutput) Versions added in v0.6.0

List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.

type SecretVolumeResponse added in v0.6.0

type SecretVolumeResponse struct {
	// The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
	MountPath string `pulumi:"mountPath"`
	// Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
	Project string `pulumi:"project"`
	// Name of the secret in secret manager (not the full resource name).
	Secret string `pulumi:"secret"`
	// List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.
	Versions []SecretVersionResponse `pulumi:"versions"`
}

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. Secret value is not a part of the configuration. Every filesystem read operation performs a lookup in secret manager to retrieve the secret value.

type SecretVolumeResponseArrayOutput added in v0.6.0

type SecretVolumeResponseArrayOutput struct{ *pulumi.OutputState }

func (SecretVolumeResponseArrayOutput) ElementType added in v0.6.0

func (SecretVolumeResponseArrayOutput) Index added in v0.6.0

func (SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutput added in v0.6.0

func (o SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutput() SecretVolumeResponseArrayOutput

func (SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutputWithContext added in v0.6.0

func (o SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutputWithContext(ctx context.Context) SecretVolumeResponseArrayOutput

type SecretVolumeResponseOutput added in v0.6.0

type SecretVolumeResponseOutput struct{ *pulumi.OutputState }

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. Secret value is not a part of the configuration. Every filesystem read operation performs a lookup in secret manager to retrieve the secret value.

func (SecretVolumeResponseOutput) ElementType added in v0.6.0

func (SecretVolumeResponseOutput) ElementType() reflect.Type

func (SecretVolumeResponseOutput) MountPath added in v0.6.0

The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log

func (SecretVolumeResponseOutput) Project added in v0.6.0

Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

func (SecretVolumeResponseOutput) Secret added in v0.6.0

Name of the secret in secret manager (not the full resource name).

func (SecretVolumeResponseOutput) ToSecretVolumeResponseOutput added in v0.6.0

func (o SecretVolumeResponseOutput) ToSecretVolumeResponseOutput() SecretVolumeResponseOutput

func (SecretVolumeResponseOutput) ToSecretVolumeResponseOutputWithContext added in v0.6.0

func (o SecretVolumeResponseOutput) ToSecretVolumeResponseOutputWithContext(ctx context.Context) SecretVolumeResponseOutput

func (SecretVolumeResponseOutput) Versions added in v0.6.0

List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.

type SourceRepository

type SourceRepository struct {
	// The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
	Url *string `pulumi:"url"`
}

Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.

type SourceRepositoryArgs

type SourceRepositoryArgs struct {
	// The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.

func (SourceRepositoryArgs) ElementType

func (SourceRepositoryArgs) ElementType() reflect.Type

func (SourceRepositoryArgs) ToSourceRepositoryOutput

func (i SourceRepositoryArgs) ToSourceRepositoryOutput() SourceRepositoryOutput

func (SourceRepositoryArgs) ToSourceRepositoryOutputWithContext

func (i SourceRepositoryArgs) ToSourceRepositoryOutputWithContext(ctx context.Context) SourceRepositoryOutput

func (SourceRepositoryArgs) ToSourceRepositoryPtrOutput

func (i SourceRepositoryArgs) ToSourceRepositoryPtrOutput() SourceRepositoryPtrOutput

func (SourceRepositoryArgs) ToSourceRepositoryPtrOutputWithContext

func (i SourceRepositoryArgs) ToSourceRepositoryPtrOutputWithContext(ctx context.Context) SourceRepositoryPtrOutput

type SourceRepositoryInput

type SourceRepositoryInput interface {
	pulumi.Input

	ToSourceRepositoryOutput() SourceRepositoryOutput
	ToSourceRepositoryOutputWithContext(context.Context) SourceRepositoryOutput
}

SourceRepositoryInput is an input type that accepts SourceRepositoryArgs and SourceRepositoryOutput values. You can construct a concrete instance of `SourceRepositoryInput` via:

SourceRepositoryArgs{...}

type SourceRepositoryOutput

type SourceRepositoryOutput struct{ *pulumi.OutputState }

Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.

func (SourceRepositoryOutput) ElementType

func (SourceRepositoryOutput) ElementType() reflect.Type

func (SourceRepositoryOutput) ToSourceRepositoryOutput

func (o SourceRepositoryOutput) ToSourceRepositoryOutput() SourceRepositoryOutput

func (SourceRepositoryOutput) ToSourceRepositoryOutputWithContext

func (o SourceRepositoryOutput) ToSourceRepositoryOutputWithContext(ctx context.Context) SourceRepositoryOutput

func (SourceRepositoryOutput) ToSourceRepositoryPtrOutput

func (o SourceRepositoryOutput) ToSourceRepositoryPtrOutput() SourceRepositoryPtrOutput

func (SourceRepositoryOutput) ToSourceRepositoryPtrOutputWithContext

func (o SourceRepositoryOutput) ToSourceRepositoryPtrOutputWithContext(ctx context.Context) SourceRepositoryPtrOutput

func (SourceRepositoryOutput) Url

The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.

type SourceRepositoryPtrInput

type SourceRepositoryPtrInput interface {
	pulumi.Input

	ToSourceRepositoryPtrOutput() SourceRepositoryPtrOutput
	ToSourceRepositoryPtrOutputWithContext(context.Context) SourceRepositoryPtrOutput
}

SourceRepositoryPtrInput is an input type that accepts SourceRepositoryArgs, SourceRepositoryPtr and SourceRepositoryPtrOutput values. You can construct a concrete instance of `SourceRepositoryPtrInput` via:

        SourceRepositoryArgs{...}

or:

        nil

type SourceRepositoryPtrOutput

type SourceRepositoryPtrOutput struct{ *pulumi.OutputState }

func (SourceRepositoryPtrOutput) Elem

func (SourceRepositoryPtrOutput) ElementType

func (SourceRepositoryPtrOutput) ElementType() reflect.Type

func (SourceRepositoryPtrOutput) ToSourceRepositoryPtrOutput

func (o SourceRepositoryPtrOutput) ToSourceRepositoryPtrOutput() SourceRepositoryPtrOutput

func (SourceRepositoryPtrOutput) ToSourceRepositoryPtrOutputWithContext

func (o SourceRepositoryPtrOutput) ToSourceRepositoryPtrOutputWithContext(ctx context.Context) SourceRepositoryPtrOutput

func (SourceRepositoryPtrOutput) Url

The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.

type SourceRepositoryResponse

type SourceRepositoryResponse struct {
	// The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
	DeployedUrl string `pulumi:"deployedUrl"`
	// The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
	Url string `pulumi:"url"`
}

Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.

type SourceRepositoryResponseOutput

type SourceRepositoryResponseOutput struct{ *pulumi.OutputState }

Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.

func (SourceRepositoryResponseOutput) DeployedUrl

The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.

func (SourceRepositoryResponseOutput) ElementType

func (SourceRepositoryResponseOutput) ToSourceRepositoryResponseOutput

func (o SourceRepositoryResponseOutput) ToSourceRepositoryResponseOutput() SourceRepositoryResponseOutput

func (SourceRepositoryResponseOutput) ToSourceRepositoryResponseOutputWithContext

func (o SourceRepositoryResponseOutput) ToSourceRepositoryResponseOutputWithContext(ctx context.Context) SourceRepositoryResponseOutput

func (SourceRepositoryResponseOutput) Url

The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.

Jump to

Keyboard shortcuts

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