Documentation
¶
Index ¶
- Constants
- type Binding
- type BindingArgs
- type BindingArray
- type BindingArrayInput
- type BindingArrayOutput
- type BindingInput
- type BindingOutput
- func (o BindingOutput) Condition() ExprPtrOutput
- func (BindingOutput) ElementType() reflect.Type
- func (o BindingOutput) Members() pulumi.StringArrayOutput
- func (o BindingOutput) Role() pulumi.StringPtrOutput
- func (o BindingOutput) ToBindingOutput() BindingOutput
- func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
- type BindingResponse
- type BindingResponseArgs
- type BindingResponseArray
- type BindingResponseArrayInput
- type BindingResponseArrayOutput
- func (BindingResponseArrayOutput) ElementType() reflect.Type
- func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
- type BindingResponseInput
- type BindingResponseOutput
- func (o BindingResponseOutput) Condition() ExprResponseOutput
- func (BindingResponseOutput) ElementType() reflect.Type
- func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
- func (o BindingResponseOutput) Role() pulumi.StringOutput
- func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
- func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
- type DeadLetterPolicy
- type DeadLetterPolicyArgs
- func (DeadLetterPolicyArgs) ElementType() reflect.Type
- func (i DeadLetterPolicyArgs) ToDeadLetterPolicyOutput() DeadLetterPolicyOutput
- func (i DeadLetterPolicyArgs) ToDeadLetterPolicyOutputWithContext(ctx context.Context) DeadLetterPolicyOutput
- func (i DeadLetterPolicyArgs) ToDeadLetterPolicyPtrOutput() DeadLetterPolicyPtrOutput
- func (i DeadLetterPolicyArgs) ToDeadLetterPolicyPtrOutputWithContext(ctx context.Context) DeadLetterPolicyPtrOutput
- type DeadLetterPolicyInput
- type DeadLetterPolicyOutput
- func (o DeadLetterPolicyOutput) DeadLetterTopic() pulumi.StringPtrOutput
- func (DeadLetterPolicyOutput) ElementType() reflect.Type
- func (o DeadLetterPolicyOutput) MaxDeliveryAttempts() pulumi.IntPtrOutput
- func (o DeadLetterPolicyOutput) ToDeadLetterPolicyOutput() DeadLetterPolicyOutput
- func (o DeadLetterPolicyOutput) ToDeadLetterPolicyOutputWithContext(ctx context.Context) DeadLetterPolicyOutput
- func (o DeadLetterPolicyOutput) ToDeadLetterPolicyPtrOutput() DeadLetterPolicyPtrOutput
- func (o DeadLetterPolicyOutput) ToDeadLetterPolicyPtrOutputWithContext(ctx context.Context) DeadLetterPolicyPtrOutput
- type DeadLetterPolicyPtrInput
- type DeadLetterPolicyPtrOutput
- func (o DeadLetterPolicyPtrOutput) DeadLetterTopic() pulumi.StringPtrOutput
- func (o DeadLetterPolicyPtrOutput) Elem() DeadLetterPolicyOutput
- func (DeadLetterPolicyPtrOutput) ElementType() reflect.Type
- func (o DeadLetterPolicyPtrOutput) MaxDeliveryAttempts() pulumi.IntPtrOutput
- func (o DeadLetterPolicyPtrOutput) ToDeadLetterPolicyPtrOutput() DeadLetterPolicyPtrOutput
- func (o DeadLetterPolicyPtrOutput) ToDeadLetterPolicyPtrOutputWithContext(ctx context.Context) DeadLetterPolicyPtrOutput
- type DeadLetterPolicyResponse
- type DeadLetterPolicyResponseArgs
- func (DeadLetterPolicyResponseArgs) ElementType() reflect.Type
- func (i DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponseOutput() DeadLetterPolicyResponseOutput
- func (i DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponseOutputWithContext(ctx context.Context) DeadLetterPolicyResponseOutput
- func (i DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponsePtrOutput() DeadLetterPolicyResponsePtrOutput
- func (i DeadLetterPolicyResponseArgs) ToDeadLetterPolicyResponsePtrOutputWithContext(ctx context.Context) DeadLetterPolicyResponsePtrOutput
- type DeadLetterPolicyResponseInput
- type DeadLetterPolicyResponseOutput
- func (o DeadLetterPolicyResponseOutput) DeadLetterTopic() pulumi.StringOutput
- func (DeadLetterPolicyResponseOutput) ElementType() reflect.Type
- func (o DeadLetterPolicyResponseOutput) MaxDeliveryAttempts() pulumi.IntOutput
- func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponseOutput() DeadLetterPolicyResponseOutput
- func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponseOutputWithContext(ctx context.Context) DeadLetterPolicyResponseOutput
- func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponsePtrOutput() DeadLetterPolicyResponsePtrOutput
- func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponsePtrOutputWithContext(ctx context.Context) DeadLetterPolicyResponsePtrOutput
- type DeadLetterPolicyResponsePtrInput
- type DeadLetterPolicyResponsePtrOutput
- func (o DeadLetterPolicyResponsePtrOutput) DeadLetterTopic() pulumi.StringPtrOutput
- func (o DeadLetterPolicyResponsePtrOutput) Elem() DeadLetterPolicyResponseOutput
- func (DeadLetterPolicyResponsePtrOutput) ElementType() reflect.Type
- func (o DeadLetterPolicyResponsePtrOutput) MaxDeliveryAttempts() pulumi.IntPtrOutput
- func (o DeadLetterPolicyResponsePtrOutput) ToDeadLetterPolicyResponsePtrOutput() DeadLetterPolicyResponsePtrOutput
- func (o DeadLetterPolicyResponsePtrOutput) ToDeadLetterPolicyResponsePtrOutputWithContext(ctx context.Context) DeadLetterPolicyResponsePtrOutput
- type ExpirationPolicy
- type ExpirationPolicyArgs
- func (ExpirationPolicyArgs) ElementType() reflect.Type
- func (i ExpirationPolicyArgs) ToExpirationPolicyOutput() ExpirationPolicyOutput
- func (i ExpirationPolicyArgs) ToExpirationPolicyOutputWithContext(ctx context.Context) ExpirationPolicyOutput
- func (i ExpirationPolicyArgs) ToExpirationPolicyPtrOutput() ExpirationPolicyPtrOutput
- func (i ExpirationPolicyArgs) ToExpirationPolicyPtrOutputWithContext(ctx context.Context) ExpirationPolicyPtrOutput
- type ExpirationPolicyInput
- type ExpirationPolicyOutput
- func (ExpirationPolicyOutput) ElementType() reflect.Type
- func (o ExpirationPolicyOutput) ToExpirationPolicyOutput() ExpirationPolicyOutput
- func (o ExpirationPolicyOutput) ToExpirationPolicyOutputWithContext(ctx context.Context) ExpirationPolicyOutput
- func (o ExpirationPolicyOutput) ToExpirationPolicyPtrOutput() ExpirationPolicyPtrOutput
- func (o ExpirationPolicyOutput) ToExpirationPolicyPtrOutputWithContext(ctx context.Context) ExpirationPolicyPtrOutput
- func (o ExpirationPolicyOutput) Ttl() pulumi.StringPtrOutput
- type ExpirationPolicyPtrInput
- type ExpirationPolicyPtrOutput
- func (o ExpirationPolicyPtrOutput) Elem() ExpirationPolicyOutput
- func (ExpirationPolicyPtrOutput) ElementType() reflect.Type
- func (o ExpirationPolicyPtrOutput) ToExpirationPolicyPtrOutput() ExpirationPolicyPtrOutput
- func (o ExpirationPolicyPtrOutput) ToExpirationPolicyPtrOutputWithContext(ctx context.Context) ExpirationPolicyPtrOutput
- func (o ExpirationPolicyPtrOutput) Ttl() pulumi.StringPtrOutput
- type ExpirationPolicyResponse
- type ExpirationPolicyResponseArgs
- func (ExpirationPolicyResponseArgs) ElementType() reflect.Type
- func (i ExpirationPolicyResponseArgs) ToExpirationPolicyResponseOutput() ExpirationPolicyResponseOutput
- func (i ExpirationPolicyResponseArgs) ToExpirationPolicyResponseOutputWithContext(ctx context.Context) ExpirationPolicyResponseOutput
- func (i ExpirationPolicyResponseArgs) ToExpirationPolicyResponsePtrOutput() ExpirationPolicyResponsePtrOutput
- func (i ExpirationPolicyResponseArgs) ToExpirationPolicyResponsePtrOutputWithContext(ctx context.Context) ExpirationPolicyResponsePtrOutput
- type ExpirationPolicyResponseInput
- type ExpirationPolicyResponseOutput
- func (ExpirationPolicyResponseOutput) ElementType() reflect.Type
- func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponseOutput() ExpirationPolicyResponseOutput
- func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponseOutputWithContext(ctx context.Context) ExpirationPolicyResponseOutput
- func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponsePtrOutput() ExpirationPolicyResponsePtrOutput
- func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponsePtrOutputWithContext(ctx context.Context) ExpirationPolicyResponsePtrOutput
- func (o ExpirationPolicyResponseOutput) Ttl() pulumi.StringOutput
- type ExpirationPolicyResponsePtrInput
- type ExpirationPolicyResponsePtrOutput
- func (o ExpirationPolicyResponsePtrOutput) Elem() ExpirationPolicyResponseOutput
- func (ExpirationPolicyResponsePtrOutput) ElementType() reflect.Type
- func (o ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutput() ExpirationPolicyResponsePtrOutput
- func (o ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutputWithContext(ctx context.Context) ExpirationPolicyResponsePtrOutput
- func (o ExpirationPolicyResponsePtrOutput) Ttl() pulumi.StringPtrOutput
- type Expr
- type ExprArgs
- type ExprInput
- type ExprOutput
- func (o ExprOutput) Description() pulumi.StringPtrOutput
- func (ExprOutput) ElementType() reflect.Type
- func (o ExprOutput) Expression() pulumi.StringPtrOutput
- func (o ExprOutput) Location() pulumi.StringPtrOutput
- func (o ExprOutput) Title() pulumi.StringPtrOutput
- func (o ExprOutput) ToExprOutput() ExprOutput
- func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput
- func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprPtrInput
- type ExprPtrOutput
- func (o ExprPtrOutput) Description() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Elem() ExprOutput
- func (ExprPtrOutput) ElementType() reflect.Type
- func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Location() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Title() pulumi.StringPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprResponse
- type ExprResponseArgs
- type ExprResponseInput
- type ExprResponseOutput
- func (o ExprResponseOutput) Description() pulumi.StringOutput
- func (ExprResponseOutput) ElementType() reflect.Type
- func (o ExprResponseOutput) Expression() pulumi.StringOutput
- func (o ExprResponseOutput) Location() pulumi.StringOutput
- func (o ExprResponseOutput) Title() pulumi.StringOutput
- func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
- func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
- type LookupSchemaArgs
- type LookupSchemaIamPolicyArgs
- type LookupSchemaIamPolicyOutputArgs
- type LookupSchemaIamPolicyResult
- type LookupSchemaIamPolicyResultOutput
- func (o LookupSchemaIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupSchemaIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSchemaIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupSchemaIamPolicyResultOutput) ToLookupSchemaIamPolicyResultOutput() LookupSchemaIamPolicyResultOutput
- func (o LookupSchemaIamPolicyResultOutput) ToLookupSchemaIamPolicyResultOutputWithContext(ctx context.Context) LookupSchemaIamPolicyResultOutput
- func (o LookupSchemaIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupSchemaOutputArgs
- type LookupSchemaResult
- type LookupSchemaResultOutput
- func (o LookupSchemaResultOutput) Definition() pulumi.StringOutput
- func (LookupSchemaResultOutput) ElementType() reflect.Type
- func (o LookupSchemaResultOutput) Name() pulumi.StringOutput
- func (o LookupSchemaResultOutput) ToLookupSchemaResultOutput() LookupSchemaResultOutput
- func (o LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext(ctx context.Context) LookupSchemaResultOutput
- func (o LookupSchemaResultOutput) Type() pulumi.StringOutput
- type LookupSnapshotArgs
- type LookupSnapshotIamPolicyArgs
- type LookupSnapshotIamPolicyOutputArgs
- type LookupSnapshotIamPolicyResult
- type LookupSnapshotIamPolicyResultOutput
- func (o LookupSnapshotIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupSnapshotIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSnapshotIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutput() LookupSnapshotIamPolicyResultOutput
- func (o LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutputWithContext(ctx context.Context) LookupSnapshotIamPolicyResultOutput
- func (o LookupSnapshotIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupSnapshotOutputArgs
- type LookupSnapshotResult
- type LookupSnapshotResultOutput
- func (LookupSnapshotResultOutput) ElementType() reflect.Type
- func (o LookupSnapshotResultOutput) ExpireTime() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupSnapshotResultOutput) Name() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) Topic() pulumi.StringOutput
- type LookupSubscriptionArgs
- type LookupSubscriptionIamPolicyArgs
- type LookupSubscriptionIamPolicyOutputArgs
- type LookupSubscriptionIamPolicyResult
- type LookupSubscriptionIamPolicyResultOutput
- func (o LookupSubscriptionIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupSubscriptionIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSubscriptionIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupSubscriptionIamPolicyResultOutput) ToLookupSubscriptionIamPolicyResultOutput() LookupSubscriptionIamPolicyResultOutput
- func (o LookupSubscriptionIamPolicyResultOutput) ToLookupSubscriptionIamPolicyResultOutputWithContext(ctx context.Context) LookupSubscriptionIamPolicyResultOutput
- func (o LookupSubscriptionIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupSubscriptionOutputArgs
- type LookupSubscriptionResult
- type LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) AckDeadlineSeconds() pulumi.IntOutput
- func (o LookupSubscriptionResultOutput) DeadLetterPolicy() DeadLetterPolicyResponseOutput
- func (o LookupSubscriptionResultOutput) Detached() pulumi.BoolOutput
- func (LookupSubscriptionResultOutput) ElementType() reflect.Type
- func (o LookupSubscriptionResultOutput) EnableMessageOrdering() pulumi.BoolOutput
- func (o LookupSubscriptionResultOutput) ExpirationPolicy() ExpirationPolicyResponseOutput
- func (o LookupSubscriptionResultOutput) Filter() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupSubscriptionResultOutput) MessageRetentionDuration() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) Name() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) PushConfig() PushConfigResponseOutput
- func (o LookupSubscriptionResultOutput) RetainAckedMessages() pulumi.BoolOutput
- func (o LookupSubscriptionResultOutput) RetryPolicy() RetryPolicyResponseOutput
- func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) Topic() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) TopicMessageRetentionDuration() pulumi.StringOutput
- type LookupTopicArgs
- type LookupTopicIamPolicyArgs
- type LookupTopicIamPolicyOutputArgs
- type LookupTopicIamPolicyResult
- type LookupTopicIamPolicyResultOutput
- func (o LookupTopicIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupTopicIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupTopicIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupTopicIamPolicyResultOutput) ToLookupTopicIamPolicyResultOutput() LookupTopicIamPolicyResultOutput
- func (o LookupTopicIamPolicyResultOutput) ToLookupTopicIamPolicyResultOutputWithContext(ctx context.Context) LookupTopicIamPolicyResultOutput
- func (o LookupTopicIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupTopicOutputArgs
- type LookupTopicResult
- type LookupTopicResultOutput
- func (LookupTopicResultOutput) ElementType() reflect.Type
- func (o LookupTopicResultOutput) KmsKeyName() pulumi.StringOutput
- func (o LookupTopicResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupTopicResultOutput) MessageRetentionDuration() pulumi.StringOutput
- func (o LookupTopicResultOutput) MessageStoragePolicy() MessageStoragePolicyResponseOutput
- func (o LookupTopicResultOutput) Name() pulumi.StringOutput
- func (o LookupTopicResultOutput) SatisfiesPzs() pulumi.BoolOutput
- func (o LookupTopicResultOutput) SchemaSettings() SchemaSettingsResponseOutput
- func (o LookupTopicResultOutput) ToLookupTopicResultOutput() LookupTopicResultOutput
- func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx context.Context) LookupTopicResultOutput
- type MessageStoragePolicy
- type MessageStoragePolicyArgs
- func (MessageStoragePolicyArgs) ElementType() reflect.Type
- func (i MessageStoragePolicyArgs) ToMessageStoragePolicyOutput() MessageStoragePolicyOutput
- func (i MessageStoragePolicyArgs) ToMessageStoragePolicyOutputWithContext(ctx context.Context) MessageStoragePolicyOutput
- func (i MessageStoragePolicyArgs) ToMessageStoragePolicyPtrOutput() MessageStoragePolicyPtrOutput
- func (i MessageStoragePolicyArgs) ToMessageStoragePolicyPtrOutputWithContext(ctx context.Context) MessageStoragePolicyPtrOutput
- type MessageStoragePolicyInput
- type MessageStoragePolicyOutput
- func (o MessageStoragePolicyOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput
- func (MessageStoragePolicyOutput) ElementType() reflect.Type
- func (o MessageStoragePolicyOutput) ToMessageStoragePolicyOutput() MessageStoragePolicyOutput
- func (o MessageStoragePolicyOutput) ToMessageStoragePolicyOutputWithContext(ctx context.Context) MessageStoragePolicyOutput
- func (o MessageStoragePolicyOutput) ToMessageStoragePolicyPtrOutput() MessageStoragePolicyPtrOutput
- func (o MessageStoragePolicyOutput) ToMessageStoragePolicyPtrOutputWithContext(ctx context.Context) MessageStoragePolicyPtrOutput
- type MessageStoragePolicyPtrInput
- type MessageStoragePolicyPtrOutput
- func (o MessageStoragePolicyPtrOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput
- func (o MessageStoragePolicyPtrOutput) Elem() MessageStoragePolicyOutput
- func (MessageStoragePolicyPtrOutput) ElementType() reflect.Type
- func (o MessageStoragePolicyPtrOutput) ToMessageStoragePolicyPtrOutput() MessageStoragePolicyPtrOutput
- func (o MessageStoragePolicyPtrOutput) ToMessageStoragePolicyPtrOutputWithContext(ctx context.Context) MessageStoragePolicyPtrOutput
- type MessageStoragePolicyResponse
- type MessageStoragePolicyResponseArgs
- func (MessageStoragePolicyResponseArgs) ElementType() reflect.Type
- func (i MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponseOutput() MessageStoragePolicyResponseOutput
- func (i MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponseOutputWithContext(ctx context.Context) MessageStoragePolicyResponseOutput
- func (i MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponsePtrOutput() MessageStoragePolicyResponsePtrOutput
- func (i MessageStoragePolicyResponseArgs) ToMessageStoragePolicyResponsePtrOutputWithContext(ctx context.Context) MessageStoragePolicyResponsePtrOutput
- type MessageStoragePolicyResponseInput
- type MessageStoragePolicyResponseOutput
- func (o MessageStoragePolicyResponseOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput
- func (MessageStoragePolicyResponseOutput) ElementType() reflect.Type
- func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponseOutput() MessageStoragePolicyResponseOutput
- func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponseOutputWithContext(ctx context.Context) MessageStoragePolicyResponseOutput
- func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponsePtrOutput() MessageStoragePolicyResponsePtrOutput
- func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponsePtrOutputWithContext(ctx context.Context) MessageStoragePolicyResponsePtrOutput
- type MessageStoragePolicyResponsePtrInput
- type MessageStoragePolicyResponsePtrOutput
- func (o MessageStoragePolicyResponsePtrOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput
- func (o MessageStoragePolicyResponsePtrOutput) Elem() MessageStoragePolicyResponseOutput
- func (MessageStoragePolicyResponsePtrOutput) ElementType() reflect.Type
- func (o MessageStoragePolicyResponsePtrOutput) ToMessageStoragePolicyResponsePtrOutput() MessageStoragePolicyResponsePtrOutput
- func (o MessageStoragePolicyResponsePtrOutput) ToMessageStoragePolicyResponsePtrOutputWithContext(ctx context.Context) MessageStoragePolicyResponsePtrOutput
- type OidcToken
- type OidcTokenArgs
- func (OidcTokenArgs) ElementType() reflect.Type
- func (i OidcTokenArgs) ToOidcTokenOutput() OidcTokenOutput
- func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTokenOutput
- func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput
- func (i OidcTokenArgs) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
- type OidcTokenInput
- type OidcTokenOutput
- func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput
- func (OidcTokenOutput) ElementType() reflect.Type
- func (o OidcTokenOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o OidcTokenOutput) ToOidcTokenOutput() OidcTokenOutput
- func (o OidcTokenOutput) ToOidcTokenOutputWithContext(ctx context.Context) OidcTokenOutput
- func (o OidcTokenOutput) ToOidcTokenPtrOutput() OidcTokenPtrOutput
- func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
- type OidcTokenPtrInput
- type OidcTokenPtrOutput
- func (o OidcTokenPtrOutput) Audience() pulumi.StringPtrOutput
- func (o OidcTokenPtrOutput) Elem() OidcTokenOutput
- func (OidcTokenPtrOutput) ElementType() reflect.Type
- func (o OidcTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o OidcTokenPtrOutput) ToOidcTokenPtrOutput() OidcTokenPtrOutput
- func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
- type OidcTokenResponse
- type OidcTokenResponseArgs
- func (OidcTokenResponseArgs) ElementType() reflect.Type
- func (i OidcTokenResponseArgs) ToOidcTokenResponseOutput() OidcTokenResponseOutput
- func (i OidcTokenResponseArgs) ToOidcTokenResponseOutputWithContext(ctx context.Context) OidcTokenResponseOutput
- func (i OidcTokenResponseArgs) ToOidcTokenResponsePtrOutput() OidcTokenResponsePtrOutput
- func (i OidcTokenResponseArgs) ToOidcTokenResponsePtrOutputWithContext(ctx context.Context) OidcTokenResponsePtrOutput
- type OidcTokenResponseInput
- type OidcTokenResponseOutput
- func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput
- func (OidcTokenResponseOutput) ElementType() reflect.Type
- func (o OidcTokenResponseOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o OidcTokenResponseOutput) ToOidcTokenResponseOutput() OidcTokenResponseOutput
- func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx context.Context) OidcTokenResponseOutput
- func (o OidcTokenResponseOutput) ToOidcTokenResponsePtrOutput() OidcTokenResponsePtrOutput
- func (o OidcTokenResponseOutput) ToOidcTokenResponsePtrOutputWithContext(ctx context.Context) OidcTokenResponsePtrOutput
- type OidcTokenResponsePtrInput
- type OidcTokenResponsePtrOutput
- func (o OidcTokenResponsePtrOutput) Audience() pulumi.StringPtrOutput
- func (o OidcTokenResponsePtrOutput) Elem() OidcTokenResponseOutput
- func (OidcTokenResponsePtrOutput) ElementType() reflect.Type
- func (o OidcTokenResponsePtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o OidcTokenResponsePtrOutput) ToOidcTokenResponsePtrOutput() OidcTokenResponsePtrOutput
- func (o OidcTokenResponsePtrOutput) ToOidcTokenResponsePtrOutputWithContext(ctx context.Context) OidcTokenResponsePtrOutput
- type PushConfig
- type PushConfigArgs
- func (PushConfigArgs) ElementType() reflect.Type
- func (i PushConfigArgs) ToPushConfigOutput() PushConfigOutput
- func (i PushConfigArgs) ToPushConfigOutputWithContext(ctx context.Context) PushConfigOutput
- func (i PushConfigArgs) ToPushConfigPtrOutput() PushConfigPtrOutput
- func (i PushConfigArgs) ToPushConfigPtrOutputWithContext(ctx context.Context) PushConfigPtrOutput
- type PushConfigInput
- type PushConfigOutput
- func (o PushConfigOutput) Attributes() pulumi.StringMapOutput
- func (PushConfigOutput) ElementType() reflect.Type
- func (o PushConfigOutput) OidcToken() OidcTokenPtrOutput
- func (o PushConfigOutput) PushEndpoint() pulumi.StringPtrOutput
- func (o PushConfigOutput) ToPushConfigOutput() PushConfigOutput
- func (o PushConfigOutput) ToPushConfigOutputWithContext(ctx context.Context) PushConfigOutput
- func (o PushConfigOutput) ToPushConfigPtrOutput() PushConfigPtrOutput
- func (o PushConfigOutput) ToPushConfigPtrOutputWithContext(ctx context.Context) PushConfigPtrOutput
- type PushConfigPtrInput
- type PushConfigPtrOutput
- func (o PushConfigPtrOutput) Attributes() pulumi.StringMapOutput
- func (o PushConfigPtrOutput) Elem() PushConfigOutput
- func (PushConfigPtrOutput) ElementType() reflect.Type
- func (o PushConfigPtrOutput) OidcToken() OidcTokenPtrOutput
- func (o PushConfigPtrOutput) PushEndpoint() pulumi.StringPtrOutput
- func (o PushConfigPtrOutput) ToPushConfigPtrOutput() PushConfigPtrOutput
- func (o PushConfigPtrOutput) ToPushConfigPtrOutputWithContext(ctx context.Context) PushConfigPtrOutput
- type PushConfigResponse
- type PushConfigResponseArgs
- func (PushConfigResponseArgs) ElementType() reflect.Type
- func (i PushConfigResponseArgs) ToPushConfigResponseOutput() PushConfigResponseOutput
- func (i PushConfigResponseArgs) ToPushConfigResponseOutputWithContext(ctx context.Context) PushConfigResponseOutput
- func (i PushConfigResponseArgs) ToPushConfigResponsePtrOutput() PushConfigResponsePtrOutput
- func (i PushConfigResponseArgs) ToPushConfigResponsePtrOutputWithContext(ctx context.Context) PushConfigResponsePtrOutput
- type PushConfigResponseInput
- type PushConfigResponseOutput
- func (o PushConfigResponseOutput) Attributes() pulumi.StringMapOutput
- func (PushConfigResponseOutput) ElementType() reflect.Type
- func (o PushConfigResponseOutput) OidcToken() OidcTokenResponseOutput
- func (o PushConfigResponseOutput) PushEndpoint() pulumi.StringOutput
- func (o PushConfigResponseOutput) ToPushConfigResponseOutput() PushConfigResponseOutput
- func (o PushConfigResponseOutput) ToPushConfigResponseOutputWithContext(ctx context.Context) PushConfigResponseOutput
- func (o PushConfigResponseOutput) ToPushConfigResponsePtrOutput() PushConfigResponsePtrOutput
- func (o PushConfigResponseOutput) ToPushConfigResponsePtrOutputWithContext(ctx context.Context) PushConfigResponsePtrOutput
- type PushConfigResponsePtrInput
- type PushConfigResponsePtrOutput
- func (o PushConfigResponsePtrOutput) Attributes() pulumi.StringMapOutput
- func (o PushConfigResponsePtrOutput) Elem() PushConfigResponseOutput
- func (PushConfigResponsePtrOutput) ElementType() reflect.Type
- func (o PushConfigResponsePtrOutput) OidcToken() OidcTokenResponsePtrOutput
- func (o PushConfigResponsePtrOutput) PushEndpoint() pulumi.StringPtrOutput
- func (o PushConfigResponsePtrOutput) ToPushConfigResponsePtrOutput() PushConfigResponsePtrOutput
- func (o PushConfigResponsePtrOutput) ToPushConfigResponsePtrOutputWithContext(ctx context.Context) PushConfigResponsePtrOutput
- type RetryPolicy
- type RetryPolicyArgs
- func (RetryPolicyArgs) ElementType() reflect.Type
- func (i RetryPolicyArgs) ToRetryPolicyOutput() RetryPolicyOutput
- func (i RetryPolicyArgs) ToRetryPolicyOutputWithContext(ctx context.Context) RetryPolicyOutput
- func (i RetryPolicyArgs) ToRetryPolicyPtrOutput() RetryPolicyPtrOutput
- func (i RetryPolicyArgs) ToRetryPolicyPtrOutputWithContext(ctx context.Context) RetryPolicyPtrOutput
- type RetryPolicyInput
- type RetryPolicyOutput
- func (RetryPolicyOutput) ElementType() reflect.Type
- func (o RetryPolicyOutput) MaximumBackoff() pulumi.StringPtrOutput
- func (o RetryPolicyOutput) MinimumBackoff() pulumi.StringPtrOutput
- func (o RetryPolicyOutput) ToRetryPolicyOutput() RetryPolicyOutput
- func (o RetryPolicyOutput) ToRetryPolicyOutputWithContext(ctx context.Context) RetryPolicyOutput
- func (o RetryPolicyOutput) ToRetryPolicyPtrOutput() RetryPolicyPtrOutput
- func (o RetryPolicyOutput) ToRetryPolicyPtrOutputWithContext(ctx context.Context) RetryPolicyPtrOutput
- type RetryPolicyPtrInput
- type RetryPolicyPtrOutput
- func (o RetryPolicyPtrOutput) Elem() RetryPolicyOutput
- func (RetryPolicyPtrOutput) ElementType() reflect.Type
- func (o RetryPolicyPtrOutput) MaximumBackoff() pulumi.StringPtrOutput
- func (o RetryPolicyPtrOutput) MinimumBackoff() pulumi.StringPtrOutput
- func (o RetryPolicyPtrOutput) ToRetryPolicyPtrOutput() RetryPolicyPtrOutput
- func (o RetryPolicyPtrOutput) ToRetryPolicyPtrOutputWithContext(ctx context.Context) RetryPolicyPtrOutput
- type RetryPolicyResponse
- type RetryPolicyResponseArgs
- func (RetryPolicyResponseArgs) ElementType() reflect.Type
- func (i RetryPolicyResponseArgs) ToRetryPolicyResponseOutput() RetryPolicyResponseOutput
- func (i RetryPolicyResponseArgs) ToRetryPolicyResponseOutputWithContext(ctx context.Context) RetryPolicyResponseOutput
- func (i RetryPolicyResponseArgs) ToRetryPolicyResponsePtrOutput() RetryPolicyResponsePtrOutput
- func (i RetryPolicyResponseArgs) ToRetryPolicyResponsePtrOutputWithContext(ctx context.Context) RetryPolicyResponsePtrOutput
- type RetryPolicyResponseInput
- type RetryPolicyResponseOutput
- func (RetryPolicyResponseOutput) ElementType() reflect.Type
- func (o RetryPolicyResponseOutput) MaximumBackoff() pulumi.StringOutput
- func (o RetryPolicyResponseOutput) MinimumBackoff() pulumi.StringOutput
- func (o RetryPolicyResponseOutput) ToRetryPolicyResponseOutput() RetryPolicyResponseOutput
- func (o RetryPolicyResponseOutput) ToRetryPolicyResponseOutputWithContext(ctx context.Context) RetryPolicyResponseOutput
- func (o RetryPolicyResponseOutput) ToRetryPolicyResponsePtrOutput() RetryPolicyResponsePtrOutput
- func (o RetryPolicyResponseOutput) ToRetryPolicyResponsePtrOutputWithContext(ctx context.Context) RetryPolicyResponsePtrOutput
- type RetryPolicyResponsePtrInput
- type RetryPolicyResponsePtrOutput
- func (o RetryPolicyResponsePtrOutput) Elem() RetryPolicyResponseOutput
- func (RetryPolicyResponsePtrOutput) ElementType() reflect.Type
- func (o RetryPolicyResponsePtrOutput) MaximumBackoff() pulumi.StringPtrOutput
- func (o RetryPolicyResponsePtrOutput) MinimumBackoff() pulumi.StringPtrOutput
- func (o RetryPolicyResponsePtrOutput) ToRetryPolicyResponsePtrOutput() RetryPolicyResponsePtrOutput
- func (o RetryPolicyResponsePtrOutput) ToRetryPolicyResponsePtrOutputWithContext(ctx context.Context) RetryPolicyResponsePtrOutput
- type Schema
- type SchemaArgs
- type SchemaIamPolicy
- type SchemaIamPolicyArgs
- type SchemaIamPolicyInput
- type SchemaIamPolicyOutput
- type SchemaIamPolicyState
- type SchemaInput
- type SchemaOutput
- type SchemaSettings
- type SchemaSettingsArgs
- func (SchemaSettingsArgs) ElementType() reflect.Type
- func (i SchemaSettingsArgs) ToSchemaSettingsOutput() SchemaSettingsOutput
- func (i SchemaSettingsArgs) ToSchemaSettingsOutputWithContext(ctx context.Context) SchemaSettingsOutput
- func (i SchemaSettingsArgs) ToSchemaSettingsPtrOutput() SchemaSettingsPtrOutput
- func (i SchemaSettingsArgs) ToSchemaSettingsPtrOutputWithContext(ctx context.Context) SchemaSettingsPtrOutput
- type SchemaSettingsEncoding
- func (SchemaSettingsEncoding) ElementType() reflect.Type
- func (e SchemaSettingsEncoding) ToSchemaSettingsEncodingOutput() SchemaSettingsEncodingOutput
- func (e SchemaSettingsEncoding) ToSchemaSettingsEncodingOutputWithContext(ctx context.Context) SchemaSettingsEncodingOutput
- func (e SchemaSettingsEncoding) ToSchemaSettingsEncodingPtrOutput() SchemaSettingsEncodingPtrOutput
- func (e SchemaSettingsEncoding) ToSchemaSettingsEncodingPtrOutputWithContext(ctx context.Context) SchemaSettingsEncodingPtrOutput
- func (e SchemaSettingsEncoding) ToStringOutput() pulumi.StringOutput
- func (e SchemaSettingsEncoding) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e SchemaSettingsEncoding) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e SchemaSettingsEncoding) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type SchemaSettingsEncodingInput
- type SchemaSettingsEncodingOutput
- func (SchemaSettingsEncodingOutput) ElementType() reflect.Type
- func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingOutput() SchemaSettingsEncodingOutput
- func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingOutputWithContext(ctx context.Context) SchemaSettingsEncodingOutput
- func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingPtrOutput() SchemaSettingsEncodingPtrOutput
- func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingPtrOutputWithContext(ctx context.Context) SchemaSettingsEncodingPtrOutput
- func (o SchemaSettingsEncodingOutput) ToStringOutput() pulumi.StringOutput
- func (o SchemaSettingsEncodingOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o SchemaSettingsEncodingOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o SchemaSettingsEncodingOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type SchemaSettingsEncodingPtrInput
- type SchemaSettingsEncodingPtrOutput
- func (o SchemaSettingsEncodingPtrOutput) Elem() SchemaSettingsEncodingOutput
- func (SchemaSettingsEncodingPtrOutput) ElementType() reflect.Type
- func (o SchemaSettingsEncodingPtrOutput) ToSchemaSettingsEncodingPtrOutput() SchemaSettingsEncodingPtrOutput
- func (o SchemaSettingsEncodingPtrOutput) ToSchemaSettingsEncodingPtrOutputWithContext(ctx context.Context) SchemaSettingsEncodingPtrOutput
- func (o SchemaSettingsEncodingPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o SchemaSettingsEncodingPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type SchemaSettingsInput
- type SchemaSettingsOutput
- func (SchemaSettingsOutput) ElementType() reflect.Type
- func (o SchemaSettingsOutput) Encoding() SchemaSettingsEncodingPtrOutput
- func (o SchemaSettingsOutput) Schema() pulumi.StringOutput
- func (o SchemaSettingsOutput) ToSchemaSettingsOutput() SchemaSettingsOutput
- func (o SchemaSettingsOutput) ToSchemaSettingsOutputWithContext(ctx context.Context) SchemaSettingsOutput
- func (o SchemaSettingsOutput) ToSchemaSettingsPtrOutput() SchemaSettingsPtrOutput
- func (o SchemaSettingsOutput) ToSchemaSettingsPtrOutputWithContext(ctx context.Context) SchemaSettingsPtrOutput
- type SchemaSettingsPtrInput
- type SchemaSettingsPtrOutput
- func (o SchemaSettingsPtrOutput) Elem() SchemaSettingsOutput
- func (SchemaSettingsPtrOutput) ElementType() reflect.Type
- func (o SchemaSettingsPtrOutput) Encoding() SchemaSettingsEncodingPtrOutput
- func (o SchemaSettingsPtrOutput) Schema() pulumi.StringPtrOutput
- func (o SchemaSettingsPtrOutput) ToSchemaSettingsPtrOutput() SchemaSettingsPtrOutput
- func (o SchemaSettingsPtrOutput) ToSchemaSettingsPtrOutputWithContext(ctx context.Context) SchemaSettingsPtrOutput
- type SchemaSettingsResponse
- type SchemaSettingsResponseArgs
- func (SchemaSettingsResponseArgs) ElementType() reflect.Type
- func (i SchemaSettingsResponseArgs) ToSchemaSettingsResponseOutput() SchemaSettingsResponseOutput
- func (i SchemaSettingsResponseArgs) ToSchemaSettingsResponseOutputWithContext(ctx context.Context) SchemaSettingsResponseOutput
- func (i SchemaSettingsResponseArgs) ToSchemaSettingsResponsePtrOutput() SchemaSettingsResponsePtrOutput
- func (i SchemaSettingsResponseArgs) ToSchemaSettingsResponsePtrOutputWithContext(ctx context.Context) SchemaSettingsResponsePtrOutput
- type SchemaSettingsResponseInput
- type SchemaSettingsResponseOutput
- func (SchemaSettingsResponseOutput) ElementType() reflect.Type
- func (o SchemaSettingsResponseOutput) Encoding() pulumi.StringOutput
- func (o SchemaSettingsResponseOutput) Schema() pulumi.StringOutput
- func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponseOutput() SchemaSettingsResponseOutput
- func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponseOutputWithContext(ctx context.Context) SchemaSettingsResponseOutput
- func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponsePtrOutput() SchemaSettingsResponsePtrOutput
- func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponsePtrOutputWithContext(ctx context.Context) SchemaSettingsResponsePtrOutput
- type SchemaSettingsResponsePtrInput
- type SchemaSettingsResponsePtrOutput
- func (o SchemaSettingsResponsePtrOutput) Elem() SchemaSettingsResponseOutput
- func (SchemaSettingsResponsePtrOutput) ElementType() reflect.Type
- func (o SchemaSettingsResponsePtrOutput) Encoding() pulumi.StringPtrOutput
- func (o SchemaSettingsResponsePtrOutput) Schema() pulumi.StringPtrOutput
- func (o SchemaSettingsResponsePtrOutput) ToSchemaSettingsResponsePtrOutput() SchemaSettingsResponsePtrOutput
- func (o SchemaSettingsResponsePtrOutput) ToSchemaSettingsResponsePtrOutputWithContext(ctx context.Context) SchemaSettingsResponsePtrOutput
- type SchemaState
- type SchemaType
- func (SchemaType) ElementType() reflect.Type
- func (e SchemaType) ToSchemaTypeOutput() SchemaTypeOutput
- func (e SchemaType) ToSchemaTypeOutputWithContext(ctx context.Context) SchemaTypeOutput
- func (e SchemaType) ToSchemaTypePtrOutput() SchemaTypePtrOutput
- func (e SchemaType) ToSchemaTypePtrOutputWithContext(ctx context.Context) SchemaTypePtrOutput
- func (e SchemaType) ToStringOutput() pulumi.StringOutput
- func (e SchemaType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e SchemaType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e SchemaType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type SchemaTypeInput
- type SchemaTypeOutput
- func (SchemaTypeOutput) ElementType() reflect.Type
- func (o SchemaTypeOutput) ToSchemaTypeOutput() SchemaTypeOutput
- func (o SchemaTypeOutput) ToSchemaTypeOutputWithContext(ctx context.Context) SchemaTypeOutput
- func (o SchemaTypeOutput) ToSchemaTypePtrOutput() SchemaTypePtrOutput
- func (o SchemaTypeOutput) ToSchemaTypePtrOutputWithContext(ctx context.Context) SchemaTypePtrOutput
- func (o SchemaTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o SchemaTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o SchemaTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o SchemaTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type SchemaTypePtrInput
- type SchemaTypePtrOutput
- func (o SchemaTypePtrOutput) Elem() SchemaTypeOutput
- func (SchemaTypePtrOutput) ElementType() reflect.Type
- func (o SchemaTypePtrOutput) ToSchemaTypePtrOutput() SchemaTypePtrOutput
- func (o SchemaTypePtrOutput) ToSchemaTypePtrOutputWithContext(ctx context.Context) SchemaTypePtrOutput
- func (o SchemaTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o SchemaTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type Snapshot
- type SnapshotArgs
- type SnapshotIamPolicy
- type SnapshotIamPolicyArgs
- type SnapshotIamPolicyInput
- type SnapshotIamPolicyOutput
- type SnapshotIamPolicyState
- type SnapshotInput
- type SnapshotOutput
- type SnapshotState
- type Subscription
- type SubscriptionArgs
- type SubscriptionIamPolicy
- type SubscriptionIamPolicyArgs
- type SubscriptionIamPolicyInput
- type SubscriptionIamPolicyOutput
- type SubscriptionIamPolicyState
- type SubscriptionInput
- type SubscriptionOutput
- type SubscriptionState
- type Topic
- type TopicArgs
- type TopicIamPolicy
- type TopicIamPolicyArgs
- type TopicIamPolicyInput
- type TopicIamPolicyOutput
- type TopicIamPolicyState
- type TopicInput
- type TopicOutput
- type TopicState
Constants ¶
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") )
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 (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput
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 ¶
func (o BindingOutput) Members() pulumi.StringArrayOutput
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 ¶
func (o BindingOutput) Role() pulumi.StringPtrOutput
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 (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
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 ¶
func (o BindingResponseOutput) Condition() ExprResponseOutput
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 ¶
func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
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 ¶
func (o BindingResponseOutput) Role() pulumi.StringOutput
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
func DeadLetterPolicyPtr ¶
func DeadLetterPolicyPtr(v *DeadLetterPolicyArgs) DeadLetterPolicyPtrInput
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 (o DeadLetterPolicyPtrOutput) Elem() DeadLetterPolicyOutput
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) ElementType() reflect.Type
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 ¶
func (o DeadLetterPolicyResponseOutput) DeadLetterTopic() pulumi.StringOutput
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) ElementType() reflect.Type
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
func DeadLetterPolicyResponsePtr ¶
func DeadLetterPolicyResponsePtr(v *DeadLetterPolicyResponseArgs) DeadLetterPolicyResponsePtrInput
type DeadLetterPolicyResponsePtrOutput ¶
type DeadLetterPolicyResponsePtrOutput struct{ *pulumi.OutputState }
func (DeadLetterPolicyResponsePtrOutput) DeadLetterTopic ¶
func (o DeadLetterPolicyResponsePtrOutput) 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 (DeadLetterPolicyResponsePtrOutput) Elem ¶
func (o DeadLetterPolicyResponsePtrOutput) Elem() DeadLetterPolicyResponseOutput
func (DeadLetterPolicyResponsePtrOutput) ElementType ¶
func (DeadLetterPolicyResponsePtrOutput) ElementType() reflect.Type
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 ¶
func (o ExpirationPolicyOutput) Ttl() pulumi.StringPtrOutput
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
func ExpirationPolicyPtr ¶
func ExpirationPolicyPtr(v *ExpirationPolicyArgs) ExpirationPolicyPtrInput
type ExpirationPolicyPtrOutput ¶
type ExpirationPolicyPtrOutput struct{ *pulumi.OutputState }
func (ExpirationPolicyPtrOutput) Elem ¶
func (o ExpirationPolicyPtrOutput) Elem() ExpirationPolicyOutput
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 ¶
func (o ExpirationPolicyPtrOutput) Ttl() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ExpirationPolicyResponseOutput) Ttl() pulumi.StringOutput
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
func ExpirationPolicyResponsePtr ¶
func ExpirationPolicyResponsePtr(v *ExpirationPolicyResponseArgs) ExpirationPolicyResponsePtrInput
type ExpirationPolicyResponsePtrOutput ¶
type ExpirationPolicyResponsePtrOutput struct{ *pulumi.OutputState }
func (ExpirationPolicyResponsePtrOutput) Elem ¶
func (o ExpirationPolicyResponsePtrOutput) Elem() ExpirationPolicyResponseOutput
func (ExpirationPolicyResponsePtrOutput) ElementType ¶
func (ExpirationPolicyResponsePtrOutput) ElementType() reflect.Type
func (ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutput ¶
func (o ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutput() ExpirationPolicyResponsePtrOutput
func (ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutputWithContext ¶
func (o ExpirationPolicyResponsePtrOutput) ToExpirationPolicyResponsePtrOutputWithContext(ctx context.Context) ExpirationPolicyResponsePtrOutput
func (ExpirationPolicyResponsePtrOutput) Ttl ¶
func (o ExpirationPolicyResponsePtrOutput) Ttl() pulumi.StringPtrOutput
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) 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 ¶
func (o ExprPtrOutput) 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 (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 ¶
func (o ExprResponseOutput) Title() pulumi.StringOutput
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 LookupSchemaIamPolicyArgs ¶ added in v0.4.0
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
func (LookupSchemaIamPolicyOutputArgs) ElementType() reflect.Type
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 LookupSchemaIamPolicyOutput(ctx *pulumi.Context, args LookupSchemaIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSchemaIamPolicyResultOutput
func (LookupSchemaIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupSchemaIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
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) ElementType() reflect.Type
func (LookupSchemaIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupSchemaIamPolicyResultOutput) Etag() pulumi.StringOutput
`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
func (o LookupSchemaIamPolicyResultOutput) Version() pulumi.IntOutput
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
func (o LookupSchemaResultOutput) Definition() pulumi.StringOutput
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
func (o LookupSchemaResultOutput) Name() pulumi.StringOutput
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
func (o LookupSchemaResultOutput) Type() pulumi.StringOutput
The type of the schema definition.
type LookupSnapshotArgs ¶ added in v0.4.0
type LookupSnapshotIamPolicyArgs ¶ added in v0.4.0
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
func (LookupSnapshotIamPolicyOutputArgs) ElementType() reflect.Type
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 LookupSnapshotIamPolicyOutput ¶ added in v0.8.0
func LookupSnapshotIamPolicyOutput(ctx *pulumi.Context, args LookupSnapshotIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSnapshotIamPolicyResultOutput
func (LookupSnapshotIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupSnapshotIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
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) ElementType() reflect.Type
func (LookupSnapshotIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupSnapshotIamPolicyResultOutput) Etag() pulumi.StringOutput
`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
func (o LookupSnapshotIamPolicyResultOutput) Version() pulumi.IntOutput
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
func (o LookupSnapshotResultOutput) ExpireTime() pulumi.StringOutput
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
func (o LookupSnapshotResultOutput) Labels() pulumi.StringMapOutput
See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).
func (LookupSnapshotResultOutput) Name ¶ added in v0.8.0
func (o LookupSnapshotResultOutput) Name() pulumi.StringOutput
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
func (o LookupSnapshotResultOutput) Topic() pulumi.StringOutput
The name of the topic from which this snapshot is retaining messages.
type LookupSubscriptionArgs ¶ added in v0.4.0
type LookupSubscriptionIamPolicyArgs ¶ added in v0.4.0
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
func (LookupSubscriptionIamPolicyOutputArgs) ElementType() reflect.Type
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 LookupSubscriptionIamPolicyOutput ¶ added in v0.8.0
func LookupSubscriptionIamPolicyOutput(ctx *pulumi.Context, args LookupSubscriptionIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSubscriptionIamPolicyResultOutput
func (LookupSubscriptionIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupSubscriptionIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
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) ElementType() reflect.Type
func (LookupSubscriptionIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupSubscriptionIamPolicyResultOutput) Etag() pulumi.StringOutput
`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
func (o LookupSubscriptionIamPolicyResultOutput) Version() pulumi.IntOutput
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
func (LookupSubscriptionOutputArgs) ElementType() reflect.Type
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 LookupSubscriptionOutput(ctx *pulumi.Context, args LookupSubscriptionOutputArgs, opts ...pulumi.InvokeOption) LookupSubscriptionResultOutput
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
func (o LookupSubscriptionResultOutput) DeadLetterPolicy() DeadLetterPolicyResponseOutput
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
func (o LookupSubscriptionResultOutput) Detached() pulumi.BoolOutput
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) ElementType() reflect.Type
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
func (o LookupSubscriptionResultOutput) ExpirationPolicy() ExpirationPolicyResponseOutput
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
func (o LookupSubscriptionResultOutput) Filter() pulumi.StringOutput
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
func (o LookupSubscriptionResultOutput) Labels() pulumi.StringMapOutput
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
func (o LookupSubscriptionResultOutput) Name() pulumi.StringOutput
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
func (o LookupSubscriptionResultOutput) PushConfig() PushConfigResponseOutput
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
func (o LookupSubscriptionResultOutput) RetryPolicy() RetryPolicyResponseOutput
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
func (o LookupSubscriptionResultOutput) Topic() pulumi.StringOutput
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 LookupTopicIamPolicyArgs ¶ added in v0.4.0
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
func (LookupTopicIamPolicyOutputArgs) ElementType() reflect.Type
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 LookupTopicIamPolicyOutput(ctx *pulumi.Context, args LookupTopicIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupTopicIamPolicyResultOutput
func (LookupTopicIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupTopicIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
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) ElementType() reflect.Type
func (LookupTopicIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupTopicIamPolicyResultOutput) Etag() pulumi.StringOutput
`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
func (o LookupTopicIamPolicyResultOutput) Version() pulumi.IntOutput
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
func (o LookupTopicResultOutput) KmsKeyName() pulumi.StringOutput
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
func (o LookupTopicResultOutput) Labels() pulumi.StringMapOutput
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
func (o LookupTopicResultOutput) MessageStoragePolicy() MessageStoragePolicyResponseOutput
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
func (o LookupTopicResultOutput) Name() pulumi.StringOutput
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
func (o LookupTopicResultOutput) SchemaSettings() SchemaSettingsResponseOutput
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
func MessageStoragePolicyPtr ¶
func MessageStoragePolicyPtr(v *MessageStoragePolicyArgs) MessageStoragePolicyPtrInput
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 (o MessageStoragePolicyPtrOutput) Elem() MessageStoragePolicyOutput
func (MessageStoragePolicyPtrOutput) ElementType ¶
func (MessageStoragePolicyPtrOutput) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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
func MessageStoragePolicyResponsePtr ¶
func MessageStoragePolicyResponsePtr(v *MessageStoragePolicyResponseArgs) MessageStoragePolicyResponsePtrInput
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) ElementType ¶
func (MessageStoragePolicyResponsePtrOutput) ElementType() reflect.Type
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 ¶
func (o OidcTokenPtrOutput) 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 (OidcTokenPtrOutput) Elem ¶
func (o OidcTokenPtrOutput) Elem() OidcTokenOutput
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 ¶
func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput
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
func OidcTokenResponsePtr ¶
func OidcTokenResponsePtr(v *OidcTokenResponseArgs) OidcTokenResponsePtrInput
type OidcTokenResponsePtrOutput ¶
type OidcTokenResponsePtrOutput struct{ *pulumi.OutputState }
func (OidcTokenResponsePtrOutput) Audience ¶
func (o OidcTokenResponsePtrOutput) 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 (OidcTokenResponsePtrOutput) Elem ¶
func (o OidcTokenResponsePtrOutput) Elem() OidcTokenResponseOutput
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 ¶
func (o PushConfigPtrOutput) 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 (PushConfigPtrOutput) Elem ¶
func (o PushConfigPtrOutput) Elem() PushConfigOutput
func (PushConfigPtrOutput) ElementType ¶
func (PushConfigPtrOutput) ElementType() reflect.Type
func (PushConfigPtrOutput) OidcToken ¶
func (o PushConfigPtrOutput) 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 (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 ¶
func (o PushConfigResponseOutput) 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 (PushConfigResponseOutput) ElementType ¶
func (PushConfigResponseOutput) ElementType() reflect.Type
func (PushConfigResponseOutput) OidcToken ¶
func (o PushConfigResponseOutput) OidcToken() OidcTokenResponseOutput
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
func PushConfigResponsePtr ¶
func PushConfigResponsePtr(v *PushConfigResponseArgs) PushConfigResponsePtrInput
type PushConfigResponsePtrOutput ¶
type PushConfigResponsePtrOutput struct{ *pulumi.OutputState }
func (PushConfigResponsePtrOutput) Attributes ¶
func (o PushConfigResponsePtrOutput) 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 (PushConfigResponsePtrOutput) Elem ¶
func (o PushConfigResponsePtrOutput) Elem() PushConfigResponseOutput
func (PushConfigResponsePtrOutput) ElementType ¶
func (PushConfigResponsePtrOutput) ElementType() reflect.Type
func (PushConfigResponsePtrOutput) OidcToken ¶
func (o PushConfigResponsePtrOutput) OidcToken() OidcTokenResponsePtrOutput
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 ¶
func (o PushConfigResponsePtrOutput) 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 (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 (o RetryPolicyPtrOutput) Elem() RetryPolicyOutput
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
func RetryPolicyResponsePtr ¶
func RetryPolicyResponsePtr(v *RetryPolicyResponseArgs) RetryPolicyResponsePtrInput
type RetryPolicyResponsePtrOutput ¶
type RetryPolicyResponsePtrOutput struct{ *pulumi.OutputState }
func (RetryPolicyResponsePtrOutput) Elem ¶
func (o RetryPolicyResponsePtrOutput) Elem() RetryPolicyResponseOutput
func (RetryPolicyResponsePtrOutput) ElementType ¶
func (RetryPolicyResponsePtrOutput) ElementType() reflect.Type
func (RetryPolicyResponsePtrOutput) MaximumBackoff ¶
func (o RetryPolicyResponsePtrOutput) 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 (RetryPolicyResponsePtrOutput) MinimumBackoff ¶
func (o RetryPolicyResponsePtrOutput) 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 (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) 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) ElementType() reflect.Type
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 (o SchemaSettingsEncodingOutput) ToStringOutput() pulumi.StringOutput
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 (o SchemaSettingsEncodingPtrOutput) Elem() SchemaSettingsEncodingOutput
func (SchemaSettingsEncodingPtrOutput) ElementType ¶ added in v0.6.0
func (SchemaSettingsEncodingPtrOutput) ElementType() reflect.Type
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 (o SchemaSettingsEncodingPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
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 ¶
func (o SchemaSettingsOutput) Encoding() SchemaSettingsEncodingPtrOutput
The encoding of messages validated against `schema`.
func (SchemaSettingsOutput) Schema ¶
func (o SchemaSettingsOutput) Schema() pulumi.StringOutput
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
func SchemaSettingsPtr ¶
func SchemaSettingsPtr(v *SchemaSettingsArgs) SchemaSettingsPtrInput
type SchemaSettingsPtrOutput ¶
type SchemaSettingsPtrOutput struct{ *pulumi.OutputState }
func (SchemaSettingsPtrOutput) Elem ¶
func (o SchemaSettingsPtrOutput) Elem() SchemaSettingsOutput
func (SchemaSettingsPtrOutput) ElementType ¶
func (SchemaSettingsPtrOutput) ElementType() reflect.Type
func (SchemaSettingsPtrOutput) Encoding ¶
func (o SchemaSettingsPtrOutput) Encoding() SchemaSettingsEncodingPtrOutput
The encoding of messages validated against `schema`.
func (SchemaSettingsPtrOutput) Schema ¶
func (o SchemaSettingsPtrOutput) Schema() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (SchemaSettingsResponseOutput) Encoding ¶
func (o SchemaSettingsResponseOutput) Encoding() pulumi.StringOutput
The encoding of messages validated against `schema`.
func (SchemaSettingsResponseOutput) Schema ¶
func (o SchemaSettingsResponseOutput) Schema() pulumi.StringOutput
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
func SchemaSettingsResponsePtr ¶
func SchemaSettingsResponsePtr(v *SchemaSettingsResponseArgs) SchemaSettingsResponsePtrInput
type SchemaSettingsResponsePtrOutput ¶
type SchemaSettingsResponsePtrOutput struct{ *pulumi.OutputState }
func (SchemaSettingsResponsePtrOutput) Elem ¶
func (o SchemaSettingsResponsePtrOutput) Elem() SchemaSettingsResponseOutput
func (SchemaSettingsResponsePtrOutput) ElementType ¶
func (SchemaSettingsResponsePtrOutput) ElementType() reflect.Type
func (SchemaSettingsResponsePtrOutput) Encoding ¶
func (o SchemaSettingsResponsePtrOutput) Encoding() pulumi.StringPtrOutput
The encoding of messages validated against `schema`.
func (SchemaSettingsResponsePtrOutput) Schema ¶
func (o SchemaSettingsResponsePtrOutput) Schema() pulumi.StringPtrOutput
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 (o SchemaTypePtrOutput) Elem() SchemaTypeOutput
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) 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) ElementType() reflect.Type
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) 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 ¶
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
Source Files
¶
- getSchema.go
- getSchemaIamPolicy.go
- getSnapshot.go
- getSnapshotIamPolicy.go
- getSubscription.go
- getSubscriptionIamPolicy.go
- getTopic.go
- getTopicIamPolicy.go
- init.go
- pulumiEnums.go
- pulumiTypes.go
- schema.go
- schemaIamPolicy.go
- snapshot.go
- snapshotIamPolicy.go
- subscription.go
- subscriptionIamPolicy.go
- topic.go
- topicIamPolicy.go