v2beta

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

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.
	BuildConfigDockerRegistryDockerRegistryUnspecified = BuildConfigDockerRegistry("DOCKER_REGISTRY_UNSPECIFIED")
	// Docker images will be stored in multi-regional Container Registry repositories named `gcf`.
	BuildConfigDockerRegistryContainerRegistry = BuildConfigDockerRegistry("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.
	BuildConfigDockerRegistryArtifactRegistry = BuildConfigDockerRegistry("ARTIFACT_REGISTRY")
)
View Source
const (
	// Not specified.
	EventTriggerRetryPolicyRetryPolicyUnspecified = EventTriggerRetryPolicy("RETRY_POLICY_UNSPECIFIED")
	// Do not retry.
	EventTriggerRetryPolicyRetryPolicyDoNotRetry = EventTriggerRetryPolicy("RETRY_POLICY_DO_NOT_RETRY")
	// Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).
	EventTriggerRetryPolicyRetryPolicyRetry = EventTriggerRetryPolicy("RETRY_POLICY_RETRY")
)
View Source
const (
	// Unspecified
	FunctionEnvironmentEnvironmentUnspecified = FunctionEnvironment("ENVIRONMENT_UNSPECIFIED")
	// Gen 1
	FunctionEnvironmentGen1 = FunctionEnvironment("GEN_1")
	// Gen 2
	FunctionEnvironmentGen2 = FunctionEnvironment("GEN_2")
)
View Source
const (
	// Unspecified.
	ServiceConfigIngressSettingsIngressSettingsUnspecified = ServiceConfigIngressSettings("INGRESS_SETTINGS_UNSPECIFIED")
	// Allow HTTP traffic from public and private sources.
	ServiceConfigIngressSettingsAllowAll = ServiceConfigIngressSettings("ALLOW_ALL")
	// Allow HTTP traffic from only private VPC sources.
	ServiceConfigIngressSettingsAllowInternalOnly = ServiceConfigIngressSettings("ALLOW_INTERNAL_ONLY")
	// Allow HTTP traffic from private VPC sources and through GCLB.
	ServiceConfigIngressSettingsAllowInternalAndGclb = ServiceConfigIngressSettings("ALLOW_INTERNAL_AND_GCLB")
)
View Source
const (
	// Unspecified.
	ServiceConfigSecurityLevelSecurityLevelUnspecified = ServiceConfigSecurityLevel("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.
	ServiceConfigSecurityLevelSecureAlways = ServiceConfigSecurityLevel("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.
	ServiceConfigSecurityLevelSecureOptional = ServiceConfigSecurityLevel("SECURE_OPTIONAL")
)
View Source
const (
	// Unspecified.
	ServiceConfigVpcConnectorEgressSettingsVpcConnectorEgressSettingsUnspecified = ServiceConfigVpcConnectorEgressSettings("VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED")
	// Use the VPC Access Connector only for private IP space from RFC1918.
	ServiceConfigVpcConnectorEgressSettingsPrivateRangesOnly = ServiceConfigVpcConnectorEgressSettings("PRIVATE_RANGES_ONLY")
	// Force the use of VPC Access Connector for all egress traffic from the function.
	ServiceConfigVpcConnectorEgressSettingsAllTraffic = ServiceConfigVpcConnectorEgressSettings("ALL_TRAFFIC")
)

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

type AuditLogConfigLogType string

The log type that this config enables.

func (AuditLogConfigLogType) ElementType

func (AuditLogConfigLogType) ElementType() reflect.Type

func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput

func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput

func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext

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

func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput

func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext

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

func (AuditLogConfigLogType) ToStringOutput

func (e AuditLogConfigLogType) ToStringOutput() pulumi.StringOutput

func (AuditLogConfigLogType) ToStringOutputWithContext

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

func (AuditLogConfigLogType) ToStringPtrOutput

func (e AuditLogConfigLogType) ToStringPtrOutput() pulumi.StringPtrOutput

func (AuditLogConfigLogType) ToStringPtrOutputWithContext

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

type AuditLogConfigLogTypeInput

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

type AuditLogConfigLogTypeOutput struct{ *pulumi.OutputState }

func (AuditLogConfigLogTypeOutput) ElementType

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput

func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext

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

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput

func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext

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

func (AuditLogConfigLogTypeOutput) ToStringOutput

func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput

func (AuditLogConfigLogTypeOutput) ToStringOutputWithContext

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

func (AuditLogConfigLogTypeOutput) ToStringPtrOutput

func (o AuditLogConfigLogTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext

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

type AuditLogConfigLogTypePtrInput

type AuditLogConfigLogTypePtrInput interface {
	pulumi.Input

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

func AuditLogConfigLogTypePtr

func AuditLogConfigLogTypePtr(v string) AuditLogConfigLogTypePtrInput

type AuditLogConfigLogTypePtrOutput

type AuditLogConfigLogTypePtrOutput struct{ *pulumi.OutputState }

func (AuditLogConfigLogTypePtrOutput) Elem

func (AuditLogConfigLogTypePtrOutput) ElementType

func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput

func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext

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

func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutput

func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext

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 BuildConfig

type BuildConfig struct {
	// Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. 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 *BuildConfigDockerRegistry `pulumi:"dockerRegistry"`
	// User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
	EntryPoint *string `pulumi:"entryPoint"`
	// User-provided build-time environment variables for the function
	EnvironmentVariables map[string]string `pulumi:"environmentVariables"`
	// 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"`
	// The location of the function source code.
	Source *Source `pulumi:"source"`
	// An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
	SourceToken *string `pulumi:"sourceToken"`
	// 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.
	WorkerPool *string `pulumi:"workerPool"`
}

Describes the Build step of the function that builds a container from the given source.

type BuildConfigArgs

type BuildConfigArgs struct {
	// Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. 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 BuildConfigDockerRegistryPtrInput `pulumi:"dockerRegistry"`
	// User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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 `pulumi:"dockerRepository"`
	// The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
	EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"`
	// User-provided build-time environment variables for the function
	EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"`
	// 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 `pulumi:"runtime"`
	// The location of the function source code.
	Source SourcePtrInput `pulumi:"source"`
	// An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
	SourceToken pulumi.StringPtrInput `pulumi:"sourceToken"`
	// 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.
	WorkerPool pulumi.StringPtrInput `pulumi:"workerPool"`
}

Describes the Build step of the function that builds a container from the given source.

func (BuildConfigArgs) ElementType

func (BuildConfigArgs) ElementType() reflect.Type

func (BuildConfigArgs) ToBuildConfigOutput

func (i BuildConfigArgs) ToBuildConfigOutput() BuildConfigOutput

func (BuildConfigArgs) ToBuildConfigOutputWithContext

func (i BuildConfigArgs) ToBuildConfigOutputWithContext(ctx context.Context) BuildConfigOutput

func (BuildConfigArgs) ToBuildConfigPtrOutput

func (i BuildConfigArgs) ToBuildConfigPtrOutput() BuildConfigPtrOutput

func (BuildConfigArgs) ToBuildConfigPtrOutputWithContext

func (i BuildConfigArgs) ToBuildConfigPtrOutputWithContext(ctx context.Context) BuildConfigPtrOutput

type BuildConfigDockerRegistry added in v0.28.0

type BuildConfigDockerRegistry string

Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. 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 (BuildConfigDockerRegistry) ElementType added in v0.28.0

func (BuildConfigDockerRegistry) ElementType() reflect.Type

func (BuildConfigDockerRegistry) ToBuildConfigDockerRegistryOutput added in v0.28.0

func (e BuildConfigDockerRegistry) ToBuildConfigDockerRegistryOutput() BuildConfigDockerRegistryOutput

func (BuildConfigDockerRegistry) ToBuildConfigDockerRegistryOutputWithContext added in v0.28.0

func (e BuildConfigDockerRegistry) ToBuildConfigDockerRegistryOutputWithContext(ctx context.Context) BuildConfigDockerRegistryOutput

func (BuildConfigDockerRegistry) ToBuildConfigDockerRegistryPtrOutput added in v0.28.0

func (e BuildConfigDockerRegistry) ToBuildConfigDockerRegistryPtrOutput() BuildConfigDockerRegistryPtrOutput

func (BuildConfigDockerRegistry) ToBuildConfigDockerRegistryPtrOutputWithContext added in v0.28.0

func (e BuildConfigDockerRegistry) ToBuildConfigDockerRegistryPtrOutputWithContext(ctx context.Context) BuildConfigDockerRegistryPtrOutput

func (BuildConfigDockerRegistry) ToStringOutput added in v0.28.0

func (e BuildConfigDockerRegistry) ToStringOutput() pulumi.StringOutput

func (BuildConfigDockerRegistry) ToStringOutputWithContext added in v0.28.0

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

func (BuildConfigDockerRegistry) ToStringPtrOutput added in v0.28.0

func (e BuildConfigDockerRegistry) ToStringPtrOutput() pulumi.StringPtrOutput

func (BuildConfigDockerRegistry) ToStringPtrOutputWithContext added in v0.28.0

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

type BuildConfigDockerRegistryInput added in v0.28.0

type BuildConfigDockerRegistryInput interface {
	pulumi.Input

	ToBuildConfigDockerRegistryOutput() BuildConfigDockerRegistryOutput
	ToBuildConfigDockerRegistryOutputWithContext(context.Context) BuildConfigDockerRegistryOutput
}

BuildConfigDockerRegistryInput is an input type that accepts BuildConfigDockerRegistryArgs and BuildConfigDockerRegistryOutput values. You can construct a concrete instance of `BuildConfigDockerRegistryInput` via:

BuildConfigDockerRegistryArgs{...}

type BuildConfigDockerRegistryOutput added in v0.28.0

type BuildConfigDockerRegistryOutput struct{ *pulumi.OutputState }

func (BuildConfigDockerRegistryOutput) ElementType added in v0.28.0

func (BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryOutput added in v0.28.0

func (o BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryOutput() BuildConfigDockerRegistryOutput

func (BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryOutputWithContext added in v0.28.0

func (o BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryOutputWithContext(ctx context.Context) BuildConfigDockerRegistryOutput

func (BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryPtrOutput added in v0.28.0

func (o BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryPtrOutput() BuildConfigDockerRegistryPtrOutput

func (BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryPtrOutputWithContext added in v0.28.0

func (o BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryPtrOutputWithContext(ctx context.Context) BuildConfigDockerRegistryPtrOutput

func (BuildConfigDockerRegistryOutput) ToStringOutput added in v0.28.0

func (BuildConfigDockerRegistryOutput) ToStringOutputWithContext added in v0.28.0

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

func (BuildConfigDockerRegistryOutput) ToStringPtrOutput added in v0.28.0

func (BuildConfigDockerRegistryOutput) ToStringPtrOutputWithContext added in v0.28.0

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

type BuildConfigDockerRegistryPtrInput added in v0.28.0

type BuildConfigDockerRegistryPtrInput interface {
	pulumi.Input

	ToBuildConfigDockerRegistryPtrOutput() BuildConfigDockerRegistryPtrOutput
	ToBuildConfigDockerRegistryPtrOutputWithContext(context.Context) BuildConfigDockerRegistryPtrOutput
}

func BuildConfigDockerRegistryPtr added in v0.28.0

func BuildConfigDockerRegistryPtr(v string) BuildConfigDockerRegistryPtrInput

type BuildConfigDockerRegistryPtrOutput added in v0.28.0

type BuildConfigDockerRegistryPtrOutput struct{ *pulumi.OutputState }

func (BuildConfigDockerRegistryPtrOutput) Elem added in v0.28.0

func (BuildConfigDockerRegistryPtrOutput) ElementType added in v0.28.0

func (BuildConfigDockerRegistryPtrOutput) ToBuildConfigDockerRegistryPtrOutput added in v0.28.0

func (o BuildConfigDockerRegistryPtrOutput) ToBuildConfigDockerRegistryPtrOutput() BuildConfigDockerRegistryPtrOutput

func (BuildConfigDockerRegistryPtrOutput) ToBuildConfigDockerRegistryPtrOutputWithContext added in v0.28.0

func (o BuildConfigDockerRegistryPtrOutput) ToBuildConfigDockerRegistryPtrOutputWithContext(ctx context.Context) BuildConfigDockerRegistryPtrOutput

func (BuildConfigDockerRegistryPtrOutput) ToStringPtrOutput added in v0.28.0

func (BuildConfigDockerRegistryPtrOutput) ToStringPtrOutputWithContext added in v0.28.0

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

type BuildConfigInput

type BuildConfigInput interface {
	pulumi.Input

	ToBuildConfigOutput() BuildConfigOutput
	ToBuildConfigOutputWithContext(context.Context) BuildConfigOutput
}

BuildConfigInput is an input type that accepts BuildConfigArgs and BuildConfigOutput values. You can construct a concrete instance of `BuildConfigInput` via:

BuildConfigArgs{...}

type BuildConfigOutput

type BuildConfigOutput struct{ *pulumi.OutputState }

Describes the Build step of the function that builds a container from the given source.

func (BuildConfigOutput) DockerRegistry added in v0.28.0

Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. 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 (BuildConfigOutput) DockerRepository

func (o BuildConfigOutput) DockerRepository() pulumi.StringPtrOutput

User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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 (BuildConfigOutput) ElementType

func (BuildConfigOutput) ElementType() reflect.Type

func (BuildConfigOutput) EntryPoint

func (o BuildConfigOutput) EntryPoint() pulumi.StringPtrOutput

The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.

func (BuildConfigOutput) EnvironmentVariables

func (o BuildConfigOutput) EnvironmentVariables() pulumi.StringMapOutput

User-provided build-time environment variables for the function

func (BuildConfigOutput) Runtime

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 (BuildConfigOutput) Source

The location of the function source code.

func (BuildConfigOutput) SourceToken added in v0.32.0

func (o BuildConfigOutput) SourceToken() pulumi.StringPtrOutput

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

func (BuildConfigOutput) ToBuildConfigOutput

func (o BuildConfigOutput) ToBuildConfigOutput() BuildConfigOutput

func (BuildConfigOutput) ToBuildConfigOutputWithContext

func (o BuildConfigOutput) ToBuildConfigOutputWithContext(ctx context.Context) BuildConfigOutput

func (BuildConfigOutput) ToBuildConfigPtrOutput

func (o BuildConfigOutput) ToBuildConfigPtrOutput() BuildConfigPtrOutput

func (BuildConfigOutput) ToBuildConfigPtrOutputWithContext

func (o BuildConfigOutput) ToBuildConfigPtrOutputWithContext(ctx context.Context) BuildConfigPtrOutput

func (BuildConfigOutput) WorkerPool

func (o BuildConfigOutput) WorkerPool() pulumi.StringPtrOutput

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.

type BuildConfigPtrInput

type BuildConfigPtrInput interface {
	pulumi.Input

	ToBuildConfigPtrOutput() BuildConfigPtrOutput
	ToBuildConfigPtrOutputWithContext(context.Context) BuildConfigPtrOutput
}

BuildConfigPtrInput is an input type that accepts BuildConfigArgs, BuildConfigPtr and BuildConfigPtrOutput values. You can construct a concrete instance of `BuildConfigPtrInput` via:

        BuildConfigArgs{...}

or:

        nil

func BuildConfigPtr

func BuildConfigPtr(v *BuildConfigArgs) BuildConfigPtrInput

type BuildConfigPtrOutput

type BuildConfigPtrOutput struct{ *pulumi.OutputState }

func (BuildConfigPtrOutput) DockerRegistry added in v0.28.0

Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. 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 (BuildConfigPtrOutput) DockerRepository

func (o BuildConfigPtrOutput) DockerRepository() pulumi.StringPtrOutput

User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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 (BuildConfigPtrOutput) Elem

func (BuildConfigPtrOutput) ElementType

func (BuildConfigPtrOutput) ElementType() reflect.Type

func (BuildConfigPtrOutput) EntryPoint

The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.

func (BuildConfigPtrOutput) EnvironmentVariables

func (o BuildConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput

User-provided build-time environment variables for the function

func (BuildConfigPtrOutput) Runtime

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 (BuildConfigPtrOutput) Source

The location of the function source code.

func (BuildConfigPtrOutput) SourceToken added in v0.32.0

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

func (BuildConfigPtrOutput) ToBuildConfigPtrOutput

func (o BuildConfigPtrOutput) ToBuildConfigPtrOutput() BuildConfigPtrOutput

func (BuildConfigPtrOutput) ToBuildConfigPtrOutputWithContext

func (o BuildConfigPtrOutput) ToBuildConfigPtrOutputWithContext(ctx context.Context) BuildConfigPtrOutput

func (BuildConfigPtrOutput) WorkerPool

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.

type BuildConfigResponse

type BuildConfigResponse struct {
	// The Cloud Build name of the latest successful deployment of the function.
	Build string `pulumi:"build"`
	// Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. 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. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
	EntryPoint string `pulumi:"entryPoint"`
	// User-provided build-time environment variables for the function
	EnvironmentVariables map[string]string `pulumi:"environmentVariables"`
	// 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"`
	// The location of the function source code.
	Source SourceResponse `pulumi:"source"`
	// A permanent fixed identifier for source.
	SourceProvenance SourceProvenanceResponse `pulumi:"sourceProvenance"`
	// An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
	SourceToken string `pulumi:"sourceToken"`
	// 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.
	WorkerPool string `pulumi:"workerPool"`
}

Describes the Build step of the function that builds a container from the given source.

type BuildConfigResponseOutput

type BuildConfigResponseOutput struct{ *pulumi.OutputState }

Describes the Build step of the function that builds a container from the given source.

func (BuildConfigResponseOutput) Build

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

func (BuildConfigResponseOutput) DockerRegistry added in v0.28.0

func (o BuildConfigResponseOutput) DockerRegistry() pulumi.StringOutput

Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. 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 (BuildConfigResponseOutput) DockerRepository

func (o BuildConfigResponseOutput) DockerRepository() pulumi.StringOutput

User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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 (BuildConfigResponseOutput) ElementType

func (BuildConfigResponseOutput) ElementType() reflect.Type

func (BuildConfigResponseOutput) EntryPoint

The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.

func (BuildConfigResponseOutput) EnvironmentVariables

func (o BuildConfigResponseOutput) EnvironmentVariables() pulumi.StringMapOutput

User-provided build-time environment variables for the function

func (BuildConfigResponseOutput) Runtime

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 (BuildConfigResponseOutput) Source

The location of the function source code.

func (BuildConfigResponseOutput) SourceProvenance

A permanent fixed identifier for source.

func (BuildConfigResponseOutput) SourceToken added in v0.32.0

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

func (BuildConfigResponseOutput) ToBuildConfigResponseOutput

func (o BuildConfigResponseOutput) ToBuildConfigResponseOutput() BuildConfigResponseOutput

func (BuildConfigResponseOutput) ToBuildConfigResponseOutputWithContext

func (o BuildConfigResponseOutput) ToBuildConfigResponseOutputWithContext(ctx context.Context) BuildConfigResponseOutput

func (BuildConfigResponseOutput) WorkerPool

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.

type EventFilter

type EventFilter struct {
	// The name of a CloudEvents attribute.
	Attribute string `pulumi:"attribute"`
	// Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
	Operator *string `pulumi:"operator"`
	// The value for the attribute.
	Value string `pulumi:"value"`
}

Filters events based on exact matches on the CloudEvents attributes.

type EventFilterArgs

type EventFilterArgs struct {
	// The name of a CloudEvents attribute.
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// The value for the attribute.
	Value pulumi.StringInput `pulumi:"value"`
}

Filters events based on exact matches on the CloudEvents attributes.

func (EventFilterArgs) ElementType

func (EventFilterArgs) ElementType() reflect.Type

func (EventFilterArgs) ToEventFilterOutput

func (i EventFilterArgs) ToEventFilterOutput() EventFilterOutput

func (EventFilterArgs) ToEventFilterOutputWithContext

func (i EventFilterArgs) ToEventFilterOutputWithContext(ctx context.Context) EventFilterOutput

type EventFilterArray

type EventFilterArray []EventFilterInput

func (EventFilterArray) ElementType

func (EventFilterArray) ElementType() reflect.Type

func (EventFilterArray) ToEventFilterArrayOutput

func (i EventFilterArray) ToEventFilterArrayOutput() EventFilterArrayOutput

func (EventFilterArray) ToEventFilterArrayOutputWithContext

func (i EventFilterArray) ToEventFilterArrayOutputWithContext(ctx context.Context) EventFilterArrayOutput

type EventFilterArrayInput

type EventFilterArrayInput interface {
	pulumi.Input

	ToEventFilterArrayOutput() EventFilterArrayOutput
	ToEventFilterArrayOutputWithContext(context.Context) EventFilterArrayOutput
}

EventFilterArrayInput is an input type that accepts EventFilterArray and EventFilterArrayOutput values. You can construct a concrete instance of `EventFilterArrayInput` via:

EventFilterArray{ EventFilterArgs{...} }

type EventFilterArrayOutput

type EventFilterArrayOutput struct{ *pulumi.OutputState }

func (EventFilterArrayOutput) ElementType

func (EventFilterArrayOutput) ElementType() reflect.Type

func (EventFilterArrayOutput) Index

func (EventFilterArrayOutput) ToEventFilterArrayOutput

func (o EventFilterArrayOutput) ToEventFilterArrayOutput() EventFilterArrayOutput

func (EventFilterArrayOutput) ToEventFilterArrayOutputWithContext

func (o EventFilterArrayOutput) ToEventFilterArrayOutputWithContext(ctx context.Context) EventFilterArrayOutput

type EventFilterInput

type EventFilterInput interface {
	pulumi.Input

	ToEventFilterOutput() EventFilterOutput
	ToEventFilterOutputWithContext(context.Context) EventFilterOutput
}

EventFilterInput is an input type that accepts EventFilterArgs and EventFilterOutput values. You can construct a concrete instance of `EventFilterInput` via:

EventFilterArgs{...}

type EventFilterOutput

type EventFilterOutput struct{ *pulumi.OutputState }

Filters events based on exact matches on the CloudEvents attributes.

func (EventFilterOutput) Attribute

func (o EventFilterOutput) Attribute() pulumi.StringOutput

The name of a CloudEvents attribute.

func (EventFilterOutput) ElementType

func (EventFilterOutput) ElementType() reflect.Type

func (EventFilterOutput) Operator added in v0.18.0

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.

func (EventFilterOutput) ToEventFilterOutput

func (o EventFilterOutput) ToEventFilterOutput() EventFilterOutput

func (EventFilterOutput) ToEventFilterOutputWithContext

func (o EventFilterOutput) ToEventFilterOutputWithContext(ctx context.Context) EventFilterOutput

func (EventFilterOutput) Value

The value for the attribute.

type EventFilterResponse

type EventFilterResponse struct {
	// The name of a CloudEvents attribute.
	Attribute string `pulumi:"attribute"`
	// Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
	Operator string `pulumi:"operator"`
	// The value for the attribute.
	Value string `pulumi:"value"`
}

Filters events based on exact matches on the CloudEvents attributes.

type EventFilterResponseArrayOutput

type EventFilterResponseArrayOutput struct{ *pulumi.OutputState }

func (EventFilterResponseArrayOutput) ElementType

func (EventFilterResponseArrayOutput) Index

func (EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutput

func (o EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutput() EventFilterResponseArrayOutput

func (EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutputWithContext

func (o EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutputWithContext(ctx context.Context) EventFilterResponseArrayOutput

type EventFilterResponseOutput

type EventFilterResponseOutput struct{ *pulumi.OutputState }

Filters events based on exact matches on the CloudEvents attributes.

func (EventFilterResponseOutput) Attribute

The name of a CloudEvents attribute.

func (EventFilterResponseOutput) ElementType

func (EventFilterResponseOutput) ElementType() reflect.Type

func (EventFilterResponseOutput) Operator added in v0.18.0

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.

func (EventFilterResponseOutput) ToEventFilterResponseOutput

func (o EventFilterResponseOutput) ToEventFilterResponseOutput() EventFilterResponseOutput

func (EventFilterResponseOutput) ToEventFilterResponseOutputWithContext

func (o EventFilterResponseOutput) ToEventFilterResponseOutputWithContext(ctx context.Context) EventFilterResponseOutput

func (EventFilterResponseOutput) Value

The value for the attribute.

type EventTrigger

type EventTrigger struct {
	// Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.
	Channel *string `pulumi:"channel"`
	// Criteria used to filter events.
	EventFilters []EventFilter `pulumi:"eventFilters"`
	// The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`.
	EventType string `pulumi:"eventType"`
	// Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.
	PubsubTopic *string `pulumi:"pubsubTopic"`
	// Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).
	RetryPolicy *EventTriggerRetryPolicy `pulumi:"retryPolicy"`
	// Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.
	ServiceAccountEmail *string `pulumi:"serviceAccountEmail"`
	// The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
	TriggerRegion *string `pulumi:"triggerRegion"`
}

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

type EventTriggerArgs

type EventTriggerArgs struct {
	// Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.
	Channel pulumi.StringPtrInput `pulumi:"channel"`
	// Criteria used to filter events.
	EventFilters EventFilterArrayInput `pulumi:"eventFilters"`
	// The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`.
	EventType pulumi.StringInput `pulumi:"eventType"`
	// Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.
	PubsubTopic pulumi.StringPtrInput `pulumi:"pubsubTopic"`
	// Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).
	RetryPolicy EventTriggerRetryPolicyPtrInput `pulumi:"retryPolicy"`
	// Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.
	ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"`
	// The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
	TriggerRegion pulumi.StringPtrInput `pulumi:"triggerRegion"`
}

Describes EventTrigger, used to request events to 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 to be sent from another service.

func (EventTriggerOutput) Channel added in v0.19.0

Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.

func (EventTriggerOutput) ElementType

func (EventTriggerOutput) ElementType() reflect.Type

func (EventTriggerOutput) EventFilters

func (o EventTriggerOutput) EventFilters() EventFilterArrayOutput

Criteria used to filter events.

func (EventTriggerOutput) EventType

func (o EventTriggerOutput) EventType() pulumi.StringOutput

The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`.

func (EventTriggerOutput) PubsubTopic

func (o EventTriggerOutput) PubsubTopic() pulumi.StringPtrOutput

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.

func (EventTriggerOutput) RetryPolicy

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

func (EventTriggerOutput) ServiceAccountEmail

func (o EventTriggerOutput) ServiceAccountEmail() pulumi.StringPtrOutput

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.

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

func (EventTriggerOutput) TriggerRegion

func (o EventTriggerOutput) TriggerRegion() pulumi.StringPtrOutput

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

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) Channel added in v0.19.0

Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.

func (EventTriggerPtrOutput) Elem

func (EventTriggerPtrOutput) ElementType

func (EventTriggerPtrOutput) ElementType() reflect.Type

func (EventTriggerPtrOutput) EventFilters

Criteria used to filter events.

func (EventTriggerPtrOutput) EventType

The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`.

func (EventTriggerPtrOutput) PubsubTopic

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.

func (EventTriggerPtrOutput) RetryPolicy

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

func (EventTriggerPtrOutput) ServiceAccountEmail

func (o EventTriggerPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.

func (EventTriggerPtrOutput) ToEventTriggerPtrOutput

func (o EventTriggerPtrOutput) ToEventTriggerPtrOutput() EventTriggerPtrOutput

func (EventTriggerPtrOutput) ToEventTriggerPtrOutputWithContext

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

func (EventTriggerPtrOutput) TriggerRegion

func (o EventTriggerPtrOutput) TriggerRegion() pulumi.StringPtrOutput

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

type EventTriggerResponse

type EventTriggerResponse struct {
	// Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.
	Channel string `pulumi:"channel"`
	// Criteria used to filter events.
	EventFilters []EventFilterResponse `pulumi:"eventFilters"`
	// The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`.
	EventType string `pulumi:"eventType"`
	// Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.
	PubsubTopic string `pulumi:"pubsubTopic"`
	// Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).
	RetryPolicy string `pulumi:"retryPolicy"`
	// Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.
	ServiceAccountEmail string `pulumi:"serviceAccountEmail"`
	// The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
	Trigger string `pulumi:"trigger"`
	// The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
	TriggerRegion string `pulumi:"triggerRegion"`
}

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

type EventTriggerResponseOutput

type EventTriggerResponseOutput struct{ *pulumi.OutputState }

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

func (EventTriggerResponseOutput) Channel added in v0.19.0

Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.

func (EventTriggerResponseOutput) ElementType

func (EventTriggerResponseOutput) ElementType() reflect.Type

func (EventTriggerResponseOutput) EventFilters

Criteria used to filter events.

func (EventTriggerResponseOutput) EventType

The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`.

func (EventTriggerResponseOutput) PubsubTopic

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.

func (EventTriggerResponseOutput) RetryPolicy

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

func (EventTriggerResponseOutput) ServiceAccountEmail

func (o EventTriggerResponseOutput) ServiceAccountEmail() pulumi.StringOutput

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.

func (EventTriggerResponseOutput) ToEventTriggerResponseOutput

func (o EventTriggerResponseOutput) ToEventTriggerResponseOutput() EventTriggerResponseOutput

func (EventTriggerResponseOutput) ToEventTriggerResponseOutputWithContext

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

func (EventTriggerResponseOutput) Trigger

The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.

func (EventTriggerResponseOutput) TriggerRegion

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

type EventTriggerRetryPolicy

type EventTriggerRetryPolicy string

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

func (EventTriggerRetryPolicy) ElementType

func (EventTriggerRetryPolicy) ElementType() reflect.Type

func (EventTriggerRetryPolicy) ToEventTriggerRetryPolicyOutput

func (e EventTriggerRetryPolicy) ToEventTriggerRetryPolicyOutput() EventTriggerRetryPolicyOutput

func (EventTriggerRetryPolicy) ToEventTriggerRetryPolicyOutputWithContext

func (e EventTriggerRetryPolicy) ToEventTriggerRetryPolicyOutputWithContext(ctx context.Context) EventTriggerRetryPolicyOutput

func (EventTriggerRetryPolicy) ToEventTriggerRetryPolicyPtrOutput

func (e EventTriggerRetryPolicy) ToEventTriggerRetryPolicyPtrOutput() EventTriggerRetryPolicyPtrOutput

func (EventTriggerRetryPolicy) ToEventTriggerRetryPolicyPtrOutputWithContext

func (e EventTriggerRetryPolicy) ToEventTriggerRetryPolicyPtrOutputWithContext(ctx context.Context) EventTriggerRetryPolicyPtrOutput

func (EventTriggerRetryPolicy) ToStringOutput

func (e EventTriggerRetryPolicy) ToStringOutput() pulumi.StringOutput

func (EventTriggerRetryPolicy) ToStringOutputWithContext

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

func (EventTriggerRetryPolicy) ToStringPtrOutput

func (e EventTriggerRetryPolicy) ToStringPtrOutput() pulumi.StringPtrOutput

func (EventTriggerRetryPolicy) ToStringPtrOutputWithContext

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

type EventTriggerRetryPolicyInput

type EventTriggerRetryPolicyInput interface {
	pulumi.Input

	ToEventTriggerRetryPolicyOutput() EventTriggerRetryPolicyOutput
	ToEventTriggerRetryPolicyOutputWithContext(context.Context) EventTriggerRetryPolicyOutput
}

EventTriggerRetryPolicyInput is an input type that accepts EventTriggerRetryPolicyArgs and EventTriggerRetryPolicyOutput values. You can construct a concrete instance of `EventTriggerRetryPolicyInput` via:

EventTriggerRetryPolicyArgs{...}

type EventTriggerRetryPolicyOutput

type EventTriggerRetryPolicyOutput struct{ *pulumi.OutputState }

func (EventTriggerRetryPolicyOutput) ElementType

func (EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyOutput

func (o EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyOutput() EventTriggerRetryPolicyOutput

func (EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyOutputWithContext

func (o EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyOutputWithContext(ctx context.Context) EventTriggerRetryPolicyOutput

func (EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyPtrOutput

func (o EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyPtrOutput() EventTriggerRetryPolicyPtrOutput

func (EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyPtrOutputWithContext

func (o EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyPtrOutputWithContext(ctx context.Context) EventTriggerRetryPolicyPtrOutput

func (EventTriggerRetryPolicyOutput) ToStringOutput

func (EventTriggerRetryPolicyOutput) ToStringOutputWithContext

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

func (EventTriggerRetryPolicyOutput) ToStringPtrOutput

func (EventTriggerRetryPolicyOutput) ToStringPtrOutputWithContext

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

type EventTriggerRetryPolicyPtrInput

type EventTriggerRetryPolicyPtrInput interface {
	pulumi.Input

	ToEventTriggerRetryPolicyPtrOutput() EventTriggerRetryPolicyPtrOutput
	ToEventTriggerRetryPolicyPtrOutputWithContext(context.Context) EventTriggerRetryPolicyPtrOutput
}

func EventTriggerRetryPolicyPtr

func EventTriggerRetryPolicyPtr(v string) EventTriggerRetryPolicyPtrInput

type EventTriggerRetryPolicyPtrOutput

type EventTriggerRetryPolicyPtrOutput struct{ *pulumi.OutputState }

func (EventTriggerRetryPolicyPtrOutput) Elem

func (EventTriggerRetryPolicyPtrOutput) ElementType

func (EventTriggerRetryPolicyPtrOutput) ToEventTriggerRetryPolicyPtrOutput

func (o EventTriggerRetryPolicyPtrOutput) ToEventTriggerRetryPolicyPtrOutput() EventTriggerRetryPolicyPtrOutput

func (EventTriggerRetryPolicyPtrOutput) ToEventTriggerRetryPolicyPtrOutputWithContext

func (o EventTriggerRetryPolicyPtrOutput) ToEventTriggerRetryPolicyPtrOutputWithContext(ctx context.Context) EventTriggerRetryPolicyPtrOutput

func (EventTriggerRetryPolicyPtrOutput) ToStringPtrOutput

func (EventTriggerRetryPolicyPtrOutput) ToStringPtrOutputWithContext

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

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 Function

type Function struct {
	pulumi.CustomResourceState

	// Describes the Build step of the function that builds a container from the given source.
	BuildConfig BuildConfigResponseOutput `pulumi:"buildConfig"`
	// User-provided description of a function.
	Description pulumi.StringOutput `pulumi:"description"`
	// Describe whether the function is 1st Gen or 2nd Gen.
	Environment pulumi.StringOutput `pulumi:"environment"`
	// An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
	EventTrigger EventTriggerResponseOutput `pulumi:"eventTrigger"`
	// The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
	FunctionId pulumi.StringPtrOutput `pulumi:"functionId"`
	// [Preview] 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}`.
	KmsKeyName pulumi.StringOutput `pulumi:"kmsKeyName"`
	// Labels associated with this Cloud Function.
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Reserved for future use.
	SatisfiesPzs pulumi.BoolOutput `pulumi:"satisfiesPzs"`
	// Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
	ServiceConfig ServiceConfigResponseOutput `pulumi:"serviceConfig"`
	// State of the function.
	State pulumi.StringOutput `pulumi:"state"`
	// State Messages for this Cloud Function.
	StateMessages GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput `pulumi:"stateMessages"`
	// The last update timestamp of a Cloud Function.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The deployed url for the function.
	Url pulumi.StringOutput `pulumi:"url"`
}

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 {
	// Describes the Build step of the function that builds a container from the given source.
	BuildConfig BuildConfigPtrInput
	// User-provided description of a function.
	Description pulumi.StringPtrInput
	// Describe whether the function is 1st Gen or 2nd Gen.
	Environment FunctionEnvironmentPtrInput
	// An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
	EventTrigger EventTriggerPtrInput
	// The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
	FunctionId pulumi.StringPtrInput
	// [Preview] 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}`.
	KmsKeyName pulumi.StringPtrInput
	// Labels associated with this Cloud Function.
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
	ServiceConfig ServiceConfigPtrInput
}

The set of arguments for constructing a Function resource.

func (FunctionArgs) ElementType

func (FunctionArgs) ElementType() reflect.Type

type FunctionEnvironment

type FunctionEnvironment string

Describe whether the function is 1st Gen or 2nd Gen.

func (FunctionEnvironment) ElementType

func (FunctionEnvironment) ElementType() reflect.Type

func (FunctionEnvironment) ToFunctionEnvironmentOutput

func (e FunctionEnvironment) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput

func (FunctionEnvironment) ToFunctionEnvironmentOutputWithContext

func (e FunctionEnvironment) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput

func (FunctionEnvironment) ToFunctionEnvironmentPtrOutput

func (e FunctionEnvironment) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput

func (FunctionEnvironment) ToFunctionEnvironmentPtrOutputWithContext

func (e FunctionEnvironment) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput

func (FunctionEnvironment) ToStringOutput

func (e FunctionEnvironment) ToStringOutput() pulumi.StringOutput

func (FunctionEnvironment) ToStringOutputWithContext

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

func (FunctionEnvironment) ToStringPtrOutput

func (e FunctionEnvironment) ToStringPtrOutput() pulumi.StringPtrOutput

func (FunctionEnvironment) ToStringPtrOutputWithContext

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

type FunctionEnvironmentInput

type FunctionEnvironmentInput interface {
	pulumi.Input

	ToFunctionEnvironmentOutput() FunctionEnvironmentOutput
	ToFunctionEnvironmentOutputWithContext(context.Context) FunctionEnvironmentOutput
}

FunctionEnvironmentInput is an input type that accepts FunctionEnvironmentArgs and FunctionEnvironmentOutput values. You can construct a concrete instance of `FunctionEnvironmentInput` via:

FunctionEnvironmentArgs{...}

type FunctionEnvironmentOutput

type FunctionEnvironmentOutput struct{ *pulumi.OutputState }

func (FunctionEnvironmentOutput) ElementType

func (FunctionEnvironmentOutput) ElementType() reflect.Type

func (FunctionEnvironmentOutput) ToFunctionEnvironmentOutput

func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput

func (FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext

func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput

func (FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput

func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput

func (FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext

func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput

func (FunctionEnvironmentOutput) ToStringOutput

func (o FunctionEnvironmentOutput) ToStringOutput() pulumi.StringOutput

func (FunctionEnvironmentOutput) ToStringOutputWithContext

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

func (FunctionEnvironmentOutput) ToStringPtrOutput

func (o FunctionEnvironmentOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FunctionEnvironmentOutput) ToStringPtrOutputWithContext

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

type FunctionEnvironmentPtrInput

type FunctionEnvironmentPtrInput interface {
	pulumi.Input

	ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
	ToFunctionEnvironmentPtrOutputWithContext(context.Context) FunctionEnvironmentPtrOutput
}

func FunctionEnvironmentPtr

func FunctionEnvironmentPtr(v string) FunctionEnvironmentPtrInput

type FunctionEnvironmentPtrOutput

type FunctionEnvironmentPtrOutput struct{ *pulumi.OutputState }

func (FunctionEnvironmentPtrOutput) Elem

func (FunctionEnvironmentPtrOutput) ElementType

func (FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput

func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput

func (FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext

func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput

func (FunctionEnvironmentPtrOutput) ToStringPtrOutput

func (o FunctionEnvironmentPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FunctionEnvironmentPtrOutput) ToStringPtrOutputWithContext

func (o FunctionEnvironmentPtrOutput) 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 access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

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 access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

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 access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. 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 FunctionInput

type FunctionInput interface {
	pulumi.Input

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

type FunctionOutput

type FunctionOutput struct{ *pulumi.OutputState }

func (FunctionOutput) BuildConfig added in v0.19.0

func (o FunctionOutput) BuildConfig() BuildConfigResponseOutput

Describes the Build step of the function that builds a container from the given source.

func (FunctionOutput) Description added in v0.19.0

func (o FunctionOutput) Description() pulumi.StringOutput

User-provided description of a function.

func (FunctionOutput) ElementType

func (FunctionOutput) ElementType() reflect.Type

func (FunctionOutput) Environment added in v0.19.0

func (o FunctionOutput) Environment() pulumi.StringOutput

Describe whether the function is 1st Gen or 2nd Gen.

func (FunctionOutput) EventTrigger added in v0.19.0

func (o FunctionOutput) EventTrigger() EventTriggerResponseOutput

An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.

func (FunctionOutput) FunctionId added in v0.21.0

func (o FunctionOutput) FunctionId() pulumi.StringPtrOutput

The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.

func (FunctionOutput) KmsKeyName added in v0.29.0

func (o FunctionOutput) KmsKeyName() pulumi.StringOutput

[Preview] 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}`.

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) 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) Project added in v0.21.0

func (o FunctionOutput) Project() pulumi.StringOutput

func (FunctionOutput) SatisfiesPzs added in v0.32.0

func (o FunctionOutput) SatisfiesPzs() pulumi.BoolOutput

Reserved for future use.

func (FunctionOutput) ServiceConfig added in v0.19.0

func (o FunctionOutput) ServiceConfig() ServiceConfigResponseOutput

Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).

func (FunctionOutput) State added in v0.19.0

State of the function.

func (FunctionOutput) StateMessages added in v0.19.0

State Messages for this Cloud Function.

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) Url added in v0.32.0

The deployed url for the function.

type FunctionState

type FunctionState struct {
}

func (FunctionState) ElementType

func (FunctionState) ElementType() reflect.Type

type GoogleCloudFunctionsV2betaStateMessageResponse

type GoogleCloudFunctionsV2betaStateMessageResponse struct {
	// The message.
	Message string `pulumi:"message"`
	// Severity of the state message.
	Severity string `pulumi:"severity"`
	// One-word CamelCase type of the state message.
	Type string `pulumi:"type"`
}

Informational messages about the state of the Cloud Function or Operation.

type GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput

type GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput) ElementType

func (GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput) Index

func (GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput) ToGoogleCloudFunctionsV2betaStateMessageResponseArrayOutput

func (GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput) ToGoogleCloudFunctionsV2betaStateMessageResponseArrayOutputWithContext

func (o GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput) ToGoogleCloudFunctionsV2betaStateMessageResponseArrayOutputWithContext(ctx context.Context) GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput

type GoogleCloudFunctionsV2betaStateMessageResponseOutput

type GoogleCloudFunctionsV2betaStateMessageResponseOutput struct{ *pulumi.OutputState }

Informational messages about the state of the Cloud Function or Operation.

func (GoogleCloudFunctionsV2betaStateMessageResponseOutput) ElementType

func (GoogleCloudFunctionsV2betaStateMessageResponseOutput) Message

The message.

func (GoogleCloudFunctionsV2betaStateMessageResponseOutput) Severity

Severity of the state message.

func (GoogleCloudFunctionsV2betaStateMessageResponseOutput) ToGoogleCloudFunctionsV2betaStateMessageResponseOutput

func (GoogleCloudFunctionsV2betaStateMessageResponseOutput) ToGoogleCloudFunctionsV2betaStateMessageResponseOutputWithContext

func (o GoogleCloudFunctionsV2betaStateMessageResponseOutput) ToGoogleCloudFunctionsV2betaStateMessageResponseOutputWithContext(ctx context.Context) GoogleCloudFunctionsV2betaStateMessageResponseOutput

func (GoogleCloudFunctionsV2betaStateMessageResponseOutput) Type

One-word CamelCase type of the state message.

type LookupFunctionArgs

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

type LookupFunctionIamPolicyArgs

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

type LookupFunctionIamPolicyOutputArgs

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

type LookupFunctionIamPolicyResult

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

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

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

type LookupFunctionIamPolicyResultOutput

type LookupFunctionIamPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupFunctionIamPolicyResultOutput) AuditConfigs

Specifies cloud audit logging configuration for this policy.

func (LookupFunctionIamPolicyResultOutput) Bindings

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

func (LookupFunctionIamPolicyResultOutput) Etag

`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

func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutput() LookupFunctionIamPolicyResultOutput

func (LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutputWithContext

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

func (LookupFunctionIamPolicyResultOutput) Version

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

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

func (LookupFunctionOutputArgs) ElementType

func (LookupFunctionOutputArgs) ElementType() reflect.Type

type LookupFunctionResult

type LookupFunctionResult struct {
	// Describes the Build step of the function that builds a container from the given source.
	BuildConfig BuildConfigResponse `pulumi:"buildConfig"`
	// User-provided description of a function.
	Description string `pulumi:"description"`
	// Describe whether the function is 1st Gen or 2nd Gen.
	Environment string `pulumi:"environment"`
	// An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
	EventTrigger EventTriggerResponse `pulumi:"eventTrigger"`
	// [Preview] 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}`.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// Labels associated with this Cloud Function.
	Labels map[string]string `pulumi:"labels"`
	// A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
	Name string `pulumi:"name"`
	// Reserved for future use.
	SatisfiesPzs bool `pulumi:"satisfiesPzs"`
	// Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
	ServiceConfig ServiceConfigResponse `pulumi:"serviceConfig"`
	// State of the function.
	State string `pulumi:"state"`
	// State Messages for this Cloud Function.
	StateMessages []GoogleCloudFunctionsV2betaStateMessageResponse `pulumi:"stateMessages"`
	// The last update timestamp of a Cloud Function.
	UpdateTime string `pulumi:"updateTime"`
	// The deployed url for the function.
	Url string `pulumi:"url"`
}

func LookupFunction

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

type LookupFunctionResultOutput struct{ *pulumi.OutputState }

func (LookupFunctionResultOutput) BuildConfig

Describes the Build step of the function that builds a container from the given source.

func (LookupFunctionResultOutput) Description

User-provided description of a function.

func (LookupFunctionResultOutput) ElementType

func (LookupFunctionResultOutput) ElementType() reflect.Type

func (LookupFunctionResultOutput) Environment

Describe whether the function is 1st Gen or 2nd Gen.

func (LookupFunctionResultOutput) EventTrigger

An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.

func (LookupFunctionResultOutput) KmsKeyName added in v0.29.0

[Preview] 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}`.

func (LookupFunctionResultOutput) Labels

Labels associated with this Cloud Function.

func (LookupFunctionResultOutput) Name

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

func (LookupFunctionResultOutput) SatisfiesPzs added in v0.32.0

func (o LookupFunctionResultOutput) SatisfiesPzs() pulumi.BoolOutput

Reserved for future use.

func (LookupFunctionResultOutput) ServiceConfig

Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).

func (LookupFunctionResultOutput) State

State of the function.

func (LookupFunctionResultOutput) StateMessages

State Messages for this Cloud Function.

func (LookupFunctionResultOutput) ToLookupFunctionResultOutput

func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput

func (LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext

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

func (LookupFunctionResultOutput) UpdateTime

The last update timestamp of a Cloud Function.

func (LookupFunctionResultOutput) Url added in v0.32.0

The deployed url for the function.

type RepoSource

type RepoSource struct {
	// Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	BranchName *string `pulumi:"branchName"`
	// Explicit commit SHA to build.
	CommitSha *string `pulumi:"commitSha"`
	// Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
	Dir *string `pulumi:"dir"`
	// ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
	Project *string `pulumi:"project"`
	// Name of the Cloud Source Repository.
	RepoName *string `pulumi:"repoName"`
	// Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	TagName *string `pulumi:"tagName"`
}

Location of the source in a Google Cloud Source Repository.

type RepoSourceArgs

type RepoSourceArgs struct {
	// Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	BranchName pulumi.StringPtrInput `pulumi:"branchName"`
	// Explicit commit SHA to build.
	CommitSha pulumi.StringPtrInput `pulumi:"commitSha"`
	// Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
	Dir pulumi.StringPtrInput `pulumi:"dir"`
	// ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// Name of the Cloud Source Repository.
	RepoName pulumi.StringPtrInput `pulumi:"repoName"`
	// Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	TagName pulumi.StringPtrInput `pulumi:"tagName"`
}

Location of the source in a Google Cloud Source Repository.

func (RepoSourceArgs) ElementType

func (RepoSourceArgs) ElementType() reflect.Type

func (RepoSourceArgs) ToRepoSourceOutput

func (i RepoSourceArgs) ToRepoSourceOutput() RepoSourceOutput

func (RepoSourceArgs) ToRepoSourceOutputWithContext

func (i RepoSourceArgs) ToRepoSourceOutputWithContext(ctx context.Context) RepoSourceOutput

func (RepoSourceArgs) ToRepoSourcePtrOutput

func (i RepoSourceArgs) ToRepoSourcePtrOutput() RepoSourcePtrOutput

func (RepoSourceArgs) ToRepoSourcePtrOutputWithContext

func (i RepoSourceArgs) ToRepoSourcePtrOutputWithContext(ctx context.Context) RepoSourcePtrOutput

type RepoSourceInput

type RepoSourceInput interface {
	pulumi.Input

	ToRepoSourceOutput() RepoSourceOutput
	ToRepoSourceOutputWithContext(context.Context) RepoSourceOutput
}

RepoSourceInput is an input type that accepts RepoSourceArgs and RepoSourceOutput values. You can construct a concrete instance of `RepoSourceInput` via:

RepoSourceArgs{...}

type RepoSourceOutput

type RepoSourceOutput struct{ *pulumi.OutputState }

Location of the source in a Google Cloud Source Repository.

func (RepoSourceOutput) BranchName

func (o RepoSourceOutput) BranchName() pulumi.StringPtrOutput

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (RepoSourceOutput) CommitSha

func (o RepoSourceOutput) CommitSha() pulumi.StringPtrOutput

Explicit commit SHA to build.

func (RepoSourceOutput) Dir

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

func (RepoSourceOutput) ElementType

func (RepoSourceOutput) ElementType() reflect.Type

func (RepoSourceOutput) Project

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (RepoSourceOutput) RepoName

Name of the Cloud Source Repository.

func (RepoSourceOutput) TagName

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (RepoSourceOutput) ToRepoSourceOutput

func (o RepoSourceOutput) ToRepoSourceOutput() RepoSourceOutput

func (RepoSourceOutput) ToRepoSourceOutputWithContext

func (o RepoSourceOutput) ToRepoSourceOutputWithContext(ctx context.Context) RepoSourceOutput

func (RepoSourceOutput) ToRepoSourcePtrOutput

func (o RepoSourceOutput) ToRepoSourcePtrOutput() RepoSourcePtrOutput

func (RepoSourceOutput) ToRepoSourcePtrOutputWithContext

func (o RepoSourceOutput) ToRepoSourcePtrOutputWithContext(ctx context.Context) RepoSourcePtrOutput

type RepoSourcePtrInput

type RepoSourcePtrInput interface {
	pulumi.Input

	ToRepoSourcePtrOutput() RepoSourcePtrOutput
	ToRepoSourcePtrOutputWithContext(context.Context) RepoSourcePtrOutput
}

RepoSourcePtrInput is an input type that accepts RepoSourceArgs, RepoSourcePtr and RepoSourcePtrOutput values. You can construct a concrete instance of `RepoSourcePtrInput` via:

        RepoSourceArgs{...}

or:

        nil

func RepoSourcePtr

func RepoSourcePtr(v *RepoSourceArgs) RepoSourcePtrInput

type RepoSourcePtrOutput

type RepoSourcePtrOutput struct{ *pulumi.OutputState }

func (RepoSourcePtrOutput) BranchName

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (RepoSourcePtrOutput) CommitSha

Explicit commit SHA to build.

func (RepoSourcePtrOutput) Dir

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

func (RepoSourcePtrOutput) Elem

func (RepoSourcePtrOutput) ElementType

func (RepoSourcePtrOutput) ElementType() reflect.Type

func (RepoSourcePtrOutput) Project

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (RepoSourcePtrOutput) RepoName

Name of the Cloud Source Repository.

func (RepoSourcePtrOutput) TagName

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (RepoSourcePtrOutput) ToRepoSourcePtrOutput

func (o RepoSourcePtrOutput) ToRepoSourcePtrOutput() RepoSourcePtrOutput

func (RepoSourcePtrOutput) ToRepoSourcePtrOutputWithContext

func (o RepoSourcePtrOutput) ToRepoSourcePtrOutputWithContext(ctx context.Context) RepoSourcePtrOutput

type RepoSourceResponse

type RepoSourceResponse struct {
	// Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	BranchName string `pulumi:"branchName"`
	// Explicit commit SHA to build.
	CommitSha string `pulumi:"commitSha"`
	// Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
	Dir string `pulumi:"dir"`
	// ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
	Project string `pulumi:"project"`
	// Name of the Cloud Source Repository.
	RepoName string `pulumi:"repoName"`
	// Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	TagName string `pulumi:"tagName"`
}

Location of the source in a Google Cloud Source Repository.

type RepoSourceResponseOutput

type RepoSourceResponseOutput struct{ *pulumi.OutputState }

Location of the source in a Google Cloud Source Repository.

func (RepoSourceResponseOutput) BranchName

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (RepoSourceResponseOutput) CommitSha

Explicit commit SHA to build.

func (RepoSourceResponseOutput) Dir

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

func (RepoSourceResponseOutput) ElementType

func (RepoSourceResponseOutput) ElementType() reflect.Type

func (RepoSourceResponseOutput) Project

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (RepoSourceResponseOutput) RepoName

Name of the Cloud Source Repository.

func (RepoSourceResponseOutput) TagName

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (RepoSourceResponseOutput) ToRepoSourceResponseOutput

func (o RepoSourceResponseOutput) ToRepoSourceResponseOutput() RepoSourceResponseOutput

func (RepoSourceResponseOutput) ToRepoSourceResponseOutputWithContext

func (o RepoSourceResponseOutput) ToRepoSourceResponseOutputWithContext(ctx context.Context) RepoSourceResponseOutput

type SecretEnvVar added in v0.18.1

type SecretEnvVar struct {
	// Name of the environment variable.
	Key *string `pulumi:"key"`
	// Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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.18.1

type SecretEnvVarArgs struct {
	// Name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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.18.1

func (SecretEnvVarArgs) ElementType() reflect.Type

func (SecretEnvVarArgs) ToSecretEnvVarOutput added in v0.18.1

func (i SecretEnvVarArgs) ToSecretEnvVarOutput() SecretEnvVarOutput

func (SecretEnvVarArgs) ToSecretEnvVarOutputWithContext added in v0.18.1

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

type SecretEnvVarArray added in v0.18.1

type SecretEnvVarArray []SecretEnvVarInput

func (SecretEnvVarArray) ElementType added in v0.18.1

func (SecretEnvVarArray) ElementType() reflect.Type

func (SecretEnvVarArray) ToSecretEnvVarArrayOutput added in v0.18.1

func (i SecretEnvVarArray) ToSecretEnvVarArrayOutput() SecretEnvVarArrayOutput

func (SecretEnvVarArray) ToSecretEnvVarArrayOutputWithContext added in v0.18.1

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

type SecretEnvVarArrayInput added in v0.18.1

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

type SecretEnvVarArrayOutput struct{ *pulumi.OutputState }

func (SecretEnvVarArrayOutput) ElementType added in v0.18.1

func (SecretEnvVarArrayOutput) ElementType() reflect.Type

func (SecretEnvVarArrayOutput) Index added in v0.18.1

func (SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutput added in v0.18.1

func (o SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutput() SecretEnvVarArrayOutput

func (SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutputWithContext added in v0.18.1

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

type SecretEnvVarInput added in v0.18.1

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

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

func (SecretEnvVarOutput) ElementType() reflect.Type

func (SecretEnvVarOutput) Key added in v0.18.1

Name of the environment variable.

func (SecretEnvVarOutput) Project added in v0.18.1

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.

func (SecretEnvVarOutput) Secret added in v0.18.1

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

func (SecretEnvVarOutput) ToSecretEnvVarOutput added in v0.18.1

func (o SecretEnvVarOutput) ToSecretEnvVarOutput() SecretEnvVarOutput

func (SecretEnvVarOutput) ToSecretEnvVarOutputWithContext added in v0.18.1

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

func (SecretEnvVarOutput) Version added in v0.18.1

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

type SecretEnvVarResponse struct {
	// Name of the environment variable.
	Key string `pulumi:"key"`
	// Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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.18.1

type SecretEnvVarResponseArrayOutput struct{ *pulumi.OutputState }

func (SecretEnvVarResponseArrayOutput) ElementType added in v0.18.1

func (SecretEnvVarResponseArrayOutput) Index added in v0.18.1

func (SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutput added in v0.18.1

func (o SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutput() SecretEnvVarResponseArrayOutput

func (SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutputWithContext added in v0.18.1

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

type SecretEnvVarResponseOutput added in v0.18.1

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

func (SecretEnvVarResponseOutput) ElementType() reflect.Type

func (SecretEnvVarResponseOutput) Key added in v0.18.1

Name of the environment variable.

func (SecretEnvVarResponseOutput) Project added in v0.18.1

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.

func (SecretEnvVarResponseOutput) Secret added in v0.18.1

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

func (SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutput added in v0.18.1

func (o SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutput() SecretEnvVarResponseOutput

func (SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutputWithContext added in v0.18.1

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

func (SecretEnvVarResponseOutput) Version added in v0.18.1

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.19.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.19.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.19.0

func (SecretVersionArgs) ElementType() reflect.Type

func (SecretVersionArgs) ToSecretVersionOutput added in v0.19.0

func (i SecretVersionArgs) ToSecretVersionOutput() SecretVersionOutput

func (SecretVersionArgs) ToSecretVersionOutputWithContext added in v0.19.0

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

type SecretVersionArray added in v0.19.0

type SecretVersionArray []SecretVersionInput

func (SecretVersionArray) ElementType added in v0.19.0

func (SecretVersionArray) ElementType() reflect.Type

func (SecretVersionArray) ToSecretVersionArrayOutput added in v0.19.0

func (i SecretVersionArray) ToSecretVersionArrayOutput() SecretVersionArrayOutput

func (SecretVersionArray) ToSecretVersionArrayOutputWithContext added in v0.19.0

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

type SecretVersionArrayInput added in v0.19.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.19.0

type SecretVersionArrayOutput struct{ *pulumi.OutputState }

func (SecretVersionArrayOutput) ElementType added in v0.19.0

func (SecretVersionArrayOutput) ElementType() reflect.Type

func (SecretVersionArrayOutput) Index added in v0.19.0

func (SecretVersionArrayOutput) ToSecretVersionArrayOutput added in v0.19.0

func (o SecretVersionArrayOutput) ToSecretVersionArrayOutput() SecretVersionArrayOutput

func (SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext added in v0.19.0

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

type SecretVersionInput added in v0.19.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.19.0

type SecretVersionOutput struct{ *pulumi.OutputState }

Configuration for a single version.

func (SecretVersionOutput) ElementType added in v0.19.0

func (SecretVersionOutput) ElementType() reflect.Type

func (SecretVersionOutput) Path added in v0.19.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.19.0

func (o SecretVersionOutput) ToSecretVersionOutput() SecretVersionOutput

func (SecretVersionOutput) ToSecretVersionOutputWithContext added in v0.19.0

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

func (SecretVersionOutput) Version added in v0.19.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.19.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.19.0

type SecretVersionResponseArrayOutput struct{ *pulumi.OutputState }

func (SecretVersionResponseArrayOutput) ElementType added in v0.19.0

func (SecretVersionResponseArrayOutput) Index added in v0.19.0

func (SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutput added in v0.19.0

func (o SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutput() SecretVersionResponseArrayOutput

func (SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutputWithContext added in v0.19.0

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

type SecretVersionResponseOutput added in v0.19.0

type SecretVersionResponseOutput struct{ *pulumi.OutputState }

Configuration for a single version.

func (SecretVersionResponseOutput) ElementType added in v0.19.0

func (SecretVersionResponseOutput) Path added in v0.19.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.19.0

func (o SecretVersionResponseOutput) ToSecretVersionResponseOutput() SecretVersionResponseOutput

func (SecretVersionResponseOutput) ToSecretVersionResponseOutputWithContext added in v0.19.0

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

func (SecretVersionResponseOutput) Version added in v0.19.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.19.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 path: /etc/secrets
	MountPath *string `pulumi:"mountPath"`
	// Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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.

type SecretVolumeArgs added in v0.19.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 path: /etc/secrets
	MountPath pulumi.StringPtrInput `pulumi:"mountPath"`
	// Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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.

func (SecretVolumeArgs) ElementType added in v0.19.0

func (SecretVolumeArgs) ElementType() reflect.Type

func (SecretVolumeArgs) ToSecretVolumeOutput added in v0.19.0

func (i SecretVolumeArgs) ToSecretVolumeOutput() SecretVolumeOutput

func (SecretVolumeArgs) ToSecretVolumeOutputWithContext added in v0.19.0

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

type SecretVolumeArray added in v0.19.0

type SecretVolumeArray []SecretVolumeInput

func (SecretVolumeArray) ElementType added in v0.19.0

func (SecretVolumeArray) ElementType() reflect.Type

func (SecretVolumeArray) ToSecretVolumeArrayOutput added in v0.19.0

func (i SecretVolumeArray) ToSecretVolumeArrayOutput() SecretVolumeArrayOutput

func (SecretVolumeArray) ToSecretVolumeArrayOutputWithContext added in v0.19.0

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

type SecretVolumeArrayInput added in v0.19.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.19.0

type SecretVolumeArrayOutput struct{ *pulumi.OutputState }

func (SecretVolumeArrayOutput) ElementType added in v0.19.0

func (SecretVolumeArrayOutput) ElementType() reflect.Type

func (SecretVolumeArrayOutput) Index added in v0.19.0

func (SecretVolumeArrayOutput) ToSecretVolumeArrayOutput added in v0.19.0

func (o SecretVolumeArrayOutput) ToSecretVolumeArrayOutput() SecretVolumeArrayOutput

func (SecretVolumeArrayOutput) ToSecretVolumeArrayOutputWithContext added in v0.19.0

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

type SecretVolumeInput added in v0.19.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.19.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.

func (SecretVolumeOutput) ElementType added in v0.19.0

func (SecretVolumeOutput) ElementType() reflect.Type

func (SecretVolumeOutput) MountPath added in v0.19.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 path: /etc/secrets

func (SecretVolumeOutput) Project added in v0.19.0

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.

func (SecretVolumeOutput) Secret added in v0.19.0

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

func (SecretVolumeOutput) ToSecretVolumeOutput added in v0.19.0

func (o SecretVolumeOutput) ToSecretVolumeOutput() SecretVolumeOutput

func (SecretVolumeOutput) ToSecretVolumeOutputWithContext added in v0.19.0

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

func (SecretVolumeOutput) Versions added in v0.19.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.19.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 path: /etc/secrets
	MountPath string `pulumi:"mountPath"`
	// Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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.

type SecretVolumeResponseArrayOutput added in v0.19.0

type SecretVolumeResponseArrayOutput struct{ *pulumi.OutputState }

func (SecretVolumeResponseArrayOutput) ElementType added in v0.19.0

func (SecretVolumeResponseArrayOutput) Index added in v0.19.0

func (SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutput added in v0.19.0

func (o SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutput() SecretVolumeResponseArrayOutput

func (SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutputWithContext added in v0.19.0

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

type SecretVolumeResponseOutput added in v0.19.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.

func (SecretVolumeResponseOutput) ElementType added in v0.19.0

func (SecretVolumeResponseOutput) ElementType() reflect.Type

func (SecretVolumeResponseOutput) MountPath added in v0.19.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 path: /etc/secrets

func (SecretVolumeResponseOutput) Project added in v0.19.0

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.

func (SecretVolumeResponseOutput) Secret added in v0.19.0

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

func (SecretVolumeResponseOutput) ToSecretVolumeResponseOutput added in v0.19.0

func (o SecretVolumeResponseOutput) ToSecretVolumeResponseOutput() SecretVolumeResponseOutput

func (SecretVolumeResponseOutput) ToSecretVolumeResponseOutputWithContext added in v0.19.0

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

func (SecretVolumeResponseOutput) Versions added in v0.19.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 ServiceConfig

type ServiceConfig struct {
	// Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.
	AllTrafficOnLatestRevision *bool `pulumi:"allTrafficOnLatestRevision"`
	// [Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU
	AvailableCpu *string `pulumi:"availableCpu"`
	// The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.
	AvailableMemory *string `pulumi:"availableMemory"`
	// Environment variables that shall be available during function execution.
	EnvironmentVariables map[string]string `pulumi:"environmentVariables"`
	// The ingress settings for the function, controlling what traffic can reach it.
	IngressSettings *ServiceConfigIngressSettings `pulumi:"ingressSettings"`
	// 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.
	MaxInstanceCount *int `pulumi:"maxInstanceCount"`
	// [Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
	MaxInstanceRequestConcurrency *int `pulumi:"maxInstanceRequestConcurrency"`
	// The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.
	MinInstanceCount *int `pulumi:"minInstanceCount"`
	// Secret environment variables configuration.
	SecretEnvironmentVariables []SecretEnvVar `pulumi:"secretEnvironmentVariables"`
	// Secret volumes configuration.
	SecretVolumes []SecretVolume `pulumi:"secretVolumes"`
	// Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.
	SecurityLevel *ServiceConfigSecurityLevel `pulumi:"securityLevel"`
	// The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.
	ServiceAccountEmail *string `pulumi:"serviceAccountEmail"`
	// 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.
	TimeoutSeconds *int `pulumi:"timeoutSeconds"`
	// The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*/locations/*/connectors/*`.
	VpcConnector *string `pulumi:"vpcConnector"`
	// The egress settings for the connector, controlling what traffic is diverted through it.
	VpcConnectorEgressSettings *ServiceConfigVpcConnectorEgressSettings `pulumi:"vpcConnectorEgressSettings"`
}

Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).

type ServiceConfigArgs

type ServiceConfigArgs struct {
	// Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.
	AllTrafficOnLatestRevision pulumi.BoolPtrInput `pulumi:"allTrafficOnLatestRevision"`
	// [Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU
	AvailableCpu pulumi.StringPtrInput `pulumi:"availableCpu"`
	// The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.
	AvailableMemory pulumi.StringPtrInput `pulumi:"availableMemory"`
	// Environment variables that shall be available during function execution.
	EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"`
	// The ingress settings for the function, controlling what traffic can reach it.
	IngressSettings ServiceConfigIngressSettingsPtrInput `pulumi:"ingressSettings"`
	// 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.
	MaxInstanceCount pulumi.IntPtrInput `pulumi:"maxInstanceCount"`
	// [Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
	MaxInstanceRequestConcurrency pulumi.IntPtrInput `pulumi:"maxInstanceRequestConcurrency"`
	// The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.
	MinInstanceCount pulumi.IntPtrInput `pulumi:"minInstanceCount"`
	// Secret environment variables configuration.
	SecretEnvironmentVariables SecretEnvVarArrayInput `pulumi:"secretEnvironmentVariables"`
	// Secret volumes configuration.
	SecretVolumes SecretVolumeArrayInput `pulumi:"secretVolumes"`
	// Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.
	SecurityLevel ServiceConfigSecurityLevelPtrInput `pulumi:"securityLevel"`
	// The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.
	ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"`
	// 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.
	TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"`
	// The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*/locations/*/connectors/*`.
	VpcConnector pulumi.StringPtrInput `pulumi:"vpcConnector"`
	// The egress settings for the connector, controlling what traffic is diverted through it.
	VpcConnectorEgressSettings ServiceConfigVpcConnectorEgressSettingsPtrInput `pulumi:"vpcConnectorEgressSettings"`
}

Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).

func (ServiceConfigArgs) ElementType

func (ServiceConfigArgs) ElementType() reflect.Type

func (ServiceConfigArgs) ToServiceConfigOutput

func (i ServiceConfigArgs) ToServiceConfigOutput() ServiceConfigOutput

func (ServiceConfigArgs) ToServiceConfigOutputWithContext

func (i ServiceConfigArgs) ToServiceConfigOutputWithContext(ctx context.Context) ServiceConfigOutput

func (ServiceConfigArgs) ToServiceConfigPtrOutput

func (i ServiceConfigArgs) ToServiceConfigPtrOutput() ServiceConfigPtrOutput

func (ServiceConfigArgs) ToServiceConfigPtrOutputWithContext

func (i ServiceConfigArgs) ToServiceConfigPtrOutputWithContext(ctx context.Context) ServiceConfigPtrOutput

type ServiceConfigIngressSettings

type ServiceConfigIngressSettings string

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

func (ServiceConfigIngressSettings) ElementType

func (ServiceConfigIngressSettings) ToServiceConfigIngressSettingsOutput

func (e ServiceConfigIngressSettings) ToServiceConfigIngressSettingsOutput() ServiceConfigIngressSettingsOutput

func (ServiceConfigIngressSettings) ToServiceConfigIngressSettingsOutputWithContext

func (e ServiceConfigIngressSettings) ToServiceConfigIngressSettingsOutputWithContext(ctx context.Context) ServiceConfigIngressSettingsOutput

func (ServiceConfigIngressSettings) ToServiceConfigIngressSettingsPtrOutput

func (e ServiceConfigIngressSettings) ToServiceConfigIngressSettingsPtrOutput() ServiceConfigIngressSettingsPtrOutput

func (ServiceConfigIngressSettings) ToServiceConfigIngressSettingsPtrOutputWithContext

func (e ServiceConfigIngressSettings) ToServiceConfigIngressSettingsPtrOutputWithContext(ctx context.Context) ServiceConfigIngressSettingsPtrOutput

func (ServiceConfigIngressSettings) ToStringOutput

func (ServiceConfigIngressSettings) ToStringOutputWithContext

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

func (ServiceConfigIngressSettings) ToStringPtrOutput

func (e ServiceConfigIngressSettings) ToStringPtrOutput() pulumi.StringPtrOutput

func (ServiceConfigIngressSettings) ToStringPtrOutputWithContext

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

type ServiceConfigIngressSettingsInput

type ServiceConfigIngressSettingsInput interface {
	pulumi.Input

	ToServiceConfigIngressSettingsOutput() ServiceConfigIngressSettingsOutput
	ToServiceConfigIngressSettingsOutputWithContext(context.Context) ServiceConfigIngressSettingsOutput
}

ServiceConfigIngressSettingsInput is an input type that accepts ServiceConfigIngressSettingsArgs and ServiceConfigIngressSettingsOutput values. You can construct a concrete instance of `ServiceConfigIngressSettingsInput` via:

ServiceConfigIngressSettingsArgs{...}

type ServiceConfigIngressSettingsOutput

type ServiceConfigIngressSettingsOutput struct{ *pulumi.OutputState }

func (ServiceConfigIngressSettingsOutput) ElementType

func (ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsOutput

func (o ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsOutput() ServiceConfigIngressSettingsOutput

func (ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsOutputWithContext

func (o ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsOutputWithContext(ctx context.Context) ServiceConfigIngressSettingsOutput

func (ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsPtrOutput

func (o ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsPtrOutput() ServiceConfigIngressSettingsPtrOutput

func (ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsPtrOutputWithContext

func (o ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsPtrOutputWithContext(ctx context.Context) ServiceConfigIngressSettingsPtrOutput

func (ServiceConfigIngressSettingsOutput) ToStringOutput

func (ServiceConfigIngressSettingsOutput) ToStringOutputWithContext

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

func (ServiceConfigIngressSettingsOutput) ToStringPtrOutput

func (ServiceConfigIngressSettingsOutput) ToStringPtrOutputWithContext

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

type ServiceConfigIngressSettingsPtrInput

type ServiceConfigIngressSettingsPtrInput interface {
	pulumi.Input

	ToServiceConfigIngressSettingsPtrOutput() ServiceConfigIngressSettingsPtrOutput
	ToServiceConfigIngressSettingsPtrOutputWithContext(context.Context) ServiceConfigIngressSettingsPtrOutput
}

func ServiceConfigIngressSettingsPtr

func ServiceConfigIngressSettingsPtr(v string) ServiceConfigIngressSettingsPtrInput

type ServiceConfigIngressSettingsPtrOutput

type ServiceConfigIngressSettingsPtrOutput struct{ *pulumi.OutputState }

func (ServiceConfigIngressSettingsPtrOutput) Elem

func (ServiceConfigIngressSettingsPtrOutput) ElementType

func (ServiceConfigIngressSettingsPtrOutput) ToServiceConfigIngressSettingsPtrOutput

func (o ServiceConfigIngressSettingsPtrOutput) ToServiceConfigIngressSettingsPtrOutput() ServiceConfigIngressSettingsPtrOutput

func (ServiceConfigIngressSettingsPtrOutput) ToServiceConfigIngressSettingsPtrOutputWithContext

func (o ServiceConfigIngressSettingsPtrOutput) ToServiceConfigIngressSettingsPtrOutputWithContext(ctx context.Context) ServiceConfigIngressSettingsPtrOutput

func (ServiceConfigIngressSettingsPtrOutput) ToStringPtrOutput

func (ServiceConfigIngressSettingsPtrOutput) ToStringPtrOutputWithContext

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

type ServiceConfigInput

type ServiceConfigInput interface {
	pulumi.Input

	ToServiceConfigOutput() ServiceConfigOutput
	ToServiceConfigOutputWithContext(context.Context) ServiceConfigOutput
}

ServiceConfigInput is an input type that accepts ServiceConfigArgs and ServiceConfigOutput values. You can construct a concrete instance of `ServiceConfigInput` via:

ServiceConfigArgs{...}

type ServiceConfigOutput

type ServiceConfigOutput struct{ *pulumi.OutputState }

Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).

func (ServiceConfigOutput) AllTrafficOnLatestRevision

func (o ServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

func (ServiceConfigOutput) AvailableCpu added in v0.28.0

func (o ServiceConfigOutput) AvailableCpu() pulumi.StringPtrOutput

[Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU

func (ServiceConfigOutput) AvailableMemory

func (o ServiceConfigOutput) AvailableMemory() pulumi.StringPtrOutput

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

func (ServiceConfigOutput) ElementType

func (ServiceConfigOutput) ElementType() reflect.Type

func (ServiceConfigOutput) EnvironmentVariables

func (o ServiceConfigOutput) EnvironmentVariables() pulumi.StringMapOutput

Environment variables that shall be available during function execution.

func (ServiceConfigOutput) IngressSettings

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

func (ServiceConfigOutput) MaxInstanceCount

func (o ServiceConfigOutput) MaxInstanceCount() pulumi.IntPtrOutput

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 (ServiceConfigOutput) MaxInstanceRequestConcurrency added in v0.28.0

func (o ServiceConfigOutput) MaxInstanceRequestConcurrency() pulumi.IntPtrOutput

[Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.

func (ServiceConfigOutput) MinInstanceCount

func (o ServiceConfigOutput) MinInstanceCount() pulumi.IntPtrOutput

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

func (ServiceConfigOutput) SecretEnvironmentVariables added in v0.18.1

func (o ServiceConfigOutput) SecretEnvironmentVariables() SecretEnvVarArrayOutput

Secret environment variables configuration.

func (ServiceConfigOutput) SecretVolumes added in v0.19.0

func (o ServiceConfigOutput) SecretVolumes() SecretVolumeArrayOutput

Secret volumes configuration.

func (ServiceConfigOutput) SecurityLevel added in v0.28.0

Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.

func (ServiceConfigOutput) ServiceAccountEmail

func (o ServiceConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput

The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.

func (ServiceConfigOutput) TimeoutSeconds

func (o ServiceConfigOutput) TimeoutSeconds() pulumi.IntPtrOutput

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 (ServiceConfigOutput) ToServiceConfigOutput

func (o ServiceConfigOutput) ToServiceConfigOutput() ServiceConfigOutput

func (ServiceConfigOutput) ToServiceConfigOutputWithContext

func (o ServiceConfigOutput) ToServiceConfigOutputWithContext(ctx context.Context) ServiceConfigOutput

func (ServiceConfigOutput) ToServiceConfigPtrOutput

func (o ServiceConfigOutput) ToServiceConfigPtrOutput() ServiceConfigPtrOutput

func (ServiceConfigOutput) ToServiceConfigPtrOutputWithContext

func (o ServiceConfigOutput) ToServiceConfigPtrOutputWithContext(ctx context.Context) ServiceConfigPtrOutput

func (ServiceConfigOutput) VpcConnector

func (o ServiceConfigOutput) VpcConnector() pulumi.StringPtrOutput

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*/locations/*/connectors/*`.

func (ServiceConfigOutput) VpcConnectorEgressSettings

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

type ServiceConfigPtrInput

type ServiceConfigPtrInput interface {
	pulumi.Input

	ToServiceConfigPtrOutput() ServiceConfigPtrOutput
	ToServiceConfigPtrOutputWithContext(context.Context) ServiceConfigPtrOutput
}

ServiceConfigPtrInput is an input type that accepts ServiceConfigArgs, ServiceConfigPtr and ServiceConfigPtrOutput values. You can construct a concrete instance of `ServiceConfigPtrInput` via:

        ServiceConfigArgs{...}

or:

        nil

type ServiceConfigPtrOutput

type ServiceConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceConfigPtrOutput) AllTrafficOnLatestRevision

func (o ServiceConfigPtrOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

func (ServiceConfigPtrOutput) AvailableCpu added in v0.28.0

[Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU

func (ServiceConfigPtrOutput) AvailableMemory

func (o ServiceConfigPtrOutput) AvailableMemory() pulumi.StringPtrOutput

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

func (ServiceConfigPtrOutput) Elem

func (ServiceConfigPtrOutput) ElementType

func (ServiceConfigPtrOutput) ElementType() reflect.Type

func (ServiceConfigPtrOutput) EnvironmentVariables

func (o ServiceConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput

Environment variables that shall be available during function execution.

func (ServiceConfigPtrOutput) IngressSettings

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

func (ServiceConfigPtrOutput) MaxInstanceCount

func (o ServiceConfigPtrOutput) MaxInstanceCount() pulumi.IntPtrOutput

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 (ServiceConfigPtrOutput) MaxInstanceRequestConcurrency added in v0.28.0

func (o ServiceConfigPtrOutput) MaxInstanceRequestConcurrency() pulumi.IntPtrOutput

[Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.

func (ServiceConfigPtrOutput) MinInstanceCount

func (o ServiceConfigPtrOutput) MinInstanceCount() pulumi.IntPtrOutput

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

func (ServiceConfigPtrOutput) SecretEnvironmentVariables added in v0.18.1

func (o ServiceConfigPtrOutput) SecretEnvironmentVariables() SecretEnvVarArrayOutput

Secret environment variables configuration.

func (ServiceConfigPtrOutput) SecretVolumes added in v0.19.0

Secret volumes configuration.

func (ServiceConfigPtrOutput) SecurityLevel added in v0.28.0

Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.

func (ServiceConfigPtrOutput) ServiceAccountEmail

func (o ServiceConfigPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput

The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.

func (ServiceConfigPtrOutput) TimeoutSeconds

func (o ServiceConfigPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput

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 (ServiceConfigPtrOutput) ToServiceConfigPtrOutput

func (o ServiceConfigPtrOutput) ToServiceConfigPtrOutput() ServiceConfigPtrOutput

func (ServiceConfigPtrOutput) ToServiceConfigPtrOutputWithContext

func (o ServiceConfigPtrOutput) ToServiceConfigPtrOutputWithContext(ctx context.Context) ServiceConfigPtrOutput

func (ServiceConfigPtrOutput) VpcConnector

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*/locations/*/connectors/*`.

func (ServiceConfigPtrOutput) VpcConnectorEgressSettings

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

type ServiceConfigResponse

type ServiceConfigResponse struct {
	// Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.
	AllTrafficOnLatestRevision bool `pulumi:"allTrafficOnLatestRevision"`
	// [Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU
	AvailableCpu string `pulumi:"availableCpu"`
	// The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.
	AvailableMemory string `pulumi:"availableMemory"`
	// Environment variables that shall be available during function execution.
	EnvironmentVariables map[string]string `pulumi:"environmentVariables"`
	// The ingress settings for the function, controlling what traffic can reach it.
	IngressSettings string `pulumi:"ingressSettings"`
	// 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.
	MaxInstanceCount int `pulumi:"maxInstanceCount"`
	// [Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
	MaxInstanceRequestConcurrency int `pulumi:"maxInstanceRequestConcurrency"`
	// The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.
	MinInstanceCount int `pulumi:"minInstanceCount"`
	// The name of service revision.
	Revision string `pulumi:"revision"`
	// Secret environment variables configuration.
	SecretEnvironmentVariables []SecretEnvVarResponse `pulumi:"secretEnvironmentVariables"`
	// Secret volumes configuration.
	SecretVolumes []SecretVolumeResponse `pulumi:"secretVolumes"`
	// Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.
	SecurityLevel string `pulumi:"securityLevel"`
	// Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}`
	Service string `pulumi:"service"`
	// The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.
	ServiceAccountEmail string `pulumi:"serviceAccountEmail"`
	// 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.
	TimeoutSeconds int `pulumi:"timeoutSeconds"`
	// URI of the Service deployed.
	Uri string `pulumi:"uri"`
	// The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*/locations/*/connectors/*`.
	VpcConnector string `pulumi:"vpcConnector"`
	// The egress settings for the connector, controlling what traffic is diverted through it.
	VpcConnectorEgressSettings string `pulumi:"vpcConnectorEgressSettings"`
}

Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).

type ServiceConfigResponseOutput

type ServiceConfigResponseOutput struct{ *pulumi.OutputState }

Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).

func (ServiceConfigResponseOutput) AllTrafficOnLatestRevision

func (o ServiceConfigResponseOutput) AllTrafficOnLatestRevision() pulumi.BoolOutput

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

func (ServiceConfigResponseOutput) AvailableCpu added in v0.28.0

[Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU

func (ServiceConfigResponseOutput) AvailableMemory

func (o ServiceConfigResponseOutput) AvailableMemory() pulumi.StringOutput

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

func (ServiceConfigResponseOutput) ElementType

func (ServiceConfigResponseOutput) EnvironmentVariables

func (o ServiceConfigResponseOutput) EnvironmentVariables() pulumi.StringMapOutput

Environment variables that shall be available during function execution.

func (ServiceConfigResponseOutput) IngressSettings

func (o ServiceConfigResponseOutput) IngressSettings() pulumi.StringOutput

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

func (ServiceConfigResponseOutput) MaxInstanceCount

func (o ServiceConfigResponseOutput) MaxInstanceCount() 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 (ServiceConfigResponseOutput) MaxInstanceRequestConcurrency added in v0.28.0

func (o ServiceConfigResponseOutput) MaxInstanceRequestConcurrency() pulumi.IntOutput

[Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.

func (ServiceConfigResponseOutput) MinInstanceCount

func (o ServiceConfigResponseOutput) MinInstanceCount() pulumi.IntOutput

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

func (ServiceConfigResponseOutput) Revision added in v0.18.0

The name of service revision.

func (ServiceConfigResponseOutput) SecretEnvironmentVariables added in v0.18.1

func (o ServiceConfigResponseOutput) SecretEnvironmentVariables() SecretEnvVarResponseArrayOutput

Secret environment variables configuration.

func (ServiceConfigResponseOutput) SecretVolumes added in v0.19.0

Secret volumes configuration.

func (ServiceConfigResponseOutput) SecurityLevel added in v0.28.0

Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.

func (ServiceConfigResponseOutput) Service

Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}`

func (ServiceConfigResponseOutput) ServiceAccountEmail

func (o ServiceConfigResponseOutput) ServiceAccountEmail() pulumi.StringOutput

The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.

func (ServiceConfigResponseOutput) TimeoutSeconds

func (o ServiceConfigResponseOutput) TimeoutSeconds() pulumi.IntOutput

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 (ServiceConfigResponseOutput) ToServiceConfigResponseOutput

func (o ServiceConfigResponseOutput) ToServiceConfigResponseOutput() ServiceConfigResponseOutput

func (ServiceConfigResponseOutput) ToServiceConfigResponseOutputWithContext

func (o ServiceConfigResponseOutput) ToServiceConfigResponseOutputWithContext(ctx context.Context) ServiceConfigResponseOutput

func (ServiceConfigResponseOutput) Uri

URI of the Service deployed.

func (ServiceConfigResponseOutput) VpcConnector

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*/locations/*/connectors/*`.

func (ServiceConfigResponseOutput) VpcConnectorEgressSettings

func (o ServiceConfigResponseOutput) VpcConnectorEgressSettings() pulumi.StringOutput

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

type ServiceConfigSecurityLevel added in v0.28.0

type ServiceConfigSecurityLevel string

Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.

func (ServiceConfigSecurityLevel) ElementType added in v0.28.0

func (ServiceConfigSecurityLevel) ElementType() reflect.Type

func (ServiceConfigSecurityLevel) ToServiceConfigSecurityLevelOutput added in v0.28.0

func (e ServiceConfigSecurityLevel) ToServiceConfigSecurityLevelOutput() ServiceConfigSecurityLevelOutput

func (ServiceConfigSecurityLevel) ToServiceConfigSecurityLevelOutputWithContext added in v0.28.0

func (e ServiceConfigSecurityLevel) ToServiceConfigSecurityLevelOutputWithContext(ctx context.Context) ServiceConfigSecurityLevelOutput

func (ServiceConfigSecurityLevel) ToServiceConfigSecurityLevelPtrOutput added in v0.28.0

func (e ServiceConfigSecurityLevel) ToServiceConfigSecurityLevelPtrOutput() ServiceConfigSecurityLevelPtrOutput

func (ServiceConfigSecurityLevel) ToServiceConfigSecurityLevelPtrOutputWithContext added in v0.28.0

func (e ServiceConfigSecurityLevel) ToServiceConfigSecurityLevelPtrOutputWithContext(ctx context.Context) ServiceConfigSecurityLevelPtrOutput

func (ServiceConfigSecurityLevel) ToStringOutput added in v0.28.0

func (e ServiceConfigSecurityLevel) ToStringOutput() pulumi.StringOutput

func (ServiceConfigSecurityLevel) ToStringOutputWithContext added in v0.28.0

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

func (ServiceConfigSecurityLevel) ToStringPtrOutput added in v0.28.0

func (e ServiceConfigSecurityLevel) ToStringPtrOutput() pulumi.StringPtrOutput

func (ServiceConfigSecurityLevel) ToStringPtrOutputWithContext added in v0.28.0

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

type ServiceConfigSecurityLevelInput added in v0.28.0

type ServiceConfigSecurityLevelInput interface {
	pulumi.Input

	ToServiceConfigSecurityLevelOutput() ServiceConfigSecurityLevelOutput
	ToServiceConfigSecurityLevelOutputWithContext(context.Context) ServiceConfigSecurityLevelOutput
}

ServiceConfigSecurityLevelInput is an input type that accepts ServiceConfigSecurityLevelArgs and ServiceConfigSecurityLevelOutput values. You can construct a concrete instance of `ServiceConfigSecurityLevelInput` via:

ServiceConfigSecurityLevelArgs{...}

type ServiceConfigSecurityLevelOutput added in v0.28.0

type ServiceConfigSecurityLevelOutput struct{ *pulumi.OutputState }

func (ServiceConfigSecurityLevelOutput) ElementType added in v0.28.0

func (ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelOutput added in v0.28.0

func (o ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelOutput() ServiceConfigSecurityLevelOutput

func (ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelOutputWithContext added in v0.28.0

func (o ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelOutputWithContext(ctx context.Context) ServiceConfigSecurityLevelOutput

func (ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelPtrOutput added in v0.28.0

func (o ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelPtrOutput() ServiceConfigSecurityLevelPtrOutput

func (ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelPtrOutputWithContext added in v0.28.0

func (o ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelPtrOutputWithContext(ctx context.Context) ServiceConfigSecurityLevelPtrOutput

func (ServiceConfigSecurityLevelOutput) ToStringOutput added in v0.28.0

func (ServiceConfigSecurityLevelOutput) ToStringOutputWithContext added in v0.28.0

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

func (ServiceConfigSecurityLevelOutput) ToStringPtrOutput added in v0.28.0

func (ServiceConfigSecurityLevelOutput) ToStringPtrOutputWithContext added in v0.28.0

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

type ServiceConfigSecurityLevelPtrInput added in v0.28.0

type ServiceConfigSecurityLevelPtrInput interface {
	pulumi.Input

	ToServiceConfigSecurityLevelPtrOutput() ServiceConfigSecurityLevelPtrOutput
	ToServiceConfigSecurityLevelPtrOutputWithContext(context.Context) ServiceConfigSecurityLevelPtrOutput
}

func ServiceConfigSecurityLevelPtr added in v0.28.0

func ServiceConfigSecurityLevelPtr(v string) ServiceConfigSecurityLevelPtrInput

type ServiceConfigSecurityLevelPtrOutput added in v0.28.0

type ServiceConfigSecurityLevelPtrOutput struct{ *pulumi.OutputState }

func (ServiceConfigSecurityLevelPtrOutput) Elem added in v0.28.0

func (ServiceConfigSecurityLevelPtrOutput) ElementType added in v0.28.0

func (ServiceConfigSecurityLevelPtrOutput) ToServiceConfigSecurityLevelPtrOutput added in v0.28.0

func (o ServiceConfigSecurityLevelPtrOutput) ToServiceConfigSecurityLevelPtrOutput() ServiceConfigSecurityLevelPtrOutput

func (ServiceConfigSecurityLevelPtrOutput) ToServiceConfigSecurityLevelPtrOutputWithContext added in v0.28.0

func (o ServiceConfigSecurityLevelPtrOutput) ToServiceConfigSecurityLevelPtrOutputWithContext(ctx context.Context) ServiceConfigSecurityLevelPtrOutput

func (ServiceConfigSecurityLevelPtrOutput) ToStringPtrOutput added in v0.28.0

func (ServiceConfigSecurityLevelPtrOutput) ToStringPtrOutputWithContext added in v0.28.0

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

type ServiceConfigVpcConnectorEgressSettings

type ServiceConfigVpcConnectorEgressSettings string

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

func (ServiceConfigVpcConnectorEgressSettings) ElementType

func (ServiceConfigVpcConnectorEgressSettings) ToServiceConfigVpcConnectorEgressSettingsOutput

func (e ServiceConfigVpcConnectorEgressSettings) ToServiceConfigVpcConnectorEgressSettingsOutput() ServiceConfigVpcConnectorEgressSettingsOutput

func (ServiceConfigVpcConnectorEgressSettings) ToServiceConfigVpcConnectorEgressSettingsOutputWithContext

func (e ServiceConfigVpcConnectorEgressSettings) ToServiceConfigVpcConnectorEgressSettingsOutputWithContext(ctx context.Context) ServiceConfigVpcConnectorEgressSettingsOutput

func (ServiceConfigVpcConnectorEgressSettings) ToServiceConfigVpcConnectorEgressSettingsPtrOutput

func (e ServiceConfigVpcConnectorEgressSettings) ToServiceConfigVpcConnectorEgressSettingsPtrOutput() ServiceConfigVpcConnectorEgressSettingsPtrOutput

func (ServiceConfigVpcConnectorEgressSettings) ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext

func (e ServiceConfigVpcConnectorEgressSettings) ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext(ctx context.Context) ServiceConfigVpcConnectorEgressSettingsPtrOutput

func (ServiceConfigVpcConnectorEgressSettings) ToStringOutput

func (ServiceConfigVpcConnectorEgressSettings) ToStringOutputWithContext

func (ServiceConfigVpcConnectorEgressSettings) ToStringPtrOutput

func (ServiceConfigVpcConnectorEgressSettings) ToStringPtrOutputWithContext

type ServiceConfigVpcConnectorEgressSettingsInput

type ServiceConfigVpcConnectorEgressSettingsInput interface {
	pulumi.Input

	ToServiceConfigVpcConnectorEgressSettingsOutput() ServiceConfigVpcConnectorEgressSettingsOutput
	ToServiceConfigVpcConnectorEgressSettingsOutputWithContext(context.Context) ServiceConfigVpcConnectorEgressSettingsOutput
}

ServiceConfigVpcConnectorEgressSettingsInput is an input type that accepts ServiceConfigVpcConnectorEgressSettingsArgs and ServiceConfigVpcConnectorEgressSettingsOutput values. You can construct a concrete instance of `ServiceConfigVpcConnectorEgressSettingsInput` via:

ServiceConfigVpcConnectorEgressSettingsArgs{...}

type ServiceConfigVpcConnectorEgressSettingsOutput

type ServiceConfigVpcConnectorEgressSettingsOutput struct{ *pulumi.OutputState }

func (ServiceConfigVpcConnectorEgressSettingsOutput) ElementType

func (ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnectorEgressSettingsOutput

func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnectorEgressSettingsOutput() ServiceConfigVpcConnectorEgressSettingsOutput

func (ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnectorEgressSettingsOutputWithContext

func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnectorEgressSettingsOutputWithContext(ctx context.Context) ServiceConfigVpcConnectorEgressSettingsOutput

func (ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnectorEgressSettingsPtrOutput

func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnectorEgressSettingsPtrOutput() ServiceConfigVpcConnectorEgressSettingsPtrOutput

func (ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext

func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext(ctx context.Context) ServiceConfigVpcConnectorEgressSettingsPtrOutput

func (ServiceConfigVpcConnectorEgressSettingsOutput) ToStringOutput

func (ServiceConfigVpcConnectorEgressSettingsOutput) ToStringOutputWithContext

func (ServiceConfigVpcConnectorEgressSettingsOutput) ToStringPtrOutput

func (ServiceConfigVpcConnectorEgressSettingsOutput) ToStringPtrOutputWithContext

type ServiceConfigVpcConnectorEgressSettingsPtrInput

type ServiceConfigVpcConnectorEgressSettingsPtrInput interface {
	pulumi.Input

	ToServiceConfigVpcConnectorEgressSettingsPtrOutput() ServiceConfigVpcConnectorEgressSettingsPtrOutput
	ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext(context.Context) ServiceConfigVpcConnectorEgressSettingsPtrOutput
}

type ServiceConfigVpcConnectorEgressSettingsPtrOutput

type ServiceConfigVpcConnectorEgressSettingsPtrOutput struct{ *pulumi.OutputState }

func (ServiceConfigVpcConnectorEgressSettingsPtrOutput) Elem

func (ServiceConfigVpcConnectorEgressSettingsPtrOutput) ElementType

func (ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToServiceConfigVpcConnectorEgressSettingsPtrOutput

func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToServiceConfigVpcConnectorEgressSettingsPtrOutput() ServiceConfigVpcConnectorEgressSettingsPtrOutput

func (ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext

func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext(ctx context.Context) ServiceConfigVpcConnectorEgressSettingsPtrOutput

func (ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToStringPtrOutput

func (ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToStringPtrOutputWithContext

type Source

type Source struct {
	// If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//
	GitUri *string `pulumi:"gitUri"`
	// If provided, get the source from this location in a Cloud Source Repository.
	RepoSource *RepoSource `pulumi:"repoSource"`
	// If provided, get the source from this location in Google Cloud Storage.
	StorageSource *StorageSource `pulumi:"storageSource"`
}

The location of the function source code.

type SourceArgs

type SourceArgs struct {
	// If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//
	GitUri pulumi.StringPtrInput `pulumi:"gitUri"`
	// If provided, get the source from this location in a Cloud Source Repository.
	RepoSource RepoSourcePtrInput `pulumi:"repoSource"`
	// If provided, get the source from this location in Google Cloud Storage.
	StorageSource StorageSourcePtrInput `pulumi:"storageSource"`
}

The location of the function source code.

func (SourceArgs) ElementType

func (SourceArgs) ElementType() reflect.Type

func (SourceArgs) ToSourceOutput

func (i SourceArgs) ToSourceOutput() SourceOutput

func (SourceArgs) ToSourceOutputWithContext

func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput

func (SourceArgs) ToSourcePtrOutput

func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput

func (SourceArgs) ToSourcePtrOutputWithContext

func (i SourceArgs) ToSourcePtrOutputWithContext(ctx context.Context) SourcePtrOutput

type SourceInput

type SourceInput interface {
	pulumi.Input

	ToSourceOutput() SourceOutput
	ToSourceOutputWithContext(context.Context) SourceOutput
}

SourceInput is an input type that accepts SourceArgs and SourceOutput values. You can construct a concrete instance of `SourceInput` via:

SourceArgs{...}

type SourceOutput

type SourceOutput struct{ *pulumi.OutputState }

The location of the function source code.

func (SourceOutput) ElementType

func (SourceOutput) ElementType() reflect.Type

func (SourceOutput) GitUri added in v0.32.0

func (o SourceOutput) GitUri() pulumi.StringPtrOutput

If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//

func (SourceOutput) RepoSource

func (o SourceOutput) RepoSource() RepoSourcePtrOutput

If provided, get the source from this location in a Cloud Source Repository.

func (SourceOutput) StorageSource

func (o SourceOutput) StorageSource() StorageSourcePtrOutput

If provided, get the source from this location in Google Cloud Storage.

func (SourceOutput) ToSourceOutput

func (o SourceOutput) ToSourceOutput() SourceOutput

func (SourceOutput) ToSourceOutputWithContext

func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutput

func (SourceOutput) ToSourcePtrOutput

func (o SourceOutput) ToSourcePtrOutput() SourcePtrOutput

func (SourceOutput) ToSourcePtrOutputWithContext

func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePtrOutput

type SourceProvenanceResponse

type SourceProvenanceResponse struct {
	// A copy of the build's `source.git_uri`, if exists, with any commits resolved.
	GitUri string `pulumi:"gitUri"`
	// A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
	ResolvedRepoSource RepoSourceResponse `pulumi:"resolvedRepoSource"`
	// A copy of the build's `source.storage_source`, if exists, with any generations resolved.
	ResolvedStorageSource StorageSourceResponse `pulumi:"resolvedStorageSource"`
}

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

type SourceProvenanceResponseOutput

type SourceProvenanceResponseOutput struct{ *pulumi.OutputState }

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

func (SourceProvenanceResponseOutput) ElementType

func (SourceProvenanceResponseOutput) GitUri added in v0.32.0

A copy of the build's `source.git_uri`, if exists, with any commits resolved.

func (SourceProvenanceResponseOutput) ResolvedRepoSource

A copy of the build's `source.repo_source`, if exists, with any revisions resolved.

func (SourceProvenanceResponseOutput) ResolvedStorageSource

A copy of the build's `source.storage_source`, if exists, with any generations resolved.

func (SourceProvenanceResponseOutput) ToSourceProvenanceResponseOutput

func (o SourceProvenanceResponseOutput) ToSourceProvenanceResponseOutput() SourceProvenanceResponseOutput

func (SourceProvenanceResponseOutput) ToSourceProvenanceResponseOutputWithContext

func (o SourceProvenanceResponseOutput) ToSourceProvenanceResponseOutputWithContext(ctx context.Context) SourceProvenanceResponseOutput

type SourcePtrInput

type SourcePtrInput interface {
	pulumi.Input

	ToSourcePtrOutput() SourcePtrOutput
	ToSourcePtrOutputWithContext(context.Context) SourcePtrOutput
}

SourcePtrInput is an input type that accepts SourceArgs, SourcePtr and SourcePtrOutput values. You can construct a concrete instance of `SourcePtrInput` via:

        SourceArgs{...}

or:

        nil

func SourcePtr

func SourcePtr(v *SourceArgs) SourcePtrInput

type SourcePtrOutput

type SourcePtrOutput struct{ *pulumi.OutputState }

func (SourcePtrOutput) Elem

func (o SourcePtrOutput) Elem() SourceOutput

func (SourcePtrOutput) ElementType

func (SourcePtrOutput) ElementType() reflect.Type

func (SourcePtrOutput) GitUri added in v0.32.0

If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//

func (SourcePtrOutput) RepoSource

func (o SourcePtrOutput) RepoSource() RepoSourcePtrOutput

If provided, get the source from this location in a Cloud Source Repository.

func (SourcePtrOutput) StorageSource

func (o SourcePtrOutput) StorageSource() StorageSourcePtrOutput

If provided, get the source from this location in Google Cloud Storage.

func (SourcePtrOutput) ToSourcePtrOutput

func (o SourcePtrOutput) ToSourcePtrOutput() SourcePtrOutput

func (SourcePtrOutput) ToSourcePtrOutputWithContext

func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePtrOutput

type SourceResponse

type SourceResponse struct {
	// If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//
	GitUri string `pulumi:"gitUri"`
	// If provided, get the source from this location in a Cloud Source Repository.
	RepoSource RepoSourceResponse `pulumi:"repoSource"`
	// If provided, get the source from this location in Google Cloud Storage.
	StorageSource StorageSourceResponse `pulumi:"storageSource"`
}

The location of the function source code.

type SourceResponseOutput

type SourceResponseOutput struct{ *pulumi.OutputState }

The location of the function source code.

func (SourceResponseOutput) ElementType

func (SourceResponseOutput) ElementType() reflect.Type

func (SourceResponseOutput) GitUri added in v0.32.0

If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//

func (SourceResponseOutput) RepoSource

If provided, get the source from this location in a Cloud Source Repository.

func (SourceResponseOutput) StorageSource

If provided, get the source from this location in Google Cloud Storage.

func (SourceResponseOutput) ToSourceResponseOutput

func (o SourceResponseOutput) ToSourceResponseOutput() SourceResponseOutput

func (SourceResponseOutput) ToSourceResponseOutputWithContext

func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Context) SourceResponseOutput

type StorageSource

type StorageSource struct {
	// Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
	Bucket *string `pulumi:"bucket"`
	// Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
	Generation *string `pulumi:"generation"`
	// Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
	Object *string `pulumi:"object"`
}

Location of the source in an archive file in Google Cloud Storage.

type StorageSourceArgs

type StorageSourceArgs struct {
	// Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
	Bucket pulumi.StringPtrInput `pulumi:"bucket"`
	// Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
	Generation pulumi.StringPtrInput `pulumi:"generation"`
	// Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
	Object pulumi.StringPtrInput `pulumi:"object"`
}

Location of the source in an archive file in Google Cloud Storage.

func (StorageSourceArgs) ElementType

func (StorageSourceArgs) ElementType() reflect.Type

func (StorageSourceArgs) ToStorageSourceOutput

func (i StorageSourceArgs) ToStorageSourceOutput() StorageSourceOutput

func (StorageSourceArgs) ToStorageSourceOutputWithContext

func (i StorageSourceArgs) ToStorageSourceOutputWithContext(ctx context.Context) StorageSourceOutput

func (StorageSourceArgs) ToStorageSourcePtrOutput

func (i StorageSourceArgs) ToStorageSourcePtrOutput() StorageSourcePtrOutput

func (StorageSourceArgs) ToStorageSourcePtrOutputWithContext

func (i StorageSourceArgs) ToStorageSourcePtrOutputWithContext(ctx context.Context) StorageSourcePtrOutput

type StorageSourceInput

type StorageSourceInput interface {
	pulumi.Input

	ToStorageSourceOutput() StorageSourceOutput
	ToStorageSourceOutputWithContext(context.Context) StorageSourceOutput
}

StorageSourceInput is an input type that accepts StorageSourceArgs and StorageSourceOutput values. You can construct a concrete instance of `StorageSourceInput` via:

StorageSourceArgs{...}

type StorageSourceOutput

type StorageSourceOutput struct{ *pulumi.OutputState }

Location of the source in an archive file in Google Cloud Storage.

func (StorageSourceOutput) Bucket

Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).

func (StorageSourceOutput) ElementType

func (StorageSourceOutput) ElementType() reflect.Type

func (StorageSourceOutput) Generation

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

func (StorageSourceOutput) Object

Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.

func (StorageSourceOutput) ToStorageSourceOutput

func (o StorageSourceOutput) ToStorageSourceOutput() StorageSourceOutput

func (StorageSourceOutput) ToStorageSourceOutputWithContext

func (o StorageSourceOutput) ToStorageSourceOutputWithContext(ctx context.Context) StorageSourceOutput

func (StorageSourceOutput) ToStorageSourcePtrOutput

func (o StorageSourceOutput) ToStorageSourcePtrOutput() StorageSourcePtrOutput

func (StorageSourceOutput) ToStorageSourcePtrOutputWithContext

func (o StorageSourceOutput) ToStorageSourcePtrOutputWithContext(ctx context.Context) StorageSourcePtrOutput

type StorageSourcePtrInput

type StorageSourcePtrInput interface {
	pulumi.Input

	ToStorageSourcePtrOutput() StorageSourcePtrOutput
	ToStorageSourcePtrOutputWithContext(context.Context) StorageSourcePtrOutput
}

StorageSourcePtrInput is an input type that accepts StorageSourceArgs, StorageSourcePtr and StorageSourcePtrOutput values. You can construct a concrete instance of `StorageSourcePtrInput` via:

        StorageSourceArgs{...}

or:

        nil

type StorageSourcePtrOutput

type StorageSourcePtrOutput struct{ *pulumi.OutputState }

func (StorageSourcePtrOutput) Bucket

Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).

func (StorageSourcePtrOutput) Elem

func (StorageSourcePtrOutput) ElementType

func (StorageSourcePtrOutput) ElementType() reflect.Type

func (StorageSourcePtrOutput) Generation

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

func (StorageSourcePtrOutput) Object

Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.

func (StorageSourcePtrOutput) ToStorageSourcePtrOutput

func (o StorageSourcePtrOutput) ToStorageSourcePtrOutput() StorageSourcePtrOutput

func (StorageSourcePtrOutput) ToStorageSourcePtrOutputWithContext

func (o StorageSourcePtrOutput) ToStorageSourcePtrOutputWithContext(ctx context.Context) StorageSourcePtrOutput

type StorageSourceResponse

type StorageSourceResponse struct {
	// Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
	Bucket string `pulumi:"bucket"`
	// Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
	Generation string `pulumi:"generation"`
	// Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
	Object string `pulumi:"object"`
}

Location of the source in an archive file in Google Cloud Storage.

type StorageSourceResponseOutput

type StorageSourceResponseOutput struct{ *pulumi.OutputState }

Location of the source in an archive file in Google Cloud Storage.

func (StorageSourceResponseOutput) Bucket

Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).

func (StorageSourceResponseOutput) ElementType

func (StorageSourceResponseOutput) Generation

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

func (StorageSourceResponseOutput) Object

Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.

func (StorageSourceResponseOutput) ToStorageSourceResponseOutput

func (o StorageSourceResponseOutput) ToStorageSourceResponseOutput() StorageSourceResponseOutput

func (StorageSourceResponseOutput) ToStorageSourceResponseOutputWithContext

func (o StorageSourceResponseOutput) ToStorageSourceResponseOutputWithContext(ctx context.Context) StorageSourceResponseOutput

Jump to

Keyboard shortcuts

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