v1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 members 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 identities requesting access for a Cloud Platform 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 `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role *string `pulumi:"role"`
}

Associates `members` 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 members 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 identities requesting access for a Cloud Platform 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 `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringPtrInput `pulumi:"role"`
}

Associates `members` 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` 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 members 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 identities requesting access for a Cloud Platform 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 `members`. 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 members 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 identities requesting access for a Cloud Platform 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 `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role string `pulumi:"role"`
}

Associates `members` with a `role`.

type BindingResponseArgs

type BindingResponseArgs 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 members 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 ExprResponseInput `pulumi:"condition"`
	// Specifies the identities requesting access for a Cloud Platform 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 `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringInput `pulumi:"role"`
}

Associates `members` with a `role`.

func (BindingResponseArgs) ElementType

func (BindingResponseArgs) ElementType() reflect.Type

func (BindingResponseArgs) ToBindingResponseOutput

func (i BindingResponseArgs) ToBindingResponseOutput() BindingResponseOutput

func (BindingResponseArgs) ToBindingResponseOutputWithContext

func (i BindingResponseArgs) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput

type BindingResponseArray

type BindingResponseArray []BindingResponseInput

func (BindingResponseArray) ElementType

func (BindingResponseArray) ElementType() reflect.Type

func (BindingResponseArray) ToBindingResponseArrayOutput

func (i BindingResponseArray) ToBindingResponseArrayOutput() BindingResponseArrayOutput

func (BindingResponseArray) ToBindingResponseArrayOutputWithContext

func (i BindingResponseArray) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput

type BindingResponseArrayInput

type BindingResponseArrayInput interface {
	pulumi.Input

	ToBindingResponseArrayOutput() BindingResponseArrayOutput
	ToBindingResponseArrayOutputWithContext(context.Context) BindingResponseArrayOutput
}

BindingResponseArrayInput is an input type that accepts BindingResponseArray and BindingResponseArrayOutput values. You can construct a concrete instance of `BindingResponseArrayInput` via:

BindingResponseArray{ BindingResponseArgs{...} }

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 BindingResponseInput

type BindingResponseInput interface {
	pulumi.Input

	ToBindingResponseOutput() BindingResponseOutput
	ToBindingResponseOutputWithContext(context.Context) BindingResponseOutput
}

BindingResponseInput is an input type that accepts BindingResponseArgs and BindingResponseOutput values. You can construct a concrete instance of `BindingResponseInput` via:

BindingResponseArgs{...}

type BindingResponseOutput

type BindingResponseOutput struct{ *pulumi.OutputState }

Associates `members` 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 members 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 identities requesting access for a Cloud Platform 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 `members`. 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 DeadLetterPolicy

type DeadLetterPolicy struct {
	// The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.
	DeadLetterTopic *string `pulumi:"deadLetterTopic"`
	// The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.
	MaxDeliveryAttempts *int `pulumi:"maxDeliveryAttempts"`
}

Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

type DeadLetterPolicyArgs

type DeadLetterPolicyArgs struct {
	// The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.
	DeadLetterTopic pulumi.StringPtrInput `pulumi:"deadLetterTopic"`
	// The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.
	MaxDeliveryAttempts pulumi.IntPtrInput `pulumi:"maxDeliveryAttempts"`
}

Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

func (DeadLetterPolicyArgs) ElementType

func (DeadLetterPolicyArgs) ElementType() reflect.Type

func (DeadLetterPolicyArgs) ToDeadLetterPolicyOutput

func (i DeadLetterPolicyArgs) ToDeadLetterPolicyOutput() DeadLetterPolicyOutput

func (DeadLetterPolicyArgs) ToDeadLetterPolicyOutputWithContext

func (i DeadLetterPolicyArgs) ToDeadLetterPolicyOutputWithContext(ctx context.Context) DeadLetterPolicyOutput

func (DeadLetterPolicyArgs) ToDeadLetterPolicyPtrOutput

func (i DeadLetterPolicyArgs) ToDeadLetterPolicyPtrOutput() DeadLetterPolicyPtrOutput

func (DeadLetterPolicyArgs) ToDeadLetterPolicyPtrOutputWithContext

func (i DeadLetterPolicyArgs) ToDeadLetterPolicyPtrOutputWithContext(ctx context.Context) DeadLetterPolicyPtrOutput

type DeadLetterPolicyInput

type DeadLetterPolicyInput interface {
	pulumi.Input

	ToDeadLetterPolicyOutput() DeadLetterPolicyOutput
	ToDeadLetterPolicyOutputWithContext(context.Context) DeadLetterPolicyOutput
}

DeadLetterPolicyInput is an input type that accepts DeadLetterPolicyArgs and DeadLetterPolicyOutput values. You can construct a concrete instance of `DeadLetterPolicyInput` via:

DeadLetterPolicyArgs{...}

type DeadLetterPolicyOutput

type DeadLetterPolicyOutput struct{ *pulumi.OutputState }

Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

func (DeadLetterPolicyOutput) DeadLetterTopic

func (o DeadLetterPolicyOutput) DeadLetterTopic() pulumi.StringPtrOutput

The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.

func (DeadLetterPolicyOutput) ElementType

func (DeadLetterPolicyOutput) ElementType() reflect.Type

func (DeadLetterPolicyOutput) MaxDeliveryAttempts

func (o DeadLetterPolicyOutput) MaxDeliveryAttempts() pulumi.IntPtrOutput

The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.

func (DeadLetterPolicyOutput) ToDeadLetterPolicyOutput

func (o DeadLetterPolicyOutput) ToDeadLetterPolicyOutput() DeadLetterPolicyOutput

func (DeadLetterPolicyOutput) ToDeadLetterPolicyOutputWithContext

func (o DeadLetterPolicyOutput) ToDeadLetterPolicyOutputWithContext(ctx context.Context) DeadLetterPolicyOutput

func (DeadLetterPolicyOutput) ToDeadLetterPolicyPtrOutput

func (o DeadLetterPolicyOutput) ToDeadLetterPolicyPtrOutput() DeadLetterPolicyPtrOutput

func (DeadLetterPolicyOutput) ToDeadLetterPolicyPtrOutputWithContext

func (o DeadLetterPolicyOutput) ToDeadLetterPolicyPtrOutputWithContext(ctx context.Context) DeadLetterPolicyPtrOutput

type DeadLetterPolicyPtrInput

type DeadLetterPolicyPtrInput interface {
	pulumi.Input

	ToDeadLetterPolicyPtrOutput() DeadLetterPolicyPtrOutput
	ToDeadLetterPolicyPtrOutputWithContext(context.Context) DeadLetterPolicyPtrOutput
}

DeadLetterPolicyPtrInput is an input type that accepts DeadLetterPolicyArgs, DeadLetterPolicyPtr and DeadLetterPolicyPtrOutput values. You can construct a concrete instance of `DeadLetterPolicyPtrInput` via:

        DeadLetterPolicyArgs{...}

or:

        nil

type DeadLetterPolicyPtrOutput

type DeadLetterPolicyPtrOutput struct{ *pulumi.OutputState }

func (DeadLetterPolicyPtrOutput) DeadLetterTopic

func (o DeadLetterPolicyPtrOutput) DeadLetterTopic() pulumi.StringPtrOutput

The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.

func (DeadLetterPolicyPtrOutput) Elem

func (DeadLetterPolicyPtrOutput) ElementType

func (DeadLetterPolicyPtrOutput) ElementType() reflect.Type

func (DeadLetterPolicyPtrOutput) MaxDeliveryAttempts

func (o DeadLetterPolicyPtrOutput) MaxDeliveryAttempts() pulumi.IntPtrOutput

The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.

func (DeadLetterPolicyPtrOutput) ToDeadLetterPolicyPtrOutput

func (o DeadLetterPolicyPtrOutput) ToDeadLetterPolicyPtrOutput() DeadLetterPolicyPtrOutput

func (DeadLetterPolicyPtrOutput) ToDeadLetterPolicyPtrOutputWithContext

func (o DeadLetterPolicyPtrOutput) ToDeadLetterPolicyPtrOutputWithContext(ctx context.Context) DeadLetterPolicyPtrOutput

type DeadLetterPolicyResponse

type DeadLetterPolicyResponse struct {
	// The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.
	DeadLetterTopic string `pulumi:"deadLetterTopic"`
	// The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.
	MaxDeliveryAttempts int `pulumi:"maxDeliveryAttempts"`
}

Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

type DeadLetterPolicyResponseArgs

type DeadLetterPolicyResponseArgs struct {
	// The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.
	DeadLetterTopic pulumi.StringInput `pulumi:"deadLetterTopic"`
	// The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.
	MaxDeliveryAttempts pulumi.IntInput `pulumi:"maxDeliveryAttempts"`
}

Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

func (DeadLetterPolicyResponseArgs) ElementType

func (DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponseOutput

func (i DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponseOutput() DeadLetterPolicyResponseOutput

func (DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponseOutputWithContext

func (i DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponseOutputWithContext(ctx context.Context) DeadLetterPolicyResponseOutput

func (DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponsePtrOutput

func (i DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponsePtrOutput() DeadLetterPolicyResponsePtrOutput

func (DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponsePtrOutputWithContext

func (i DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponsePtrOutputWithContext(ctx context.Context) DeadLetterPolicyResponsePtrOutput

type DeadLetterPolicyResponseInput

type DeadLetterPolicyResponseInput interface {
	pulumi.Input

	ToDeadLetterPolicyResponseOutput() DeadLetterPolicyResponseOutput
	ToDeadLetterPolicyResponseOutputWithContext(context.Context) DeadLetterPolicyResponseOutput
}

DeadLetterPolicyResponseInput is an input type that accepts DeadLetterPolicyResponseArgs and DeadLetterPolicyResponseOutput values. You can construct a concrete instance of `DeadLetterPolicyResponseInput` via:

DeadLetterPolicyResponseArgs{...}

type DeadLetterPolicyResponseOutput

type DeadLetterPolicyResponseOutput struct{ *pulumi.OutputState }

Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

func (DeadLetterPolicyResponseOutput) DeadLetterTopic

The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.

func (DeadLetterPolicyResponseOutput) ElementType

func (DeadLetterPolicyResponseOutput) MaxDeliveryAttempts

func (o DeadLetterPolicyResponseOutput) MaxDeliveryAttempts() pulumi.IntOutput

The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.

func (DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponseOutput

func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponseOutput() DeadLetterPolicyResponseOutput

func (DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponseOutputWithContext

func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponseOutputWithContext(ctx context.Context) DeadLetterPolicyResponseOutput

func (DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponsePtrOutput

func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponsePtrOutput() DeadLetterPolicyResponsePtrOutput

func (DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponsePtrOutputWithContext

func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponsePtrOutputWithContext(ctx context.Context) DeadLetterPolicyResponsePtrOutput

type DeadLetterPolicyResponsePtrInput

type DeadLetterPolicyResponsePtrInput interface {
	pulumi.Input

	ToDeadLetterPolicyResponsePtrOutput() DeadLetterPolicyResponsePtrOutput
	ToDeadLetterPolicyResponsePtrOutputWithContext(context.Context) DeadLetterPolicyResponsePtrOutput
}

DeadLetterPolicyResponsePtrInput is an input type that accepts DeadLetterPolicyResponseArgs, DeadLetterPolicyResponsePtr and DeadLetterPolicyResponsePtrOutput values. You can construct a concrete instance of `DeadLetterPolicyResponsePtrInput` via:

        DeadLetterPolicyResponseArgs{...}

or:

        nil

type DeadLetterPolicyResponsePtrOutput

type DeadLetterPolicyResponsePtrOutput struct{ *pulumi.OutputState }

func (DeadLetterPolicyResponsePtrOutput) DeadLetterTopic

The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.

func (DeadLetterPolicyResponsePtrOutput) Elem

func (DeadLetterPolicyResponsePtrOutput) ElementType

func (DeadLetterPolicyResponsePtrOutput) MaxDeliveryAttempts

func (o DeadLetterPolicyResponsePtrOutput) MaxDeliveryAttempts() pulumi.IntPtrOutput

The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.

func (DeadLetterPolicyResponsePtrOutput) ToDeadLetterPolicyResponsePtrOutput

func (o DeadLetterPolicyResponsePtrOutput) ToDeadLetterPolicyResponsePtrOutput() DeadLetterPolicyResponsePtrOutput

func (DeadLetterPolicyResponsePtrOutput) ToDeadLetterPolicyResponsePtrOutputWithContext

func (o DeadLetterPolicyResponsePtrOutput) ToDeadLetterPolicyResponsePtrOutputWithContext(ctx context.Context) DeadLetterPolicyResponsePtrOutput

type ExpirationPolicy

type ExpirationPolicy struct {
	// Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.
	Ttl *string `pulumi:"ttl"`
}

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

type ExpirationPolicyArgs

type ExpirationPolicyArgs struct {
	// Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.
	Ttl pulumi.StringPtrInput `pulumi:"ttl"`
}

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

func (ExpirationPolicyArgs) ElementType

func (ExpirationPolicyArgs) ElementType() reflect.Type

func (ExpirationPolicyArgs) ToExpirationPolicyOutput

func (i ExpirationPolicyArgs) ToExpirationPolicyOutput() ExpirationPolicyOutput

func (ExpirationPolicyArgs) ToExpirationPolicyOutputWithContext

func (i ExpirationPolicyArgs) ToExpirationPolicyOutputWithContext(ctx context.Context) ExpirationPolicyOutput

func (ExpirationPolicyArgs) ToExpirationPolicyPtrOutput

func (i ExpirationPolicyArgs) ToExpirationPolicyPtrOutput() ExpirationPolicyPtrOutput

func (ExpirationPolicyArgs) ToExpirationPolicyPtrOutputWithContext

func (i ExpirationPolicyArgs) ToExpirationPolicyPtrOutputWithContext(ctx context.Context) ExpirationPolicyPtrOutput

type ExpirationPolicyInput

type ExpirationPolicyInput interface {
	pulumi.Input

	ToExpirationPolicyOutput() ExpirationPolicyOutput
	ToExpirationPolicyOutputWithContext(context.Context) ExpirationPolicyOutput
}

ExpirationPolicyInput is an input type that accepts ExpirationPolicyArgs and ExpirationPolicyOutput values. You can construct a concrete instance of `ExpirationPolicyInput` via:

ExpirationPolicyArgs{...}

type ExpirationPolicyOutput

type ExpirationPolicyOutput struct{ *pulumi.OutputState }

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

func (ExpirationPolicyOutput) ElementType

func (ExpirationPolicyOutput) ElementType() reflect.Type

func (ExpirationPolicyOutput) ToExpirationPolicyOutput

func (o ExpirationPolicyOutput) ToExpirationPolicyOutput() ExpirationPolicyOutput

func (ExpirationPolicyOutput) ToExpirationPolicyOutputWithContext

func (o ExpirationPolicyOutput) ToExpirationPolicyOutputWithContext(ctx context.Context) ExpirationPolicyOutput

func (ExpirationPolicyOutput) ToExpirationPolicyPtrOutput

func (o ExpirationPolicyOutput) ToExpirationPolicyPtrOutput() ExpirationPolicyPtrOutput

func (ExpirationPolicyOutput) ToExpirationPolicyPtrOutputWithContext

func (o ExpirationPolicyOutput) ToExpirationPolicyPtrOutputWithContext(ctx context.Context) ExpirationPolicyPtrOutput

func (ExpirationPolicyOutput) Ttl

Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.

type ExpirationPolicyPtrInput

type ExpirationPolicyPtrInput interface {
	pulumi.Input

	ToExpirationPolicyPtrOutput() ExpirationPolicyPtrOutput
	ToExpirationPolicyPtrOutputWithContext(context.Context) ExpirationPolicyPtrOutput
}

ExpirationPolicyPtrInput is an input type that accepts ExpirationPolicyArgs, ExpirationPolicyPtr and ExpirationPolicyPtrOutput values. You can construct a concrete instance of `ExpirationPolicyPtrInput` via:

        ExpirationPolicyArgs{...}

or:

        nil

type ExpirationPolicyPtrOutput

type ExpirationPolicyPtrOutput struct{ *pulumi.OutputState }

func (ExpirationPolicyPtrOutput) Elem

func (ExpirationPolicyPtrOutput) ElementType

func (ExpirationPolicyPtrOutput) ElementType() reflect.Type

func (ExpirationPolicyPtrOutput) ToExpirationPolicyPtrOutput

func (o ExpirationPolicyPtrOutput) ToExpirationPolicyPtrOutput() ExpirationPolicyPtrOutput

func (ExpirationPolicyPtrOutput) ToExpirationPolicyPtrOutputWithContext

func (o ExpirationPolicyPtrOutput) ToExpirationPolicyPtrOutputWithContext(ctx context.Context) ExpirationPolicyPtrOutput

func (ExpirationPolicyPtrOutput) Ttl

Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.

type ExpirationPolicyResponse

type ExpirationPolicyResponse struct {
	// Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.
	Ttl string `pulumi:"ttl"`
}

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

type ExpirationPolicyResponseArgs

type ExpirationPolicyResponseArgs struct {
	// Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.
	Ttl pulumi.StringInput `pulumi:"ttl"`
}

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

func (ExpirationPolicyResponseArgs) ElementType

func (ExpirationPolicyResponseArgs) ToExpirationPolicyResponseOutput

func (i ExpirationPolicyResponseArgs) ToExpirationPolicyResponseOutput() ExpirationPolicyResponseOutput

func (ExpirationPolicyResponseArgs) ToExpirationPolicyResponseOutputWithContext

func (i ExpirationPolicyResponseArgs) ToExpirationPolicyResponseOutputWithContext(ctx context.Context) ExpirationPolicyResponseOutput

func (ExpirationPolicyResponseArgs) ToExpirationPolicyResponsePtrOutput

func (i ExpirationPolicyResponseArgs) ToExpirationPolicyResponsePtrOutput() ExpirationPolicyResponsePtrOutput

func (ExpirationPolicyResponseArgs) ToExpirationPolicyResponsePtrOutputWithContext

func (i ExpirationPolicyResponseArgs) ToExpirationPolicyResponsePtrOutputWithContext(ctx context.Context) ExpirationPolicyResponsePtrOutput

type ExpirationPolicyResponseInput

type ExpirationPolicyResponseInput interface {
	pulumi.Input

	ToExpirationPolicyResponseOutput() ExpirationPolicyResponseOutput
	ToExpirationPolicyResponseOutputWithContext(context.Context) ExpirationPolicyResponseOutput
}

ExpirationPolicyResponseInput is an input type that accepts ExpirationPolicyResponseArgs and ExpirationPolicyResponseOutput values. You can construct a concrete instance of `ExpirationPolicyResponseInput` via:

ExpirationPolicyResponseArgs{...}

type ExpirationPolicyResponseOutput

type ExpirationPolicyResponseOutput struct{ *pulumi.OutputState }

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

func (ExpirationPolicyResponseOutput) ElementType

func (ExpirationPolicyResponseOutput) ToExpirationPolicyResponseOutput

func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponseOutput() ExpirationPolicyResponseOutput

func (ExpirationPolicyResponseOutput) ToExpirationPolicyResponseOutputWithContext

func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponseOutputWithContext(ctx context.Context) ExpirationPolicyResponseOutput

func (ExpirationPolicyResponseOutput) ToExpirationPolicyResponsePtrOutput

func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponsePtrOutput() ExpirationPolicyResponsePtrOutput

func (ExpirationPolicyResponseOutput) ToExpirationPolicyResponsePtrOutputWithContext

func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponsePtrOutputWithContext(ctx context.Context) ExpirationPolicyResponsePtrOutput

func (ExpirationPolicyResponseOutput) Ttl

Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.

type ExpirationPolicyResponsePtrInput

type ExpirationPolicyResponsePtrInput interface {
	pulumi.Input

	ToExpirationPolicyResponsePtrOutput() ExpirationPolicyResponsePtrOutput
	ToExpirationPolicyResponsePtrOutputWithContext(context.Context) ExpirationPolicyResponsePtrOutput
}

ExpirationPolicyResponsePtrInput is an input type that accepts ExpirationPolicyResponseArgs, ExpirationPolicyResponsePtr and ExpirationPolicyResponsePtrOutput values. You can construct a concrete instance of `ExpirationPolicyResponsePtrInput` via:

        ExpirationPolicyResponseArgs{...}

or:

        nil

type ExpirationPolicyResponsePtrOutput

type ExpirationPolicyResponsePtrOutput struct{ *pulumi.OutputState }

func (ExpirationPolicyResponsePtrOutput) Elem

func (ExpirationPolicyResponsePtrOutput) ElementType

func (ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutput

func (o ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutput() ExpirationPolicyResponsePtrOutput

func (ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutputWithContext

func (o ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutputWithContext(ctx context.Context) ExpirationPolicyResponsePtrOutput

func (ExpirationPolicyResponsePtrOutput) Ttl

Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.

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 ExprResponseArgs

type ExprResponseArgs 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.StringInput `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression pulumi.StringInput `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.StringInput `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.StringInput `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 (ExprResponseArgs) ElementType

func (ExprResponseArgs) ElementType() reflect.Type

func (ExprResponseArgs) ToExprResponseOutput

func (i ExprResponseArgs) ToExprResponseOutput() ExprResponseOutput

func (ExprResponseArgs) ToExprResponseOutputWithContext

func (i ExprResponseArgs) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput

type ExprResponseInput

type ExprResponseInput interface {
	pulumi.Input

	ToExprResponseOutput() ExprResponseOutput
	ToExprResponseOutputWithContext(context.Context) ExprResponseOutput
}

ExprResponseInput is an input type that accepts ExprResponseArgs and ExprResponseOutput values. You can construct a concrete instance of `ExprResponseInput` via:

ExprResponseArgs{...}

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 MessageStoragePolicy

type MessageStoragePolicy struct {
	// A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.
	AllowedPersistenceRegions []string `pulumi:"allowedPersistenceRegions"`
}

A policy constraining the storage of messages published to the topic.

type MessageStoragePolicyArgs

type MessageStoragePolicyArgs struct {
	// A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.
	AllowedPersistenceRegions pulumi.StringArrayInput `pulumi:"allowedPersistenceRegions"`
}

A policy constraining the storage of messages published to the topic.

func (MessageStoragePolicyArgs) ElementType

func (MessageStoragePolicyArgs) ElementType() reflect.Type

func (MessageStoragePolicyArgs) ToMessageStoragePolicyOutput

func (i MessageStoragePolicyArgs) ToMessageStoragePolicyOutput() MessageStoragePolicyOutput

func (MessageStoragePolicyArgs) ToMessageStoragePolicyOutputWithContext

func (i MessageStoragePolicyArgs) ToMessageStoragePolicyOutputWithContext(ctx context.Context) MessageStoragePolicyOutput

func (MessageStoragePolicyArgs) ToMessageStoragePolicyPtrOutput

func (i MessageStoragePolicyArgs) ToMessageStoragePolicyPtrOutput() MessageStoragePolicyPtrOutput

func (MessageStoragePolicyArgs) ToMessageStoragePolicyPtrOutputWithContext

func (i MessageStoragePolicyArgs) ToMessageStoragePolicyPtrOutputWithContext(ctx context.Context) MessageStoragePolicyPtrOutput

type MessageStoragePolicyInput

type MessageStoragePolicyInput interface {
	pulumi.Input

	ToMessageStoragePolicyOutput() MessageStoragePolicyOutput
	ToMessageStoragePolicyOutputWithContext(context.Context) MessageStoragePolicyOutput
}

MessageStoragePolicyInput is an input type that accepts MessageStoragePolicyArgs and MessageStoragePolicyOutput values. You can construct a concrete instance of `MessageStoragePolicyInput` via:

MessageStoragePolicyArgs{...}

type MessageStoragePolicyOutput

type MessageStoragePolicyOutput struct{ *pulumi.OutputState }

A policy constraining the storage of messages published to the topic.

func (MessageStoragePolicyOutput) AllowedPersistenceRegions

func (o MessageStoragePolicyOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput

A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.

func (MessageStoragePolicyOutput) ElementType

func (MessageStoragePolicyOutput) ElementType() reflect.Type

func (MessageStoragePolicyOutput) ToMessageStoragePolicyOutput

func (o MessageStoragePolicyOutput) ToMessageStoragePolicyOutput() MessageStoragePolicyOutput

func (MessageStoragePolicyOutput) ToMessageStoragePolicyOutputWithContext

func (o MessageStoragePolicyOutput) ToMessageStoragePolicyOutputWithContext(ctx context.Context) MessageStoragePolicyOutput

func (MessageStoragePolicyOutput) ToMessageStoragePolicyPtrOutput

func (o MessageStoragePolicyOutput) ToMessageStoragePolicyPtrOutput() MessageStoragePolicyPtrOutput

func (MessageStoragePolicyOutput) ToMessageStoragePolicyPtrOutputWithContext

func (o MessageStoragePolicyOutput) ToMessageStoragePolicyPtrOutputWithContext(ctx context.Context) MessageStoragePolicyPtrOutput

type MessageStoragePolicyPtrInput

type MessageStoragePolicyPtrInput interface {
	pulumi.Input

	ToMessageStoragePolicyPtrOutput() MessageStoragePolicyPtrOutput
	ToMessageStoragePolicyPtrOutputWithContext(context.Context) MessageStoragePolicyPtrOutput
}

MessageStoragePolicyPtrInput is an input type that accepts MessageStoragePolicyArgs, MessageStoragePolicyPtr and MessageStoragePolicyPtrOutput values. You can construct a concrete instance of `MessageStoragePolicyPtrInput` via:

        MessageStoragePolicyArgs{...}

or:

        nil

type MessageStoragePolicyPtrOutput

type MessageStoragePolicyPtrOutput struct{ *pulumi.OutputState }

func (MessageStoragePolicyPtrOutput) AllowedPersistenceRegions

func (o MessageStoragePolicyPtrOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput

A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.

func (MessageStoragePolicyPtrOutput) Elem

func (MessageStoragePolicyPtrOutput) ElementType

func (MessageStoragePolicyPtrOutput) ToMessageStoragePolicyPtrOutput

func (o MessageStoragePolicyPtrOutput) ToMessageStoragePolicyPtrOutput() MessageStoragePolicyPtrOutput

func (MessageStoragePolicyPtrOutput) ToMessageStoragePolicyPtrOutputWithContext

func (o MessageStoragePolicyPtrOutput) ToMessageStoragePolicyPtrOutputWithContext(ctx context.Context) MessageStoragePolicyPtrOutput

type MessageStoragePolicyResponse

type MessageStoragePolicyResponse struct {
	// A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.
	AllowedPersistenceRegions []string `pulumi:"allowedPersistenceRegions"`
}

A policy constraining the storage of messages published to the topic.

type MessageStoragePolicyResponseArgs

type MessageStoragePolicyResponseArgs struct {
	// A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.
	AllowedPersistenceRegions pulumi.StringArrayInput `pulumi:"allowedPersistenceRegions"`
}

A policy constraining the storage of messages published to the topic.

func (MessageStoragePolicyResponseArgs) ElementType

func (MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponseOutput

func (i MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponseOutput() MessageStoragePolicyResponseOutput

func (MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponseOutputWithContext

func (i MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponseOutputWithContext(ctx context.Context) MessageStoragePolicyResponseOutput

func (MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponsePtrOutput

func (i MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponsePtrOutput() MessageStoragePolicyResponsePtrOutput

func (MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponsePtrOutputWithContext

func (i MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponsePtrOutputWithContext(ctx context.Context) MessageStoragePolicyResponsePtrOutput

type MessageStoragePolicyResponseInput

type MessageStoragePolicyResponseInput interface {
	pulumi.Input

	ToMessageStoragePolicyResponseOutput() MessageStoragePolicyResponseOutput
	ToMessageStoragePolicyResponseOutputWithContext(context.Context) MessageStoragePolicyResponseOutput
}

MessageStoragePolicyResponseInput is an input type that accepts MessageStoragePolicyResponseArgs and MessageStoragePolicyResponseOutput values. You can construct a concrete instance of `MessageStoragePolicyResponseInput` via:

MessageStoragePolicyResponseArgs{...}

type MessageStoragePolicyResponseOutput

type MessageStoragePolicyResponseOutput struct{ *pulumi.OutputState }

A policy constraining the storage of messages published to the topic.

func (MessageStoragePolicyResponseOutput) AllowedPersistenceRegions

func (o MessageStoragePolicyResponseOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput

A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.

func (MessageStoragePolicyResponseOutput) ElementType

func (MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponseOutput

func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponseOutput() MessageStoragePolicyResponseOutput

func (MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponseOutputWithContext

func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponseOutputWithContext(ctx context.Context) MessageStoragePolicyResponseOutput

func (MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponsePtrOutput

func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponsePtrOutput() MessageStoragePolicyResponsePtrOutput

func (MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponsePtrOutputWithContext

func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponsePtrOutputWithContext(ctx context.Context) MessageStoragePolicyResponsePtrOutput

type MessageStoragePolicyResponsePtrInput

type MessageStoragePolicyResponsePtrInput interface {
	pulumi.Input

	ToMessageStoragePolicyResponsePtrOutput() MessageStoragePolicyResponsePtrOutput
	ToMessageStoragePolicyResponsePtrOutputWithContext(context.Context) MessageStoragePolicyResponsePtrOutput
}

MessageStoragePolicyResponsePtrInput is an input type that accepts MessageStoragePolicyResponseArgs, MessageStoragePolicyResponsePtr and MessageStoragePolicyResponsePtrOutput values. You can construct a concrete instance of `MessageStoragePolicyResponsePtrInput` via:

        MessageStoragePolicyResponseArgs{...}

or:

        nil

type MessageStoragePolicyResponsePtrOutput

type MessageStoragePolicyResponsePtrOutput struct{ *pulumi.OutputState }

func (MessageStoragePolicyResponsePtrOutput) AllowedPersistenceRegions

func (o MessageStoragePolicyResponsePtrOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput

A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.

func (MessageStoragePolicyResponsePtrOutput) Elem

func (MessageStoragePolicyResponsePtrOutput) ElementType

func (MessageStoragePolicyResponsePtrOutput) ToMessageStoragePolicyResponsePtrOutput

func (o MessageStoragePolicyResponsePtrOutput) ToMessageStoragePolicyResponsePtrOutput() MessageStoragePolicyResponsePtrOutput

func (MessageStoragePolicyResponsePtrOutput) ToMessageStoragePolicyResponsePtrOutputWithContext

func (o MessageStoragePolicyResponsePtrOutput) ToMessageStoragePolicyResponsePtrOutputWithContext(ctx context.Context) MessageStoragePolicyResponsePtrOutput

type OidcToken

type OidcToken struct {
	// Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.
	Audience *string `pulumi:"audience"`
	// [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
	ServiceAccountEmail *string `pulumi:"serviceAccountEmail"`
}

Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).

type OidcTokenArgs

type OidcTokenArgs struct {
	// Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.
	Audience pulumi.StringPtrInput `pulumi:"audience"`
	// [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
	ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"`
}

Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).

func (OidcTokenArgs) ElementType

func (OidcTokenArgs) ElementType() reflect.Type

func (OidcTokenArgs) ToOidcTokenOutput

func (i OidcTokenArgs) ToOidcTokenOutput() OidcTokenOutput

func (OidcTokenArgs) ToOidcTokenOutputWithContext

func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTokenOutput

func (OidcTokenArgs) ToOidcTokenPtrOutput

func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput

func (OidcTokenArgs) ToOidcTokenPtrOutputWithContext

func (i OidcTokenArgs) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput

type OidcTokenInput

type OidcTokenInput interface {
	pulumi.Input

	ToOidcTokenOutput() OidcTokenOutput
	ToOidcTokenOutputWithContext(context.Context) OidcTokenOutput
}

OidcTokenInput is an input type that accepts OidcTokenArgs and OidcTokenOutput values. You can construct a concrete instance of `OidcTokenInput` via:

OidcTokenArgs{...}

type OidcTokenOutput

type OidcTokenOutput struct{ *pulumi.OutputState }

Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).

func (OidcTokenOutput) Audience

func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput

Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.

func (OidcTokenOutput) ElementType

func (OidcTokenOutput) ElementType() reflect.Type

func (OidcTokenOutput) ServiceAccountEmail

func (o OidcTokenOutput) ServiceAccountEmail() pulumi.StringPtrOutput

[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.

func (OidcTokenOutput) ToOidcTokenOutput

func (o OidcTokenOutput) ToOidcTokenOutput() OidcTokenOutput

func (OidcTokenOutput) ToOidcTokenOutputWithContext

func (o OidcTokenOutput) ToOidcTokenOutputWithContext(ctx context.Context) OidcTokenOutput

func (OidcTokenOutput) ToOidcTokenPtrOutput

func (o OidcTokenOutput) ToOidcTokenPtrOutput() OidcTokenPtrOutput

func (OidcTokenOutput) ToOidcTokenPtrOutputWithContext

func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput

type OidcTokenPtrInput

type OidcTokenPtrInput interface {
	pulumi.Input

	ToOidcTokenPtrOutput() OidcTokenPtrOutput
	ToOidcTokenPtrOutputWithContext(context.Context) OidcTokenPtrOutput
}

OidcTokenPtrInput is an input type that accepts OidcTokenArgs, OidcTokenPtr and OidcTokenPtrOutput values. You can construct a concrete instance of `OidcTokenPtrInput` via:

        OidcTokenArgs{...}

or:

        nil

func OidcTokenPtr

func OidcTokenPtr(v *OidcTokenArgs) OidcTokenPtrInput

type OidcTokenPtrOutput

type OidcTokenPtrOutput struct{ *pulumi.OutputState }

func (OidcTokenPtrOutput) Audience

Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.

func (OidcTokenPtrOutput) Elem

func (OidcTokenPtrOutput) ElementType

func (OidcTokenPtrOutput) ElementType() reflect.Type

func (OidcTokenPtrOutput) ServiceAccountEmail

func (o OidcTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput

[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.

func (OidcTokenPtrOutput) ToOidcTokenPtrOutput

func (o OidcTokenPtrOutput) ToOidcTokenPtrOutput() OidcTokenPtrOutput

func (OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext

func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput

type OidcTokenResponse

type OidcTokenResponse struct {
	// Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.
	Audience string `pulumi:"audience"`
	// [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
	ServiceAccountEmail string `pulumi:"serviceAccountEmail"`
}

Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).

type OidcTokenResponseArgs

type OidcTokenResponseArgs struct {
	// Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.
	Audience pulumi.StringInput `pulumi:"audience"`
	// [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
	ServiceAccountEmail pulumi.StringInput `pulumi:"serviceAccountEmail"`
}

Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).

func (OidcTokenResponseArgs) ElementType

func (OidcTokenResponseArgs) ElementType() reflect.Type

func (OidcTokenResponseArgs) ToOidcTokenResponseOutput

func (i OidcTokenResponseArgs) ToOidcTokenResponseOutput() OidcTokenResponseOutput

func (OidcTokenResponseArgs) ToOidcTokenResponseOutputWithContext

func (i OidcTokenResponseArgs) ToOidcTokenResponseOutputWithContext(ctx context.Context) OidcTokenResponseOutput

func (OidcTokenResponseArgs) ToOidcTokenResponsePtrOutput

func (i OidcTokenResponseArgs) ToOidcTokenResponsePtrOutput() OidcTokenResponsePtrOutput

func (OidcTokenResponseArgs) ToOidcTokenResponsePtrOutputWithContext

func (i OidcTokenResponseArgs) ToOidcTokenResponsePtrOutputWithContext(ctx context.Context) OidcTokenResponsePtrOutput

type OidcTokenResponseInput

type OidcTokenResponseInput interface {
	pulumi.Input

	ToOidcTokenResponseOutput() OidcTokenResponseOutput
	ToOidcTokenResponseOutputWithContext(context.Context) OidcTokenResponseOutput
}

OidcTokenResponseInput is an input type that accepts OidcTokenResponseArgs and OidcTokenResponseOutput values. You can construct a concrete instance of `OidcTokenResponseInput` via:

OidcTokenResponseArgs{...}

type OidcTokenResponseOutput

type OidcTokenResponseOutput struct{ *pulumi.OutputState }

Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).

func (OidcTokenResponseOutput) Audience

Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.

func (OidcTokenResponseOutput) ElementType

func (OidcTokenResponseOutput) ElementType() reflect.Type

func (OidcTokenResponseOutput) ServiceAccountEmail

func (o OidcTokenResponseOutput) ServiceAccountEmail() pulumi.StringOutput

[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.

func (OidcTokenResponseOutput) ToOidcTokenResponseOutput

func (o OidcTokenResponseOutput) ToOidcTokenResponseOutput() OidcTokenResponseOutput

func (OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext

func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx context.Context) OidcTokenResponseOutput

func (OidcTokenResponseOutput) ToOidcTokenResponsePtrOutput

func (o OidcTokenResponseOutput) ToOidcTokenResponsePtrOutput() OidcTokenResponsePtrOutput

func (OidcTokenResponseOutput) ToOidcTokenResponsePtrOutputWithContext

func (o OidcTokenResponseOutput) ToOidcTokenResponsePtrOutputWithContext(ctx context.Context) OidcTokenResponsePtrOutput

type OidcTokenResponsePtrInput

type OidcTokenResponsePtrInput interface {
	pulumi.Input

	ToOidcTokenResponsePtrOutput() OidcTokenResponsePtrOutput
	ToOidcTokenResponsePtrOutputWithContext(context.Context) OidcTokenResponsePtrOutput
}

OidcTokenResponsePtrInput is an input type that accepts OidcTokenResponseArgs, OidcTokenResponsePtr and OidcTokenResponsePtrOutput values. You can construct a concrete instance of `OidcTokenResponsePtrInput` via:

        OidcTokenResponseArgs{...}

or:

        nil

type OidcTokenResponsePtrOutput

type OidcTokenResponsePtrOutput struct{ *pulumi.OutputState }

func (OidcTokenResponsePtrOutput) Audience

Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.

func (OidcTokenResponsePtrOutput) Elem

func (OidcTokenResponsePtrOutput) ElementType

func (OidcTokenResponsePtrOutput) ElementType() reflect.Type

func (OidcTokenResponsePtrOutput) ServiceAccountEmail

func (o OidcTokenResponsePtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput

[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.

func (OidcTokenResponsePtrOutput) ToOidcTokenResponsePtrOutput

func (o OidcTokenResponsePtrOutput) ToOidcTokenResponsePtrOutput() OidcTokenResponsePtrOutput

func (OidcTokenResponsePtrOutput) ToOidcTokenResponsePtrOutputWithContext

func (o OidcTokenResponsePtrOutput) ToOidcTokenResponsePtrOutputWithContext(ctx context.Context) OidcTokenResponsePtrOutput

type PushConfig

type PushConfig struct {
	// Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }
	Attributes map[string]string `pulumi:"attributes"`
	// If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message.
	OidcToken *OidcToken `pulumi:"oidcToken"`
	// A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.
	PushEndpoint *string `pulumi:"pushEndpoint"`
}

Configuration for a push delivery endpoint.

type PushConfigArgs

type PushConfigArgs struct {
	// Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }
	Attributes pulumi.StringMapInput `pulumi:"attributes"`
	// If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message.
	OidcToken OidcTokenPtrInput `pulumi:"oidcToken"`
	// A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.
	PushEndpoint pulumi.StringPtrInput `pulumi:"pushEndpoint"`
}

Configuration for a push delivery endpoint.

func (PushConfigArgs) ElementType

func (PushConfigArgs) ElementType() reflect.Type

func (PushConfigArgs) ToPushConfigOutput

func (i PushConfigArgs) ToPushConfigOutput() PushConfigOutput

func (PushConfigArgs) ToPushConfigOutputWithContext

func (i PushConfigArgs) ToPushConfigOutputWithContext(ctx context.Context) PushConfigOutput

func (PushConfigArgs) ToPushConfigPtrOutput

func (i PushConfigArgs) ToPushConfigPtrOutput() PushConfigPtrOutput

func (PushConfigArgs) ToPushConfigPtrOutputWithContext

func (i PushConfigArgs) ToPushConfigPtrOutputWithContext(ctx context.Context) PushConfigPtrOutput

type PushConfigInput

type PushConfigInput interface {
	pulumi.Input

	ToPushConfigOutput() PushConfigOutput
	ToPushConfigOutputWithContext(context.Context) PushConfigOutput
}

PushConfigInput is an input type that accepts PushConfigArgs and PushConfigOutput values. You can construct a concrete instance of `PushConfigInput` via:

PushConfigArgs{...}

type PushConfigOutput

type PushConfigOutput struct{ *pulumi.OutputState }

Configuration for a push delivery endpoint.

func (PushConfigOutput) Attributes

func (o PushConfigOutput) Attributes() pulumi.StringMapOutput

Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }

func (PushConfigOutput) ElementType

func (PushConfigOutput) ElementType() reflect.Type

func (PushConfigOutput) OidcToken

func (o PushConfigOutput) OidcToken() OidcTokenPtrOutput

If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message.

func (PushConfigOutput) PushEndpoint

func (o PushConfigOutput) PushEndpoint() pulumi.StringPtrOutput

A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.

func (PushConfigOutput) ToPushConfigOutput

func (o PushConfigOutput) ToPushConfigOutput() PushConfigOutput

func (PushConfigOutput) ToPushConfigOutputWithContext

func (o PushConfigOutput) ToPushConfigOutputWithContext(ctx context.Context) PushConfigOutput

func (PushConfigOutput) ToPushConfigPtrOutput

func (o PushConfigOutput) ToPushConfigPtrOutput() PushConfigPtrOutput

func (PushConfigOutput) ToPushConfigPtrOutputWithContext

func (o PushConfigOutput) ToPushConfigPtrOutputWithContext(ctx context.Context) PushConfigPtrOutput

type PushConfigPtrInput

type PushConfigPtrInput interface {
	pulumi.Input

	ToPushConfigPtrOutput() PushConfigPtrOutput
	ToPushConfigPtrOutputWithContext(context.Context) PushConfigPtrOutput
}

PushConfigPtrInput is an input type that accepts PushConfigArgs, PushConfigPtr and PushConfigPtrOutput values. You can construct a concrete instance of `PushConfigPtrInput` via:

        PushConfigArgs{...}

or:

        nil

func PushConfigPtr

func PushConfigPtr(v *PushConfigArgs) PushConfigPtrInput

type PushConfigPtrOutput

type PushConfigPtrOutput struct{ *pulumi.OutputState }

func (PushConfigPtrOutput) Attributes

Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }

func (PushConfigPtrOutput) Elem

func (PushConfigPtrOutput) ElementType

func (PushConfigPtrOutput) ElementType() reflect.Type

func (PushConfigPtrOutput) OidcToken

If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message.

func (PushConfigPtrOutput) PushEndpoint

func (o PushConfigPtrOutput) PushEndpoint() pulumi.StringPtrOutput

A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.

func (PushConfigPtrOutput) ToPushConfigPtrOutput

func (o PushConfigPtrOutput) ToPushConfigPtrOutput() PushConfigPtrOutput

func (PushConfigPtrOutput) ToPushConfigPtrOutputWithContext

func (o PushConfigPtrOutput) ToPushConfigPtrOutputWithContext(ctx context.Context) PushConfigPtrOutput

type PushConfigResponse

type PushConfigResponse struct {
	// Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }
	Attributes map[string]string `pulumi:"attributes"`
	// If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message.
	OidcToken OidcTokenResponse `pulumi:"oidcToken"`
	// A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.
	PushEndpoint string `pulumi:"pushEndpoint"`
}

Configuration for a push delivery endpoint.

type PushConfigResponseArgs

type PushConfigResponseArgs struct {
	// Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }
	Attributes pulumi.StringMapInput `pulumi:"attributes"`
	// If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message.
	OidcToken OidcTokenResponseInput `pulumi:"oidcToken"`
	// A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.
	PushEndpoint pulumi.StringInput `pulumi:"pushEndpoint"`
}

Configuration for a push delivery endpoint.

func (PushConfigResponseArgs) ElementType

func (PushConfigResponseArgs) ElementType() reflect.Type

func (PushConfigResponseArgs) ToPushConfigResponseOutput

func (i PushConfigResponseArgs) ToPushConfigResponseOutput() PushConfigResponseOutput

func (PushConfigResponseArgs) ToPushConfigResponseOutputWithContext

func (i PushConfigResponseArgs) ToPushConfigResponseOutputWithContext(ctx context.Context) PushConfigResponseOutput

func (PushConfigResponseArgs) ToPushConfigResponsePtrOutput

func (i PushConfigResponseArgs) ToPushConfigResponsePtrOutput() PushConfigResponsePtrOutput

func (PushConfigResponseArgs) ToPushConfigResponsePtrOutputWithContext

func (i PushConfigResponseArgs) ToPushConfigResponsePtrOutputWithContext(ctx context.Context) PushConfigResponsePtrOutput

type PushConfigResponseInput

type PushConfigResponseInput interface {
	pulumi.Input

	ToPushConfigResponseOutput() PushConfigResponseOutput
	ToPushConfigResponseOutputWithContext(context.Context) PushConfigResponseOutput
}

PushConfigResponseInput is an input type that accepts PushConfigResponseArgs and PushConfigResponseOutput values. You can construct a concrete instance of `PushConfigResponseInput` via:

PushConfigResponseArgs{...}

type PushConfigResponseOutput

type PushConfigResponseOutput struct{ *pulumi.OutputState }

Configuration for a push delivery endpoint.

func (PushConfigResponseOutput) Attributes

Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }

func (PushConfigResponseOutput) ElementType

func (PushConfigResponseOutput) ElementType() reflect.Type

func (PushConfigResponseOutput) OidcToken

If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message.

func (PushConfigResponseOutput) PushEndpoint

func (o PushConfigResponseOutput) PushEndpoint() pulumi.StringOutput

A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.

func (PushConfigResponseOutput) ToPushConfigResponseOutput

func (o PushConfigResponseOutput) ToPushConfigResponseOutput() PushConfigResponseOutput

func (PushConfigResponseOutput) ToPushConfigResponseOutputWithContext

func (o PushConfigResponseOutput) ToPushConfigResponseOutputWithContext(ctx context.Context) PushConfigResponseOutput

func (PushConfigResponseOutput) ToPushConfigResponsePtrOutput

func (o PushConfigResponseOutput) ToPushConfigResponsePtrOutput() PushConfigResponsePtrOutput

func (PushConfigResponseOutput) ToPushConfigResponsePtrOutputWithContext

func (o PushConfigResponseOutput) ToPushConfigResponsePtrOutputWithContext(ctx context.Context) PushConfigResponsePtrOutput

type PushConfigResponsePtrInput

type PushConfigResponsePtrInput interface {
	pulumi.Input

	ToPushConfigResponsePtrOutput() PushConfigResponsePtrOutput
	ToPushConfigResponsePtrOutputWithContext(context.Context) PushConfigResponsePtrOutput
}

PushConfigResponsePtrInput is an input type that accepts PushConfigResponseArgs, PushConfigResponsePtr and PushConfigResponsePtrOutput values. You can construct a concrete instance of `PushConfigResponsePtrInput` via:

        PushConfigResponseArgs{...}

or:

        nil

type PushConfigResponsePtrOutput

type PushConfigResponsePtrOutput struct{ *pulumi.OutputState }

func (PushConfigResponsePtrOutput) Attributes

Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }

func (PushConfigResponsePtrOutput) Elem

func (PushConfigResponsePtrOutput) ElementType

func (PushConfigResponsePtrOutput) OidcToken

If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message.

func (PushConfigResponsePtrOutput) PushEndpoint

A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.

func (PushConfigResponsePtrOutput) ToPushConfigResponsePtrOutput

func (o PushConfigResponsePtrOutput) ToPushConfigResponsePtrOutput() PushConfigResponsePtrOutput

func (PushConfigResponsePtrOutput) ToPushConfigResponsePtrOutputWithContext

func (o PushConfigResponsePtrOutput) ToPushConfigResponsePtrOutputWithContext(ctx context.Context) PushConfigResponsePtrOutput

type RetryPolicy

type RetryPolicy struct {
	// The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
	MaximumBackoff *string `pulumi:"maximumBackoff"`
	// The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
	MinimumBackoff *string `pulumi:"minimumBackoff"`
}

A policy that specifies how Cloud Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.

type RetryPolicyArgs

type RetryPolicyArgs struct {
	// The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
	MaximumBackoff pulumi.StringPtrInput `pulumi:"maximumBackoff"`
	// The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
	MinimumBackoff pulumi.StringPtrInput `pulumi:"minimumBackoff"`
}

A policy that specifies how Cloud Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.

func (RetryPolicyArgs) ElementType

func (RetryPolicyArgs) ElementType() reflect.Type

func (RetryPolicyArgs) ToRetryPolicyOutput

func (i RetryPolicyArgs) ToRetryPolicyOutput() RetryPolicyOutput

func (RetryPolicyArgs) ToRetryPolicyOutputWithContext

func (i RetryPolicyArgs) ToRetryPolicyOutputWithContext(ctx context.Context) RetryPolicyOutput

func (RetryPolicyArgs) ToRetryPolicyPtrOutput

func (i RetryPolicyArgs) ToRetryPolicyPtrOutput() RetryPolicyPtrOutput

func (RetryPolicyArgs) ToRetryPolicyPtrOutputWithContext

func (i RetryPolicyArgs) ToRetryPolicyPtrOutputWithContext(ctx context.Context) RetryPolicyPtrOutput

type RetryPolicyInput

type RetryPolicyInput interface {
	pulumi.Input

	ToRetryPolicyOutput() RetryPolicyOutput
	ToRetryPolicyOutputWithContext(context.Context) RetryPolicyOutput
}

RetryPolicyInput is an input type that accepts RetryPolicyArgs and RetryPolicyOutput values. You can construct a concrete instance of `RetryPolicyInput` via:

RetryPolicyArgs{...}

type RetryPolicyOutput

type RetryPolicyOutput struct{ *pulumi.OutputState }

A policy that specifies how Cloud Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.

func (RetryPolicyOutput) ElementType

func (RetryPolicyOutput) ElementType() reflect.Type

func (RetryPolicyOutput) MaximumBackoff

func (o RetryPolicyOutput) MaximumBackoff() pulumi.StringPtrOutput

The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.

func (RetryPolicyOutput) MinimumBackoff

func (o RetryPolicyOutput) MinimumBackoff() pulumi.StringPtrOutput

The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.

func (RetryPolicyOutput) ToRetryPolicyOutput

func (o RetryPolicyOutput) ToRetryPolicyOutput() RetryPolicyOutput

func (RetryPolicyOutput) ToRetryPolicyOutputWithContext

func (o RetryPolicyOutput) ToRetryPolicyOutputWithContext(ctx context.Context) RetryPolicyOutput

func (RetryPolicyOutput) ToRetryPolicyPtrOutput

func (o RetryPolicyOutput) ToRetryPolicyPtrOutput() RetryPolicyPtrOutput

func (RetryPolicyOutput) ToRetryPolicyPtrOutputWithContext

func (o RetryPolicyOutput) ToRetryPolicyPtrOutputWithContext(ctx context.Context) RetryPolicyPtrOutput

type RetryPolicyPtrInput

type RetryPolicyPtrInput interface {
	pulumi.Input

	ToRetryPolicyPtrOutput() RetryPolicyPtrOutput
	ToRetryPolicyPtrOutputWithContext(context.Context) RetryPolicyPtrOutput
}

RetryPolicyPtrInput is an input type that accepts RetryPolicyArgs, RetryPolicyPtr and RetryPolicyPtrOutput values. You can construct a concrete instance of `RetryPolicyPtrInput` via:

        RetryPolicyArgs{...}

or:

        nil

func RetryPolicyPtr

func RetryPolicyPtr(v *RetryPolicyArgs) RetryPolicyPtrInput

type RetryPolicyPtrOutput

type RetryPolicyPtrOutput struct{ *pulumi.OutputState }

func (RetryPolicyPtrOutput) Elem

func (RetryPolicyPtrOutput) ElementType

func (RetryPolicyPtrOutput) ElementType() reflect.Type

func (RetryPolicyPtrOutput) MaximumBackoff

func (o RetryPolicyPtrOutput) MaximumBackoff() pulumi.StringPtrOutput

The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.

func (RetryPolicyPtrOutput) MinimumBackoff

func (o RetryPolicyPtrOutput) MinimumBackoff() pulumi.StringPtrOutput

The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.

func (RetryPolicyPtrOutput) ToRetryPolicyPtrOutput

func (o RetryPolicyPtrOutput) ToRetryPolicyPtrOutput() RetryPolicyPtrOutput

func (RetryPolicyPtrOutput) ToRetryPolicyPtrOutputWithContext

func (o RetryPolicyPtrOutput) ToRetryPolicyPtrOutputWithContext(ctx context.Context) RetryPolicyPtrOutput

type RetryPolicyResponse

type RetryPolicyResponse struct {
	// The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
	MaximumBackoff string `pulumi:"maximumBackoff"`
	// The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
	MinimumBackoff string `pulumi:"minimumBackoff"`
}

A policy that specifies how Cloud Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.

type RetryPolicyResponseArgs

type RetryPolicyResponseArgs struct {
	// The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
	MaximumBackoff pulumi.StringInput `pulumi:"maximumBackoff"`
	// The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
	MinimumBackoff pulumi.StringInput `pulumi:"minimumBackoff"`
}

A policy that specifies how Cloud Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.

func (RetryPolicyResponseArgs) ElementType

func (RetryPolicyResponseArgs) ElementType() reflect.Type

func (RetryPolicyResponseArgs) ToRetryPolicyResponseOutput

func (i RetryPolicyResponseArgs) ToRetryPolicyResponseOutput() RetryPolicyResponseOutput

func (RetryPolicyResponseArgs) ToRetryPolicyResponseOutputWithContext

func (i RetryPolicyResponseArgs) ToRetryPolicyResponseOutputWithContext(ctx context.Context) RetryPolicyResponseOutput

func (RetryPolicyResponseArgs) ToRetryPolicyResponsePtrOutput

func (i RetryPolicyResponseArgs) ToRetryPolicyResponsePtrOutput() RetryPolicyResponsePtrOutput

func (RetryPolicyResponseArgs) ToRetryPolicyResponsePtrOutputWithContext

func (i RetryPolicyResponseArgs) ToRetryPolicyResponsePtrOutputWithContext(ctx context.Context) RetryPolicyResponsePtrOutput

type RetryPolicyResponseInput

type RetryPolicyResponseInput interface {
	pulumi.Input

	ToRetryPolicyResponseOutput() RetryPolicyResponseOutput
	ToRetryPolicyResponseOutputWithContext(context.Context) RetryPolicyResponseOutput
}

RetryPolicyResponseInput is an input type that accepts RetryPolicyResponseArgs and RetryPolicyResponseOutput values. You can construct a concrete instance of `RetryPolicyResponseInput` via:

RetryPolicyResponseArgs{...}

type RetryPolicyResponseOutput

type RetryPolicyResponseOutput struct{ *pulumi.OutputState }

A policy that specifies how Cloud Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.

func (RetryPolicyResponseOutput) ElementType

func (RetryPolicyResponseOutput) ElementType() reflect.Type

func (RetryPolicyResponseOutput) MaximumBackoff

func (o RetryPolicyResponseOutput) MaximumBackoff() pulumi.StringOutput

The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.

func (RetryPolicyResponseOutput) MinimumBackoff

func (o RetryPolicyResponseOutput) MinimumBackoff() pulumi.StringOutput

The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.

func (RetryPolicyResponseOutput) ToRetryPolicyResponseOutput

func (o RetryPolicyResponseOutput) ToRetryPolicyResponseOutput() RetryPolicyResponseOutput

func (RetryPolicyResponseOutput) ToRetryPolicyResponseOutputWithContext

func (o RetryPolicyResponseOutput) ToRetryPolicyResponseOutputWithContext(ctx context.Context) RetryPolicyResponseOutput

func (RetryPolicyResponseOutput) ToRetryPolicyResponsePtrOutput

func (o RetryPolicyResponseOutput) ToRetryPolicyResponsePtrOutput() RetryPolicyResponsePtrOutput

func (RetryPolicyResponseOutput) ToRetryPolicyResponsePtrOutputWithContext

func (o RetryPolicyResponseOutput) ToRetryPolicyResponsePtrOutputWithContext(ctx context.Context) RetryPolicyResponsePtrOutput

type RetryPolicyResponsePtrInput

type RetryPolicyResponsePtrInput interface {
	pulumi.Input

	ToRetryPolicyResponsePtrOutput() RetryPolicyResponsePtrOutput
	ToRetryPolicyResponsePtrOutputWithContext(context.Context) RetryPolicyResponsePtrOutput
}

RetryPolicyResponsePtrInput is an input type that accepts RetryPolicyResponseArgs, RetryPolicyResponsePtr and RetryPolicyResponsePtrOutput values. You can construct a concrete instance of `RetryPolicyResponsePtrInput` via:

        RetryPolicyResponseArgs{...}

or:

        nil

type RetryPolicyResponsePtrOutput

type RetryPolicyResponsePtrOutput struct{ *pulumi.OutputState }

func (RetryPolicyResponsePtrOutput) Elem

func (RetryPolicyResponsePtrOutput) ElementType

func (RetryPolicyResponsePtrOutput) MaximumBackoff

The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.

func (RetryPolicyResponsePtrOutput) MinimumBackoff

The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.

func (RetryPolicyResponsePtrOutput) ToRetryPolicyResponsePtrOutput

func (o RetryPolicyResponsePtrOutput) ToRetryPolicyResponsePtrOutput() RetryPolicyResponsePtrOutput

func (RetryPolicyResponsePtrOutput) ToRetryPolicyResponsePtrOutputWithContext

func (o RetryPolicyResponsePtrOutput) ToRetryPolicyResponsePtrOutputWithContext(ctx context.Context) RetryPolicyResponsePtrOutput

type Schema

type Schema struct {
	pulumi.CustomResourceState

	// The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in `type`.
	Definition pulumi.StringOutput `pulumi:"definition"`
	// Required. Name of the schema. Format is `projects/{project}/schemas/{schema}`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of the schema definition.
	Type pulumi.StringOutput `pulumi:"type"`
}

Creates a schema.

func GetSchema

func GetSchema(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SchemaState, opts ...pulumi.ResourceOption) (*Schema, error)

GetSchema gets an existing Schema 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 NewSchema

func NewSchema(ctx *pulumi.Context,
	name string, args *SchemaArgs, opts ...pulumi.ResourceOption) (*Schema, error)

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

func (*Schema) ElementType

func (*Schema) ElementType() reflect.Type

func (*Schema) ToSchemaOutput

func (i *Schema) ToSchemaOutput() SchemaOutput

func (*Schema) ToSchemaOutputWithContext

func (i *Schema) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput

type SchemaArgs

type SchemaArgs struct {
	// The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in `type`.
	Definition pulumi.StringPtrInput
	// Required. Name of the schema. Format is `projects/{project}/schemas/{schema}`.
	Name     pulumi.StringPtrInput
	Project  pulumi.StringInput
	SchemaId pulumi.StringPtrInput
	// The type of the schema definition.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Schema resource.

func (SchemaArgs) ElementType

func (SchemaArgs) ElementType() reflect.Type

type SchemaIamPolicy

type SchemaIamPolicy struct {
	pulumi.CustomResourceState

	// Associates a list of `members` to 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 member.
	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.

func GetSchemaIamPolicy

func GetSchemaIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SchemaIamPolicyState, opts ...pulumi.ResourceOption) (*SchemaIamPolicy, error)

GetSchemaIamPolicy gets an existing SchemaIamPolicy 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 NewSchemaIamPolicy

func NewSchemaIamPolicy(ctx *pulumi.Context,
	name string, args *SchemaIamPolicyArgs, opts ...pulumi.ResourceOption) (*SchemaIamPolicy, error)

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

func (*SchemaIamPolicy) ElementType

func (*SchemaIamPolicy) ElementType() reflect.Type

func (*SchemaIamPolicy) ToSchemaIamPolicyOutput

func (i *SchemaIamPolicy) ToSchemaIamPolicyOutput() SchemaIamPolicyOutput

func (*SchemaIamPolicy) ToSchemaIamPolicyOutputWithContext

func (i *SchemaIamPolicy) ToSchemaIamPolicyOutputWithContext(ctx context.Context) SchemaIamPolicyOutput

type SchemaIamPolicyArgs

type SchemaIamPolicyArgs struct {
	// Associates a list of `members` to 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 member.
	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
	Project  pulumi.StringInput
	SchemaId pulumi.StringInput
	// 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 SchemaIamPolicy resource.

func (SchemaIamPolicyArgs) ElementType

func (SchemaIamPolicyArgs) ElementType() reflect.Type

type SchemaIamPolicyInput

type SchemaIamPolicyInput interface {
	pulumi.Input

	ToSchemaIamPolicyOutput() SchemaIamPolicyOutput
	ToSchemaIamPolicyOutputWithContext(ctx context.Context) SchemaIamPolicyOutput
}

type SchemaIamPolicyOutput

type SchemaIamPolicyOutput struct {
	*pulumi.OutputState
}

func (SchemaIamPolicyOutput) ElementType

func (SchemaIamPolicyOutput) ElementType() reflect.Type

func (SchemaIamPolicyOutput) ToSchemaIamPolicyOutput

func (o SchemaIamPolicyOutput) ToSchemaIamPolicyOutput() SchemaIamPolicyOutput

func (SchemaIamPolicyOutput) ToSchemaIamPolicyOutputWithContext

func (o SchemaIamPolicyOutput) ToSchemaIamPolicyOutputWithContext(ctx context.Context) SchemaIamPolicyOutput

type SchemaIamPolicyState

type SchemaIamPolicyState struct {
	// Associates a list of `members` to 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 member.
	Bindings BindingResponseArrayInput
	// `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
	// 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
}

func (SchemaIamPolicyState) ElementType

func (SchemaIamPolicyState) ElementType() reflect.Type

type SchemaInput

type SchemaInput interface {
	pulumi.Input

	ToSchemaOutput() SchemaOutput
	ToSchemaOutputWithContext(ctx context.Context) SchemaOutput
}

type SchemaOutput

type SchemaOutput struct {
	*pulumi.OutputState
}

func (SchemaOutput) ElementType

func (SchemaOutput) ElementType() reflect.Type

func (SchemaOutput) ToSchemaOutput

func (o SchemaOutput) ToSchemaOutput() SchemaOutput

func (SchemaOutput) ToSchemaOutputWithContext

func (o SchemaOutput) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput

type SchemaSettings

type SchemaSettings struct {
	// The encoding of messages validated against `schema`.
	Encoding *string `pulumi:"encoding"`
	// Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.
	Schema *string `pulumi:"schema"`
}

Settings for validating messages published against a schema.

type SchemaSettingsArgs

type SchemaSettingsArgs struct {
	// The encoding of messages validated against `schema`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.
	Schema pulumi.StringPtrInput `pulumi:"schema"`
}

Settings for validating messages published against a schema.

func (SchemaSettingsArgs) ElementType

func (SchemaSettingsArgs) ElementType() reflect.Type

func (SchemaSettingsArgs) ToSchemaSettingsOutput

func (i SchemaSettingsArgs) ToSchemaSettingsOutput() SchemaSettingsOutput

func (SchemaSettingsArgs) ToSchemaSettingsOutputWithContext

func (i SchemaSettingsArgs) ToSchemaSettingsOutputWithContext(ctx context.Context) SchemaSettingsOutput

func (SchemaSettingsArgs) ToSchemaSettingsPtrOutput

func (i SchemaSettingsArgs) ToSchemaSettingsPtrOutput() SchemaSettingsPtrOutput

func (SchemaSettingsArgs) ToSchemaSettingsPtrOutputWithContext

func (i SchemaSettingsArgs) ToSchemaSettingsPtrOutputWithContext(ctx context.Context) SchemaSettingsPtrOutput

type SchemaSettingsInput

type SchemaSettingsInput interface {
	pulumi.Input

	ToSchemaSettingsOutput() SchemaSettingsOutput
	ToSchemaSettingsOutputWithContext(context.Context) SchemaSettingsOutput
}

SchemaSettingsInput is an input type that accepts SchemaSettingsArgs and SchemaSettingsOutput values. You can construct a concrete instance of `SchemaSettingsInput` via:

SchemaSettingsArgs{...}

type SchemaSettingsOutput

type SchemaSettingsOutput struct{ *pulumi.OutputState }

Settings for validating messages published against a schema.

func (SchemaSettingsOutput) ElementType

func (SchemaSettingsOutput) ElementType() reflect.Type

func (SchemaSettingsOutput) Encoding

The encoding of messages validated against `schema`.

func (SchemaSettingsOutput) Schema

Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.

func (SchemaSettingsOutput) ToSchemaSettingsOutput

func (o SchemaSettingsOutput) ToSchemaSettingsOutput() SchemaSettingsOutput

func (SchemaSettingsOutput) ToSchemaSettingsOutputWithContext

func (o SchemaSettingsOutput) ToSchemaSettingsOutputWithContext(ctx context.Context) SchemaSettingsOutput

func (SchemaSettingsOutput) ToSchemaSettingsPtrOutput

func (o SchemaSettingsOutput) ToSchemaSettingsPtrOutput() SchemaSettingsPtrOutput

func (SchemaSettingsOutput) ToSchemaSettingsPtrOutputWithContext

func (o SchemaSettingsOutput) ToSchemaSettingsPtrOutputWithContext(ctx context.Context) SchemaSettingsPtrOutput

type SchemaSettingsPtrInput

type SchemaSettingsPtrInput interface {
	pulumi.Input

	ToSchemaSettingsPtrOutput() SchemaSettingsPtrOutput
	ToSchemaSettingsPtrOutputWithContext(context.Context) SchemaSettingsPtrOutput
}

SchemaSettingsPtrInput is an input type that accepts SchemaSettingsArgs, SchemaSettingsPtr and SchemaSettingsPtrOutput values. You can construct a concrete instance of `SchemaSettingsPtrInput` via:

        SchemaSettingsArgs{...}

or:

        nil

type SchemaSettingsPtrOutput

type SchemaSettingsPtrOutput struct{ *pulumi.OutputState }

func (SchemaSettingsPtrOutput) Elem

func (SchemaSettingsPtrOutput) ElementType

func (SchemaSettingsPtrOutput) ElementType() reflect.Type

func (SchemaSettingsPtrOutput) Encoding

The encoding of messages validated against `schema`.

func (SchemaSettingsPtrOutput) Schema

Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.

func (SchemaSettingsPtrOutput) ToSchemaSettingsPtrOutput

func (o SchemaSettingsPtrOutput) ToSchemaSettingsPtrOutput() SchemaSettingsPtrOutput

func (SchemaSettingsPtrOutput) ToSchemaSettingsPtrOutputWithContext

func (o SchemaSettingsPtrOutput) ToSchemaSettingsPtrOutputWithContext(ctx context.Context) SchemaSettingsPtrOutput

type SchemaSettingsResponse

type SchemaSettingsResponse struct {
	// The encoding of messages validated against `schema`.
	Encoding string `pulumi:"encoding"`
	// Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.
	Schema string `pulumi:"schema"`
}

Settings for validating messages published against a schema.

type SchemaSettingsResponseArgs

type SchemaSettingsResponseArgs struct {
	// The encoding of messages validated against `schema`.
	Encoding pulumi.StringInput `pulumi:"encoding"`
	// Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.
	Schema pulumi.StringInput `pulumi:"schema"`
}

Settings for validating messages published against a schema.

func (SchemaSettingsResponseArgs) ElementType

func (SchemaSettingsResponseArgs) ElementType() reflect.Type

func (SchemaSettingsResponseArgs) ToSchemaSettingsResponseOutput

func (i SchemaSettingsResponseArgs) ToSchemaSettingsResponseOutput() SchemaSettingsResponseOutput

func (SchemaSettingsResponseArgs) ToSchemaSettingsResponseOutputWithContext

func (i SchemaSettingsResponseArgs) ToSchemaSettingsResponseOutputWithContext(ctx context.Context) SchemaSettingsResponseOutput

func (SchemaSettingsResponseArgs) ToSchemaSettingsResponsePtrOutput

func (i SchemaSettingsResponseArgs) ToSchemaSettingsResponsePtrOutput() SchemaSettingsResponsePtrOutput

func (SchemaSettingsResponseArgs) ToSchemaSettingsResponsePtrOutputWithContext

func (i SchemaSettingsResponseArgs) ToSchemaSettingsResponsePtrOutputWithContext(ctx context.Context) SchemaSettingsResponsePtrOutput

type SchemaSettingsResponseInput

type SchemaSettingsResponseInput interface {
	pulumi.Input

	ToSchemaSettingsResponseOutput() SchemaSettingsResponseOutput
	ToSchemaSettingsResponseOutputWithContext(context.Context) SchemaSettingsResponseOutput
}

SchemaSettingsResponseInput is an input type that accepts SchemaSettingsResponseArgs and SchemaSettingsResponseOutput values. You can construct a concrete instance of `SchemaSettingsResponseInput` via:

SchemaSettingsResponseArgs{...}

type SchemaSettingsResponseOutput

type SchemaSettingsResponseOutput struct{ *pulumi.OutputState }

Settings for validating messages published against a schema.

func (SchemaSettingsResponseOutput) ElementType

func (SchemaSettingsResponseOutput) Encoding

The encoding of messages validated against `schema`.

func (SchemaSettingsResponseOutput) Schema

Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.

func (SchemaSettingsResponseOutput) ToSchemaSettingsResponseOutput

func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponseOutput() SchemaSettingsResponseOutput

func (SchemaSettingsResponseOutput) ToSchemaSettingsResponseOutputWithContext

func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponseOutputWithContext(ctx context.Context) SchemaSettingsResponseOutput

func (SchemaSettingsResponseOutput) ToSchemaSettingsResponsePtrOutput

func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponsePtrOutput() SchemaSettingsResponsePtrOutput

func (SchemaSettingsResponseOutput) ToSchemaSettingsResponsePtrOutputWithContext

func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponsePtrOutputWithContext(ctx context.Context) SchemaSettingsResponsePtrOutput

type SchemaSettingsResponsePtrInput

type SchemaSettingsResponsePtrInput interface {
	pulumi.Input

	ToSchemaSettingsResponsePtrOutput() SchemaSettingsResponsePtrOutput
	ToSchemaSettingsResponsePtrOutputWithContext(context.Context) SchemaSettingsResponsePtrOutput
}

SchemaSettingsResponsePtrInput is an input type that accepts SchemaSettingsResponseArgs, SchemaSettingsResponsePtr and SchemaSettingsResponsePtrOutput values. You can construct a concrete instance of `SchemaSettingsResponsePtrInput` via:

        SchemaSettingsResponseArgs{...}

or:

        nil

type SchemaSettingsResponsePtrOutput

type SchemaSettingsResponsePtrOutput struct{ *pulumi.OutputState }

func (SchemaSettingsResponsePtrOutput) Elem

func (SchemaSettingsResponsePtrOutput) ElementType

func (SchemaSettingsResponsePtrOutput) Encoding

The encoding of messages validated against `schema`.

func (SchemaSettingsResponsePtrOutput) Schema

Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.

func (SchemaSettingsResponsePtrOutput) ToSchemaSettingsResponsePtrOutput

func (o SchemaSettingsResponsePtrOutput) ToSchemaSettingsResponsePtrOutput() SchemaSettingsResponsePtrOutput

func (SchemaSettingsResponsePtrOutput) ToSchemaSettingsResponsePtrOutputWithContext

func (o SchemaSettingsResponsePtrOutput) ToSchemaSettingsResponsePtrOutputWithContext(ctx context.Context) SchemaSettingsResponsePtrOutput

type SchemaState

type SchemaState struct {
	// The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in `type`.
	Definition pulumi.StringPtrInput
	// Required. Name of the schema. Format is `projects/{project}/schemas/{schema}`.
	Name pulumi.StringPtrInput
	// The type of the schema definition.
	Type pulumi.StringPtrInput
}

func (SchemaState) ElementType

func (SchemaState) ElementType() reflect.Type

type Snapshot

type Snapshot struct {
	pulumi.CustomResourceState

	// The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The name of the snapshot.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the topic from which this snapshot is retaining messages.
	Topic pulumi.StringOutput `pulumi:"topic"`
}

Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.

func GetSnapshot

func GetSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)

GetSnapshot gets an existing Snapshot 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 NewSnapshot

func NewSnapshot(ctx *pulumi.Context,
	name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)

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

func (*Snapshot) ElementType

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext

func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotArgs

type SnapshotArgs struct {
	// See Creating and managing labels.
	Labels     pulumi.StringMapInput
	Project    pulumi.StringInput
	SnapshotId pulumi.StringInput
	// Required. The subscription whose backlog the snapshot retains. Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the messages in the subscription's backlog that are unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published to the subscription's topic following the successful completion of the CreateSnapshot request. Format is `projects/{project}/subscriptions/{sub}`.
	Subscription pulumi.StringPtrInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotIamPolicy

type SnapshotIamPolicy struct {
	pulumi.CustomResourceState

	// Associates a list of `members` to 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 member.
	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.

func GetSnapshotIamPolicy

func GetSnapshotIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotIamPolicyState, opts ...pulumi.ResourceOption) (*SnapshotIamPolicy, error)

GetSnapshotIamPolicy gets an existing SnapshotIamPolicy 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 NewSnapshotIamPolicy

func NewSnapshotIamPolicy(ctx *pulumi.Context,
	name string, args *SnapshotIamPolicyArgs, opts ...pulumi.ResourceOption) (*SnapshotIamPolicy, error)

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

func (*SnapshotIamPolicy) ElementType

func (*SnapshotIamPolicy) ElementType() reflect.Type

func (*SnapshotIamPolicy) ToSnapshotIamPolicyOutput

func (i *SnapshotIamPolicy) ToSnapshotIamPolicyOutput() SnapshotIamPolicyOutput

func (*SnapshotIamPolicy) ToSnapshotIamPolicyOutputWithContext

func (i *SnapshotIamPolicy) ToSnapshotIamPolicyOutputWithContext(ctx context.Context) SnapshotIamPolicyOutput

type SnapshotIamPolicyArgs

type SnapshotIamPolicyArgs struct {
	// Associates a list of `members` to 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 member.
	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
	Project    pulumi.StringInput
	SnapshotId pulumi.StringInput
	// 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 SnapshotIamPolicy resource.

func (SnapshotIamPolicyArgs) ElementType

func (SnapshotIamPolicyArgs) ElementType() reflect.Type

type SnapshotIamPolicyInput

type SnapshotIamPolicyInput interface {
	pulumi.Input

	ToSnapshotIamPolicyOutput() SnapshotIamPolicyOutput
	ToSnapshotIamPolicyOutputWithContext(ctx context.Context) SnapshotIamPolicyOutput
}

type SnapshotIamPolicyOutput

type SnapshotIamPolicyOutput struct {
	*pulumi.OutputState
}

func (SnapshotIamPolicyOutput) ElementType

func (SnapshotIamPolicyOutput) ElementType() reflect.Type

func (SnapshotIamPolicyOutput) ToSnapshotIamPolicyOutput

func (o SnapshotIamPolicyOutput) ToSnapshotIamPolicyOutput() SnapshotIamPolicyOutput

func (SnapshotIamPolicyOutput) ToSnapshotIamPolicyOutputWithContext

func (o SnapshotIamPolicyOutput) ToSnapshotIamPolicyOutputWithContext(ctx context.Context) SnapshotIamPolicyOutput

type SnapshotIamPolicyState

type SnapshotIamPolicyState struct {
	// Associates a list of `members` to 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 member.
	Bindings BindingResponseArrayInput
	// `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
	// 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
}

func (SnapshotIamPolicyState) ElementType

func (SnapshotIamPolicyState) ElementType() reflect.Type

type SnapshotInput

type SnapshotInput interface {
	pulumi.Input

	ToSnapshotOutput() SnapshotOutput
	ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
}

type SnapshotOutput

type SnapshotOutput struct {
	*pulumi.OutputState
}

func (SnapshotOutput) ElementType

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) ToSnapshotOutput

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext

func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotState

type SnapshotState struct {
	// The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation.
	ExpireTime pulumi.StringPtrInput
	// See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
	Labels pulumi.StringMapInput
	// The name of the snapshot.
	Name pulumi.StringPtrInput
	// The name of the topic from which this snapshot is retaining messages.
	Topic pulumi.StringPtrInput
}

func (SnapshotState) ElementType

func (SnapshotState) ElementType() reflect.Type

type Subscription

type Subscription struct {
	pulumi.CustomResourceState

	// The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be *outstanding*. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.
	AckDeadlineSeconds pulumi.IntOutput `pulumi:"ackDeadlineSeconds"`
	// A policy that specifies the conditions for dead lettering messages in this subscription. If dead_letter_policy is not set, dead lettering is disabled. The Cloud Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Acknowledge() messages on this subscription.
	DeadLetterPolicy DeadLetterPolicyResponseOutput `pulumi:"deadLetterPolicy"`
	// Indicates whether the subscription is detached from its topic. Detached subscriptions don't receive messages from their topic and don't retain any backlog. `Pull` and `StreamingPull` requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will not be made.
	Detached pulumi.BoolOutput `pulumi:"detached"`
	// If true, messages published with the same `ordering_key` in `PubsubMessage` will be delivered to the subscribers in the order in which they are received by the Pub/Sub system. Otherwise, they may be delivered in any order.
	EnableMessageOrdering pulumi.BoolOutput `pulumi:"enableMessageOrdering"`
	// A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day.
	ExpirationPolicy ExpirationPolicyResponseOutput `pulumi:"expirationPolicy"`
	// An expression written in the Pub/Sub [filter language](https://cloud.google.com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s whose `attributes` field matches the filter are delivered on this subscription. If empty, then no messages are filtered out.
	Filter pulumi.StringOutput `pulumi:"filter"`
	// See Creating and managing labels.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If `retain_acked_messages` is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a `Seek` can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes.
	MessageRetentionDuration pulumi.StringOutput `pulumi:"messageRetentionDuration"`
	// Required. The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
	Name pulumi.StringOutput `pulumi:"name"`
	// If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API methods.
	PushConfig PushConfigResponseOutput `pulumi:"pushConfig"`
	// Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages.
	RetainAckedMessages pulumi.BoolOutput `pulumi:"retainAckedMessages"`
	// A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message.
	RetryPolicy RetryPolicyResponseOutput `pulumi:"retryPolicy"`
	// Required. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the topic has been deleted.
	Topic pulumi.StringOutput `pulumi:"topic"`
}

Creates a subscription to a given topic. See the [resource name rules] (https://cloud.google.com/pubsub/docs/admin#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.

func GetSubscription

func GetSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubscriptionState, opts ...pulumi.ResourceOption) (*Subscription, error)

GetSubscription gets an existing Subscription 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 NewSubscription

func NewSubscription(ctx *pulumi.Context,
	name string, args *SubscriptionArgs, opts ...pulumi.ResourceOption) (*Subscription, error)

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

func (*Subscription) ElementType

func (*Subscription) ElementType() reflect.Type

func (*Subscription) ToSubscriptionOutput

func (i *Subscription) ToSubscriptionOutput() SubscriptionOutput

func (*Subscription) ToSubscriptionOutputWithContext

func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput

type SubscriptionArgs

type SubscriptionArgs struct {
	// The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be *outstanding*. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.
	AckDeadlineSeconds pulumi.IntPtrInput
	// A policy that specifies the conditions for dead lettering messages in this subscription. If dead_letter_policy is not set, dead lettering is disabled. The Cloud Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Acknowledge() messages on this subscription.
	DeadLetterPolicy DeadLetterPolicyPtrInput
	// Indicates whether the subscription is detached from its topic. Detached subscriptions don't receive messages from their topic and don't retain any backlog. `Pull` and `StreamingPull` requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will not be made.
	Detached pulumi.BoolPtrInput
	// If true, messages published with the same `ordering_key` in `PubsubMessage` will be delivered to the subscribers in the order in which they are received by the Pub/Sub system. Otherwise, they may be delivered in any order.
	EnableMessageOrdering pulumi.BoolPtrInput
	// A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day.
	ExpirationPolicy ExpirationPolicyPtrInput
	// An expression written in the Pub/Sub [filter language](https://cloud.google.com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s whose `attributes` field matches the filter are delivered on this subscription. If empty, then no messages are filtered out.
	Filter pulumi.StringPtrInput
	// See Creating and managing labels.
	Labels pulumi.StringMapInput
	// How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If `retain_acked_messages` is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a `Seek` can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes.
	MessageRetentionDuration pulumi.StringPtrInput
	// Required. The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
	Name    pulumi.StringPtrInput
	Project pulumi.StringInput
	// If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API methods.
	PushConfig PushConfigPtrInput
	// Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages.
	RetainAckedMessages pulumi.BoolPtrInput
	// A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message.
	RetryPolicy    RetryPolicyPtrInput
	SubscriptionId pulumi.StringInput
	// Required. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the topic has been deleted.
	Topic pulumi.StringPtrInput
}

The set of arguments for constructing a Subscription resource.

func (SubscriptionArgs) ElementType

func (SubscriptionArgs) ElementType() reflect.Type

type SubscriptionIamPolicy

type SubscriptionIamPolicy struct {
	pulumi.CustomResourceState

	// Associates a list of `members` to 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 member.
	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.

func GetSubscriptionIamPolicy

func GetSubscriptionIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubscriptionIamPolicyState, opts ...pulumi.ResourceOption) (*SubscriptionIamPolicy, error)

GetSubscriptionIamPolicy gets an existing SubscriptionIamPolicy 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 NewSubscriptionIamPolicy

func NewSubscriptionIamPolicy(ctx *pulumi.Context,
	name string, args *SubscriptionIamPolicyArgs, opts ...pulumi.ResourceOption) (*SubscriptionIamPolicy, error)

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

func (*SubscriptionIamPolicy) ElementType

func (*SubscriptionIamPolicy) ElementType() reflect.Type

func (*SubscriptionIamPolicy) ToSubscriptionIamPolicyOutput

func (i *SubscriptionIamPolicy) ToSubscriptionIamPolicyOutput() SubscriptionIamPolicyOutput

func (*SubscriptionIamPolicy) ToSubscriptionIamPolicyOutputWithContext

func (i *SubscriptionIamPolicy) ToSubscriptionIamPolicyOutputWithContext(ctx context.Context) SubscriptionIamPolicyOutput

type SubscriptionIamPolicyArgs

type SubscriptionIamPolicyArgs struct {
	// Associates a list of `members` to 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 member.
	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
	Project        pulumi.StringInput
	SubscriptionId pulumi.StringInput
	// 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 SubscriptionIamPolicy resource.

func (SubscriptionIamPolicyArgs) ElementType

func (SubscriptionIamPolicyArgs) ElementType() reflect.Type

type SubscriptionIamPolicyInput

type SubscriptionIamPolicyInput interface {
	pulumi.Input

	ToSubscriptionIamPolicyOutput() SubscriptionIamPolicyOutput
	ToSubscriptionIamPolicyOutputWithContext(ctx context.Context) SubscriptionIamPolicyOutput
}

type SubscriptionIamPolicyOutput

type SubscriptionIamPolicyOutput struct {
	*pulumi.OutputState
}

func (SubscriptionIamPolicyOutput) ElementType

func (SubscriptionIamPolicyOutput) ToSubscriptionIamPolicyOutput

func (o SubscriptionIamPolicyOutput) ToSubscriptionIamPolicyOutput() SubscriptionIamPolicyOutput

func (SubscriptionIamPolicyOutput) ToSubscriptionIamPolicyOutputWithContext

func (o SubscriptionIamPolicyOutput) ToSubscriptionIamPolicyOutputWithContext(ctx context.Context) SubscriptionIamPolicyOutput

type SubscriptionIamPolicyState

type SubscriptionIamPolicyState struct {
	// Associates a list of `members` to 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 member.
	Bindings BindingResponseArrayInput
	// `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
	// 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
}

func (SubscriptionIamPolicyState) ElementType

func (SubscriptionIamPolicyState) ElementType() reflect.Type

type SubscriptionInput

type SubscriptionInput interface {
	pulumi.Input

	ToSubscriptionOutput() SubscriptionOutput
	ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
}

type SubscriptionOutput

type SubscriptionOutput struct {
	*pulumi.OutputState
}

func (SubscriptionOutput) ElementType

func (SubscriptionOutput) ElementType() reflect.Type

func (SubscriptionOutput) ToSubscriptionOutput

func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput

func (SubscriptionOutput) ToSubscriptionOutputWithContext

func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput

type SubscriptionState

type SubscriptionState struct {
	// The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be *outstanding*. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.
	AckDeadlineSeconds pulumi.IntPtrInput
	// A policy that specifies the conditions for dead lettering messages in this subscription. If dead_letter_policy is not set, dead lettering is disabled. The Cloud Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Acknowledge() messages on this subscription.
	DeadLetterPolicy DeadLetterPolicyResponsePtrInput
	// Indicates whether the subscription is detached from its topic. Detached subscriptions don't receive messages from their topic and don't retain any backlog. `Pull` and `StreamingPull` requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will not be made.
	Detached pulumi.BoolPtrInput
	// If true, messages published with the same `ordering_key` in `PubsubMessage` will be delivered to the subscribers in the order in which they are received by the Pub/Sub system. Otherwise, they may be delivered in any order.
	EnableMessageOrdering pulumi.BoolPtrInput
	// A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day.
	ExpirationPolicy ExpirationPolicyResponsePtrInput
	// An expression written in the Pub/Sub [filter language](https://cloud.google.com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s whose `attributes` field matches the filter are delivered on this subscription. If empty, then no messages are filtered out.
	Filter pulumi.StringPtrInput
	// See Creating and managing labels.
	Labels pulumi.StringMapInput
	// How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If `retain_acked_messages` is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a `Seek` can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes.
	MessageRetentionDuration pulumi.StringPtrInput
	// Required. The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
	Name pulumi.StringPtrInput
	// If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API methods.
	PushConfig PushConfigResponsePtrInput
	// Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages.
	RetainAckedMessages pulumi.BoolPtrInput
	// A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message.
	RetryPolicy RetryPolicyResponsePtrInput
	// Required. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the topic has been deleted.
	Topic pulumi.StringPtrInput
}

func (SubscriptionState) ElementType

func (SubscriptionState) ElementType() reflect.Type

type Topic

type Topic struct {
	pulumi.CustomResourceState

	// The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
	KmsKeyName pulumi.StringOutput `pulumi:"kmsKeyName"`
	// See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect.
	MessageStoragePolicy MessageStoragePolicyResponseOutput `pulumi:"messageStoragePolicy"`
	// Required. The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
	SatisfiesPzs pulumi.BoolOutput `pulumi:"satisfiesPzs"`
	// Settings for validating messages published against a schema.
	SchemaSettings SchemaSettingsResponseOutput `pulumi:"schemaSettings"`
}

Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/admin#resource_names).

func GetTopic

func GetTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TopicState, opts ...pulumi.ResourceOption) (*Topic, error)

GetTopic gets an existing Topic 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 NewTopic

func NewTopic(ctx *pulumi.Context,
	name string, args *TopicArgs, opts ...pulumi.ResourceOption) (*Topic, error)

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

func (*Topic) ElementType

func (*Topic) ElementType() reflect.Type

func (*Topic) ToTopicOutput

func (i *Topic) ToTopicOutput() TopicOutput

func (*Topic) ToTopicOutputWithContext

func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput

type TopicArgs

type TopicArgs struct {
	// The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
	KmsKeyName pulumi.StringPtrInput
	// See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
	Labels pulumi.StringMapInput
	// Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect.
	MessageStoragePolicy MessageStoragePolicyPtrInput
	// Required. The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
	Name    pulumi.StringPtrInput
	Project pulumi.StringInput
	// Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
	SatisfiesPzs pulumi.BoolPtrInput
	// Settings for validating messages published against a schema.
	SchemaSettings SchemaSettingsPtrInput
	TopicId        pulumi.StringInput
}

The set of arguments for constructing a Topic resource.

func (TopicArgs) ElementType

func (TopicArgs) ElementType() reflect.Type

type TopicIamPolicy

type TopicIamPolicy struct {
	pulumi.CustomResourceState

	// Associates a list of `members` to 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 member.
	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.

func GetTopicIamPolicy

func GetTopicIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TopicIamPolicyState, opts ...pulumi.ResourceOption) (*TopicIamPolicy, error)

GetTopicIamPolicy gets an existing TopicIamPolicy 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 NewTopicIamPolicy

func NewTopicIamPolicy(ctx *pulumi.Context,
	name string, args *TopicIamPolicyArgs, opts ...pulumi.ResourceOption) (*TopicIamPolicy, error)

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

func (*TopicIamPolicy) ElementType

func (*TopicIamPolicy) ElementType() reflect.Type

func (*TopicIamPolicy) ToTopicIamPolicyOutput

func (i *TopicIamPolicy) ToTopicIamPolicyOutput() TopicIamPolicyOutput

func (*TopicIamPolicy) ToTopicIamPolicyOutputWithContext

func (i *TopicIamPolicy) ToTopicIamPolicyOutputWithContext(ctx context.Context) TopicIamPolicyOutput

type TopicIamPolicyArgs

type TopicIamPolicyArgs struct {
	// Associates a list of `members` to 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 member.
	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
	Project pulumi.StringInput
	TopicId pulumi.StringInput
	// 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 TopicIamPolicy resource.

func (TopicIamPolicyArgs) ElementType

func (TopicIamPolicyArgs) ElementType() reflect.Type

type TopicIamPolicyInput

type TopicIamPolicyInput interface {
	pulumi.Input

	ToTopicIamPolicyOutput() TopicIamPolicyOutput
	ToTopicIamPolicyOutputWithContext(ctx context.Context) TopicIamPolicyOutput
}

type TopicIamPolicyOutput

type TopicIamPolicyOutput struct {
	*pulumi.OutputState
}

func (TopicIamPolicyOutput) ElementType

func (TopicIamPolicyOutput) ElementType() reflect.Type

func (TopicIamPolicyOutput) ToTopicIamPolicyOutput

func (o TopicIamPolicyOutput) ToTopicIamPolicyOutput() TopicIamPolicyOutput

func (TopicIamPolicyOutput) ToTopicIamPolicyOutputWithContext

func (o TopicIamPolicyOutput) ToTopicIamPolicyOutputWithContext(ctx context.Context) TopicIamPolicyOutput

type TopicIamPolicyState

type TopicIamPolicyState struct {
	// Associates a list of `members` to 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 member.
	Bindings BindingResponseArrayInput
	// `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
	// 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
}

func (TopicIamPolicyState) ElementType

func (TopicIamPolicyState) ElementType() reflect.Type

type TopicInput

type TopicInput interface {
	pulumi.Input

	ToTopicOutput() TopicOutput
	ToTopicOutputWithContext(ctx context.Context) TopicOutput
}

type TopicOutput

type TopicOutput struct {
	*pulumi.OutputState
}

func (TopicOutput) ElementType

func (TopicOutput) ElementType() reflect.Type

func (TopicOutput) ToTopicOutput

func (o TopicOutput) ToTopicOutput() TopicOutput

func (TopicOutput) ToTopicOutputWithContext

func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput

type TopicState

type TopicState struct {
	// The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
	KmsKeyName pulumi.StringPtrInput
	// See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
	Labels pulumi.StringMapInput
	// Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect.
	MessageStoragePolicy MessageStoragePolicyResponsePtrInput
	// Required. The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
	Name pulumi.StringPtrInput
	// Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
	SatisfiesPzs pulumi.BoolPtrInput
	// Settings for validating messages published against a schema.
	SchemaSettings SchemaSettingsResponsePtrInput
}

func (TopicState) ElementType

func (TopicState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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