v1

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Unspecified
	SchemaSettingsEncodingEncodingUnspecified = SchemaSettingsEncoding("ENCODING_UNSPECIFIED")
	// JSON encoding
	SchemaSettingsEncodingJson = SchemaSettingsEncoding("JSON")
	// Binary encoding, as defined by the schema type. For some schema types, binary encoding may not be available.
	SchemaSettingsEncodingBinary = SchemaSettingsEncoding("BINARY")
)
View Source
const (
	// Default value. This value is unused.
	SchemaTypeTypeUnspecified = SchemaType("TYPE_UNSPECIFIED")
	// A Protocol Buffer schema definition.
	SchemaTypeProtocolBuffer = SchemaType("PROTOCOL_BUFFER")
	// An Avro schema definition.
	SchemaTypeAvro = SchemaType("AVRO")
)

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 principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition *Expr `pulumi:"condition"`
	// Specifies the principals requesting access for a 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 the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role *string `pulumi:"role"`
}

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

type BindingArgs

type BindingArgs struct {
	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition ExprPtrInput `pulumi:"condition"`
	// Specifies the principals requesting access for a 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 the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringPtrInput `pulumi:"role"`
}

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

func (BindingArgs) ElementType

func (BindingArgs) ElementType() reflect.Type

func (BindingArgs) ToBindingOutput

func (i BindingArgs) ToBindingOutput() BindingOutput

func (BindingArgs) ToBindingOutputWithContext

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

type BindingArray

type BindingArray []BindingInput

func (BindingArray) ElementType

func (BindingArray) ElementType() reflect.Type

func (BindingArray) ToBindingArrayOutput

func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput

func (BindingArray) ToBindingArrayOutputWithContext

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

type BindingArrayInput

type BindingArrayInput interface {
	pulumi.Input

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

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

BindingArray{ BindingArgs{...} }

type BindingArrayOutput

type BindingArrayOutput struct{ *pulumi.OutputState }

func (BindingArrayOutput) ElementType

func (BindingArrayOutput) ElementType() reflect.Type

func (BindingArrayOutput) Index

func (BindingArrayOutput) ToBindingArrayOutput

func (o BindingArrayOutput) ToBindingArrayOutput() BindingArrayOutput

func (BindingArrayOutput) ToBindingArrayOutputWithContext

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

type BindingInput

type BindingInput interface {
	pulumi.Input

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

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

BindingArgs{...}

type BindingOutput

type BindingOutput struct{ *pulumi.OutputState }

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

func (BindingOutput) Condition

func (o BindingOutput) Condition() ExprPtrOutput

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

func (BindingOutput) ElementType

func (BindingOutput) ElementType() reflect.Type

func (BindingOutput) Members

Specifies the principals requesting access for a 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 the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (BindingOutput) ToBindingOutput

func (o BindingOutput) ToBindingOutput() BindingOutput

func (BindingOutput) ToBindingOutputWithContext

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

type BindingResponse

type BindingResponse struct {
	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition ExprResponse `pulumi:"condition"`
	// Specifies the principals requesting access for a 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 the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role string `pulumi:"role"`
}

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

type 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 principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition ExprResponseInput `pulumi:"condition"`
	// Specifies the principals 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 the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringInput `pulumi:"role"`
}

Associates `members`, or principals, 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`, or principals, with a `role`.

func (BindingResponseOutput) Condition

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

func (BindingResponseOutput) ElementType

func (BindingResponseOutput) ElementType() reflect.Type

func (BindingResponseOutput) Members

Specifies the principals requesting access for a 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 the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (BindingResponseOutput) ToBindingResponseOutput

func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput

func (BindingResponseOutput) ToBindingResponseOutputWithContext

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

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

type LookupSchemaArgs struct {
	Project  *string `pulumi:"project"`
	SchemaId string  `pulumi:"schemaId"`
	View     *string `pulumi:"view"`
}

type LookupSchemaIamPolicyArgs added in v0.4.0

type LookupSchemaIamPolicyArgs struct {
	OptionsRequestedPolicyVersion *string `pulumi:"optionsRequestedPolicyVersion"`
	Project                       *string `pulumi:"project"`
	SchemaId                      string  `pulumi:"schemaId"`
}

type LookupSchemaIamPolicyOutputArgs added in v0.8.0

type LookupSchemaIamPolicyOutputArgs struct {
	OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"`
	Project                       pulumi.StringPtrInput `pulumi:"project"`
	SchemaId                      pulumi.StringInput    `pulumi:"schemaId"`
}

func (LookupSchemaIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupSchemaIamPolicyResult added in v0.4.0

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

func LookupSchemaIamPolicy added in v0.4.0

func LookupSchemaIamPolicy(ctx *pulumi.Context, args *LookupSchemaIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSchemaIamPolicyResult, error)

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

type LookupSchemaIamPolicyResultOutput added in v0.8.0

type LookupSchemaIamPolicyResultOutput struct{ *pulumi.OutputState }

func LookupSchemaIamPolicyOutput added in v0.8.0

func (LookupSchemaIamPolicyResultOutput) Bindings added in v0.8.0

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

func (LookupSchemaIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupSchemaIamPolicyResultOutput) Etag added in v0.8.0

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

func (LookupSchemaIamPolicyResultOutput) ToLookupSchemaIamPolicyResultOutput added in v0.8.0

func (o LookupSchemaIamPolicyResultOutput) ToLookupSchemaIamPolicyResultOutput() LookupSchemaIamPolicyResultOutput

func (LookupSchemaIamPolicyResultOutput) ToLookupSchemaIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupSchemaIamPolicyResultOutput) ToLookupSchemaIamPolicyResultOutputWithContext(ctx context.Context) LookupSchemaIamPolicyResultOutput

func (LookupSchemaIamPolicyResultOutput) Version added in v0.8.0

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

type LookupSchemaOutputArgs added in v0.8.0

type LookupSchemaOutputArgs struct {
	Project  pulumi.StringPtrInput `pulumi:"project"`
	SchemaId pulumi.StringInput    `pulumi:"schemaId"`
	View     pulumi.StringPtrInput `pulumi:"view"`
}

func (LookupSchemaOutputArgs) ElementType added in v0.8.0

func (LookupSchemaOutputArgs) ElementType() reflect.Type

type LookupSchemaResult added in v0.4.0

type LookupSchemaResult 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 string `pulumi:"definition"`
	// Name of the schema. Format is `projects/{project}/schemas/{schema}`.
	Name string `pulumi:"name"`
	// The type of the schema definition.
	Type string `pulumi:"type"`
}

func LookupSchema added in v0.4.0

func LookupSchema(ctx *pulumi.Context, args *LookupSchemaArgs, opts ...pulumi.InvokeOption) (*LookupSchemaResult, error)

Gets a schema.

type LookupSchemaResultOutput added in v0.8.0

type LookupSchemaResultOutput struct{ *pulumi.OutputState }

func LookupSchemaOutput added in v0.8.0

func LookupSchemaOutput(ctx *pulumi.Context, args LookupSchemaOutputArgs, opts ...pulumi.InvokeOption) LookupSchemaResultOutput

func (LookupSchemaResultOutput) Definition added in v0.8.0

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

func (LookupSchemaResultOutput) ElementType added in v0.8.0

func (LookupSchemaResultOutput) ElementType() reflect.Type

func (LookupSchemaResultOutput) Name added in v0.8.0

Name of the schema. Format is `projects/{project}/schemas/{schema}`.

func (LookupSchemaResultOutput) ToLookupSchemaResultOutput added in v0.8.0

func (o LookupSchemaResultOutput) ToLookupSchemaResultOutput() LookupSchemaResultOutput

func (LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext added in v0.8.0

func (o LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext(ctx context.Context) LookupSchemaResultOutput

func (LookupSchemaResultOutput) Type added in v0.8.0

The type of the schema definition.

type LookupSnapshotArgs added in v0.4.0

type LookupSnapshotArgs struct {
	Project    *string `pulumi:"project"`
	SnapshotId string  `pulumi:"snapshotId"`
}

type LookupSnapshotIamPolicyArgs added in v0.4.0

type LookupSnapshotIamPolicyArgs struct {
	OptionsRequestedPolicyVersion *string `pulumi:"optionsRequestedPolicyVersion"`
	Project                       *string `pulumi:"project"`
	SnapshotId                    string  `pulumi:"snapshotId"`
}

type LookupSnapshotIamPolicyOutputArgs added in v0.8.0

type LookupSnapshotIamPolicyOutputArgs struct {
	OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"`
	Project                       pulumi.StringPtrInput `pulumi:"project"`
	SnapshotId                    pulumi.StringInput    `pulumi:"snapshotId"`
}

func (LookupSnapshotIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupSnapshotIamPolicyResult added in v0.4.0

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

func LookupSnapshotIamPolicy added in v0.4.0

func LookupSnapshotIamPolicy(ctx *pulumi.Context, args *LookupSnapshotIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotIamPolicyResult, error)

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

type LookupSnapshotIamPolicyResultOutput added in v0.8.0

type LookupSnapshotIamPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupSnapshotIamPolicyResultOutput) Bindings added in v0.8.0

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

func (LookupSnapshotIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupSnapshotIamPolicyResultOutput) Etag added in v0.8.0

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

func (LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutput added in v0.8.0

func (o LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutput() LookupSnapshotIamPolicyResultOutput

func (LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutputWithContext(ctx context.Context) LookupSnapshotIamPolicyResultOutput

func (LookupSnapshotIamPolicyResultOutput) Version added in v0.8.0

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

type LookupSnapshotOutputArgs added in v0.8.0

type LookupSnapshotOutputArgs struct {
	Project    pulumi.StringPtrInput `pulumi:"project"`
	SnapshotId pulumi.StringInput    `pulumi:"snapshotId"`
}

func (LookupSnapshotOutputArgs) ElementType added in v0.8.0

func (LookupSnapshotOutputArgs) ElementType() reflect.Type

type LookupSnapshotResult added in v0.4.0

type LookupSnapshotResult 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 string `pulumi:"expireTime"`
	// See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
	Labels map[string]string `pulumi:"labels"`
	// The name of the snapshot.
	Name string `pulumi:"name"`
	// The name of the topic from which this snapshot is retaining messages.
	Topic string `pulumi:"topic"`
}

func LookupSnapshot added in v0.4.0

func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error)

Gets the configuration details of a snapshot. Snapshots are used in Seek 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.

type LookupSnapshotResultOutput added in v0.8.0

type LookupSnapshotResultOutput struct{ *pulumi.OutputState }

func LookupSnapshotOutput added in v0.8.0

func LookupSnapshotOutput(ctx *pulumi.Context, args LookupSnapshotOutputArgs, opts ...pulumi.InvokeOption) LookupSnapshotResultOutput

func (LookupSnapshotResultOutput) ElementType added in v0.8.0

func (LookupSnapshotResultOutput) ElementType() reflect.Type

func (LookupSnapshotResultOutput) ExpireTime added in v0.8.0

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.

func (LookupSnapshotResultOutput) Labels added in v0.8.0

See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).

func (LookupSnapshotResultOutput) Name added in v0.8.0

The name of the snapshot.

func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutput added in v0.8.0

func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput

func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext added in v0.8.0

func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput

func (LookupSnapshotResultOutput) Topic added in v0.8.0

The name of the topic from which this snapshot is retaining messages.

type LookupSubscriptionArgs added in v0.4.0

type LookupSubscriptionArgs struct {
	Project        *string `pulumi:"project"`
	SubscriptionId string  `pulumi:"subscriptionId"`
}

type LookupSubscriptionIamPolicyArgs added in v0.4.0

type LookupSubscriptionIamPolicyArgs struct {
	OptionsRequestedPolicyVersion *string `pulumi:"optionsRequestedPolicyVersion"`
	Project                       *string `pulumi:"project"`
	SubscriptionId                string  `pulumi:"subscriptionId"`
}

type LookupSubscriptionIamPolicyOutputArgs added in v0.8.0

type LookupSubscriptionIamPolicyOutputArgs struct {
	OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"`
	Project                       pulumi.StringPtrInput `pulumi:"project"`
	SubscriptionId                pulumi.StringInput    `pulumi:"subscriptionId"`
}

func (LookupSubscriptionIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupSubscriptionIamPolicyResult added in v0.4.0

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

func LookupSubscriptionIamPolicy added in v0.4.0

func LookupSubscriptionIamPolicy(ctx *pulumi.Context, args *LookupSubscriptionIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionIamPolicyResult, error)

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

type LookupSubscriptionIamPolicyResultOutput added in v0.8.0

type LookupSubscriptionIamPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupSubscriptionIamPolicyResultOutput) Bindings added in v0.8.0

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

func (LookupSubscriptionIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupSubscriptionIamPolicyResultOutput) Etag added in v0.8.0

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

func (LookupSubscriptionIamPolicyResultOutput) ToLookupSubscriptionIamPolicyResultOutput added in v0.8.0

func (o LookupSubscriptionIamPolicyResultOutput) ToLookupSubscriptionIamPolicyResultOutput() LookupSubscriptionIamPolicyResultOutput

func (LookupSubscriptionIamPolicyResultOutput) ToLookupSubscriptionIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupSubscriptionIamPolicyResultOutput) ToLookupSubscriptionIamPolicyResultOutputWithContext(ctx context.Context) LookupSubscriptionIamPolicyResultOutput

func (LookupSubscriptionIamPolicyResultOutput) Version added in v0.8.0

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

type LookupSubscriptionOutputArgs added in v0.8.0

type LookupSubscriptionOutputArgs struct {
	Project        pulumi.StringPtrInput `pulumi:"project"`
	SubscriptionId pulumi.StringInput    `pulumi:"subscriptionId"`
}

func (LookupSubscriptionOutputArgs) ElementType added in v0.8.0

type LookupSubscriptionResult added in v0.4.0

type LookupSubscriptionResult 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 int `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 DeadLetterPolicyResponse `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 bool `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 bool `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. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires.
	ExpirationPolicy ExpirationPolicyResponse `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 string `pulumi:"filter"`
	// See Creating and managing labels.
	Labels map[string]string `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 string `pulumi:"messageRetentionDuration"`
	// 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 string `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 PushConfigResponse `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 bool `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 RetryPolicyResponse `pulumi:"retryPolicy"`
	// 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 string `pulumi:"topic"`
	// Indicates the minimum duration for which a message is retained after it is published to the subscription's topic. If this field is set, messages published to the subscription's topic in the last `topic_message_retention_duration` are always available to subscribers. See the `message_retention_duration` field in `Topic`. This field is set only in responses from the server; it is ignored if it is set in any requests.
	TopicMessageRetentionDuration string `pulumi:"topicMessageRetentionDuration"`
}

func LookupSubscription added in v0.4.0

func LookupSubscription(ctx *pulumi.Context, args *LookupSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionResult, error)

Gets the configuration details of a subscription.

type LookupSubscriptionResultOutput added in v0.8.0

type LookupSubscriptionResultOutput struct{ *pulumi.OutputState }

func LookupSubscriptionOutput added in v0.8.0

func (LookupSubscriptionResultOutput) AckDeadlineSeconds added in v0.8.0

func (o LookupSubscriptionResultOutput) AckDeadlineSeconds() pulumi.IntOutput

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.

func (LookupSubscriptionResultOutput) DeadLetterPolicy added in v0.8.0

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.

func (LookupSubscriptionResultOutput) Detached added in v0.8.0

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.

func (LookupSubscriptionResultOutput) ElementType added in v0.8.0

func (LookupSubscriptionResultOutput) EnableMessageOrdering added in v0.8.0

func (o LookupSubscriptionResultOutput) EnableMessageOrdering() pulumi.BoolOutput

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.

func (LookupSubscriptionResultOutput) ExpirationPolicy added in v0.8.0

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. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires.

func (LookupSubscriptionResultOutput) Filter added in v0.8.0

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.

func (LookupSubscriptionResultOutput) Labels added in v0.8.0

See Creating and managing labels.

func (LookupSubscriptionResultOutput) MessageRetentionDuration added in v0.8.0

func (o LookupSubscriptionResultOutput) MessageRetentionDuration() pulumi.StringOutput

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.

func (LookupSubscriptionResultOutput) Name added in v0.8.0

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"`.

func (LookupSubscriptionResultOutput) PushConfig added in v0.8.0

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.

func (LookupSubscriptionResultOutput) RetainAckedMessages added in v0.8.0

func (o LookupSubscriptionResultOutput) RetainAckedMessages() pulumi.BoolOutput

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.

func (LookupSubscriptionResultOutput) RetryPolicy added in v0.8.0

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.

func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput added in v0.8.0

func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput

func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext added in v0.8.0

func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput

func (LookupSubscriptionResultOutput) Topic added in v0.8.0

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.

func (LookupSubscriptionResultOutput) TopicMessageRetentionDuration added in v0.8.0

func (o LookupSubscriptionResultOutput) TopicMessageRetentionDuration() pulumi.StringOutput

Indicates the minimum duration for which a message is retained after it is published to the subscription's topic. If this field is set, messages published to the subscription's topic in the last `topic_message_retention_duration` are always available to subscribers. See the `message_retention_duration` field in `Topic`. This field is set only in responses from the server; it is ignored if it is set in any requests.

type LookupTopicArgs added in v0.4.0

type LookupTopicArgs struct {
	Project *string `pulumi:"project"`
	TopicId string  `pulumi:"topicId"`
}

type LookupTopicIamPolicyArgs added in v0.4.0

type LookupTopicIamPolicyArgs struct {
	OptionsRequestedPolicyVersion *string `pulumi:"optionsRequestedPolicyVersion"`
	Project                       *string `pulumi:"project"`
	TopicId                       string  `pulumi:"topicId"`
}

type LookupTopicIamPolicyOutputArgs added in v0.8.0

type LookupTopicIamPolicyOutputArgs struct {
	OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"`
	Project                       pulumi.StringPtrInput `pulumi:"project"`
	TopicId                       pulumi.StringInput    `pulumi:"topicId"`
}

func (LookupTopicIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupTopicIamPolicyResult added in v0.4.0

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

func LookupTopicIamPolicy added in v0.4.0

func LookupTopicIamPolicy(ctx *pulumi.Context, args *LookupTopicIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupTopicIamPolicyResult, error)

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

type LookupTopicIamPolicyResultOutput added in v0.8.0

type LookupTopicIamPolicyResultOutput struct{ *pulumi.OutputState }

func LookupTopicIamPolicyOutput added in v0.8.0

func (LookupTopicIamPolicyResultOutput) Bindings added in v0.8.0

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

func (LookupTopicIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupTopicIamPolicyResultOutput) Etag added in v0.8.0

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

func (LookupTopicIamPolicyResultOutput) ToLookupTopicIamPolicyResultOutput added in v0.8.0

func (o LookupTopicIamPolicyResultOutput) ToLookupTopicIamPolicyResultOutput() LookupTopicIamPolicyResultOutput

func (LookupTopicIamPolicyResultOutput) ToLookupTopicIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupTopicIamPolicyResultOutput) ToLookupTopicIamPolicyResultOutputWithContext(ctx context.Context) LookupTopicIamPolicyResultOutput

func (LookupTopicIamPolicyResultOutput) Version added in v0.8.0

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

type LookupTopicOutputArgs added in v0.8.0

type LookupTopicOutputArgs struct {
	Project pulumi.StringPtrInput `pulumi:"project"`
	TopicId pulumi.StringInput    `pulumi:"topicId"`
}

func (LookupTopicOutputArgs) ElementType added in v0.8.0

func (LookupTopicOutputArgs) ElementType() reflect.Type

type LookupTopicResult added in v0.4.0

type LookupTopicResult 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 string `pulumi:"kmsKeyName"`
	// See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
	Labels map[string]string `pulumi:"labels"`
	// Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 7 days or less than 10 minutes.
	MessageRetentionDuration string `pulumi:"messageRetentionDuration"`
	// 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 MessageStoragePolicyResponse `pulumi:"messageStoragePolicy"`
	// 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 string `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 bool `pulumi:"satisfiesPzs"`
	// Settings for validating messages published against a schema.
	SchemaSettings SchemaSettingsResponse `pulumi:"schemaSettings"`
}

func LookupTopic added in v0.4.0

func LookupTopic(ctx *pulumi.Context, args *LookupTopicArgs, opts ...pulumi.InvokeOption) (*LookupTopicResult, error)

Gets the configuration of a topic.

type LookupTopicResultOutput added in v0.8.0

type LookupTopicResultOutput struct{ *pulumi.OutputState }

func LookupTopicOutput added in v0.8.0

func LookupTopicOutput(ctx *pulumi.Context, args LookupTopicOutputArgs, opts ...pulumi.InvokeOption) LookupTopicResultOutput

func (LookupTopicResultOutput) ElementType added in v0.8.0

func (LookupTopicResultOutput) ElementType() reflect.Type

func (LookupTopicResultOutput) KmsKeyName added in v0.8.0

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/*`.

func (LookupTopicResultOutput) Labels added in v0.8.0

See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).

func (LookupTopicResultOutput) MessageRetentionDuration added in v0.8.0

func (o LookupTopicResultOutput) MessageRetentionDuration() pulumi.StringOutput

Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 7 days or less than 10 minutes.

func (LookupTopicResultOutput) MessageStoragePolicy added in v0.8.0

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.

func (LookupTopicResultOutput) Name added in v0.8.0

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"`.

func (LookupTopicResultOutput) SatisfiesPzs added in v0.8.0

func (o LookupTopicResultOutput) SatisfiesPzs() pulumi.BoolOutput

Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.

func (LookupTopicResultOutput) SchemaSettings added in v0.8.0

Settings for validating messages published against a schema.

func (LookupTopicResultOutput) ToLookupTopicResultOutput added in v0.8.0

func (o LookupTopicResultOutput) ToLookupTopicResultOutput() LookupTopicResultOutput

func (LookupTopicResultOutput) ToLookupTopicResultOutputWithContext added in v0.8.0

func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx context.Context) LookupTopicResultOutput

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"`
	// 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
	// Name of the schema. Format is `projects/{project}/schemas/{schema}`.
	Name     pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	SchemaId pulumi.StringPtrInput
	// The type of the schema definition.
	Type SchemaTypePtrInput
}

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

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func 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`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingArrayInput
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag     pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	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 {
}

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 *SchemaSettingsEncoding `pulumi:"encoding"`
	// 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 SchemaSettingsEncodingPtrInput `pulumi:"encoding"`
	// 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 (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 SchemaSettingsEncoding added in v0.4.0

type SchemaSettingsEncoding string

The encoding of messages validated against `schema`.

func (SchemaSettingsEncoding) ElementType added in v0.4.0

func (SchemaSettingsEncoding) ElementType() reflect.Type

func (SchemaSettingsEncoding) ToSchemaSettingsEncodingOutput added in v0.6.0

func (e SchemaSettingsEncoding) ToSchemaSettingsEncodingOutput() SchemaSettingsEncodingOutput

func (SchemaSettingsEncoding) ToSchemaSettingsEncodingOutputWithContext added in v0.6.0

func (e SchemaSettingsEncoding) ToSchemaSettingsEncodingOutputWithContext(ctx context.Context) SchemaSettingsEncodingOutput

func (SchemaSettingsEncoding) ToSchemaSettingsEncodingPtrOutput added in v0.6.0

func (e SchemaSettingsEncoding) ToSchemaSettingsEncodingPtrOutput() SchemaSettingsEncodingPtrOutput

func (SchemaSettingsEncoding) ToSchemaSettingsEncodingPtrOutputWithContext added in v0.6.0

func (e SchemaSettingsEncoding) ToSchemaSettingsEncodingPtrOutputWithContext(ctx context.Context) SchemaSettingsEncodingPtrOutput

func (SchemaSettingsEncoding) ToStringOutput added in v0.4.0

func (e SchemaSettingsEncoding) ToStringOutput() pulumi.StringOutput

func (SchemaSettingsEncoding) ToStringOutputWithContext added in v0.4.0

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

func (SchemaSettingsEncoding) ToStringPtrOutput added in v0.4.0

func (e SchemaSettingsEncoding) ToStringPtrOutput() pulumi.StringPtrOutput

func (SchemaSettingsEncoding) ToStringPtrOutputWithContext added in v0.4.0

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

type SchemaSettingsEncodingInput added in v0.6.0

type SchemaSettingsEncodingInput interface {
	pulumi.Input

	ToSchemaSettingsEncodingOutput() SchemaSettingsEncodingOutput
	ToSchemaSettingsEncodingOutputWithContext(context.Context) SchemaSettingsEncodingOutput
}

SchemaSettingsEncodingInput is an input type that accepts SchemaSettingsEncodingArgs and SchemaSettingsEncodingOutput values. You can construct a concrete instance of `SchemaSettingsEncodingInput` via:

SchemaSettingsEncodingArgs{...}

type SchemaSettingsEncodingOutput added in v0.6.0

type SchemaSettingsEncodingOutput struct{ *pulumi.OutputState }

func (SchemaSettingsEncodingOutput) ElementType added in v0.6.0

func (SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingOutput added in v0.6.0

func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingOutput() SchemaSettingsEncodingOutput

func (SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingOutputWithContext added in v0.6.0

func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingOutputWithContext(ctx context.Context) SchemaSettingsEncodingOutput

func (SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingPtrOutput added in v0.6.0

func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingPtrOutput() SchemaSettingsEncodingPtrOutput

func (SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingPtrOutputWithContext added in v0.6.0

func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingPtrOutputWithContext(ctx context.Context) SchemaSettingsEncodingPtrOutput

func (SchemaSettingsEncodingOutput) ToStringOutput added in v0.6.0

func (SchemaSettingsEncodingOutput) ToStringOutputWithContext added in v0.6.0

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

func (SchemaSettingsEncodingOutput) ToStringPtrOutput added in v0.6.0

func (o SchemaSettingsEncodingOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SchemaSettingsEncodingOutput) ToStringPtrOutputWithContext added in v0.6.0

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

type SchemaSettingsEncodingPtrInput added in v0.6.0

type SchemaSettingsEncodingPtrInput interface {
	pulumi.Input

	ToSchemaSettingsEncodingPtrOutput() SchemaSettingsEncodingPtrOutput
	ToSchemaSettingsEncodingPtrOutputWithContext(context.Context) SchemaSettingsEncodingPtrOutput
}

func SchemaSettingsEncodingPtr added in v0.6.0

func SchemaSettingsEncodingPtr(v string) SchemaSettingsEncodingPtrInput

type SchemaSettingsEncodingPtrOutput added in v0.6.0

type SchemaSettingsEncodingPtrOutput struct{ *pulumi.OutputState }

func (SchemaSettingsEncodingPtrOutput) Elem added in v0.6.0

func (SchemaSettingsEncodingPtrOutput) ElementType added in v0.6.0

func (SchemaSettingsEncodingPtrOutput) ToSchemaSettingsEncodingPtrOutput added in v0.6.0

func (o SchemaSettingsEncodingPtrOutput) ToSchemaSettingsEncodingPtrOutput() SchemaSettingsEncodingPtrOutput

func (SchemaSettingsEncodingPtrOutput) ToSchemaSettingsEncodingPtrOutputWithContext added in v0.6.0

func (o SchemaSettingsEncodingPtrOutput) ToSchemaSettingsEncodingPtrOutputWithContext(ctx context.Context) SchemaSettingsEncodingPtrOutput

func (SchemaSettingsEncodingPtrOutput) ToStringPtrOutput added in v0.6.0

func (SchemaSettingsEncodingPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

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

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

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

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"`
	// 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"`
	// 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

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

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 {
}

func (SchemaState) ElementType

func (SchemaState) ElementType() reflect.Type

type SchemaType added in v0.4.0

type SchemaType string

The type of the schema definition.

func (SchemaType) ElementType added in v0.4.0

func (SchemaType) ElementType() reflect.Type

func (SchemaType) ToSchemaTypeOutput added in v0.6.0

func (e SchemaType) ToSchemaTypeOutput() SchemaTypeOutput

func (SchemaType) ToSchemaTypeOutputWithContext added in v0.6.0

func (e SchemaType) ToSchemaTypeOutputWithContext(ctx context.Context) SchemaTypeOutput

func (SchemaType) ToSchemaTypePtrOutput added in v0.6.0

func (e SchemaType) ToSchemaTypePtrOutput() SchemaTypePtrOutput

func (SchemaType) ToSchemaTypePtrOutputWithContext added in v0.6.0

func (e SchemaType) ToSchemaTypePtrOutputWithContext(ctx context.Context) SchemaTypePtrOutput

func (SchemaType) ToStringOutput added in v0.4.0

func (e SchemaType) ToStringOutput() pulumi.StringOutput

func (SchemaType) ToStringOutputWithContext added in v0.4.0

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

func (SchemaType) ToStringPtrOutput added in v0.4.0

func (e SchemaType) ToStringPtrOutput() pulumi.StringPtrOutput

func (SchemaType) ToStringPtrOutputWithContext added in v0.4.0

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

type SchemaTypeInput added in v0.6.0

type SchemaTypeInput interface {
	pulumi.Input

	ToSchemaTypeOutput() SchemaTypeOutput
	ToSchemaTypeOutputWithContext(context.Context) SchemaTypeOutput
}

SchemaTypeInput is an input type that accepts SchemaTypeArgs and SchemaTypeOutput values. You can construct a concrete instance of `SchemaTypeInput` via:

SchemaTypeArgs{...}

type SchemaTypeOutput added in v0.6.0

type SchemaTypeOutput struct{ *pulumi.OutputState }

func (SchemaTypeOutput) ElementType added in v0.6.0

func (SchemaTypeOutput) ElementType() reflect.Type

func (SchemaTypeOutput) ToSchemaTypeOutput added in v0.6.0

func (o SchemaTypeOutput) ToSchemaTypeOutput() SchemaTypeOutput

func (SchemaTypeOutput) ToSchemaTypeOutputWithContext added in v0.6.0

func (o SchemaTypeOutput) ToSchemaTypeOutputWithContext(ctx context.Context) SchemaTypeOutput

func (SchemaTypeOutput) ToSchemaTypePtrOutput added in v0.6.0

func (o SchemaTypeOutput) ToSchemaTypePtrOutput() SchemaTypePtrOutput

func (SchemaTypeOutput) ToSchemaTypePtrOutputWithContext added in v0.6.0

func (o SchemaTypeOutput) ToSchemaTypePtrOutputWithContext(ctx context.Context) SchemaTypePtrOutput

func (SchemaTypeOutput) ToStringOutput added in v0.6.0

func (o SchemaTypeOutput) ToStringOutput() pulumi.StringOutput

func (SchemaTypeOutput) ToStringOutputWithContext added in v0.6.0

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

func (SchemaTypeOutput) ToStringPtrOutput added in v0.6.0

func (o SchemaTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SchemaTypeOutput) ToStringPtrOutputWithContext added in v0.6.0

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

type SchemaTypePtrInput added in v0.6.0

type SchemaTypePtrInput interface {
	pulumi.Input

	ToSchemaTypePtrOutput() SchemaTypePtrOutput
	ToSchemaTypePtrOutputWithContext(context.Context) SchemaTypePtrOutput
}

func SchemaTypePtr added in v0.6.0

func SchemaTypePtr(v string) SchemaTypePtrInput

type SchemaTypePtrOutput added in v0.6.0

type SchemaTypePtrOutput struct{ *pulumi.OutputState }

func (SchemaTypePtrOutput) Elem added in v0.6.0

func (SchemaTypePtrOutput) ElementType added in v0.6.0

func (SchemaTypePtrOutput) ElementType() reflect.Type

func (SchemaTypePtrOutput) ToSchemaTypePtrOutput added in v0.6.0

func (o SchemaTypePtrOutput) ToSchemaTypePtrOutput() SchemaTypePtrOutput

func (SchemaTypePtrOutput) ToSchemaTypePtrOutputWithContext added in v0.6.0

func (o SchemaTypePtrOutput) ToSchemaTypePtrOutputWithContext(ctx context.Context) SchemaTypePtrOutput

func (SchemaTypePtrOutput) ToStringPtrOutput added in v0.6.0

func (o SchemaTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SchemaTypePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

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

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. Auto-naming is currently not supported for this resource.

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.StringPtrInput
	SnapshotId pulumi.StringInput
	// 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.StringInput
}

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

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func 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`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingArrayInput
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag       pulumi.StringPtrInput
	Project    pulumi.StringPtrInput
	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 {
}

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 {
}

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. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires.
	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"`
	// 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"`
	// 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"`
	// Indicates the minimum duration for which a message is retained after it is published to the subscription's topic. If this field is set, messages published to the subscription's topic in the last `topic_message_retention_duration` are always available to subscribers. See the `message_retention_duration` field in `Topic`. This field is set only in responses from the server; it is ignored if it is set in any requests.
	TopicMessageRetentionDuration pulumi.StringOutput `pulumi:"topicMessageRetentionDuration"`
}

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. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires.
	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
	// 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.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 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
	// 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.StringInput
}

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

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func 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`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingArrayInput
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag           pulumi.StringPtrInput
	Project        pulumi.StringPtrInput
	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 {
}

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 {
}

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"`
	// Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 7 days or less than 10 minutes.
	MessageRetentionDuration pulumi.StringOutput `pulumi:"messageRetentionDuration"`
	// 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"`
	// 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
	// Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 7 days or less than 10 minutes.
	MessageRetentionDuration pulumi.StringPtrInput
	// 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
	// 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.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 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`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingResponseArrayOutput `pulumi:"bindings"`
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version pulumi.IntOutput `pulumi:"version"`
}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func 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`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingArrayInput
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	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 {
}

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 {
}

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