v1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 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")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditConfig

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

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

type AuditConfigArgs

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

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

func (AuditConfigArgs) ElementType

func (AuditConfigArgs) ElementType() reflect.Type

func (AuditConfigArgs) ToAuditConfigOutput

func (i AuditConfigArgs) ToAuditConfigOutput() AuditConfigOutput

func (AuditConfigArgs) ToAuditConfigOutputWithContext

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

type AuditConfigArray

type AuditConfigArray []AuditConfigInput

func (AuditConfigArray) ElementType

func (AuditConfigArray) ElementType() reflect.Type

func (AuditConfigArray) ToAuditConfigArrayOutput

func (i AuditConfigArray) ToAuditConfigArrayOutput() AuditConfigArrayOutput

func (AuditConfigArray) ToAuditConfigArrayOutputWithContext

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

type AuditConfigArrayInput

type AuditConfigArrayInput interface {
	pulumi.Input

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

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

AuditConfigArray{ AuditConfigArgs{...} }

type AuditConfigArrayOutput

type AuditConfigArrayOutput struct{ *pulumi.OutputState }

func (AuditConfigArrayOutput) ElementType

func (AuditConfigArrayOutput) ElementType() reflect.Type

func (AuditConfigArrayOutput) Index

func (AuditConfigArrayOutput) ToAuditConfigArrayOutput

func (o AuditConfigArrayOutput) ToAuditConfigArrayOutput() AuditConfigArrayOutput

func (AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext

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

type AuditConfigInput

type AuditConfigInput interface {
	pulumi.Input

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

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

AuditConfigArgs{...}

type AuditConfigOutput

type AuditConfigOutput struct{ *pulumi.OutputState }

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

func (AuditConfigOutput) AuditLogConfigs

func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput

The configuration for logging of each type of permission.

func (AuditConfigOutput) ElementType

func (AuditConfigOutput) ElementType() reflect.Type

func (AuditConfigOutput) Service

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

func (AuditConfigOutput) ToAuditConfigOutput

func (o AuditConfigOutput) ToAuditConfigOutput() AuditConfigOutput

func (AuditConfigOutput) ToAuditConfigOutputWithContext

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

type AuditConfigResponse

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

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

type AuditConfigResponseArrayOutput

type AuditConfigResponseArrayOutput struct{ *pulumi.OutputState }

func (AuditConfigResponseArrayOutput) ElementType

func (AuditConfigResponseArrayOutput) Index

func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput

func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput

func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext

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

type AuditConfigResponseOutput

type AuditConfigResponseOutput struct{ *pulumi.OutputState }

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

func (AuditConfigResponseOutput) AuditLogConfigs

The configuration for logging of each type of permission.

func (AuditConfigResponseOutput) ElementType

func (AuditConfigResponseOutput) ElementType() reflect.Type

func (AuditConfigResponseOutput) Service

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

func (AuditConfigResponseOutput) ToAuditConfigResponseOutput

func (o AuditConfigResponseOutput) ToAuditConfigResponseOutput() AuditConfigResponseOutput

func (AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext

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

type AuditLogConfig

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

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

type AuditLogConfigArgs

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

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

func (AuditLogConfigArgs) ElementType

func (AuditLogConfigArgs) ElementType() reflect.Type

func (AuditLogConfigArgs) ToAuditLogConfigOutput

func (i AuditLogConfigArgs) ToAuditLogConfigOutput() AuditLogConfigOutput

func (AuditLogConfigArgs) ToAuditLogConfigOutputWithContext

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

type AuditLogConfigArray

type AuditLogConfigArray []AuditLogConfigInput

func (AuditLogConfigArray) ElementType

func (AuditLogConfigArray) ElementType() reflect.Type

func (AuditLogConfigArray) ToAuditLogConfigArrayOutput

func (i AuditLogConfigArray) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput

func (AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext

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

type AuditLogConfigArrayInput

type AuditLogConfigArrayInput interface {
	pulumi.Input

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

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

AuditLogConfigArray{ AuditLogConfigArgs{...} }

type AuditLogConfigArrayOutput

type AuditLogConfigArrayOutput struct{ *pulumi.OutputState }

func (AuditLogConfigArrayOutput) ElementType

func (AuditLogConfigArrayOutput) ElementType() reflect.Type

func (AuditLogConfigArrayOutput) Index

func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput

func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput

func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext

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

type AuditLogConfigInput

type AuditLogConfigInput interface {
	pulumi.Input

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

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

AuditLogConfigArgs{...}

type AuditLogConfigLogType added in v0.4.0

type AuditLogConfigLogType string

The log type that this config enables.

func (AuditLogConfigLogType) ElementType added in v0.4.0

func (AuditLogConfigLogType) ElementType() reflect.Type

func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput added in v0.6.0

func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput

func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext added in v0.6.0

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

func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput added in v0.6.0

func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext added in v0.6.0

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

func (AuditLogConfigLogType) ToStringOutput added in v0.4.0

func (e AuditLogConfigLogType) ToStringOutput() pulumi.StringOutput

func (AuditLogConfigLogType) ToStringOutputWithContext added in v0.4.0

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

func (AuditLogConfigLogType) ToStringPtrOutput added in v0.4.0

func (e AuditLogConfigLogType) ToStringPtrOutput() pulumi.StringPtrOutput

func (AuditLogConfigLogType) ToStringPtrOutputWithContext added in v0.4.0

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

type AuditLogConfigLogTypeInput added in v0.6.0

type AuditLogConfigLogTypeInput interface {
	pulumi.Input

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

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

AuditLogConfigLogTypeArgs{...}

type AuditLogConfigLogTypeOutput added in v0.6.0

type AuditLogConfigLogTypeOutput struct{ *pulumi.OutputState }

func (AuditLogConfigLogTypeOutput) ElementType added in v0.6.0

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext added in v0.6.0

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

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext added in v0.6.0

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

func (AuditLogConfigLogTypeOutput) ToStringOutput added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput

func (AuditLogConfigLogTypeOutput) ToStringOutputWithContext added in v0.6.0

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

func (AuditLogConfigLogTypeOutput) ToStringPtrOutput added in v0.6.0

func (o AuditLogConfigLogTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext added in v0.6.0

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

type AuditLogConfigLogTypePtrInput added in v0.6.0

type AuditLogConfigLogTypePtrInput interface {
	pulumi.Input

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

func AuditLogConfigLogTypePtr added in v0.6.0

func AuditLogConfigLogTypePtr(v string) AuditLogConfigLogTypePtrInput

type AuditLogConfigLogTypePtrOutput added in v0.6.0

type AuditLogConfigLogTypePtrOutput struct{ *pulumi.OutputState }

func (AuditLogConfigLogTypePtrOutput) Elem added in v0.6.0

func (AuditLogConfigLogTypePtrOutput) ElementType added in v0.6.0

func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput added in v0.6.0

func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput

func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext added in v0.6.0

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

func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutput added in v0.6.0

func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

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

type AuditLogConfigOutput

type AuditLogConfigOutput struct{ *pulumi.OutputState }

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

func (AuditLogConfigOutput) ElementType

func (AuditLogConfigOutput) ElementType() reflect.Type

func (AuditLogConfigOutput) ExemptedMembers

func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput

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

func (AuditLogConfigOutput) LogType

The log type that this config enables.

func (AuditLogConfigOutput) ToAuditLogConfigOutput

func (o AuditLogConfigOutput) ToAuditLogConfigOutput() AuditLogConfigOutput

func (AuditLogConfigOutput) ToAuditLogConfigOutputWithContext

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

type AuditLogConfigResponse

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

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

type AuditLogConfigResponseArrayOutput

type AuditLogConfigResponseArrayOutput struct{ *pulumi.OutputState }

func (AuditLogConfigResponseArrayOutput) ElementType

func (AuditLogConfigResponseArrayOutput) Index

func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput

func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput

func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext

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

type AuditLogConfigResponseOutput

type AuditLogConfigResponseOutput struct{ *pulumi.OutputState }

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

func (AuditLogConfigResponseOutput) ElementType

func (AuditLogConfigResponseOutput) ExemptedMembers

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

func (AuditLogConfigResponseOutput) LogType

The log type that this config enables.

func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput

func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput

func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext

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

type Binding

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

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

type BindingArgs

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

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

func (BindingArgs) ElementType

func (BindingArgs) ElementType() reflect.Type

func (BindingArgs) ToBindingOutput

func (i BindingArgs) ToBindingOutput() BindingOutput

func (BindingArgs) ToBindingOutputWithContext

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

type BindingArray

type BindingArray []BindingInput

func (BindingArray) ElementType

func (BindingArray) ElementType() reflect.Type

func (BindingArray) ToBindingArrayOutput

func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput

func (BindingArray) ToBindingArrayOutputWithContext

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

type BindingArrayInput

type BindingArrayInput interface {
	pulumi.Input

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

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

BindingArray{ BindingArgs{...} }

type BindingArrayOutput

type BindingArrayOutput struct{ *pulumi.OutputState }

func (BindingArrayOutput) ElementType

func (BindingArrayOutput) ElementType() reflect.Type

func (BindingArrayOutput) Index

func (BindingArrayOutput) ToBindingArrayOutput

func (o BindingArrayOutput) ToBindingArrayOutput() BindingArrayOutput

func (BindingArrayOutput) ToBindingArrayOutputWithContext

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

type BindingInput

type BindingInput interface {
	pulumi.Input

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

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

BindingArgs{...}

type BindingOutput

type BindingOutput struct{ *pulumi.OutputState }

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

func (BindingOutput) Condition

func (o BindingOutput) Condition() ExprPtrOutput

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

func (BindingOutput) ElementType

func (BindingOutput) ElementType() reflect.Type

func (BindingOutput) Members

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

func (BindingOutput) Role

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

func (BindingOutput) ToBindingOutput

func (o BindingOutput) ToBindingOutput() BindingOutput

func (BindingOutput) ToBindingOutputWithContext

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

type BindingResponse

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

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

type BindingResponseArrayOutput

type BindingResponseArrayOutput struct{ *pulumi.OutputState }

func (BindingResponseArrayOutput) ElementType

func (BindingResponseArrayOutput) ElementType() reflect.Type

func (BindingResponseArrayOutput) Index

func (BindingResponseArrayOutput) ToBindingResponseArrayOutput

func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput

func (BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext

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

type BindingResponseOutput

type BindingResponseOutput struct{ *pulumi.OutputState }

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

func (BindingResponseOutput) Condition

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

func (BindingResponseOutput) ElementType

func (BindingResponseOutput) ElementType() reflect.Type

func (BindingResponseOutput) Members

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

func (BindingResponseOutput) Role

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

func (BindingResponseOutput) ToBindingResponseOutput

func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput

func (BindingResponseOutput) ToBindingResponseOutputWithContext

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

type Channel added in v0.19.0

type Channel struct {
	pulumi.CustomResourceState

	// The activation token for the channel. The token must be used by the provider to register the channel for publishing.
	ActivationToken pulumi.StringOutput `pulumi:"activationToken"`
	// Required. The user-provided ID to be assigned to the channel.
	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// The creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
	CryptoKeyName pulumi.StringOutput `pulumi:"cryptoKeyName"`
	Location      pulumi.StringOutput `pulumi:"location"`
	// The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
	Provider pulumi.StringOutput `pulumi:"provider"`
	// The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
	PubsubTopic pulumi.StringOutput `pulumi:"pubsubTopic"`
	// The state of a Channel.
	State pulumi.StringOutput `pulumi:"state"`
	// Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// The last-modified time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Create a new channel in a particular project and location.

func GetChannel added in v0.19.0

func GetChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelState, opts ...pulumi.ResourceOption) (*Channel, error)

GetChannel gets an existing Channel 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 NewChannel added in v0.19.0

func NewChannel(ctx *pulumi.Context,
	name string, args *ChannelArgs, opts ...pulumi.ResourceOption) (*Channel, error)

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

func (*Channel) ElementType added in v0.19.0

func (*Channel) ElementType() reflect.Type

func (*Channel) ToChannelOutput added in v0.19.0

func (i *Channel) ToChannelOutput() ChannelOutput

func (*Channel) ToChannelOutputWithContext added in v0.19.0

func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput

type ChannelArgs added in v0.19.0

type ChannelArgs struct {
	// Required. The user-provided ID to be assigned to the channel.
	ChannelId pulumi.StringInput
	// Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
	CryptoKeyName pulumi.StringPtrInput
	Location      pulumi.StringPtrInput
	// The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
	Provider pulumi.StringPtrInput
}

The set of arguments for constructing a Channel resource.

func (ChannelArgs) ElementType added in v0.19.0

func (ChannelArgs) ElementType() reflect.Type

type ChannelConnection added in v0.21.0

type ChannelConnection struct {
	pulumi.CustomResourceState

	// Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
	ActivationToken pulumi.StringOutput `pulumi:"activationToken"`
	// The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.
	Channel pulumi.StringOutput `pulumi:"channel"`
	// Required. The user-provided ID to be assigned to the channel connection.
	ChannelConnectionId pulumi.StringOutput `pulumi:"channelConnectionId"`
	// The creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	Location   pulumi.StringOutput `pulumi:"location"`
	// The name of the connection.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// The last-modified time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Create a new ChannelConnection in a particular project and location.

func GetChannelConnection added in v0.21.0

func GetChannelConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelConnectionState, opts ...pulumi.ResourceOption) (*ChannelConnection, error)

GetChannelConnection gets an existing ChannelConnection 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 NewChannelConnection added in v0.21.0

func NewChannelConnection(ctx *pulumi.Context,
	name string, args *ChannelConnectionArgs, opts ...pulumi.ResourceOption) (*ChannelConnection, error)

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

func (*ChannelConnection) ElementType added in v0.21.0

func (*ChannelConnection) ElementType() reflect.Type

func (*ChannelConnection) ToChannelConnectionOutput added in v0.21.0

func (i *ChannelConnection) ToChannelConnectionOutput() ChannelConnectionOutput

func (*ChannelConnection) ToChannelConnectionOutputWithContext added in v0.21.0

func (i *ChannelConnection) ToChannelConnectionOutputWithContext(ctx context.Context) ChannelConnectionOutput

type ChannelConnectionArgs added in v0.21.0

type ChannelConnectionArgs struct {
	// Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
	ActivationToken pulumi.StringPtrInput
	// The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.
	Channel pulumi.StringInput
	// Required. The user-provided ID to be assigned to the channel connection.
	ChannelConnectionId pulumi.StringInput
	Location            pulumi.StringPtrInput
	// The name of the connection.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a ChannelConnection resource.

func (ChannelConnectionArgs) ElementType added in v0.21.0

func (ChannelConnectionArgs) ElementType() reflect.Type

type ChannelConnectionIamBinding added in v0.26.0

type ChannelConnectionIamBinding 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 GetChannelConnectionIamBinding added in v0.26.0

func GetChannelConnectionIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelConnectionIamBindingState, opts ...pulumi.ResourceOption) (*ChannelConnectionIamBinding, error)

GetChannelConnectionIamBinding gets an existing ChannelConnectionIamBinding 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 NewChannelConnectionIamBinding added in v0.26.0

func NewChannelConnectionIamBinding(ctx *pulumi.Context,
	name string, args *ChannelConnectionIamBindingArgs, opts ...pulumi.ResourceOption) (*ChannelConnectionIamBinding, error)

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

func (*ChannelConnectionIamBinding) ElementType added in v0.26.0

func (*ChannelConnectionIamBinding) ElementType() reflect.Type

func (*ChannelConnectionIamBinding) ToChannelConnectionIamBindingOutput added in v0.26.0

func (i *ChannelConnectionIamBinding) ToChannelConnectionIamBindingOutput() ChannelConnectionIamBindingOutput

func (*ChannelConnectionIamBinding) ToChannelConnectionIamBindingOutputWithContext added in v0.26.0

func (i *ChannelConnectionIamBinding) ToChannelConnectionIamBindingOutputWithContext(ctx context.Context) ChannelConnectionIamBindingOutput

type ChannelConnectionIamBindingArgs added in v0.26.0

type ChannelConnectionIamBindingArgs 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 ChannelConnectionIamBinding resource.

func (ChannelConnectionIamBindingArgs) ElementType added in v0.26.0

type ChannelConnectionIamBindingInput added in v0.26.0

type ChannelConnectionIamBindingInput interface {
	pulumi.Input

	ToChannelConnectionIamBindingOutput() ChannelConnectionIamBindingOutput
	ToChannelConnectionIamBindingOutputWithContext(ctx context.Context) ChannelConnectionIamBindingOutput
}

type ChannelConnectionIamBindingOutput added in v0.26.0

type ChannelConnectionIamBindingOutput struct{ *pulumi.OutputState }

func (ChannelConnectionIamBindingOutput) 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 (ChannelConnectionIamBindingOutput) ElementType added in v0.26.0

func (ChannelConnectionIamBindingOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (ChannelConnectionIamBindingOutput) 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 (ChannelConnectionIamBindingOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (ChannelConnectionIamBindingOutput) Project added in v0.26.0

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

func (ChannelConnectionIamBindingOutput) 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 (ChannelConnectionIamBindingOutput) ToChannelConnectionIamBindingOutput added in v0.26.0

func (o ChannelConnectionIamBindingOutput) ToChannelConnectionIamBindingOutput() ChannelConnectionIamBindingOutput

func (ChannelConnectionIamBindingOutput) ToChannelConnectionIamBindingOutputWithContext added in v0.26.0

func (o ChannelConnectionIamBindingOutput) ToChannelConnectionIamBindingOutputWithContext(ctx context.Context) ChannelConnectionIamBindingOutput

type ChannelConnectionIamBindingState added in v0.26.0

type ChannelConnectionIamBindingState struct {
}

func (ChannelConnectionIamBindingState) ElementType added in v0.26.0

type ChannelConnectionIamMember added in v0.26.0

type ChannelConnectionIamMember 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 GetChannelConnectionIamMember added in v0.26.0

func GetChannelConnectionIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelConnectionIamMemberState, opts ...pulumi.ResourceOption) (*ChannelConnectionIamMember, error)

GetChannelConnectionIamMember gets an existing ChannelConnectionIamMember 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 NewChannelConnectionIamMember added in v0.26.0

func NewChannelConnectionIamMember(ctx *pulumi.Context,
	name string, args *ChannelConnectionIamMemberArgs, opts ...pulumi.ResourceOption) (*ChannelConnectionIamMember, error)

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

func (*ChannelConnectionIamMember) ElementType added in v0.26.0

func (*ChannelConnectionIamMember) ElementType() reflect.Type

func (*ChannelConnectionIamMember) ToChannelConnectionIamMemberOutput added in v0.26.0

func (i *ChannelConnectionIamMember) ToChannelConnectionIamMemberOutput() ChannelConnectionIamMemberOutput

func (*ChannelConnectionIamMember) ToChannelConnectionIamMemberOutputWithContext added in v0.26.0

func (i *ChannelConnectionIamMember) ToChannelConnectionIamMemberOutputWithContext(ctx context.Context) ChannelConnectionIamMemberOutput

type ChannelConnectionIamMemberArgs added in v0.26.0

type ChannelConnectionIamMemberArgs 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 ChannelConnectionIamMember resource.

func (ChannelConnectionIamMemberArgs) ElementType added in v0.26.0

type ChannelConnectionIamMemberInput added in v0.26.0

type ChannelConnectionIamMemberInput interface {
	pulumi.Input

	ToChannelConnectionIamMemberOutput() ChannelConnectionIamMemberOutput
	ToChannelConnectionIamMemberOutputWithContext(ctx context.Context) ChannelConnectionIamMemberOutput
}

type ChannelConnectionIamMemberOutput added in v0.26.0

type ChannelConnectionIamMemberOutput struct{ *pulumi.OutputState }

func (ChannelConnectionIamMemberOutput) 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 (ChannelConnectionIamMemberOutput) ElementType added in v0.26.0

func (ChannelConnectionIamMemberOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (ChannelConnectionIamMemberOutput) 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 (ChannelConnectionIamMemberOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (ChannelConnectionIamMemberOutput) Project added in v0.26.0

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

func (ChannelConnectionIamMemberOutput) 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 (ChannelConnectionIamMemberOutput) ToChannelConnectionIamMemberOutput added in v0.26.0

func (o ChannelConnectionIamMemberOutput) ToChannelConnectionIamMemberOutput() ChannelConnectionIamMemberOutput

func (ChannelConnectionIamMemberOutput) ToChannelConnectionIamMemberOutputWithContext added in v0.26.0

func (o ChannelConnectionIamMemberOutput) ToChannelConnectionIamMemberOutputWithContext(ctx context.Context) ChannelConnectionIamMemberOutput

type ChannelConnectionIamMemberState added in v0.26.0

type ChannelConnectionIamMemberState struct {
}

func (ChannelConnectionIamMemberState) ElementType added in v0.26.0

type ChannelConnectionIamPolicy added in v0.11.0

type ChannelConnectionIamPolicy 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"`
	ChannelConnectionId pulumi.StringOutput        `pulumi:"channelConnectionId"`
	// `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"`
	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 GetChannelConnectionIamPolicy added in v0.11.0

func GetChannelConnectionIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelConnectionIamPolicyState, opts ...pulumi.ResourceOption) (*ChannelConnectionIamPolicy, error)

GetChannelConnectionIamPolicy gets an existing ChannelConnectionIamPolicy 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 NewChannelConnectionIamPolicy added in v0.11.0

func NewChannelConnectionIamPolicy(ctx *pulumi.Context,
	name string, args *ChannelConnectionIamPolicyArgs, opts ...pulumi.ResourceOption) (*ChannelConnectionIamPolicy, error)

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

func (*ChannelConnectionIamPolicy) ElementType added in v0.11.0

func (*ChannelConnectionIamPolicy) ElementType() reflect.Type

func (*ChannelConnectionIamPolicy) ToChannelConnectionIamPolicyOutput added in v0.11.0

func (i *ChannelConnectionIamPolicy) ToChannelConnectionIamPolicyOutput() ChannelConnectionIamPolicyOutput

func (*ChannelConnectionIamPolicy) ToChannelConnectionIamPolicyOutputWithContext added in v0.11.0

func (i *ChannelConnectionIamPolicy) ToChannelConnectionIamPolicyOutputWithContext(ctx context.Context) ChannelConnectionIamPolicyOutput

type ChannelConnectionIamPolicyArgs added in v0.11.0

type ChannelConnectionIamPolicyArgs 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
	ChannelConnectionId pulumi.StringInput
	// `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
	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 ChannelConnectionIamPolicy resource.

func (ChannelConnectionIamPolicyArgs) ElementType added in v0.11.0

type ChannelConnectionIamPolicyInput added in v0.11.0

type ChannelConnectionIamPolicyInput interface {
	pulumi.Input

	ToChannelConnectionIamPolicyOutput() ChannelConnectionIamPolicyOutput
	ToChannelConnectionIamPolicyOutputWithContext(ctx context.Context) ChannelConnectionIamPolicyOutput
}

type ChannelConnectionIamPolicyOutput added in v0.11.0

type ChannelConnectionIamPolicyOutput struct{ *pulumi.OutputState }

func (ChannelConnectionIamPolicyOutput) AuditConfigs added in v0.19.0

Specifies cloud audit logging configuration for this policy.

func (ChannelConnectionIamPolicyOutput) 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 (ChannelConnectionIamPolicyOutput) ChannelConnectionId added in v0.21.0

func (o ChannelConnectionIamPolicyOutput) ChannelConnectionId() pulumi.StringOutput

func (ChannelConnectionIamPolicyOutput) ElementType added in v0.11.0

func (ChannelConnectionIamPolicyOutput) 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 (ChannelConnectionIamPolicyOutput) Location added in v0.21.0

func (ChannelConnectionIamPolicyOutput) Project added in v0.21.0

func (ChannelConnectionIamPolicyOutput) ToChannelConnectionIamPolicyOutput added in v0.11.0

func (o ChannelConnectionIamPolicyOutput) ToChannelConnectionIamPolicyOutput() ChannelConnectionIamPolicyOutput

func (ChannelConnectionIamPolicyOutput) ToChannelConnectionIamPolicyOutputWithContext added in v0.11.0

func (o ChannelConnectionIamPolicyOutput) ToChannelConnectionIamPolicyOutputWithContext(ctx context.Context) ChannelConnectionIamPolicyOutput

func (ChannelConnectionIamPolicyOutput) 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 ChannelConnectionIamPolicyState added in v0.11.0

type ChannelConnectionIamPolicyState struct {
}

func (ChannelConnectionIamPolicyState) ElementType added in v0.11.0

type ChannelConnectionInput added in v0.21.0

type ChannelConnectionInput interface {
	pulumi.Input

	ToChannelConnectionOutput() ChannelConnectionOutput
	ToChannelConnectionOutputWithContext(ctx context.Context) ChannelConnectionOutput
}

type ChannelConnectionOutput added in v0.21.0

type ChannelConnectionOutput struct{ *pulumi.OutputState }

func (ChannelConnectionOutput) ActivationToken added in v0.21.0

func (o ChannelConnectionOutput) ActivationToken() pulumi.StringOutput

Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.

func (ChannelConnectionOutput) Channel added in v0.21.0

The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.

func (ChannelConnectionOutput) ChannelConnectionId added in v0.21.0

func (o ChannelConnectionOutput) ChannelConnectionId() pulumi.StringOutput

Required. The user-provided ID to be assigned to the channel connection.

func (ChannelConnectionOutput) CreateTime added in v0.21.0

The creation time.

func (ChannelConnectionOutput) ElementType added in v0.21.0

func (ChannelConnectionOutput) ElementType() reflect.Type

func (ChannelConnectionOutput) Location added in v0.21.0

func (ChannelConnectionOutput) Name added in v0.21.0

The name of the connection.

func (ChannelConnectionOutput) Project added in v0.21.0

func (ChannelConnectionOutput) ToChannelConnectionOutput added in v0.21.0

func (o ChannelConnectionOutput) ToChannelConnectionOutput() ChannelConnectionOutput

func (ChannelConnectionOutput) ToChannelConnectionOutputWithContext added in v0.21.0

func (o ChannelConnectionOutput) ToChannelConnectionOutputWithContext(ctx context.Context) ChannelConnectionOutput

func (ChannelConnectionOutput) Uid added in v0.21.0

Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.

func (ChannelConnectionOutput) UpdateTime added in v0.21.0

The last-modified time.

type ChannelConnectionState added in v0.21.0

type ChannelConnectionState struct {
}

func (ChannelConnectionState) ElementType added in v0.21.0

func (ChannelConnectionState) ElementType() reflect.Type

type ChannelIamBinding added in v0.26.0

type ChannelIamBinding 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 GetChannelIamBinding added in v0.26.0

func GetChannelIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelIamBindingState, opts ...pulumi.ResourceOption) (*ChannelIamBinding, error)

GetChannelIamBinding gets an existing ChannelIamBinding 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 NewChannelIamBinding added in v0.26.0

func NewChannelIamBinding(ctx *pulumi.Context,
	name string, args *ChannelIamBindingArgs, opts ...pulumi.ResourceOption) (*ChannelIamBinding, error)

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

func (*ChannelIamBinding) ElementType added in v0.26.0

func (*ChannelIamBinding) ElementType() reflect.Type

func (*ChannelIamBinding) ToChannelIamBindingOutput added in v0.26.0

func (i *ChannelIamBinding) ToChannelIamBindingOutput() ChannelIamBindingOutput

func (*ChannelIamBinding) ToChannelIamBindingOutputWithContext added in v0.26.0

func (i *ChannelIamBinding) ToChannelIamBindingOutputWithContext(ctx context.Context) ChannelIamBindingOutput

type ChannelIamBindingArgs added in v0.26.0

type ChannelIamBindingArgs 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 ChannelIamBinding resource.

func (ChannelIamBindingArgs) ElementType added in v0.26.0

func (ChannelIamBindingArgs) ElementType() reflect.Type

type ChannelIamBindingInput added in v0.26.0

type ChannelIamBindingInput interface {
	pulumi.Input

	ToChannelIamBindingOutput() ChannelIamBindingOutput
	ToChannelIamBindingOutputWithContext(ctx context.Context) ChannelIamBindingOutput
}

type ChannelIamBindingOutput added in v0.26.0

type ChannelIamBindingOutput struct{ *pulumi.OutputState }

func (ChannelIamBindingOutput) 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 (ChannelIamBindingOutput) ElementType added in v0.26.0

func (ChannelIamBindingOutput) ElementType() reflect.Type

func (ChannelIamBindingOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (ChannelIamBindingOutput) 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 (ChannelIamBindingOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (ChannelIamBindingOutput) Project added in v0.26.0

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

func (ChannelIamBindingOutput) 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 (ChannelIamBindingOutput) ToChannelIamBindingOutput added in v0.26.0

func (o ChannelIamBindingOutput) ToChannelIamBindingOutput() ChannelIamBindingOutput

func (ChannelIamBindingOutput) ToChannelIamBindingOutputWithContext added in v0.26.0

func (o ChannelIamBindingOutput) ToChannelIamBindingOutputWithContext(ctx context.Context) ChannelIamBindingOutput

type ChannelIamBindingState added in v0.26.0

type ChannelIamBindingState struct {
}

func (ChannelIamBindingState) ElementType added in v0.26.0

func (ChannelIamBindingState) ElementType() reflect.Type

type ChannelIamMember added in v0.26.0

type ChannelIamMember 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 GetChannelIamMember added in v0.26.0

func GetChannelIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelIamMemberState, opts ...pulumi.ResourceOption) (*ChannelIamMember, error)

GetChannelIamMember gets an existing ChannelIamMember 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 NewChannelIamMember added in v0.26.0

func NewChannelIamMember(ctx *pulumi.Context,
	name string, args *ChannelIamMemberArgs, opts ...pulumi.ResourceOption) (*ChannelIamMember, error)

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

func (*ChannelIamMember) ElementType added in v0.26.0

func (*ChannelIamMember) ElementType() reflect.Type

func (*ChannelIamMember) ToChannelIamMemberOutput added in v0.26.0

func (i *ChannelIamMember) ToChannelIamMemberOutput() ChannelIamMemberOutput

func (*ChannelIamMember) ToChannelIamMemberOutputWithContext added in v0.26.0

func (i *ChannelIamMember) ToChannelIamMemberOutputWithContext(ctx context.Context) ChannelIamMemberOutput

type ChannelIamMemberArgs added in v0.26.0

type ChannelIamMemberArgs 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 ChannelIamMember resource.

func (ChannelIamMemberArgs) ElementType added in v0.26.0

func (ChannelIamMemberArgs) ElementType() reflect.Type

type ChannelIamMemberInput added in v0.26.0

type ChannelIamMemberInput interface {
	pulumi.Input

	ToChannelIamMemberOutput() ChannelIamMemberOutput
	ToChannelIamMemberOutputWithContext(ctx context.Context) ChannelIamMemberOutput
}

type ChannelIamMemberOutput added in v0.26.0

type ChannelIamMemberOutput struct{ *pulumi.OutputState }

func (ChannelIamMemberOutput) 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 (ChannelIamMemberOutput) ElementType added in v0.26.0

func (ChannelIamMemberOutput) ElementType() reflect.Type

func (ChannelIamMemberOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (ChannelIamMemberOutput) 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 (ChannelIamMemberOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (ChannelIamMemberOutput) Project added in v0.26.0

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

func (ChannelIamMemberOutput) 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 (ChannelIamMemberOutput) ToChannelIamMemberOutput added in v0.26.0

func (o ChannelIamMemberOutput) ToChannelIamMemberOutput() ChannelIamMemberOutput

func (ChannelIamMemberOutput) ToChannelIamMemberOutputWithContext added in v0.26.0

func (o ChannelIamMemberOutput) ToChannelIamMemberOutputWithContext(ctx context.Context) ChannelIamMemberOutput

type ChannelIamMemberState added in v0.26.0

type ChannelIamMemberState struct {
}

func (ChannelIamMemberState) ElementType added in v0.26.0

func (ChannelIamMemberState) ElementType() reflect.Type

type ChannelIamPolicy added in v0.8.0

type ChannelIamPolicy 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"`
	ChannelId pulumi.StringOutput        `pulumi:"channelId"`
	// `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"`
	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 GetChannelIamPolicy added in v0.8.0

func GetChannelIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelIamPolicyState, opts ...pulumi.ResourceOption) (*ChannelIamPolicy, error)

GetChannelIamPolicy gets an existing ChannelIamPolicy 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 NewChannelIamPolicy added in v0.8.0

func NewChannelIamPolicy(ctx *pulumi.Context,
	name string, args *ChannelIamPolicyArgs, opts ...pulumi.ResourceOption) (*ChannelIamPolicy, error)

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

func (*ChannelIamPolicy) ElementType added in v0.8.0

func (*ChannelIamPolicy) ElementType() reflect.Type

func (*ChannelIamPolicy) ToChannelIamPolicyOutput added in v0.8.0

func (i *ChannelIamPolicy) ToChannelIamPolicyOutput() ChannelIamPolicyOutput

func (*ChannelIamPolicy) ToChannelIamPolicyOutputWithContext added in v0.8.0

func (i *ChannelIamPolicy) ToChannelIamPolicyOutputWithContext(ctx context.Context) ChannelIamPolicyOutput

type ChannelIamPolicyArgs added in v0.8.0

type ChannelIamPolicyArgs 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
	ChannelId pulumi.StringInput
	// `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
	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 ChannelIamPolicy resource.

func (ChannelIamPolicyArgs) ElementType added in v0.8.0

func (ChannelIamPolicyArgs) ElementType() reflect.Type

type ChannelIamPolicyInput added in v0.8.0

type ChannelIamPolicyInput interface {
	pulumi.Input

	ToChannelIamPolicyOutput() ChannelIamPolicyOutput
	ToChannelIamPolicyOutputWithContext(ctx context.Context) ChannelIamPolicyOutput
}

type ChannelIamPolicyOutput added in v0.8.0

type ChannelIamPolicyOutput struct{ *pulumi.OutputState }

func (ChannelIamPolicyOutput) AuditConfigs added in v0.19.0

Specifies cloud audit logging configuration for this policy.

func (ChannelIamPolicyOutput) 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 (ChannelIamPolicyOutput) ChannelId added in v0.21.0

func (ChannelIamPolicyOutput) ElementType added in v0.8.0

func (ChannelIamPolicyOutput) ElementType() reflect.Type

func (ChannelIamPolicyOutput) 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 (ChannelIamPolicyOutput) Location added in v0.21.0

func (ChannelIamPolicyOutput) Project added in v0.21.0

func (ChannelIamPolicyOutput) ToChannelIamPolicyOutput added in v0.8.0

func (o ChannelIamPolicyOutput) ToChannelIamPolicyOutput() ChannelIamPolicyOutput

func (ChannelIamPolicyOutput) ToChannelIamPolicyOutputWithContext added in v0.8.0

func (o ChannelIamPolicyOutput) ToChannelIamPolicyOutputWithContext(ctx context.Context) ChannelIamPolicyOutput

func (ChannelIamPolicyOutput) 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 ChannelIamPolicyState added in v0.8.0

type ChannelIamPolicyState struct {
}

func (ChannelIamPolicyState) ElementType added in v0.8.0

func (ChannelIamPolicyState) ElementType() reflect.Type

type ChannelInput added in v0.19.0

type ChannelInput interface {
	pulumi.Input

	ToChannelOutput() ChannelOutput
	ToChannelOutputWithContext(ctx context.Context) ChannelOutput
}

type ChannelOutput added in v0.19.0

type ChannelOutput struct{ *pulumi.OutputState }

func (ChannelOutput) ActivationToken added in v0.19.0

func (o ChannelOutput) ActivationToken() pulumi.StringOutput

The activation token for the channel. The token must be used by the provider to register the channel for publishing.

func (ChannelOutput) ChannelId added in v0.21.0

func (o ChannelOutput) ChannelId() pulumi.StringOutput

Required. The user-provided ID to be assigned to the channel.

func (ChannelOutput) CreateTime added in v0.19.0

func (o ChannelOutput) CreateTime() pulumi.StringOutput

The creation time.

func (ChannelOutput) CryptoKeyName added in v0.21.0

func (o ChannelOutput) CryptoKeyName() pulumi.StringOutput

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.

func (ChannelOutput) ElementType added in v0.19.0

func (ChannelOutput) ElementType() reflect.Type

func (ChannelOutput) Location added in v0.21.0

func (o ChannelOutput) Location() pulumi.StringOutput

func (ChannelOutput) Name added in v0.19.0

The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.

func (ChannelOutput) Project added in v0.21.0

func (o ChannelOutput) Project() pulumi.StringOutput

func (ChannelOutput) Provider added in v0.19.0

func (o ChannelOutput) Provider() pulumi.StringOutput

The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.

func (ChannelOutput) PubsubTopic added in v0.19.0

func (o ChannelOutput) PubsubTopic() pulumi.StringOutput

The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.

func (ChannelOutput) State added in v0.19.0

func (o ChannelOutput) State() pulumi.StringOutput

The state of a Channel.

func (ChannelOutput) ToChannelOutput added in v0.19.0

func (o ChannelOutput) ToChannelOutput() ChannelOutput

func (ChannelOutput) ToChannelOutputWithContext added in v0.19.0

func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOutput

func (ChannelOutput) Uid added in v0.19.0

Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

func (ChannelOutput) UpdateTime added in v0.19.0

func (o ChannelOutput) UpdateTime() pulumi.StringOutput

The last-modified time.

type ChannelState added in v0.19.0

type ChannelState struct {
}

func (ChannelState) ElementType added in v0.19.0

func (ChannelState) ElementType() reflect.Type

type CloudRun

type CloudRun struct {
	// Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path *string `pulumi:"path"`
	// The region the Cloud Run service is deployed in.
	Region string `pulumi:"region"`
	// The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
	Service string `pulumi:"service"`
}

Represents a Cloud Run destination.

type CloudRunArgs

type CloudRunArgs struct {
	// Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The region the Cloud Run service is deployed in.
	Region pulumi.StringInput `pulumi:"region"`
	// The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
	Service pulumi.StringInput `pulumi:"service"`
}

Represents a Cloud Run destination.

func (CloudRunArgs) ElementType

func (CloudRunArgs) ElementType() reflect.Type

func (CloudRunArgs) ToCloudRunOutput

func (i CloudRunArgs) ToCloudRunOutput() CloudRunOutput

func (CloudRunArgs) ToCloudRunOutputWithContext

func (i CloudRunArgs) ToCloudRunOutputWithContext(ctx context.Context) CloudRunOutput

func (CloudRunArgs) ToCloudRunPtrOutput

func (i CloudRunArgs) ToCloudRunPtrOutput() CloudRunPtrOutput

func (CloudRunArgs) ToCloudRunPtrOutputWithContext

func (i CloudRunArgs) ToCloudRunPtrOutputWithContext(ctx context.Context) CloudRunPtrOutput

type CloudRunInput

type CloudRunInput interface {
	pulumi.Input

	ToCloudRunOutput() CloudRunOutput
	ToCloudRunOutputWithContext(context.Context) CloudRunOutput
}

CloudRunInput is an input type that accepts CloudRunArgs and CloudRunOutput values. You can construct a concrete instance of `CloudRunInput` via:

CloudRunArgs{...}

type CloudRunOutput

type CloudRunOutput struct{ *pulumi.OutputState }

Represents a Cloud Run destination.

func (CloudRunOutput) ElementType

func (CloudRunOutput) ElementType() reflect.Type

func (CloudRunOutput) Path

Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (CloudRunOutput) Region

func (o CloudRunOutput) Region() pulumi.StringOutput

The region the Cloud Run service is deployed in.

func (CloudRunOutput) Service

func (o CloudRunOutput) Service() pulumi.StringOutput

The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.

func (CloudRunOutput) ToCloudRunOutput

func (o CloudRunOutput) ToCloudRunOutput() CloudRunOutput

func (CloudRunOutput) ToCloudRunOutputWithContext

func (o CloudRunOutput) ToCloudRunOutputWithContext(ctx context.Context) CloudRunOutput

func (CloudRunOutput) ToCloudRunPtrOutput

func (o CloudRunOutput) ToCloudRunPtrOutput() CloudRunPtrOutput

func (CloudRunOutput) ToCloudRunPtrOutputWithContext

func (o CloudRunOutput) ToCloudRunPtrOutputWithContext(ctx context.Context) CloudRunPtrOutput

type CloudRunPtrInput

type CloudRunPtrInput interface {
	pulumi.Input

	ToCloudRunPtrOutput() CloudRunPtrOutput
	ToCloudRunPtrOutputWithContext(context.Context) CloudRunPtrOutput
}

CloudRunPtrInput is an input type that accepts CloudRunArgs, CloudRunPtr and CloudRunPtrOutput values. You can construct a concrete instance of `CloudRunPtrInput` via:

        CloudRunArgs{...}

or:

        nil

func CloudRunPtr

func CloudRunPtr(v *CloudRunArgs) CloudRunPtrInput

type CloudRunPtrOutput

type CloudRunPtrOutput struct{ *pulumi.OutputState }

func (CloudRunPtrOutput) Elem

func (CloudRunPtrOutput) ElementType

func (CloudRunPtrOutput) ElementType() reflect.Type

func (CloudRunPtrOutput) Path

Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (CloudRunPtrOutput) Region

The region the Cloud Run service is deployed in.

func (CloudRunPtrOutput) Service

The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.

func (CloudRunPtrOutput) ToCloudRunPtrOutput

func (o CloudRunPtrOutput) ToCloudRunPtrOutput() CloudRunPtrOutput

func (CloudRunPtrOutput) ToCloudRunPtrOutputWithContext

func (o CloudRunPtrOutput) ToCloudRunPtrOutputWithContext(ctx context.Context) CloudRunPtrOutput

type CloudRunResponse

type CloudRunResponse struct {
	// Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path string `pulumi:"path"`
	// The region the Cloud Run service is deployed in.
	Region string `pulumi:"region"`
	// The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
	Service string `pulumi:"service"`
}

Represents a Cloud Run destination.

type CloudRunResponseOutput

type CloudRunResponseOutput struct{ *pulumi.OutputState }

Represents a Cloud Run destination.

func (CloudRunResponseOutput) ElementType

func (CloudRunResponseOutput) ElementType() reflect.Type

func (CloudRunResponseOutput) Path

Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (CloudRunResponseOutput) Region

The region the Cloud Run service is deployed in.

func (CloudRunResponseOutput) Service

The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.

func (CloudRunResponseOutput) ToCloudRunResponseOutput

func (o CloudRunResponseOutput) ToCloudRunResponseOutput() CloudRunResponseOutput

func (CloudRunResponseOutput) ToCloudRunResponseOutputWithContext

func (o CloudRunResponseOutput) ToCloudRunResponseOutputWithContext(ctx context.Context) CloudRunResponseOutput

type Destination

type Destination struct {
	// The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
	CloudFunction *string `pulumi:"cloudFunction"`
	// Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
	CloudRun *CloudRun `pulumi:"cloudRun"`
	// A GKE service capable of receiving events. The service should be running in the same project as the trigger.
	Gke *GKE `pulumi:"gke"`
	// An HTTP endpoint destination described by an URI.
	HttpEndpoint *HttpEndpoint `pulumi:"httpEndpoint"`
	// Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
	NetworkConfig *NetworkConfig `pulumi:"networkConfig"`
	// The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
	Workflow *string `pulumi:"workflow"`
}

Represents a target of an invocation over HTTP.

type DestinationArgs

type DestinationArgs struct {
	// The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
	CloudFunction pulumi.StringPtrInput `pulumi:"cloudFunction"`
	// Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
	CloudRun CloudRunPtrInput `pulumi:"cloudRun"`
	// A GKE service capable of receiving events. The service should be running in the same project as the trigger.
	Gke GKEPtrInput `pulumi:"gke"`
	// An HTTP endpoint destination described by an URI.
	HttpEndpoint HttpEndpointPtrInput `pulumi:"httpEndpoint"`
	// Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
	NetworkConfig NetworkConfigPtrInput `pulumi:"networkConfig"`
	// The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
	Workflow pulumi.StringPtrInput `pulumi:"workflow"`
}

Represents a target of an invocation over HTTP.

func (DestinationArgs) ElementType

func (DestinationArgs) ElementType() reflect.Type

func (DestinationArgs) ToDestinationOutput

func (i DestinationArgs) ToDestinationOutput() DestinationOutput

func (DestinationArgs) ToDestinationOutputWithContext

func (i DestinationArgs) ToDestinationOutputWithContext(ctx context.Context) DestinationOutput

type DestinationInput

type DestinationInput interface {
	pulumi.Input

	ToDestinationOutput() DestinationOutput
	ToDestinationOutputWithContext(context.Context) DestinationOutput
}

DestinationInput is an input type that accepts DestinationArgs and DestinationOutput values. You can construct a concrete instance of `DestinationInput` via:

DestinationArgs{...}

type DestinationOutput

type DestinationOutput struct{ *pulumi.OutputState }

Represents a target of an invocation over HTTP.

func (DestinationOutput) CloudFunction added in v0.12.0

func (o DestinationOutput) CloudFunction() pulumi.StringPtrOutput

The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

func (DestinationOutput) CloudRun

func (o DestinationOutput) CloudRun() CloudRunPtrOutput

Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.

func (DestinationOutput) ElementType

func (DestinationOutput) ElementType() reflect.Type

func (DestinationOutput) Gke added in v0.9.0

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

func (DestinationOutput) HttpEndpoint added in v0.32.0

func (o DestinationOutput) HttpEndpoint() HttpEndpointPtrOutput

An HTTP endpoint destination described by an URI.

func (DestinationOutput) NetworkConfig added in v0.32.0

func (o DestinationOutput) NetworkConfig() NetworkConfigPtrOutput

Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.

func (DestinationOutput) ToDestinationOutput

func (o DestinationOutput) ToDestinationOutput() DestinationOutput

func (DestinationOutput) ToDestinationOutputWithContext

func (o DestinationOutput) ToDestinationOutputWithContext(ctx context.Context) DestinationOutput

func (DestinationOutput) Workflow added in v0.18.0

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`

type DestinationResponse

type DestinationResponse struct {
	// The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
	CloudFunction string `pulumi:"cloudFunction"`
	// Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
	CloudRun CloudRunResponse `pulumi:"cloudRun"`
	// A GKE service capable of receiving events. The service should be running in the same project as the trigger.
	Gke GKEResponse `pulumi:"gke"`
	// An HTTP endpoint destination described by an URI.
	HttpEndpoint HttpEndpointResponse `pulumi:"httpEndpoint"`
	// Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
	NetworkConfig NetworkConfigResponse `pulumi:"networkConfig"`
	// The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
	Workflow string `pulumi:"workflow"`
}

Represents a target of an invocation over HTTP.

type DestinationResponseOutput

type DestinationResponseOutput struct{ *pulumi.OutputState }

Represents a target of an invocation over HTTP.

func (DestinationResponseOutput) CloudFunction added in v0.12.0

func (o DestinationResponseOutput) CloudFunction() pulumi.StringOutput

The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

func (DestinationResponseOutput) CloudRun

Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.

func (DestinationResponseOutput) ElementType

func (DestinationResponseOutput) ElementType() reflect.Type

func (DestinationResponseOutput) Gke added in v0.9.0

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

func (DestinationResponseOutput) HttpEndpoint added in v0.32.0

An HTTP endpoint destination described by an URI.

func (DestinationResponseOutput) NetworkConfig added in v0.32.0

Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.

func (DestinationResponseOutput) ToDestinationResponseOutput

func (o DestinationResponseOutput) ToDestinationResponseOutput() DestinationResponseOutput

func (DestinationResponseOutput) ToDestinationResponseOutputWithContext

func (o DestinationResponseOutput) ToDestinationResponseOutputWithContext(ctx context.Context) DestinationResponseOutput

func (DestinationResponseOutput) Workflow added in v0.18.0

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`

type EventFilter

type EventFilter struct {
	// The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' 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 allowed values are `path_pattern` and `match-path-pattern`. `path_pattern` is only allowed for GCFv1 triggers.
	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. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' 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 allowed values are `path_pattern` and `match-path-pattern`. `path_pattern` is only allowed for GCFv1 triggers.
	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. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' attribute.

func (EventFilterOutput) ElementType

func (EventFilterOutput) ElementType() reflect.Type

func (EventFilterOutput) Operator added in v0.15.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 allowed values are `path_pattern` and `match-path-pattern`. `path_pattern` is only allowed for GCFv1 triggers.

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. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' 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 allowed values are `path_pattern` and `match-path-pattern`. `path_pattern` is only allowed for GCFv1 triggers.
	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. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' attribute.

func (EventFilterResponseOutput) ElementType

func (EventFilterResponseOutput) ElementType() reflect.Type

func (EventFilterResponseOutput) Operator added in v0.15.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 allowed values are `path_pattern` and `match-path-pattern`. `path_pattern` is only allowed for GCFv1 triggers.

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 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 GKE added in v0.9.0

type GKE struct {
	// The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
	Cluster string `pulumi:"cluster"`
	// The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
	Location string `pulumi:"location"`
	// The namespace the GKE service is running in.
	Namespace string `pulumi:"namespace"`
	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path *string `pulumi:"path"`
	// Name of the GKE service.
	Service string `pulumi:"service"`
}

Represents a GKE destination.

type GKEArgs added in v0.9.0

type GKEArgs struct {
	// The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
	Cluster pulumi.StringInput `pulumi:"cluster"`
	// The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
	Location pulumi.StringInput `pulumi:"location"`
	// The namespace the GKE service is running in.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Name of the GKE service.
	Service pulumi.StringInput `pulumi:"service"`
}

Represents a GKE destination.

func (GKEArgs) ElementType added in v0.9.0

func (GKEArgs) ElementType() reflect.Type

func (GKEArgs) ToGKEOutput added in v0.9.0

func (i GKEArgs) ToGKEOutput() GKEOutput

func (GKEArgs) ToGKEOutputWithContext added in v0.9.0

func (i GKEArgs) ToGKEOutputWithContext(ctx context.Context) GKEOutput

func (GKEArgs) ToGKEPtrOutput added in v0.9.0

func (i GKEArgs) ToGKEPtrOutput() GKEPtrOutput

func (GKEArgs) ToGKEPtrOutputWithContext added in v0.9.0

func (i GKEArgs) ToGKEPtrOutputWithContext(ctx context.Context) GKEPtrOutput

type GKEInput added in v0.9.0

type GKEInput interface {
	pulumi.Input

	ToGKEOutput() GKEOutput
	ToGKEOutputWithContext(context.Context) GKEOutput
}

GKEInput is an input type that accepts GKEArgs and GKEOutput values. You can construct a concrete instance of `GKEInput` via:

GKEArgs{...}

type GKEOutput added in v0.9.0

type GKEOutput struct{ *pulumi.OutputState }

Represents a GKE destination.

func (GKEOutput) Cluster added in v0.9.0

func (o GKEOutput) Cluster() pulumi.StringOutput

The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.

func (GKEOutput) ElementType added in v0.9.0

func (GKEOutput) ElementType() reflect.Type

func (GKEOutput) Location added in v0.9.0

func (o GKEOutput) Location() pulumi.StringOutput

The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.

func (GKEOutput) Namespace added in v0.9.0

func (o GKEOutput) Namespace() pulumi.StringOutput

The namespace the GKE service is running in.

func (GKEOutput) Path added in v0.9.0

func (o GKEOutput) Path() pulumi.StringPtrOutput

Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (GKEOutput) Service added in v0.9.0

func (o GKEOutput) Service() pulumi.StringOutput

Name of the GKE service.

func (GKEOutput) ToGKEOutput added in v0.9.0

func (o GKEOutput) ToGKEOutput() GKEOutput

func (GKEOutput) ToGKEOutputWithContext added in v0.9.0

func (o GKEOutput) ToGKEOutputWithContext(ctx context.Context) GKEOutput

func (GKEOutput) ToGKEPtrOutput added in v0.9.0

func (o GKEOutput) ToGKEPtrOutput() GKEPtrOutput

func (GKEOutput) ToGKEPtrOutputWithContext added in v0.9.0

func (o GKEOutput) ToGKEPtrOutputWithContext(ctx context.Context) GKEPtrOutput

type GKEPtrInput added in v0.9.0

type GKEPtrInput interface {
	pulumi.Input

	ToGKEPtrOutput() GKEPtrOutput
	ToGKEPtrOutputWithContext(context.Context) GKEPtrOutput
}

GKEPtrInput is an input type that accepts GKEArgs, GKEPtr and GKEPtrOutput values. You can construct a concrete instance of `GKEPtrInput` via:

        GKEArgs{...}

or:

        nil

func GKEPtr added in v0.9.0

func GKEPtr(v *GKEArgs) GKEPtrInput

type GKEPtrOutput added in v0.9.0

type GKEPtrOutput struct{ *pulumi.OutputState }

func (GKEPtrOutput) Cluster added in v0.9.0

func (o GKEPtrOutput) Cluster() pulumi.StringPtrOutput

The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.

func (GKEPtrOutput) Elem added in v0.9.0

func (o GKEPtrOutput) Elem() GKEOutput

func (GKEPtrOutput) ElementType added in v0.9.0

func (GKEPtrOutput) ElementType() reflect.Type

func (GKEPtrOutput) Location added in v0.9.0

func (o GKEPtrOutput) Location() pulumi.StringPtrOutput

The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.

func (GKEPtrOutput) Namespace added in v0.9.0

func (o GKEPtrOutput) Namespace() pulumi.StringPtrOutput

The namespace the GKE service is running in.

func (GKEPtrOutput) Path added in v0.9.0

Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (GKEPtrOutput) Service added in v0.9.0

func (o GKEPtrOutput) Service() pulumi.StringPtrOutput

Name of the GKE service.

func (GKEPtrOutput) ToGKEPtrOutput added in v0.9.0

func (o GKEPtrOutput) ToGKEPtrOutput() GKEPtrOutput

func (GKEPtrOutput) ToGKEPtrOutputWithContext added in v0.9.0

func (o GKEPtrOutput) ToGKEPtrOutputWithContext(ctx context.Context) GKEPtrOutput

type GKEResponse added in v0.9.0

type GKEResponse struct {
	// The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
	Cluster string `pulumi:"cluster"`
	// The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
	Location string `pulumi:"location"`
	// The namespace the GKE service is running in.
	Namespace string `pulumi:"namespace"`
	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path string `pulumi:"path"`
	// Name of the GKE service.
	Service string `pulumi:"service"`
}

Represents a GKE destination.

type GKEResponseOutput added in v0.9.0

type GKEResponseOutput struct{ *pulumi.OutputState }

Represents a GKE destination.

func (GKEResponseOutput) Cluster added in v0.9.0

The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.

func (GKEResponseOutput) ElementType added in v0.9.0

func (GKEResponseOutput) ElementType() reflect.Type

func (GKEResponseOutput) Location added in v0.9.0

func (o GKEResponseOutput) Location() pulumi.StringOutput

The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.

func (GKEResponseOutput) Namespace added in v0.9.0

func (o GKEResponseOutput) Namespace() pulumi.StringOutput

The namespace the GKE service is running in.

func (GKEResponseOutput) Path added in v0.9.0

Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (GKEResponseOutput) Service added in v0.9.0

Name of the GKE service.

func (GKEResponseOutput) ToGKEResponseOutput added in v0.9.0

func (o GKEResponseOutput) ToGKEResponseOutput() GKEResponseOutput

func (GKEResponseOutput) ToGKEResponseOutputWithContext added in v0.9.0

func (o GKEResponseOutput) ToGKEResponseOutputWithContext(ctx context.Context) GKEResponseOutput

type HttpEndpoint added in v0.32.0

type HttpEndpoint struct {
	// The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
	Uri string `pulumi:"uri"`
}

Represents a HTTP endpoint destination.

type HttpEndpointArgs added in v0.32.0

type HttpEndpointArgs struct {
	// The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
	Uri pulumi.StringInput `pulumi:"uri"`
}

Represents a HTTP endpoint destination.

func (HttpEndpointArgs) ElementType added in v0.32.0

func (HttpEndpointArgs) ElementType() reflect.Type

func (HttpEndpointArgs) ToHttpEndpointOutput added in v0.32.0

func (i HttpEndpointArgs) ToHttpEndpointOutput() HttpEndpointOutput

func (HttpEndpointArgs) ToHttpEndpointOutputWithContext added in v0.32.0

func (i HttpEndpointArgs) ToHttpEndpointOutputWithContext(ctx context.Context) HttpEndpointOutput

func (HttpEndpointArgs) ToHttpEndpointPtrOutput added in v0.32.0

func (i HttpEndpointArgs) ToHttpEndpointPtrOutput() HttpEndpointPtrOutput

func (HttpEndpointArgs) ToHttpEndpointPtrOutputWithContext added in v0.32.0

func (i HttpEndpointArgs) ToHttpEndpointPtrOutputWithContext(ctx context.Context) HttpEndpointPtrOutput

type HttpEndpointInput added in v0.32.0

type HttpEndpointInput interface {
	pulumi.Input

	ToHttpEndpointOutput() HttpEndpointOutput
	ToHttpEndpointOutputWithContext(context.Context) HttpEndpointOutput
}

HttpEndpointInput is an input type that accepts HttpEndpointArgs and HttpEndpointOutput values. You can construct a concrete instance of `HttpEndpointInput` via:

HttpEndpointArgs{...}

type HttpEndpointOutput added in v0.32.0

type HttpEndpointOutput struct{ *pulumi.OutputState }

Represents a HTTP endpoint destination.

func (HttpEndpointOutput) ElementType added in v0.32.0

func (HttpEndpointOutput) ElementType() reflect.Type

func (HttpEndpointOutput) ToHttpEndpointOutput added in v0.32.0

func (o HttpEndpointOutput) ToHttpEndpointOutput() HttpEndpointOutput

func (HttpEndpointOutput) ToHttpEndpointOutputWithContext added in v0.32.0

func (o HttpEndpointOutput) ToHttpEndpointOutputWithContext(ctx context.Context) HttpEndpointOutput

func (HttpEndpointOutput) ToHttpEndpointPtrOutput added in v0.32.0

func (o HttpEndpointOutput) ToHttpEndpointPtrOutput() HttpEndpointPtrOutput

func (HttpEndpointOutput) ToHttpEndpointPtrOutputWithContext added in v0.32.0

func (o HttpEndpointOutput) ToHttpEndpointPtrOutputWithContext(ctx context.Context) HttpEndpointPtrOutput

func (HttpEndpointOutput) Uri added in v0.32.0

The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.

type HttpEndpointPtrInput added in v0.32.0

type HttpEndpointPtrInput interface {
	pulumi.Input

	ToHttpEndpointPtrOutput() HttpEndpointPtrOutput
	ToHttpEndpointPtrOutputWithContext(context.Context) HttpEndpointPtrOutput
}

HttpEndpointPtrInput is an input type that accepts HttpEndpointArgs, HttpEndpointPtr and HttpEndpointPtrOutput values. You can construct a concrete instance of `HttpEndpointPtrInput` via:

        HttpEndpointArgs{...}

or:

        nil

func HttpEndpointPtr added in v0.32.0

func HttpEndpointPtr(v *HttpEndpointArgs) HttpEndpointPtrInput

type HttpEndpointPtrOutput added in v0.32.0

type HttpEndpointPtrOutput struct{ *pulumi.OutputState }

func (HttpEndpointPtrOutput) Elem added in v0.32.0

func (HttpEndpointPtrOutput) ElementType added in v0.32.0

func (HttpEndpointPtrOutput) ElementType() reflect.Type

func (HttpEndpointPtrOutput) ToHttpEndpointPtrOutput added in v0.32.0

func (o HttpEndpointPtrOutput) ToHttpEndpointPtrOutput() HttpEndpointPtrOutput

func (HttpEndpointPtrOutput) ToHttpEndpointPtrOutputWithContext added in v0.32.0

func (o HttpEndpointPtrOutput) ToHttpEndpointPtrOutputWithContext(ctx context.Context) HttpEndpointPtrOutput

func (HttpEndpointPtrOutput) Uri added in v0.32.0

The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.

type HttpEndpointResponse added in v0.32.0

type HttpEndpointResponse struct {
	// The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
	Uri string `pulumi:"uri"`
}

Represents a HTTP endpoint destination.

type HttpEndpointResponseOutput added in v0.32.0

type HttpEndpointResponseOutput struct{ *pulumi.OutputState }

Represents a HTTP endpoint destination.

func (HttpEndpointResponseOutput) ElementType added in v0.32.0

func (HttpEndpointResponseOutput) ElementType() reflect.Type

func (HttpEndpointResponseOutput) ToHttpEndpointResponseOutput added in v0.32.0

func (o HttpEndpointResponseOutput) ToHttpEndpointResponseOutput() HttpEndpointResponseOutput

func (HttpEndpointResponseOutput) ToHttpEndpointResponseOutputWithContext added in v0.32.0

func (o HttpEndpointResponseOutput) ToHttpEndpointResponseOutputWithContext(ctx context.Context) HttpEndpointResponseOutput

func (HttpEndpointResponseOutput) Uri added in v0.32.0

The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.

type LookupChannelArgs added in v0.19.0

type LookupChannelArgs struct {
	ChannelId string  `pulumi:"channelId"`
	Location  string  `pulumi:"location"`
	Project   *string `pulumi:"project"`
}

type LookupChannelConnectionArgs added in v0.21.0

type LookupChannelConnectionArgs struct {
	ChannelConnectionId string  `pulumi:"channelConnectionId"`
	Location            string  `pulumi:"location"`
	Project             *string `pulumi:"project"`
}

type LookupChannelConnectionIamPolicyArgs added in v0.11.0

type LookupChannelConnectionIamPolicyArgs struct {
	ChannelConnectionId           string  `pulumi:"channelConnectionId"`
	Location                      string  `pulumi:"location"`
	OptionsRequestedPolicyVersion *int    `pulumi:"optionsRequestedPolicyVersion"`
	Project                       *string `pulumi:"project"`
}

type LookupChannelConnectionIamPolicyOutputArgs added in v0.11.0

type LookupChannelConnectionIamPolicyOutputArgs struct {
	ChannelConnectionId           pulumi.StringInput    `pulumi:"channelConnectionId"`
	Location                      pulumi.StringInput    `pulumi:"location"`
	OptionsRequestedPolicyVersion pulumi.IntPtrInput    `pulumi:"optionsRequestedPolicyVersion"`
	Project                       pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupChannelConnectionIamPolicyOutputArgs) ElementType added in v0.11.0

type LookupChannelConnectionIamPolicyResult added in v0.11.0

type LookupChannelConnectionIamPolicyResult 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 LookupChannelConnectionIamPolicy added in v0.11.0

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

type LookupChannelConnectionIamPolicyResultOutput added in v0.11.0

type LookupChannelConnectionIamPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupChannelConnectionIamPolicyResultOutput) AuditConfigs added in v0.11.0

Specifies cloud audit logging configuration for this policy.

func (LookupChannelConnectionIamPolicyResultOutput) Bindings added in v0.11.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 (LookupChannelConnectionIamPolicyResultOutput) ElementType added in v0.11.0

func (LookupChannelConnectionIamPolicyResultOutput) Etag added in v0.11.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 (LookupChannelConnectionIamPolicyResultOutput) ToLookupChannelConnectionIamPolicyResultOutput added in v0.11.0

func (o LookupChannelConnectionIamPolicyResultOutput) ToLookupChannelConnectionIamPolicyResultOutput() LookupChannelConnectionIamPolicyResultOutput

func (LookupChannelConnectionIamPolicyResultOutput) ToLookupChannelConnectionIamPolicyResultOutputWithContext added in v0.11.0

func (o LookupChannelConnectionIamPolicyResultOutput) ToLookupChannelConnectionIamPolicyResultOutputWithContext(ctx context.Context) LookupChannelConnectionIamPolicyResultOutput

func (LookupChannelConnectionIamPolicyResultOutput) Version added in v0.11.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 LookupChannelConnectionOutputArgs added in v0.21.0

type LookupChannelConnectionOutputArgs struct {
	ChannelConnectionId pulumi.StringInput    `pulumi:"channelConnectionId"`
	Location            pulumi.StringInput    `pulumi:"location"`
	Project             pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupChannelConnectionOutputArgs) ElementType added in v0.21.0

type LookupChannelConnectionResult added in v0.21.0

type LookupChannelConnectionResult struct {
	// Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
	ActivationToken string `pulumi:"activationToken"`
	// The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.
	Channel string `pulumi:"channel"`
	// The creation time.
	CreateTime string `pulumi:"createTime"`
	// The name of the connection.
	Name string `pulumi:"name"`
	// Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
	Uid string `pulumi:"uid"`
	// The last-modified time.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupChannelConnection added in v0.21.0

func LookupChannelConnection(ctx *pulumi.Context, args *LookupChannelConnectionArgs, opts ...pulumi.InvokeOption) (*LookupChannelConnectionResult, error)

Get a single ChannelConnection.

type LookupChannelConnectionResultOutput added in v0.21.0

type LookupChannelConnectionResultOutput struct{ *pulumi.OutputState }

func LookupChannelConnectionOutput added in v0.21.0

func (LookupChannelConnectionResultOutput) ActivationToken added in v0.21.0

Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.

func (LookupChannelConnectionResultOutput) Channel added in v0.21.0

The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.

func (LookupChannelConnectionResultOutput) CreateTime added in v0.21.0

The creation time.

func (LookupChannelConnectionResultOutput) ElementType added in v0.21.0

func (LookupChannelConnectionResultOutput) Name added in v0.21.0

The name of the connection.

func (LookupChannelConnectionResultOutput) ToLookupChannelConnectionResultOutput added in v0.21.0

func (o LookupChannelConnectionResultOutput) ToLookupChannelConnectionResultOutput() LookupChannelConnectionResultOutput

func (LookupChannelConnectionResultOutput) ToLookupChannelConnectionResultOutputWithContext added in v0.21.0

func (o LookupChannelConnectionResultOutput) ToLookupChannelConnectionResultOutputWithContext(ctx context.Context) LookupChannelConnectionResultOutput

func (LookupChannelConnectionResultOutput) Uid added in v0.21.0

Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.

func (LookupChannelConnectionResultOutput) UpdateTime added in v0.21.0

The last-modified time.

type LookupChannelIamPolicyArgs added in v0.8.0

type LookupChannelIamPolicyArgs struct {
	ChannelId                     string  `pulumi:"channelId"`
	Location                      string  `pulumi:"location"`
	OptionsRequestedPolicyVersion *int    `pulumi:"optionsRequestedPolicyVersion"`
	Project                       *string `pulumi:"project"`
}

type LookupChannelIamPolicyOutputArgs added in v0.8.0

type LookupChannelIamPolicyOutputArgs struct {
	ChannelId                     pulumi.StringInput    `pulumi:"channelId"`
	Location                      pulumi.StringInput    `pulumi:"location"`
	OptionsRequestedPolicyVersion pulumi.IntPtrInput    `pulumi:"optionsRequestedPolicyVersion"`
	Project                       pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupChannelIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupChannelIamPolicyResult added in v0.8.0

type LookupChannelIamPolicyResult 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 LookupChannelIamPolicy added in v0.8.0

func LookupChannelIamPolicy(ctx *pulumi.Context, args *LookupChannelIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupChannelIamPolicyResult, 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 LookupChannelIamPolicyResultOutput added in v0.8.0

type LookupChannelIamPolicyResultOutput struct{ *pulumi.OutputState }

func LookupChannelIamPolicyOutput added in v0.8.0

func (LookupChannelIamPolicyResultOutput) AuditConfigs added in v0.8.0

Specifies cloud audit logging configuration for this policy.

func (LookupChannelIamPolicyResultOutput) Bindings added in v0.8.0

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

func (LookupChannelIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupChannelIamPolicyResultOutput) Etag added in v0.8.0

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

func (LookupChannelIamPolicyResultOutput) ToLookupChannelIamPolicyResultOutput added in v0.8.0

func (o LookupChannelIamPolicyResultOutput) ToLookupChannelIamPolicyResultOutput() LookupChannelIamPolicyResultOutput

func (LookupChannelIamPolicyResultOutput) ToLookupChannelIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupChannelIamPolicyResultOutput) ToLookupChannelIamPolicyResultOutputWithContext(ctx context.Context) LookupChannelIamPolicyResultOutput

func (LookupChannelIamPolicyResultOutput) Version added in v0.8.0

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

type LookupChannelOutputArgs added in v0.19.0

type LookupChannelOutputArgs struct {
	ChannelId pulumi.StringInput    `pulumi:"channelId"`
	Location  pulumi.StringInput    `pulumi:"location"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupChannelOutputArgs) ElementType added in v0.19.0

func (LookupChannelOutputArgs) ElementType() reflect.Type

type LookupChannelResult added in v0.19.0

type LookupChannelResult struct {
	// The activation token for the channel. The token must be used by the provider to register the channel for publishing.
	ActivationToken string `pulumi:"activationToken"`
	// The creation time.
	CreateTime string `pulumi:"createTime"`
	// Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
	CryptoKeyName string `pulumi:"cryptoKeyName"`
	// The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
	Name string `pulumi:"name"`
	// The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
	Provider string `pulumi:"provider"`
	// The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
	PubsubTopic string `pulumi:"pubsubTopic"`
	// The state of a Channel.
	State string `pulumi:"state"`
	// Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	Uid string `pulumi:"uid"`
	// The last-modified time.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupChannel added in v0.19.0

func LookupChannel(ctx *pulumi.Context, args *LookupChannelArgs, opts ...pulumi.InvokeOption) (*LookupChannelResult, error)

Get a single Channel.

type LookupChannelResultOutput added in v0.19.0

type LookupChannelResultOutput struct{ *pulumi.OutputState }

func LookupChannelOutput added in v0.19.0

func LookupChannelOutput(ctx *pulumi.Context, args LookupChannelOutputArgs, opts ...pulumi.InvokeOption) LookupChannelResultOutput

func (LookupChannelResultOutput) ActivationToken added in v0.19.0

func (o LookupChannelResultOutput) ActivationToken() pulumi.StringOutput

The activation token for the channel. The token must be used by the provider to register the channel for publishing.

func (LookupChannelResultOutput) CreateTime added in v0.19.0

The creation time.

func (LookupChannelResultOutput) CryptoKeyName added in v0.21.0

func (o LookupChannelResultOutput) CryptoKeyName() pulumi.StringOutput

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.

func (LookupChannelResultOutput) ElementType added in v0.19.0

func (LookupChannelResultOutput) ElementType() reflect.Type

func (LookupChannelResultOutput) Name added in v0.19.0

The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.

func (LookupChannelResultOutput) Provider added in v0.19.0

The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.

func (LookupChannelResultOutput) PubsubTopic added in v0.19.0

The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.

func (LookupChannelResultOutput) State added in v0.19.0

The state of a Channel.

func (LookupChannelResultOutput) ToLookupChannelResultOutput added in v0.19.0

func (o LookupChannelResultOutput) ToLookupChannelResultOutput() LookupChannelResultOutput

func (LookupChannelResultOutput) ToLookupChannelResultOutputWithContext added in v0.19.0

func (o LookupChannelResultOutput) ToLookupChannelResultOutputWithContext(ctx context.Context) LookupChannelResultOutput

func (LookupChannelResultOutput) Uid added in v0.19.0

Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

func (LookupChannelResultOutput) UpdateTime added in v0.19.0

The last-modified time.

type LookupTriggerArgs added in v0.4.0

type LookupTriggerArgs struct {
	Location  string  `pulumi:"location"`
	Project   *string `pulumi:"project"`
	TriggerId string  `pulumi:"triggerId"`
}

type LookupTriggerIamPolicyArgs added in v0.4.0

type LookupTriggerIamPolicyArgs struct {
	Location                      string  `pulumi:"location"`
	OptionsRequestedPolicyVersion *int    `pulumi:"optionsRequestedPolicyVersion"`
	Project                       *string `pulumi:"project"`
	TriggerId                     string  `pulumi:"triggerId"`
}

type LookupTriggerIamPolicyOutputArgs added in v0.8.0

type LookupTriggerIamPolicyOutputArgs struct {
	Location                      pulumi.StringInput    `pulumi:"location"`
	OptionsRequestedPolicyVersion pulumi.IntPtrInput    `pulumi:"optionsRequestedPolicyVersion"`
	Project                       pulumi.StringPtrInput `pulumi:"project"`
	TriggerId                     pulumi.StringInput    `pulumi:"triggerId"`
}

func (LookupTriggerIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupTriggerIamPolicyResult added in v0.4.0

type LookupTriggerIamPolicyResult 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 LookupTriggerIamPolicy added in v0.4.0

func LookupTriggerIamPolicy(ctx *pulumi.Context, args *LookupTriggerIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupTriggerIamPolicyResult, 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 LookupTriggerIamPolicyResultOutput added in v0.8.0

type LookupTriggerIamPolicyResultOutput struct{ *pulumi.OutputState }

func LookupTriggerIamPolicyOutput added in v0.8.0

func (LookupTriggerIamPolicyResultOutput) AuditConfigs added in v0.8.0

Specifies cloud audit logging configuration for this policy.

func (LookupTriggerIamPolicyResultOutput) Bindings added in v0.8.0

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

func (LookupTriggerIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupTriggerIamPolicyResultOutput) Etag added in v0.8.0

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

func (LookupTriggerIamPolicyResultOutput) ToLookupTriggerIamPolicyResultOutput added in v0.8.0

func (o LookupTriggerIamPolicyResultOutput) ToLookupTriggerIamPolicyResultOutput() LookupTriggerIamPolicyResultOutput

func (LookupTriggerIamPolicyResultOutput) ToLookupTriggerIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupTriggerIamPolicyResultOutput) ToLookupTriggerIamPolicyResultOutputWithContext(ctx context.Context) LookupTriggerIamPolicyResultOutput

func (LookupTriggerIamPolicyResultOutput) Version added in v0.8.0

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

type LookupTriggerOutputArgs added in v0.8.0

type LookupTriggerOutputArgs struct {
	Location  pulumi.StringInput    `pulumi:"location"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
	TriggerId pulumi.StringInput    `pulumi:"triggerId"`
}

func (LookupTriggerOutputArgs) ElementType added in v0.8.0

func (LookupTriggerOutputArgs) ElementType() reflect.Type

type LookupTriggerResult added in v0.4.0

type LookupTriggerResult 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"`
	// The reason(s) why a trigger is in FAILED state.
	Conditions map[string]string `pulumi:"conditions"`
	// The creation time.
	CreateTime string `pulumi:"createTime"`
	// Destination specifies where the events should be sent to.
	Destination DestinationResponse `pulumi:"destination"`
	// This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.
	Etag string `pulumi:"etag"`
	// Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.
	EventDataContentType string `pulumi:"eventDataContentType"`
	// Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
	EventFilters []EventFilterResponse `pulumi:"eventFilters"`
	// Optional. User labels attached to the triggers that can be used to group resources.
	Labels map[string]string `pulumi:"labels"`
	// The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.
	Name string `pulumi:"name"`
	// Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination.
	ServiceAccount string `pulumi:"serviceAccount"`
	// Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
	Transport TransportResponse `pulumi:"transport"`
	// Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	Uid string `pulumi:"uid"`
	// The last-modified time.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupTrigger added in v0.4.0

func LookupTrigger(ctx *pulumi.Context, args *LookupTriggerArgs, opts ...pulumi.InvokeOption) (*LookupTriggerResult, error)

Get a single trigger.

type LookupTriggerResultOutput added in v0.8.0

type LookupTriggerResultOutput struct{ *pulumi.OutputState }

func LookupTriggerOutput added in v0.8.0

func LookupTriggerOutput(ctx *pulumi.Context, args LookupTriggerOutputArgs, opts ...pulumi.InvokeOption) LookupTriggerResultOutput

func (LookupTriggerResultOutput) 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 (LookupTriggerResultOutput) Conditions added in v0.21.0

The reason(s) why a trigger is in FAILED state.

func (LookupTriggerResultOutput) CreateTime added in v0.8.0

The creation time.

func (LookupTriggerResultOutput) Destination added in v0.8.0

Destination specifies where the events should be sent to.

func (LookupTriggerResultOutput) ElementType added in v0.8.0

func (LookupTriggerResultOutput) ElementType() reflect.Type

func (LookupTriggerResultOutput) Etag added in v0.8.0

This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.

func (LookupTriggerResultOutput) EventDataContentType added in v0.29.0

func (o LookupTriggerResultOutput) EventDataContentType() pulumi.StringOutput

Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.

func (LookupTriggerResultOutput) EventFilters added in v0.8.0

Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.

func (LookupTriggerResultOutput) Labels added in v0.8.0

Optional. User labels attached to the triggers that can be used to group resources.

func (LookupTriggerResultOutput) Name added in v0.8.0

The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.

func (LookupTriggerResultOutput) ServiceAccount added in v0.8.0

func (o LookupTriggerResultOutput) ServiceAccount() pulumi.StringOutput

Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination.

func (LookupTriggerResultOutput) ToLookupTriggerResultOutput added in v0.8.0

func (o LookupTriggerResultOutput) ToLookupTriggerResultOutput() LookupTriggerResultOutput

func (LookupTriggerResultOutput) ToLookupTriggerResultOutputWithContext added in v0.8.0

func (o LookupTriggerResultOutput) ToLookupTriggerResultOutputWithContext(ctx context.Context) LookupTriggerResultOutput

func (LookupTriggerResultOutput) Transport added in v0.8.0

Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.

func (LookupTriggerResultOutput) Uid added in v0.8.0

Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

func (LookupTriggerResultOutput) UpdateTime added in v0.8.0

The last-modified time.

type NetworkConfig added in v0.32.0

type NetworkConfig struct {
	// Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
	NetworkAttachment string `pulumi:"networkAttachment"`
}

Represents a network config to be used for destination resolution and connectivity.

type NetworkConfigArgs added in v0.32.0

type NetworkConfigArgs struct {
	// Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
	NetworkAttachment pulumi.StringInput `pulumi:"networkAttachment"`
}

Represents a network config to be used for destination resolution and connectivity.

func (NetworkConfigArgs) ElementType added in v0.32.0

func (NetworkConfigArgs) ElementType() reflect.Type

func (NetworkConfigArgs) ToNetworkConfigOutput added in v0.32.0

func (i NetworkConfigArgs) ToNetworkConfigOutput() NetworkConfigOutput

func (NetworkConfigArgs) ToNetworkConfigOutputWithContext added in v0.32.0

func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput

func (NetworkConfigArgs) ToNetworkConfigPtrOutput added in v0.32.0

func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext added in v0.32.0

func (i NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigInput added in v0.32.0

type NetworkConfigInput interface {
	pulumi.Input

	ToNetworkConfigOutput() NetworkConfigOutput
	ToNetworkConfigOutputWithContext(context.Context) NetworkConfigOutput
}

NetworkConfigInput is an input type that accepts NetworkConfigArgs and NetworkConfigOutput values. You can construct a concrete instance of `NetworkConfigInput` via:

NetworkConfigArgs{...}

type NetworkConfigOutput added in v0.32.0

type NetworkConfigOutput struct{ *pulumi.OutputState }

Represents a network config to be used for destination resolution and connectivity.

func (NetworkConfigOutput) ElementType added in v0.32.0

func (NetworkConfigOutput) ElementType() reflect.Type

func (NetworkConfigOutput) NetworkAttachment added in v0.32.0

func (o NetworkConfigOutput) NetworkAttachment() pulumi.StringOutput

Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`

func (NetworkConfigOutput) ToNetworkConfigOutput added in v0.32.0

func (o NetworkConfigOutput) ToNetworkConfigOutput() NetworkConfigOutput

func (NetworkConfigOutput) ToNetworkConfigOutputWithContext added in v0.32.0

func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput

func (NetworkConfigOutput) ToNetworkConfigPtrOutput added in v0.32.0

func (o NetworkConfigOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext added in v0.32.0

func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigPtrInput added in v0.32.0

type NetworkConfigPtrInput interface {
	pulumi.Input

	ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
	ToNetworkConfigPtrOutputWithContext(context.Context) NetworkConfigPtrOutput
}

NetworkConfigPtrInput is an input type that accepts NetworkConfigArgs, NetworkConfigPtr and NetworkConfigPtrOutput values. You can construct a concrete instance of `NetworkConfigPtrInput` via:

        NetworkConfigArgs{...}

or:

        nil

func NetworkConfigPtr added in v0.32.0

func NetworkConfigPtr(v *NetworkConfigArgs) NetworkConfigPtrInput

type NetworkConfigPtrOutput added in v0.32.0

type NetworkConfigPtrOutput struct{ *pulumi.OutputState }

func (NetworkConfigPtrOutput) Elem added in v0.32.0

func (NetworkConfigPtrOutput) ElementType added in v0.32.0

func (NetworkConfigPtrOutput) ElementType() reflect.Type

func (NetworkConfigPtrOutput) NetworkAttachment added in v0.32.0

func (o NetworkConfigPtrOutput) NetworkAttachment() pulumi.StringPtrOutput

Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`

func (NetworkConfigPtrOutput) ToNetworkConfigPtrOutput added in v0.32.0

func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext added in v0.32.0

func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigResponse added in v0.32.0

type NetworkConfigResponse struct {
	// Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
	NetworkAttachment string `pulumi:"networkAttachment"`
}

Represents a network config to be used for destination resolution and connectivity.

type NetworkConfigResponseOutput added in v0.32.0

type NetworkConfigResponseOutput struct{ *pulumi.OutputState }

Represents a network config to be used for destination resolution and connectivity.

func (NetworkConfigResponseOutput) ElementType added in v0.32.0

func (NetworkConfigResponseOutput) NetworkAttachment added in v0.32.0

func (o NetworkConfigResponseOutput) NetworkAttachment() pulumi.StringOutput

Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`

func (NetworkConfigResponseOutput) ToNetworkConfigResponseOutput added in v0.32.0

func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutput() NetworkConfigResponseOutput

func (NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext added in v0.32.0

func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ctx context.Context) NetworkConfigResponseOutput

type Pubsub

type Pubsub struct {
	// Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.
	Topic *string `pulumi:"topic"`
}

Represents a Pub/Sub transport.

type PubsubArgs

type PubsubArgs struct {
	// Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.
	Topic pulumi.StringPtrInput `pulumi:"topic"`
}

Represents a Pub/Sub transport.

func (PubsubArgs) ElementType

func (PubsubArgs) ElementType() reflect.Type

func (PubsubArgs) ToPubsubOutput

func (i PubsubArgs) ToPubsubOutput() PubsubOutput

func (PubsubArgs) ToPubsubOutputWithContext

func (i PubsubArgs) ToPubsubOutputWithContext(ctx context.Context) PubsubOutput

func (PubsubArgs) ToPubsubPtrOutput

func (i PubsubArgs) ToPubsubPtrOutput() PubsubPtrOutput

func (PubsubArgs) ToPubsubPtrOutputWithContext

func (i PubsubArgs) ToPubsubPtrOutputWithContext(ctx context.Context) PubsubPtrOutput

type PubsubInput

type PubsubInput interface {
	pulumi.Input

	ToPubsubOutput() PubsubOutput
	ToPubsubOutputWithContext(context.Context) PubsubOutput
}

PubsubInput is an input type that accepts PubsubArgs and PubsubOutput values. You can construct a concrete instance of `PubsubInput` via:

PubsubArgs{...}

type PubsubOutput

type PubsubOutput struct{ *pulumi.OutputState }

Represents a Pub/Sub transport.

func (PubsubOutput) ElementType

func (PubsubOutput) ElementType() reflect.Type

func (PubsubOutput) ToPubsubOutput

func (o PubsubOutput) ToPubsubOutput() PubsubOutput

func (PubsubOutput) ToPubsubOutputWithContext

func (o PubsubOutput) ToPubsubOutputWithContext(ctx context.Context) PubsubOutput

func (PubsubOutput) ToPubsubPtrOutput

func (o PubsubOutput) ToPubsubPtrOutput() PubsubPtrOutput

func (PubsubOutput) ToPubsubPtrOutputWithContext

func (o PubsubOutput) ToPubsubPtrOutputWithContext(ctx context.Context) PubsubPtrOutput

func (PubsubOutput) Topic

Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.

type PubsubPtrInput

type PubsubPtrInput interface {
	pulumi.Input

	ToPubsubPtrOutput() PubsubPtrOutput
	ToPubsubPtrOutputWithContext(context.Context) PubsubPtrOutput
}

PubsubPtrInput is an input type that accepts PubsubArgs, PubsubPtr and PubsubPtrOutput values. You can construct a concrete instance of `PubsubPtrInput` via:

        PubsubArgs{...}

or:

        nil

func PubsubPtr

func PubsubPtr(v *PubsubArgs) PubsubPtrInput

type PubsubPtrOutput

type PubsubPtrOutput struct{ *pulumi.OutputState }

func (PubsubPtrOutput) Elem

func (o PubsubPtrOutput) Elem() PubsubOutput

func (PubsubPtrOutput) ElementType

func (PubsubPtrOutput) ElementType() reflect.Type

func (PubsubPtrOutput) ToPubsubPtrOutput

func (o PubsubPtrOutput) ToPubsubPtrOutput() PubsubPtrOutput

func (PubsubPtrOutput) ToPubsubPtrOutputWithContext

func (o PubsubPtrOutput) ToPubsubPtrOutputWithContext(ctx context.Context) PubsubPtrOutput

func (PubsubPtrOutput) Topic

Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.

type PubsubResponse

type PubsubResponse struct {
	// The name of the Pub/Sub subscription created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
	Subscription string `pulumi:"subscription"`
	// Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.
	Topic string `pulumi:"topic"`
}

Represents a Pub/Sub transport.

type PubsubResponseOutput

type PubsubResponseOutput struct{ *pulumi.OutputState }

Represents a Pub/Sub transport.

func (PubsubResponseOutput) ElementType

func (PubsubResponseOutput) ElementType() reflect.Type

func (PubsubResponseOutput) Subscription

func (o PubsubResponseOutput) Subscription() pulumi.StringOutput

The name of the Pub/Sub subscription created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.

func (PubsubResponseOutput) ToPubsubResponseOutput

func (o PubsubResponseOutput) ToPubsubResponseOutput() PubsubResponseOutput

func (PubsubResponseOutput) ToPubsubResponseOutputWithContext

func (o PubsubResponseOutput) ToPubsubResponseOutputWithContext(ctx context.Context) PubsubResponseOutput

func (PubsubResponseOutput) Topic

Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.

type Transport

type Transport struct {
	// The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.
	Pubsub *Pubsub `pulumi:"pubsub"`
}

Represents the transport intermediaries created for the trigger to deliver events.

type TransportArgs

type TransportArgs struct {
	// The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.
	Pubsub PubsubPtrInput `pulumi:"pubsub"`
}

Represents the transport intermediaries created for the trigger to deliver events.

func (TransportArgs) ElementType

func (TransportArgs) ElementType() reflect.Type

func (TransportArgs) ToTransportOutput

func (i TransportArgs) ToTransportOutput() TransportOutput

func (TransportArgs) ToTransportOutputWithContext

func (i TransportArgs) ToTransportOutputWithContext(ctx context.Context) TransportOutput

func (TransportArgs) ToTransportPtrOutput

func (i TransportArgs) ToTransportPtrOutput() TransportPtrOutput

func (TransportArgs) ToTransportPtrOutputWithContext

func (i TransportArgs) ToTransportPtrOutputWithContext(ctx context.Context) TransportPtrOutput

type TransportInput

type TransportInput interface {
	pulumi.Input

	ToTransportOutput() TransportOutput
	ToTransportOutputWithContext(context.Context) TransportOutput
}

TransportInput is an input type that accepts TransportArgs and TransportOutput values. You can construct a concrete instance of `TransportInput` via:

TransportArgs{...}

type TransportOutput

type TransportOutput struct{ *pulumi.OutputState }

Represents the transport intermediaries created for the trigger to deliver events.

func (TransportOutput) ElementType

func (TransportOutput) ElementType() reflect.Type

func (TransportOutput) Pubsub

func (o TransportOutput) Pubsub() PubsubPtrOutput

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

func (TransportOutput) ToTransportOutput

func (o TransportOutput) ToTransportOutput() TransportOutput

func (TransportOutput) ToTransportOutputWithContext

func (o TransportOutput) ToTransportOutputWithContext(ctx context.Context) TransportOutput

func (TransportOutput) ToTransportPtrOutput

func (o TransportOutput) ToTransportPtrOutput() TransportPtrOutput

func (TransportOutput) ToTransportPtrOutputWithContext

func (o TransportOutput) ToTransportPtrOutputWithContext(ctx context.Context) TransportPtrOutput

type TransportPtrInput

type TransportPtrInput interface {
	pulumi.Input

	ToTransportPtrOutput() TransportPtrOutput
	ToTransportPtrOutputWithContext(context.Context) TransportPtrOutput
}

TransportPtrInput is an input type that accepts TransportArgs, TransportPtr and TransportPtrOutput values. You can construct a concrete instance of `TransportPtrInput` via:

        TransportArgs{...}

or:

        nil

func TransportPtr

func TransportPtr(v *TransportArgs) TransportPtrInput

type TransportPtrOutput

type TransportPtrOutput struct{ *pulumi.OutputState }

func (TransportPtrOutput) Elem

func (TransportPtrOutput) ElementType

func (TransportPtrOutput) ElementType() reflect.Type

func (TransportPtrOutput) Pubsub

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

func (TransportPtrOutput) ToTransportPtrOutput

func (o TransportPtrOutput) ToTransportPtrOutput() TransportPtrOutput

func (TransportPtrOutput) ToTransportPtrOutputWithContext

func (o TransportPtrOutput) ToTransportPtrOutputWithContext(ctx context.Context) TransportPtrOutput

type TransportResponse

type TransportResponse struct {
	// The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.
	Pubsub PubsubResponse `pulumi:"pubsub"`
}

Represents the transport intermediaries created for the trigger to deliver events.

type TransportResponseOutput

type TransportResponseOutput struct{ *pulumi.OutputState }

Represents the transport intermediaries created for the trigger to deliver events.

func (TransportResponseOutput) ElementType

func (TransportResponseOutput) ElementType() reflect.Type

func (TransportResponseOutput) Pubsub

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

func (TransportResponseOutput) ToTransportResponseOutput

func (o TransportResponseOutput) ToTransportResponseOutput() TransportResponseOutput

func (TransportResponseOutput) ToTransportResponseOutputWithContext

func (o TransportResponseOutput) ToTransportResponseOutputWithContext(ctx context.Context) TransportResponseOutput

type Trigger

type Trigger struct {
	pulumi.CustomResourceState

	// 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.StringOutput `pulumi:"channel"`
	// The reason(s) why a trigger is in FAILED state.
	Conditions pulumi.StringMapOutput `pulumi:"conditions"`
	// The creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Destination specifies where the events should be sent to.
	Destination DestinationResponseOutput `pulumi:"destination"`
	// This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.
	EventDataContentType pulumi.StringOutput `pulumi:"eventDataContentType"`
	// Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
	EventFilters EventFilterResponseArrayOutput `pulumi:"eventFilters"`
	// Optional. User labels attached to the triggers that can be used to group resources.
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination.
	ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"`
	// Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
	Transport TransportResponseOutput `pulumi:"transport"`
	// Required. The user-provided ID to be assigned to the trigger.
	TriggerId pulumi.StringOutput `pulumi:"triggerId"`
	// Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// The last-modified time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Create a new trigger in a particular project and location.

func GetTrigger

func GetTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)

GetTrigger gets an existing Trigger 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 NewTrigger

func NewTrigger(ctx *pulumi.Context,
	name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)

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

func (*Trigger) ElementType

func (*Trigger) ElementType() reflect.Type

func (*Trigger) ToTriggerOutput

func (i *Trigger) ToTriggerOutput() TriggerOutput

func (*Trigger) ToTriggerOutputWithContext

func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput

type TriggerArgs

type TriggerArgs 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
	// Destination specifies where the events should be sent to.
	Destination DestinationInput
	// Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.
	EventDataContentType pulumi.StringPtrInput
	// Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
	EventFilters EventFilterArrayInput
	// Optional. User labels attached to the triggers that can be used to group resources.
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination.
	ServiceAccount pulumi.StringPtrInput
	// Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
	Transport TransportPtrInput
	// Required. The user-provided ID to be assigned to the trigger.
	TriggerId pulumi.StringInput
}

The set of arguments for constructing a Trigger resource.

func (TriggerArgs) ElementType

func (TriggerArgs) ElementType() reflect.Type

type TriggerIamBinding added in v0.26.0

type TriggerIamBinding 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 GetTriggerIamBinding added in v0.26.0

func GetTriggerIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TriggerIamBindingState, opts ...pulumi.ResourceOption) (*TriggerIamBinding, error)

GetTriggerIamBinding gets an existing TriggerIamBinding 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 NewTriggerIamBinding added in v0.26.0

func NewTriggerIamBinding(ctx *pulumi.Context,
	name string, args *TriggerIamBindingArgs, opts ...pulumi.ResourceOption) (*TriggerIamBinding, error)

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

func (*TriggerIamBinding) ElementType added in v0.26.0

func (*TriggerIamBinding) ElementType() reflect.Type

func (*TriggerIamBinding) ToTriggerIamBindingOutput added in v0.26.0

func (i *TriggerIamBinding) ToTriggerIamBindingOutput() TriggerIamBindingOutput

func (*TriggerIamBinding) ToTriggerIamBindingOutputWithContext added in v0.26.0

func (i *TriggerIamBinding) ToTriggerIamBindingOutputWithContext(ctx context.Context) TriggerIamBindingOutput

type TriggerIamBindingArgs added in v0.26.0

type TriggerIamBindingArgs 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 TriggerIamBinding resource.

func (TriggerIamBindingArgs) ElementType added in v0.26.0

func (TriggerIamBindingArgs) ElementType() reflect.Type

type TriggerIamBindingInput added in v0.26.0

type TriggerIamBindingInput interface {
	pulumi.Input

	ToTriggerIamBindingOutput() TriggerIamBindingOutput
	ToTriggerIamBindingOutputWithContext(ctx context.Context) TriggerIamBindingOutput
}

type TriggerIamBindingOutput added in v0.26.0

type TriggerIamBindingOutput struct{ *pulumi.OutputState }

func (TriggerIamBindingOutput) 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 (TriggerIamBindingOutput) ElementType added in v0.26.0

func (TriggerIamBindingOutput) ElementType() reflect.Type

func (TriggerIamBindingOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (TriggerIamBindingOutput) 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 (TriggerIamBindingOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (TriggerIamBindingOutput) Project added in v0.26.0

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

func (TriggerIamBindingOutput) 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 (TriggerIamBindingOutput) ToTriggerIamBindingOutput added in v0.26.0

func (o TriggerIamBindingOutput) ToTriggerIamBindingOutput() TriggerIamBindingOutput

func (TriggerIamBindingOutput) ToTriggerIamBindingOutputWithContext added in v0.26.0

func (o TriggerIamBindingOutput) ToTriggerIamBindingOutputWithContext(ctx context.Context) TriggerIamBindingOutput

type TriggerIamBindingState added in v0.26.0

type TriggerIamBindingState struct {
}

func (TriggerIamBindingState) ElementType added in v0.26.0

func (TriggerIamBindingState) ElementType() reflect.Type

type TriggerIamMember added in v0.26.0

type TriggerIamMember 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 GetTriggerIamMember added in v0.26.0

func GetTriggerIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TriggerIamMemberState, opts ...pulumi.ResourceOption) (*TriggerIamMember, error)

GetTriggerIamMember gets an existing TriggerIamMember 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 NewTriggerIamMember added in v0.26.0

func NewTriggerIamMember(ctx *pulumi.Context,
	name string, args *TriggerIamMemberArgs, opts ...pulumi.ResourceOption) (*TriggerIamMember, error)

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

func (*TriggerIamMember) ElementType added in v0.26.0

func (*TriggerIamMember) ElementType() reflect.Type

func (*TriggerIamMember) ToTriggerIamMemberOutput added in v0.26.0

func (i *TriggerIamMember) ToTriggerIamMemberOutput() TriggerIamMemberOutput

func (*TriggerIamMember) ToTriggerIamMemberOutputWithContext added in v0.26.0

func (i *TriggerIamMember) ToTriggerIamMemberOutputWithContext(ctx context.Context) TriggerIamMemberOutput

type TriggerIamMemberArgs added in v0.26.0

type TriggerIamMemberArgs 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 TriggerIamMember resource.

func (TriggerIamMemberArgs) ElementType added in v0.26.0

func (TriggerIamMemberArgs) ElementType() reflect.Type

type TriggerIamMemberInput added in v0.26.0

type TriggerIamMemberInput interface {
	pulumi.Input

	ToTriggerIamMemberOutput() TriggerIamMemberOutput
	ToTriggerIamMemberOutputWithContext(ctx context.Context) TriggerIamMemberOutput
}

type TriggerIamMemberOutput added in v0.26.0

type TriggerIamMemberOutput struct{ *pulumi.OutputState }

func (TriggerIamMemberOutput) 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 (TriggerIamMemberOutput) ElementType added in v0.26.0

func (TriggerIamMemberOutput) ElementType() reflect.Type

func (TriggerIamMemberOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (TriggerIamMemberOutput) 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 (TriggerIamMemberOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (TriggerIamMemberOutput) Project added in v0.26.0

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

func (TriggerIamMemberOutput) 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 (TriggerIamMemberOutput) ToTriggerIamMemberOutput added in v0.26.0

func (o TriggerIamMemberOutput) ToTriggerIamMemberOutput() TriggerIamMemberOutput

func (TriggerIamMemberOutput) ToTriggerIamMemberOutputWithContext added in v0.26.0

func (o TriggerIamMemberOutput) ToTriggerIamMemberOutputWithContext(ctx context.Context) TriggerIamMemberOutput

type TriggerIamMemberState added in v0.26.0

type TriggerIamMemberState struct {
}

func (TriggerIamMemberState) ElementType added in v0.26.0

func (TriggerIamMemberState) ElementType() reflect.Type

type TriggerIamPolicy

type TriggerIamPolicy 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"`
	Location  pulumi.StringOutput `pulumi:"location"`
	Project   pulumi.StringOutput `pulumi:"project"`
	TriggerId pulumi.StringOutput `pulumi:"triggerId"`
	// 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 GetTriggerIamPolicy

func GetTriggerIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TriggerIamPolicyState, opts ...pulumi.ResourceOption) (*TriggerIamPolicy, error)

GetTriggerIamPolicy gets an existing TriggerIamPolicy 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 NewTriggerIamPolicy

func NewTriggerIamPolicy(ctx *pulumi.Context,
	name string, args *TriggerIamPolicyArgs, opts ...pulumi.ResourceOption) (*TriggerIamPolicy, error)

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

func (*TriggerIamPolicy) ElementType

func (*TriggerIamPolicy) ElementType() reflect.Type

func (*TriggerIamPolicy) ToTriggerIamPolicyOutput

func (i *TriggerIamPolicy) ToTriggerIamPolicyOutput() TriggerIamPolicyOutput

func (*TriggerIamPolicy) ToTriggerIamPolicyOutputWithContext

func (i *TriggerIamPolicy) ToTriggerIamPolicyOutputWithContext(ctx context.Context) TriggerIamPolicyOutput

type TriggerIamPolicyArgs

type TriggerIamPolicyArgs 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
	Location  pulumi.StringPtrInput
	Project   pulumi.StringPtrInput
	TriggerId pulumi.StringInput
	// 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 TriggerIamPolicy resource.

func (TriggerIamPolicyArgs) ElementType

func (TriggerIamPolicyArgs) ElementType() reflect.Type

type TriggerIamPolicyInput

type TriggerIamPolicyInput interface {
	pulumi.Input

	ToTriggerIamPolicyOutput() TriggerIamPolicyOutput
	ToTriggerIamPolicyOutputWithContext(ctx context.Context) TriggerIamPolicyOutput
}

type TriggerIamPolicyOutput

type TriggerIamPolicyOutput struct{ *pulumi.OutputState }

func (TriggerIamPolicyOutput) AuditConfigs added in v0.19.0

Specifies cloud audit logging configuration for this policy.

func (TriggerIamPolicyOutput) 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 (TriggerIamPolicyOutput) ElementType

func (TriggerIamPolicyOutput) ElementType() reflect.Type

func (TriggerIamPolicyOutput) 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 (TriggerIamPolicyOutput) Location added in v0.21.0

func (TriggerIamPolicyOutput) Project added in v0.21.0

func (TriggerIamPolicyOutput) ToTriggerIamPolicyOutput

func (o TriggerIamPolicyOutput) ToTriggerIamPolicyOutput() TriggerIamPolicyOutput

func (TriggerIamPolicyOutput) ToTriggerIamPolicyOutputWithContext

func (o TriggerIamPolicyOutput) ToTriggerIamPolicyOutputWithContext(ctx context.Context) TriggerIamPolicyOutput

func (TriggerIamPolicyOutput) TriggerId added in v0.21.0

func (TriggerIamPolicyOutput) 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 TriggerIamPolicyState

type TriggerIamPolicyState struct {
}

func (TriggerIamPolicyState) ElementType

func (TriggerIamPolicyState) ElementType() reflect.Type

type TriggerInput

type TriggerInput interface {
	pulumi.Input

	ToTriggerOutput() TriggerOutput
	ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
}

type TriggerOutput

type TriggerOutput struct{ *pulumi.OutputState }

func (TriggerOutput) Channel added in v0.19.0

func (o TriggerOutput) Channel() pulumi.StringOutput

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 (TriggerOutput) Conditions added in v0.21.0

func (o TriggerOutput) Conditions() pulumi.StringMapOutput

The reason(s) why a trigger is in FAILED state.

func (TriggerOutput) CreateTime added in v0.19.0

func (o TriggerOutput) CreateTime() pulumi.StringOutput

The creation time.

func (TriggerOutput) Destination added in v0.19.0

func (o TriggerOutput) Destination() DestinationResponseOutput

Destination specifies where the events should be sent to.

func (TriggerOutput) ElementType

func (TriggerOutput) ElementType() reflect.Type

func (TriggerOutput) Etag added in v0.19.0

This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.

func (TriggerOutput) EventDataContentType added in v0.29.0

func (o TriggerOutput) EventDataContentType() pulumi.StringOutput

Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.

func (TriggerOutput) EventFilters added in v0.19.0

Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.

func (TriggerOutput) Labels added in v0.19.0

Optional. User labels attached to the triggers that can be used to group resources.

func (TriggerOutput) Location added in v0.21.0

func (o TriggerOutput) Location() pulumi.StringOutput

func (TriggerOutput) Name added in v0.19.0

The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.

func (TriggerOutput) Project added in v0.21.0

func (o TriggerOutput) Project() pulumi.StringOutput

func (TriggerOutput) ServiceAccount added in v0.19.0

func (o TriggerOutput) ServiceAccount() pulumi.StringOutput

Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination.

func (TriggerOutput) ToTriggerOutput

func (o TriggerOutput) ToTriggerOutput() TriggerOutput

func (TriggerOutput) ToTriggerOutputWithContext

func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput

func (TriggerOutput) Transport added in v0.19.0

func (o TriggerOutput) Transport() TransportResponseOutput

Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.

func (TriggerOutput) TriggerId added in v0.21.0

func (o TriggerOutput) TriggerId() pulumi.StringOutput

Required. The user-provided ID to be assigned to the trigger.

func (TriggerOutput) Uid added in v0.19.0

Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

func (TriggerOutput) UpdateTime added in v0.19.0

func (o TriggerOutput) UpdateTime() pulumi.StringOutput

The last-modified time.

type TriggerState

type TriggerState struct {
}

func (TriggerState) ElementType

func (TriggerState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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