v1

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 7 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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@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`. * `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. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
	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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@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`. * `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. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
	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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@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`. * `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. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.

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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@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`. * `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. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
	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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@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`. * `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. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.

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"`
	// The creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// 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"`
	// 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
	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
	// Required. If set, validate the request and preview the review, but do not post it.
	ValidateOnly pulumi.StringInput
}

The set of arguments for constructing a Channel resource.

func (ChannelArgs) ElementType added in v0.19.0

func (ChannelArgs) ElementType() reflect.Type

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"`
	// `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"`
	// 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) 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) 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 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"`
	// `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"`
	// 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) 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) 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) CreateTime added in v0.19.0

func (o ChannelOutput) CreateTime() pulumi.StringOutput

The creation time.

func (ChannelOutput) ElementType added in v0.19.0

func (ChannelOutput) ElementType() reflect.Type

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) 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. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}`
	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"`
	// 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. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}`
	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"`
	// 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. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}`

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) 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. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}`
	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"`
	// 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. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}`

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) 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. 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 only allowed value is `match-path-pattern`.
	Operator *string `pulumi:"operator"`
	// The value for the attribute.
	Value string `pulumi:"value"`
}

Filters events based on exact matches on the CloudEvents attributes.

type EventFilterArgs

type EventFilterArgs struct {
	// The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. 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 only allowed value is `match-path-pattern`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// The value for the attribute.
	Value pulumi.StringInput `pulumi:"value"`
}

Filters events based on exact matches on the CloudEvents attributes.

func (EventFilterArgs) ElementType

func (EventFilterArgs) ElementType() reflect.Type

func (EventFilterArgs) ToEventFilterOutput

func (i EventFilterArgs) ToEventFilterOutput() EventFilterOutput

func (EventFilterArgs) ToEventFilterOutputWithContext

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

type EventFilterArray

type EventFilterArray []EventFilterInput

func (EventFilterArray) ElementType

func (EventFilterArray) ElementType() reflect.Type

func (EventFilterArray) ToEventFilterArrayOutput

func (i EventFilterArray) ToEventFilterArrayOutput() EventFilterArrayOutput

func (EventFilterArray) ToEventFilterArrayOutputWithContext

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

type EventFilterArrayInput

type EventFilterArrayInput interface {
	pulumi.Input

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

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

EventFilterArray{ EventFilterArgs{...} }

type EventFilterArrayOutput

type EventFilterArrayOutput struct{ *pulumi.OutputState }

func (EventFilterArrayOutput) ElementType

func (EventFilterArrayOutput) ElementType() reflect.Type

func (EventFilterArrayOutput) Index

func (EventFilterArrayOutput) ToEventFilterArrayOutput

func (o EventFilterArrayOutput) ToEventFilterArrayOutput() EventFilterArrayOutput

func (EventFilterArrayOutput) ToEventFilterArrayOutputWithContext

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

type EventFilterInput

type EventFilterInput interface {
	pulumi.Input

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

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

EventFilterArgs{...}

type EventFilterOutput

type EventFilterOutput struct{ *pulumi.OutputState }

Filters events based on exact matches on the CloudEvents attributes.

func (EventFilterOutput) Attribute

func (o EventFilterOutput) Attribute() pulumi.StringOutput

The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. 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 only allowed value is `match-path-pattern`.

func (EventFilterOutput) ToEventFilterOutput

func (o EventFilterOutput) ToEventFilterOutput() EventFilterOutput

func (EventFilterOutput) ToEventFilterOutputWithContext

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

func (EventFilterOutput) Value

The value for the attribute.

type EventFilterResponse

type EventFilterResponse struct {
	// The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. 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 only allowed value is `match-path-pattern`.
	Operator string `pulumi:"operator"`
	// The value for the attribute.
	Value string `pulumi:"value"`
}

Filters events based on exact matches on the CloudEvents attributes.

type EventFilterResponseArrayOutput

type EventFilterResponseArrayOutput struct{ *pulumi.OutputState }

func (EventFilterResponseArrayOutput) ElementType

func (EventFilterResponseArrayOutput) Index

func (EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutput

func (o EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutput() EventFilterResponseArrayOutput

func (EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutputWithContext

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

type EventFilterResponseOutput

type EventFilterResponseOutput struct{ *pulumi.OutputState }

Filters events based on exact matches on the CloudEvents attributes.

func (EventFilterResponseOutput) Attribute

The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. 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 only allowed value is `match-path-pattern`.

func (EventFilterResponseOutput) ToEventFilterResponseOutput

func (o EventFilterResponseOutput) ToEventFilterResponseOutput() EventFilterResponseOutput

func (EventFilterResponseOutput) ToEventFilterResponseOutputWithContext

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

func (EventFilterResponseOutput) Value

The value for the attribute.

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

type LookupChannelArgs struct {
	ChannelId string  `pulumi:"channelId"`
	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 *string `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.StringPtrInput `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 LookupChannelIamPolicyArgs added in v0.8.0

type LookupChannelIamPolicyArgs struct {
	ChannelId                     string  `pulumi:"channelId"`
	Location                      string  `pulumi:"location"`
	OptionsRequestedPolicyVersion *string `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.StringPtrInput `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"`
	// 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) 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 *string `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.StringPtrInput `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 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"`
	// null 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 principal who calls this API must have the `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. To create Audit Log triggers, the service account should also have the `roles/eventarc.eventReceiver` IAM role.
	ServiceAccount string `pulumi:"serviceAccount"`
	// Optional. To deliver messages, Eventarc might use other GCP 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) 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) EventFilters added in v0.8.0

null 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 principal who calls this API must have the `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. To create Audit Log triggers, the service account should also have the `roles/eventarc.eventReceiver` IAM role.

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 GCP 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 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 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"`
	// null 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"`
	// 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"`
	// Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have the `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. To create Audit Log triggers, the service account should also have the `roles/eventarc.eventReceiver` IAM role.
	ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"`
	// Optional. To deliver messages, Eventarc might use other GCP 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"`
	// 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
	// null 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 principal who calls this API must have the `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. To create Audit Log triggers, the service account should also have the `roles/eventarc.eventReceiver` IAM role.
	ServiceAccount pulumi.StringPtrInput
	// Optional. To deliver messages, Eventarc might use other GCP 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
	// Required. If set, validate the request and preview the review, but do not post it.
	ValidateOnly pulumi.StringInput
}

The set of arguments for constructing a Trigger resource.

func (TriggerArgs) ElementType

func (TriggerArgs) 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"`
	// 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) ToTriggerIamPolicyOutput

func (o TriggerIamPolicyOutput) ToTriggerIamPolicyOutput() TriggerIamPolicyOutput

func (TriggerIamPolicyOutput) ToTriggerIamPolicyOutputWithContext

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

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

null 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) 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) 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 principal who calls this API must have the `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. To create Audit Log triggers, the service account should also have the `roles/eventarc.eventReceiver` IAM role.

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 GCP products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.

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