Documentation
¶
Index ¶
- Constants
- type AuditConfig
- type AuditConfigArgs
- type AuditConfigArray
- type AuditConfigArrayInput
- type AuditConfigArrayOutput
- func (AuditConfigArrayOutput) ElementType() reflect.Type
- func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput
- func (o AuditConfigArrayOutput) ToAuditConfigArrayOutput() AuditConfigArrayOutput
- func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
- type AuditConfigInput
- type AuditConfigOutput
- func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput
- func (AuditConfigOutput) ElementType() reflect.Type
- func (o AuditConfigOutput) Service() pulumi.StringPtrOutput
- func (o AuditConfigOutput) ToAuditConfigOutput() AuditConfigOutput
- func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
- type AuditConfigResponse
- type AuditConfigResponseArrayOutput
- func (AuditConfigResponseArrayOutput) ElementType() reflect.Type
- func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput
- func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput
- func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext(ctx context.Context) AuditConfigResponseArrayOutput
- type AuditConfigResponseOutput
- func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput
- func (AuditConfigResponseOutput) ElementType() reflect.Type
- func (o AuditConfigResponseOutput) Service() pulumi.StringOutput
- func (o AuditConfigResponseOutput) ToAuditConfigResponseOutput() AuditConfigResponseOutput
- func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx context.Context) AuditConfigResponseOutput
- type AuditLogConfig
- type AuditLogConfigArgs
- type AuditLogConfigArray
- type AuditLogConfigArrayInput
- type AuditLogConfigArrayOutput
- func (AuditLogConfigArrayOutput) ElementType() reflect.Type
- func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput
- func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
- func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
- type AuditLogConfigInput
- type AuditLogConfigLogType
- func (AuditLogConfigLogType) ElementType() reflect.Type
- func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
- func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput
- func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
- func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
- func (e AuditLogConfigLogType) ToStringOutput() pulumi.StringOutput
- func (e AuditLogConfigLogType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e AuditLogConfigLogType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e AuditLogConfigLogType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AuditLogConfigLogTypeInput
- type AuditLogConfigLogTypeOutput
- func (AuditLogConfigLogTypeOutput) ElementType() reflect.Type
- func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
- func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput
- func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o AuditLogConfigLogTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o AuditLogConfigLogTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AuditLogConfigLogTypePtrInput
- type AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput
- func (AuditLogConfigLogTypePtrOutput) ElementType() reflect.Type
- func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AuditLogConfigOutput
- func (AuditLogConfigOutput) ElementType() reflect.Type
- func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput
- func (o AuditLogConfigOutput) LogType() AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigOutput) ToAuditLogConfigOutput() AuditLogConfigOutput
- func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
- type AuditLogConfigResponse
- type AuditLogConfigResponseArrayOutput
- func (AuditLogConfigResponseArrayOutput) ElementType() reflect.Type
- func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput
- func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput
- func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput
- type AuditLogConfigResponseOutput
- func (AuditLogConfigResponseOutput) ElementType() reflect.Type
- func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput
- func (o AuditLogConfigResponseOutput) LogType() pulumi.StringOutput
- func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput
- func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext(ctx context.Context) AuditLogConfigResponseOutput
- 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 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 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 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 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 LookupRepoArgs
- type LookupRepoIamPolicyArgs
- type LookupRepoIamPolicyOutputArgs
- type LookupRepoIamPolicyResult
- type LookupRepoIamPolicyResultOutput
- func (o LookupRepoIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o LookupRepoIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupRepoIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupRepoIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupRepoIamPolicyResultOutput) ToLookupRepoIamPolicyResultOutput() LookupRepoIamPolicyResultOutput
- func (o LookupRepoIamPolicyResultOutput) ToLookupRepoIamPolicyResultOutputWithContext(ctx context.Context) LookupRepoIamPolicyResultOutput
- func (o LookupRepoIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupRepoOutputArgs
- type LookupRepoResult
- type LookupRepoResultOutput
- func (LookupRepoResultOutput) ElementType() reflect.Type
- func (o LookupRepoResultOutput) MirrorConfig() MirrorConfigResponseOutput
- func (o LookupRepoResultOutput) Name() pulumi.StringOutput
- func (o LookupRepoResultOutput) PubsubConfigs() PubsubConfigResponseMapOutput
- func (o LookupRepoResultOutput) Size() pulumi.StringOutput
- func (o LookupRepoResultOutput) ToLookupRepoResultOutput() LookupRepoResultOutput
- func (o LookupRepoResultOutput) ToLookupRepoResultOutputWithContext(ctx context.Context) LookupRepoResultOutput
- func (o LookupRepoResultOutput) Url() pulumi.StringOutput
- type MirrorConfig
- type MirrorConfigArgs
- func (MirrorConfigArgs) ElementType() reflect.Type
- func (i MirrorConfigArgs) ToMirrorConfigOutput() MirrorConfigOutput
- func (i MirrorConfigArgs) ToMirrorConfigOutputWithContext(ctx context.Context) MirrorConfigOutput
- func (i MirrorConfigArgs) ToMirrorConfigPtrOutput() MirrorConfigPtrOutput
- func (i MirrorConfigArgs) ToMirrorConfigPtrOutputWithContext(ctx context.Context) MirrorConfigPtrOutput
- type MirrorConfigInput
- type MirrorConfigOutput
- func (o MirrorConfigOutput) DeployKeyId() pulumi.StringPtrOutput
- func (MirrorConfigOutput) ElementType() reflect.Type
- func (o MirrorConfigOutput) ToMirrorConfigOutput() MirrorConfigOutput
- func (o MirrorConfigOutput) ToMirrorConfigOutputWithContext(ctx context.Context) MirrorConfigOutput
- func (o MirrorConfigOutput) ToMirrorConfigPtrOutput() MirrorConfigPtrOutput
- func (o MirrorConfigOutput) ToMirrorConfigPtrOutputWithContext(ctx context.Context) MirrorConfigPtrOutput
- func (o MirrorConfigOutput) Url() pulumi.StringPtrOutput
- func (o MirrorConfigOutput) WebhookId() pulumi.StringPtrOutput
- type MirrorConfigPtrInput
- type MirrorConfigPtrOutput
- func (o MirrorConfigPtrOutput) DeployKeyId() pulumi.StringPtrOutput
- func (o MirrorConfigPtrOutput) Elem() MirrorConfigOutput
- func (MirrorConfigPtrOutput) ElementType() reflect.Type
- func (o MirrorConfigPtrOutput) ToMirrorConfigPtrOutput() MirrorConfigPtrOutput
- func (o MirrorConfigPtrOutput) ToMirrorConfigPtrOutputWithContext(ctx context.Context) MirrorConfigPtrOutput
- func (o MirrorConfigPtrOutput) Url() pulumi.StringPtrOutput
- func (o MirrorConfigPtrOutput) WebhookId() pulumi.StringPtrOutput
- type MirrorConfigResponse
- type MirrorConfigResponseOutput
- func (o MirrorConfigResponseOutput) DeployKeyId() pulumi.StringOutput
- func (MirrorConfigResponseOutput) ElementType() reflect.Type
- func (o MirrorConfigResponseOutput) ToMirrorConfigResponseOutput() MirrorConfigResponseOutput
- func (o MirrorConfigResponseOutput) ToMirrorConfigResponseOutputWithContext(ctx context.Context) MirrorConfigResponseOutput
- func (o MirrorConfigResponseOutput) Url() pulumi.StringOutput
- func (o MirrorConfigResponseOutput) WebhookId() pulumi.StringOutput
- type PubsubConfig
- type PubsubConfigArgs
- type PubsubConfigInput
- type PubsubConfigMap
- type PubsubConfigMapInput
- type PubsubConfigMapOutput
- func (PubsubConfigMapOutput) ElementType() reflect.Type
- func (o PubsubConfigMapOutput) MapIndex(k pulumi.StringInput) PubsubConfigOutput
- func (o PubsubConfigMapOutput) ToPubsubConfigMapOutput() PubsubConfigMapOutput
- func (o PubsubConfigMapOutput) ToPubsubConfigMapOutputWithContext(ctx context.Context) PubsubConfigMapOutput
- type PubsubConfigMessageFormat
- func (PubsubConfigMessageFormat) ElementType() reflect.Type
- func (e PubsubConfigMessageFormat) ToPubsubConfigMessageFormatOutput() PubsubConfigMessageFormatOutput
- func (e PubsubConfigMessageFormat) ToPubsubConfigMessageFormatOutputWithContext(ctx context.Context) PubsubConfigMessageFormatOutput
- func (e PubsubConfigMessageFormat) ToPubsubConfigMessageFormatPtrOutput() PubsubConfigMessageFormatPtrOutput
- func (e PubsubConfigMessageFormat) ToPubsubConfigMessageFormatPtrOutputWithContext(ctx context.Context) PubsubConfigMessageFormatPtrOutput
- func (e PubsubConfigMessageFormat) ToStringOutput() pulumi.StringOutput
- func (e PubsubConfigMessageFormat) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e PubsubConfigMessageFormat) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e PubsubConfigMessageFormat) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type PubsubConfigMessageFormatInput
- type PubsubConfigMessageFormatOutput
- func (PubsubConfigMessageFormatOutput) ElementType() reflect.Type
- func (o PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatOutput() PubsubConfigMessageFormatOutput
- func (o PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatOutputWithContext(ctx context.Context) PubsubConfigMessageFormatOutput
- func (o PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatPtrOutput() PubsubConfigMessageFormatPtrOutput
- func (o PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatPtrOutputWithContext(ctx context.Context) PubsubConfigMessageFormatPtrOutput
- func (o PubsubConfigMessageFormatOutput) ToStringOutput() pulumi.StringOutput
- func (o PubsubConfigMessageFormatOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o PubsubConfigMessageFormatOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o PubsubConfigMessageFormatOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type PubsubConfigMessageFormatPtrInput
- type PubsubConfigMessageFormatPtrOutput
- func (o PubsubConfigMessageFormatPtrOutput) Elem() PubsubConfigMessageFormatOutput
- func (PubsubConfigMessageFormatPtrOutput) ElementType() reflect.Type
- func (o PubsubConfigMessageFormatPtrOutput) ToPubsubConfigMessageFormatPtrOutput() PubsubConfigMessageFormatPtrOutput
- func (o PubsubConfigMessageFormatPtrOutput) ToPubsubConfigMessageFormatPtrOutputWithContext(ctx context.Context) PubsubConfigMessageFormatPtrOutput
- func (o PubsubConfigMessageFormatPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o PubsubConfigMessageFormatPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type PubsubConfigOutput
- func (PubsubConfigOutput) ElementType() reflect.Type
- func (o PubsubConfigOutput) MessageFormat() PubsubConfigMessageFormatPtrOutput
- func (o PubsubConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o PubsubConfigOutput) ToPubsubConfigOutput() PubsubConfigOutput
- func (o PubsubConfigOutput) ToPubsubConfigOutputWithContext(ctx context.Context) PubsubConfigOutput
- func (o PubsubConfigOutput) Topic() pulumi.StringPtrOutput
- type PubsubConfigResponse
- type PubsubConfigResponseMapOutput
- func (PubsubConfigResponseMapOutput) ElementType() reflect.Type
- func (o PubsubConfigResponseMapOutput) MapIndex(k pulumi.StringInput) PubsubConfigResponseOutput
- func (o PubsubConfigResponseMapOutput) ToPubsubConfigResponseMapOutput() PubsubConfigResponseMapOutput
- func (o PubsubConfigResponseMapOutput) ToPubsubConfigResponseMapOutputWithContext(ctx context.Context) PubsubConfigResponseMapOutput
- type PubsubConfigResponseOutput
- func (PubsubConfigResponseOutput) ElementType() reflect.Type
- func (o PubsubConfigResponseOutput) MessageFormat() pulumi.StringOutput
- func (o PubsubConfigResponseOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o PubsubConfigResponseOutput) ToPubsubConfigResponseOutput() PubsubConfigResponseOutput
- func (o PubsubConfigResponseOutput) ToPubsubConfigResponseOutputWithContext(ctx context.Context) PubsubConfigResponseOutput
- func (o PubsubConfigResponseOutput) Topic() pulumi.StringOutput
- type Repo
- type RepoArgs
- type RepoIamBinding
- type RepoIamBindingArgs
- type RepoIamBindingInput
- type RepoIamBindingOutput
- func (o RepoIamBindingOutput) Condition() iam.ConditionPtrOutput
- func (RepoIamBindingOutput) ElementType() reflect.Type
- func (o RepoIamBindingOutput) Etag() pulumi.StringOutput
- func (o RepoIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o RepoIamBindingOutput) Name() pulumi.StringOutput
- func (o RepoIamBindingOutput) Project() pulumi.StringOutput
- func (o RepoIamBindingOutput) Role() pulumi.StringOutput
- func (o RepoIamBindingOutput) ToRepoIamBindingOutput() RepoIamBindingOutput
- func (o RepoIamBindingOutput) ToRepoIamBindingOutputWithContext(ctx context.Context) RepoIamBindingOutput
- type RepoIamBindingState
- type RepoIamMember
- type RepoIamMemberArgs
- type RepoIamMemberInput
- type RepoIamMemberOutput
- func (o RepoIamMemberOutput) Condition() iam.ConditionPtrOutput
- func (RepoIamMemberOutput) ElementType() reflect.Type
- func (o RepoIamMemberOutput) Etag() pulumi.StringOutput
- func (o RepoIamMemberOutput) Member() pulumi.StringOutput
- func (o RepoIamMemberOutput) Name() pulumi.StringOutput
- func (o RepoIamMemberOutput) Project() pulumi.StringOutput
- func (o RepoIamMemberOutput) Role() pulumi.StringOutput
- func (o RepoIamMemberOutput) ToRepoIamMemberOutput() RepoIamMemberOutput
- func (o RepoIamMemberOutput) ToRepoIamMemberOutputWithContext(ctx context.Context) RepoIamMemberOutput
- type RepoIamMemberState
- type RepoIamPolicy
- type RepoIamPolicyArgs
- type RepoIamPolicyInput
- type RepoIamPolicyOutput
- func (o RepoIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o RepoIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (RepoIamPolicyOutput) ElementType() reflect.Type
- func (o RepoIamPolicyOutput) Etag() pulumi.StringOutput
- func (o RepoIamPolicyOutput) Project() pulumi.StringOutput
- func (o RepoIamPolicyOutput) RepoId() pulumi.StringOutput
- func (o RepoIamPolicyOutput) ToRepoIamPolicyOutput() RepoIamPolicyOutput
- func (o RepoIamPolicyOutput) ToRepoIamPolicyOutputWithContext(ctx context.Context) RepoIamPolicyOutput
- func (o RepoIamPolicyOutput) Version() pulumi.IntOutput
- type RepoIamPolicyState
- type RepoInput
- type RepoOutput
- func (RepoOutput) ElementType() reflect.Type
- func (o RepoOutput) MirrorConfig() MirrorConfigResponseOutput
- func (o RepoOutput) Name() pulumi.StringOutput
- func (o RepoOutput) Project() pulumi.StringOutput
- func (o RepoOutput) PubsubConfigs() PubsubConfigResponseMapOutput
- func (o RepoOutput) Size() pulumi.StringOutput
- func (o RepoOutput) ToRepoOutput() RepoOutput
- func (o RepoOutput) ToRepoOutputWithContext(ctx context.Context) RepoOutput
- func (o RepoOutput) Url() pulumi.StringOutput
- type RepoState
Constants ¶
const ( // Default case. Should never be this. AuditLogConfigLogTypeLogTypeUnspecified = AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED") // Admin reads. Example: CloudIAM getIamPolicy AuditLogConfigLogTypeAdminRead = AuditLogConfigLogType("ADMIN_READ") // Data writes. Example: CloudSQL Users create AuditLogConfigLogTypeDataWrite = AuditLogConfigLogType("DATA_WRITE") // Data reads. Example: CloudSQL Users list AuditLogConfigLogTypeDataRead = AuditLogConfigLogType("DATA_READ") )
const ( // Unspecified. PubsubConfigMessageFormatMessageFormatUnspecified = PubsubConfigMessageFormat("MESSAGE_FORMAT_UNSPECIFIED") // The message payload is a serialized protocol buffer of SourceRepoEvent. PubsubConfigMessageFormatProtobuf = PubsubConfigMessageFormat("PROTOBUF") // The message payload is a JSON string of SourceRepoEvent. PubsubConfigMessageFormatJson = PubsubConfigMessageFormat("JSON") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditConfig ¶
type AuditConfig struct { // The configuration for logging of each type of permission. AuditLogConfigs []AuditLogConfig `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service *string `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
type AuditConfigArgs ¶
type AuditConfigArgs struct { // The configuration for logging of each type of permission. AuditLogConfigs AuditLogConfigArrayInput `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service pulumi.StringPtrInput `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
func (AuditConfigArgs) ElementType ¶
func (AuditConfigArgs) ElementType() reflect.Type
func (AuditConfigArgs) ToAuditConfigOutput ¶
func (i AuditConfigArgs) ToAuditConfigOutput() AuditConfigOutput
func (AuditConfigArgs) ToAuditConfigOutputWithContext ¶
func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
type AuditConfigArray ¶
type AuditConfigArray []AuditConfigInput
func (AuditConfigArray) ElementType ¶
func (AuditConfigArray) ElementType() reflect.Type
func (AuditConfigArray) ToAuditConfigArrayOutput ¶
func (i AuditConfigArray) ToAuditConfigArrayOutput() AuditConfigArrayOutput
func (AuditConfigArray) ToAuditConfigArrayOutputWithContext ¶
func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
type AuditConfigArrayInput ¶
type AuditConfigArrayInput interface { pulumi.Input ToAuditConfigArrayOutput() AuditConfigArrayOutput ToAuditConfigArrayOutputWithContext(context.Context) AuditConfigArrayOutput }
AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. You can construct a concrete instance of `AuditConfigArrayInput` via:
AuditConfigArray{ AuditConfigArgs{...} }
type AuditConfigArrayOutput ¶
type AuditConfigArrayOutput struct{ *pulumi.OutputState }
func (AuditConfigArrayOutput) ElementType ¶
func (AuditConfigArrayOutput) ElementType() reflect.Type
func (AuditConfigArrayOutput) Index ¶
func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput
func (AuditConfigArrayOutput) ToAuditConfigArrayOutput ¶
func (o AuditConfigArrayOutput) ToAuditConfigArrayOutput() AuditConfigArrayOutput
func (AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext ¶
func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
type AuditConfigInput ¶
type AuditConfigInput interface { pulumi.Input ToAuditConfigOutput() AuditConfigOutput ToAuditConfigOutputWithContext(context.Context) AuditConfigOutput }
AuditConfigInput is an input type that accepts AuditConfigArgs and AuditConfigOutput values. You can construct a concrete instance of `AuditConfigInput` via:
AuditConfigArgs{...}
type AuditConfigOutput ¶
type AuditConfigOutput struct{ *pulumi.OutputState }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
func (AuditConfigOutput) AuditLogConfigs ¶
func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput
The configuration for logging of each type of permission.
func (AuditConfigOutput) ElementType ¶
func (AuditConfigOutput) ElementType() reflect.Type
func (AuditConfigOutput) Service ¶
func (o AuditConfigOutput) Service() pulumi.StringPtrOutput
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
func (AuditConfigOutput) ToAuditConfigOutput ¶
func (o AuditConfigOutput) ToAuditConfigOutput() AuditConfigOutput
func (AuditConfigOutput) ToAuditConfigOutputWithContext ¶
func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
type AuditConfigResponse ¶
type AuditConfigResponse struct { // The configuration for logging of each type of permission. AuditLogConfigs []AuditLogConfigResponse `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service string `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
type AuditConfigResponseArrayOutput ¶
type AuditConfigResponseArrayOutput struct{ *pulumi.OutputState }
func (AuditConfigResponseArrayOutput) ElementType ¶
func (AuditConfigResponseArrayOutput) ElementType() reflect.Type
func (AuditConfigResponseArrayOutput) Index ¶
func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput
func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput ¶
func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput
func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext ¶
func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext(ctx context.Context) AuditConfigResponseArrayOutput
type AuditConfigResponseOutput ¶
type AuditConfigResponseOutput struct{ *pulumi.OutputState }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
func (AuditConfigResponseOutput) AuditLogConfigs ¶
func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput
The configuration for logging of each type of permission.
func (AuditConfigResponseOutput) ElementType ¶
func (AuditConfigResponseOutput) ElementType() reflect.Type
func (AuditConfigResponseOutput) Service ¶
func (o AuditConfigResponseOutput) Service() pulumi.StringOutput
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
func (AuditConfigResponseOutput) ToAuditConfigResponseOutput ¶
func (o AuditConfigResponseOutput) ToAuditConfigResponseOutput() AuditConfigResponseOutput
func (AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext ¶
func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx context.Context) AuditConfigResponseOutput
type AuditLogConfig ¶
type AuditLogConfig struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers []string `pulumi:"exemptedMembers"` // The log type that this config enables. LogType *AuditLogConfigLogType `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
type AuditLogConfigArgs ¶
type AuditLogConfigArgs struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers pulumi.StringArrayInput `pulumi:"exemptedMembers"` // The log type that this config enables. LogType AuditLogConfigLogTypePtrInput `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigArgs) ElementType ¶
func (AuditLogConfigArgs) ElementType() reflect.Type
func (AuditLogConfigArgs) ToAuditLogConfigOutput ¶
func (i AuditLogConfigArgs) ToAuditLogConfigOutput() AuditLogConfigOutput
func (AuditLogConfigArgs) ToAuditLogConfigOutputWithContext ¶
func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
type AuditLogConfigArray ¶
type AuditLogConfigArray []AuditLogConfigInput
func (AuditLogConfigArray) ElementType ¶
func (AuditLogConfigArray) ElementType() reflect.Type
func (AuditLogConfigArray) ToAuditLogConfigArrayOutput ¶
func (i AuditLogConfigArray) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
func (AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext ¶
func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
type AuditLogConfigArrayInput ¶
type AuditLogConfigArrayInput interface { pulumi.Input ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput ToAuditLogConfigArrayOutputWithContext(context.Context) AuditLogConfigArrayOutput }
AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. You can construct a concrete instance of `AuditLogConfigArrayInput` via:
AuditLogConfigArray{ AuditLogConfigArgs{...} }
type AuditLogConfigArrayOutput ¶
type AuditLogConfigArrayOutput struct{ *pulumi.OutputState }
func (AuditLogConfigArrayOutput) ElementType ¶
func (AuditLogConfigArrayOutput) ElementType() reflect.Type
func (AuditLogConfigArrayOutput) Index ¶
func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput
func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput ¶
func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext ¶
func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
type AuditLogConfigInput ¶
type AuditLogConfigInput interface { pulumi.Input ToAuditLogConfigOutput() AuditLogConfigOutput ToAuditLogConfigOutputWithContext(context.Context) AuditLogConfigOutput }
AuditLogConfigInput is an input type that accepts AuditLogConfigArgs and AuditLogConfigOutput values. You can construct a concrete instance of `AuditLogConfigInput` via:
AuditLogConfigArgs{...}
type AuditLogConfigLogType ¶ added in v0.4.0
type AuditLogConfigLogType string
The log type that this config enables.
func (AuditLogConfigLogType) ElementType ¶ added in v0.4.0
func (AuditLogConfigLogType) ElementType() reflect.Type
func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput ¶ added in v0.6.0
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext ¶ added in v0.6.0
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput
func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput ¶ added in v0.6.0
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext ¶ added in v0.6.0
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogType) ToStringOutput ¶ added in v0.4.0
func (e AuditLogConfigLogType) ToStringOutput() pulumi.StringOutput
func (AuditLogConfigLogType) ToStringOutputWithContext ¶ added in v0.4.0
func (e AuditLogConfigLogType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AuditLogConfigLogType) ToStringPtrOutput ¶ added in v0.4.0
func (e AuditLogConfigLogType) ToStringPtrOutput() pulumi.StringPtrOutput
func (AuditLogConfigLogType) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e AuditLogConfigLogType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AuditLogConfigLogTypeInput ¶ added in v0.6.0
type AuditLogConfigLogTypeInput interface { pulumi.Input ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput ToAuditLogConfigLogTypeOutputWithContext(context.Context) AuditLogConfigLogTypeOutput }
AuditLogConfigLogTypeInput is an input type that accepts values of the AuditLogConfigLogType enum A concrete instance of `AuditLogConfigLogTypeInput` can be one of the following:
AuditLogConfigLogTypeLogTypeUnspecified AuditLogConfigLogTypeAdminRead AuditLogConfigLogTypeDataWrite AuditLogConfigLogTypeDataRead
type AuditLogConfigLogTypeOutput ¶ added in v0.6.0
type AuditLogConfigLogTypeOutput struct{ *pulumi.OutputState }
func (AuditLogConfigLogTypeOutput) ElementType ¶ added in v0.6.0
func (AuditLogConfigLogTypeOutput) ElementType() reflect.Type
func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput
func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogTypeOutput) ToStringOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput
func (AuditLogConfigLogTypeOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AuditLogConfigLogTypeOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AuditLogConfigLogTypePtrInput ¶ added in v0.6.0
type AuditLogConfigLogTypePtrInput interface { pulumi.Input ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput ToAuditLogConfigLogTypePtrOutputWithContext(context.Context) AuditLogConfigLogTypePtrOutput }
func AuditLogConfigLogTypePtr ¶ added in v0.6.0
func AuditLogConfigLogTypePtr(v string) AuditLogConfigLogTypePtrInput
type AuditLogConfigLogTypePtrOutput ¶ added in v0.6.0
type AuditLogConfigLogTypePtrOutput struct{ *pulumi.OutputState }
func (AuditLogConfigLogTypePtrOutput) Elem ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput
func (AuditLogConfigLogTypePtrOutput) ElementType ¶ added in v0.6.0
func (AuditLogConfigLogTypePtrOutput) ElementType() reflect.Type
func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AuditLogConfigOutput ¶
type AuditLogConfigOutput struct{ *pulumi.OutputState }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigOutput) ElementType ¶
func (AuditLogConfigOutput) ElementType() reflect.Type
func (AuditLogConfigOutput) ExemptedMembers ¶
func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
func (AuditLogConfigOutput) LogType ¶
func (o AuditLogConfigOutput) LogType() AuditLogConfigLogTypePtrOutput
The log type that this config enables.
func (AuditLogConfigOutput) ToAuditLogConfigOutput ¶
func (o AuditLogConfigOutput) ToAuditLogConfigOutput() AuditLogConfigOutput
func (AuditLogConfigOutput) ToAuditLogConfigOutputWithContext ¶
func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
type AuditLogConfigResponse ¶
type AuditLogConfigResponse struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers []string `pulumi:"exemptedMembers"` // The log type that this config enables. LogType string `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
type AuditLogConfigResponseArrayOutput ¶
type AuditLogConfigResponseArrayOutput struct{ *pulumi.OutputState }
func (AuditLogConfigResponseArrayOutput) ElementType ¶
func (AuditLogConfigResponseArrayOutput) ElementType() reflect.Type
func (AuditLogConfigResponseArrayOutput) Index ¶
func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput
func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput ¶
func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput
func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext ¶
func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput
type AuditLogConfigResponseOutput ¶
type AuditLogConfigResponseOutput struct{ *pulumi.OutputState }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigResponseOutput) ElementType ¶
func (AuditLogConfigResponseOutput) ElementType() reflect.Type
func (AuditLogConfigResponseOutput) ExemptedMembers ¶
func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
func (AuditLogConfigResponseOutput) LogType ¶
func (o AuditLogConfigResponseOutput) LogType() pulumi.StringOutput
The log type that this config enables.
func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput ¶
func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput
func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext ¶
func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext(ctx context.Context) AuditLogConfigResponseOutput
type Binding ¶
type Binding struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `pulumi:"condition"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role *string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingArgs ¶
type BindingArgs struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprPtrInput `pulumi:"condition"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Members pulumi.StringArrayInput `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringPtrInput `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
func (BindingArgs) ElementType ¶
func (BindingArgs) ElementType() reflect.Type
func (BindingArgs) ToBindingOutput ¶
func (i BindingArgs) ToBindingOutput() BindingOutput
func (BindingArgs) ToBindingOutputWithContext ¶
func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingArray ¶
type BindingArray []BindingInput
func (BindingArray) ElementType ¶
func (BindingArray) ElementType() reflect.Type
func (BindingArray) ToBindingArrayOutput ¶
func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput
func (BindingArray) ToBindingArrayOutputWithContext ¶
func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingArrayInput ¶
type BindingArrayInput interface { pulumi.Input ToBindingArrayOutput() BindingArrayOutput ToBindingArrayOutputWithContext(context.Context) BindingArrayOutput }
BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. You can construct a concrete instance of `BindingArrayInput` via:
BindingArray{ BindingArgs{...} }
type BindingArrayOutput ¶
type BindingArrayOutput struct{ *pulumi.OutputState }
func (BindingArrayOutput) ElementType ¶
func (BindingArrayOutput) ElementType() reflect.Type
func (BindingArrayOutput) Index ¶
func (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 Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
func (BindingOutput) Role ¶
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 Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingResponseArrayOutput ¶
type BindingResponseArrayOutput struct{ *pulumi.OutputState }
func (BindingResponseArrayOutput) ElementType ¶
func (BindingResponseArrayOutput) ElementType() reflect.Type
func (BindingResponseArrayOutput) Index ¶
func (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 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 Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
func (BindingResponseOutput) Role ¶
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 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 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 LookupRepoArgs ¶ added in v0.4.0
type LookupRepoIamPolicyArgs ¶ added in v0.4.0
type LookupRepoIamPolicyOutputArgs ¶ added in v0.8.0
type LookupRepoIamPolicyOutputArgs struct { OptionsRequestedPolicyVersion pulumi.IntPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` RepoId pulumi.StringInput `pulumi:"repoId"` }
func (LookupRepoIamPolicyOutputArgs) ElementType ¶ added in v0.8.0
func (LookupRepoIamPolicyOutputArgs) ElementType() reflect.Type
type LookupRepoIamPolicyResult ¶ added in v0.4.0
type LookupRepoIamPolicyResult struct { // Specifies cloud audit logging configuration for this policy. AuditConfigs []AuditConfigResponse `pulumi:"auditConfigs"` // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupRepoIamPolicy ¶ added in v0.4.0
func LookupRepoIamPolicy(ctx *pulumi.Context, args *LookupRepoIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRepoIamPolicyResult, 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 LookupRepoIamPolicyResultOutput ¶ added in v0.8.0
type LookupRepoIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupRepoIamPolicyOutput ¶ added in v0.8.0
func LookupRepoIamPolicyOutput(ctx *pulumi.Context, args LookupRepoIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupRepoIamPolicyResultOutput
func (LookupRepoIamPolicyResultOutput) AuditConfigs ¶ added in v0.8.0
func (o LookupRepoIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (LookupRepoIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupRepoIamPolicyResultOutput) 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 (LookupRepoIamPolicyResultOutput) ElementType ¶ added in v0.8.0
func (LookupRepoIamPolicyResultOutput) ElementType() reflect.Type
func (LookupRepoIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupRepoIamPolicyResultOutput) 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 (LookupRepoIamPolicyResultOutput) ToLookupRepoIamPolicyResultOutput ¶ added in v0.8.0
func (o LookupRepoIamPolicyResultOutput) ToLookupRepoIamPolicyResultOutput() LookupRepoIamPolicyResultOutput
func (LookupRepoIamPolicyResultOutput) ToLookupRepoIamPolicyResultOutputWithContext ¶ added in v0.8.0
func (o LookupRepoIamPolicyResultOutput) ToLookupRepoIamPolicyResultOutputWithContext(ctx context.Context) LookupRepoIamPolicyResultOutput
func (LookupRepoIamPolicyResultOutput) Version ¶ added in v0.8.0
func (o LookupRepoIamPolicyResultOutput) 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 LookupRepoOutputArgs ¶ added in v0.8.0
type LookupRepoOutputArgs struct { Project pulumi.StringPtrInput `pulumi:"project"` RepoId pulumi.StringInput `pulumi:"repoId"` }
func (LookupRepoOutputArgs) ElementType ¶ added in v0.8.0
func (LookupRepoOutputArgs) ElementType() reflect.Type
type LookupRepoResult ¶ added in v0.4.0
type LookupRepoResult struct { // How this repository mirrors a repository managed by another service. Read-only field. MirrorConfig MirrorConfigResponse `pulumi:"mirrorConfig"` // Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash` Name string `pulumi:"name"` // How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names. PubsubConfigs map[string]PubsubConfigResponse `pulumi:"pubsubConfigs"` // The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo. Size string `pulumi:"size"` // URL to clone the repository from Google Cloud Source Repositories. Read-only field. Url string `pulumi:"url"` }
func LookupRepo ¶ added in v0.4.0
func LookupRepo(ctx *pulumi.Context, args *LookupRepoArgs, opts ...pulumi.InvokeOption) (*LookupRepoResult, error)
Returns information about a repo.
type LookupRepoResultOutput ¶ added in v0.8.0
type LookupRepoResultOutput struct{ *pulumi.OutputState }
func LookupRepoOutput ¶ added in v0.8.0
func LookupRepoOutput(ctx *pulumi.Context, args LookupRepoOutputArgs, opts ...pulumi.InvokeOption) LookupRepoResultOutput
func (LookupRepoResultOutput) ElementType ¶ added in v0.8.0
func (LookupRepoResultOutput) ElementType() reflect.Type
func (LookupRepoResultOutput) MirrorConfig ¶ added in v0.8.0
func (o LookupRepoResultOutput) MirrorConfig() MirrorConfigResponseOutput
How this repository mirrors a repository managed by another service. Read-only field.
func (LookupRepoResultOutput) Name ¶ added in v0.8.0
func (o LookupRepoResultOutput) Name() pulumi.StringOutput
Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash`
func (LookupRepoResultOutput) PubsubConfigs ¶ added in v0.8.0
func (o LookupRepoResultOutput) PubsubConfigs() PubsubConfigResponseMapOutput
How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.
func (LookupRepoResultOutput) Size ¶ added in v0.8.0
func (o LookupRepoResultOutput) Size() pulumi.StringOutput
The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.
func (LookupRepoResultOutput) ToLookupRepoResultOutput ¶ added in v0.8.0
func (o LookupRepoResultOutput) ToLookupRepoResultOutput() LookupRepoResultOutput
func (LookupRepoResultOutput) ToLookupRepoResultOutputWithContext ¶ added in v0.8.0
func (o LookupRepoResultOutput) ToLookupRepoResultOutputWithContext(ctx context.Context) LookupRepoResultOutput
func (LookupRepoResultOutput) Url ¶ added in v0.8.0
func (o LookupRepoResultOutput) Url() pulumi.StringOutput
URL to clone the repository from Google Cloud Source Repositories. Read-only field.
type MirrorConfig ¶
type MirrorConfig struct { // ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring. DeployKeyId *string `pulumi:"deployKeyId"` // URL of the main repository at the other hosting service. Url *string `pulumi:"url"` // ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring. WebhookId *string `pulumi:"webhookId"` }
Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.
type MirrorConfigArgs ¶
type MirrorConfigArgs struct { // ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring. DeployKeyId pulumi.StringPtrInput `pulumi:"deployKeyId"` // URL of the main repository at the other hosting service. Url pulumi.StringPtrInput `pulumi:"url"` // ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring. WebhookId pulumi.StringPtrInput `pulumi:"webhookId"` }
Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.
func (MirrorConfigArgs) ElementType ¶
func (MirrorConfigArgs) ElementType() reflect.Type
func (MirrorConfigArgs) ToMirrorConfigOutput ¶
func (i MirrorConfigArgs) ToMirrorConfigOutput() MirrorConfigOutput
func (MirrorConfigArgs) ToMirrorConfigOutputWithContext ¶
func (i MirrorConfigArgs) ToMirrorConfigOutputWithContext(ctx context.Context) MirrorConfigOutput
func (MirrorConfigArgs) ToMirrorConfigPtrOutput ¶
func (i MirrorConfigArgs) ToMirrorConfigPtrOutput() MirrorConfigPtrOutput
func (MirrorConfigArgs) ToMirrorConfigPtrOutputWithContext ¶
func (i MirrorConfigArgs) ToMirrorConfigPtrOutputWithContext(ctx context.Context) MirrorConfigPtrOutput
type MirrorConfigInput ¶
type MirrorConfigInput interface { pulumi.Input ToMirrorConfigOutput() MirrorConfigOutput ToMirrorConfigOutputWithContext(context.Context) MirrorConfigOutput }
MirrorConfigInput is an input type that accepts MirrorConfigArgs and MirrorConfigOutput values. You can construct a concrete instance of `MirrorConfigInput` via:
MirrorConfigArgs{...}
type MirrorConfigOutput ¶
type MirrorConfigOutput struct{ *pulumi.OutputState }
Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.
func (MirrorConfigOutput) DeployKeyId ¶
func (o MirrorConfigOutput) DeployKeyId() pulumi.StringPtrOutput
ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.
func (MirrorConfigOutput) ElementType ¶
func (MirrorConfigOutput) ElementType() reflect.Type
func (MirrorConfigOutput) ToMirrorConfigOutput ¶
func (o MirrorConfigOutput) ToMirrorConfigOutput() MirrorConfigOutput
func (MirrorConfigOutput) ToMirrorConfigOutputWithContext ¶
func (o MirrorConfigOutput) ToMirrorConfigOutputWithContext(ctx context.Context) MirrorConfigOutput
func (MirrorConfigOutput) ToMirrorConfigPtrOutput ¶
func (o MirrorConfigOutput) ToMirrorConfigPtrOutput() MirrorConfigPtrOutput
func (MirrorConfigOutput) ToMirrorConfigPtrOutputWithContext ¶
func (o MirrorConfigOutput) ToMirrorConfigPtrOutputWithContext(ctx context.Context) MirrorConfigPtrOutput
func (MirrorConfigOutput) Url ¶
func (o MirrorConfigOutput) Url() pulumi.StringPtrOutput
URL of the main repository at the other hosting service.
func (MirrorConfigOutput) WebhookId ¶
func (o MirrorConfigOutput) WebhookId() pulumi.StringPtrOutput
ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.
type MirrorConfigPtrInput ¶
type MirrorConfigPtrInput interface { pulumi.Input ToMirrorConfigPtrOutput() MirrorConfigPtrOutput ToMirrorConfigPtrOutputWithContext(context.Context) MirrorConfigPtrOutput }
MirrorConfigPtrInput is an input type that accepts MirrorConfigArgs, MirrorConfigPtr and MirrorConfigPtrOutput values. You can construct a concrete instance of `MirrorConfigPtrInput` via:
MirrorConfigArgs{...} or: nil
func MirrorConfigPtr ¶
func MirrorConfigPtr(v *MirrorConfigArgs) MirrorConfigPtrInput
type MirrorConfigPtrOutput ¶
type MirrorConfigPtrOutput struct{ *pulumi.OutputState }
func (MirrorConfigPtrOutput) DeployKeyId ¶
func (o MirrorConfigPtrOutput) DeployKeyId() pulumi.StringPtrOutput
ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.
func (MirrorConfigPtrOutput) Elem ¶
func (o MirrorConfigPtrOutput) Elem() MirrorConfigOutput
func (MirrorConfigPtrOutput) ElementType ¶
func (MirrorConfigPtrOutput) ElementType() reflect.Type
func (MirrorConfigPtrOutput) ToMirrorConfigPtrOutput ¶
func (o MirrorConfigPtrOutput) ToMirrorConfigPtrOutput() MirrorConfigPtrOutput
func (MirrorConfigPtrOutput) ToMirrorConfigPtrOutputWithContext ¶
func (o MirrorConfigPtrOutput) ToMirrorConfigPtrOutputWithContext(ctx context.Context) MirrorConfigPtrOutput
func (MirrorConfigPtrOutput) Url ¶
func (o MirrorConfigPtrOutput) Url() pulumi.StringPtrOutput
URL of the main repository at the other hosting service.
func (MirrorConfigPtrOutput) WebhookId ¶
func (o MirrorConfigPtrOutput) WebhookId() pulumi.StringPtrOutput
ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.
type MirrorConfigResponse ¶
type MirrorConfigResponse struct { // ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring. DeployKeyId string `pulumi:"deployKeyId"` // URL of the main repository at the other hosting service. Url string `pulumi:"url"` // ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring. WebhookId string `pulumi:"webhookId"` }
Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.
type MirrorConfigResponseOutput ¶
type MirrorConfigResponseOutput struct{ *pulumi.OutputState }
Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.
func (MirrorConfigResponseOutput) DeployKeyId ¶
func (o MirrorConfigResponseOutput) DeployKeyId() pulumi.StringOutput
ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.
func (MirrorConfigResponseOutput) ElementType ¶
func (MirrorConfigResponseOutput) ElementType() reflect.Type
func (MirrorConfigResponseOutput) ToMirrorConfigResponseOutput ¶
func (o MirrorConfigResponseOutput) ToMirrorConfigResponseOutput() MirrorConfigResponseOutput
func (MirrorConfigResponseOutput) ToMirrorConfigResponseOutputWithContext ¶
func (o MirrorConfigResponseOutput) ToMirrorConfigResponseOutputWithContext(ctx context.Context) MirrorConfigResponseOutput
func (MirrorConfigResponseOutput) Url ¶
func (o MirrorConfigResponseOutput) Url() pulumi.StringOutput
URL of the main repository at the other hosting service.
func (MirrorConfigResponseOutput) WebhookId ¶
func (o MirrorConfigResponseOutput) WebhookId() pulumi.StringOutput
ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.
type PubsubConfig ¶
type PubsubConfig struct { // The format of the Cloud Pub/Sub messages. MessageFormat *PubsubConfigMessageFormat `pulumi:"messageFormat"` // Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account. ServiceAccountEmail *string `pulumi:"serviceAccountEmail"` // A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The project needs to be the same project as this config is in. Topic *string `pulumi:"topic"` }
Configuration to publish a Cloud Pub/Sub message.
type PubsubConfigArgs ¶
type PubsubConfigArgs struct { // The format of the Cloud Pub/Sub messages. MessageFormat PubsubConfigMessageFormatPtrInput `pulumi:"messageFormat"` // Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account. ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"` // A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The project needs to be the same project as this config is in. Topic pulumi.StringPtrInput `pulumi:"topic"` }
Configuration to publish a Cloud Pub/Sub message.
func (PubsubConfigArgs) ElementType ¶
func (PubsubConfigArgs) ElementType() reflect.Type
func (PubsubConfigArgs) ToPubsubConfigOutput ¶
func (i PubsubConfigArgs) ToPubsubConfigOutput() PubsubConfigOutput
func (PubsubConfigArgs) ToPubsubConfigOutputWithContext ¶
func (i PubsubConfigArgs) ToPubsubConfigOutputWithContext(ctx context.Context) PubsubConfigOutput
type PubsubConfigInput ¶
type PubsubConfigInput interface { pulumi.Input ToPubsubConfigOutput() PubsubConfigOutput ToPubsubConfigOutputWithContext(context.Context) PubsubConfigOutput }
PubsubConfigInput is an input type that accepts PubsubConfigArgs and PubsubConfigOutput values. You can construct a concrete instance of `PubsubConfigInput` via:
PubsubConfigArgs{...}
type PubsubConfigMap ¶
type PubsubConfigMap map[string]PubsubConfigInput
func (PubsubConfigMap) ElementType ¶
func (PubsubConfigMap) ElementType() reflect.Type
func (PubsubConfigMap) ToPubsubConfigMapOutput ¶
func (i PubsubConfigMap) ToPubsubConfigMapOutput() PubsubConfigMapOutput
func (PubsubConfigMap) ToPubsubConfigMapOutputWithContext ¶
func (i PubsubConfigMap) ToPubsubConfigMapOutputWithContext(ctx context.Context) PubsubConfigMapOutput
type PubsubConfigMapInput ¶
type PubsubConfigMapInput interface { pulumi.Input ToPubsubConfigMapOutput() PubsubConfigMapOutput ToPubsubConfigMapOutputWithContext(context.Context) PubsubConfigMapOutput }
PubsubConfigMapInput is an input type that accepts PubsubConfigMap and PubsubConfigMapOutput values. You can construct a concrete instance of `PubsubConfigMapInput` via:
PubsubConfigMap{ "key": PubsubConfigArgs{...} }
type PubsubConfigMapOutput ¶
type PubsubConfigMapOutput struct{ *pulumi.OutputState }
func (PubsubConfigMapOutput) ElementType ¶
func (PubsubConfigMapOutput) ElementType() reflect.Type
func (PubsubConfigMapOutput) MapIndex ¶
func (o PubsubConfigMapOutput) MapIndex(k pulumi.StringInput) PubsubConfigOutput
func (PubsubConfigMapOutput) ToPubsubConfigMapOutput ¶
func (o PubsubConfigMapOutput) ToPubsubConfigMapOutput() PubsubConfigMapOutput
func (PubsubConfigMapOutput) ToPubsubConfigMapOutputWithContext ¶
func (o PubsubConfigMapOutput) ToPubsubConfigMapOutputWithContext(ctx context.Context) PubsubConfigMapOutput
type PubsubConfigMessageFormat ¶
type PubsubConfigMessageFormat string
The format of the Cloud Pub/Sub messages.
func (PubsubConfigMessageFormat) ElementType ¶
func (PubsubConfigMessageFormat) ElementType() reflect.Type
func (PubsubConfigMessageFormat) ToPubsubConfigMessageFormatOutput ¶
func (e PubsubConfigMessageFormat) ToPubsubConfigMessageFormatOutput() PubsubConfigMessageFormatOutput
func (PubsubConfigMessageFormat) ToPubsubConfigMessageFormatOutputWithContext ¶
func (e PubsubConfigMessageFormat) ToPubsubConfigMessageFormatOutputWithContext(ctx context.Context) PubsubConfigMessageFormatOutput
func (PubsubConfigMessageFormat) ToPubsubConfigMessageFormatPtrOutput ¶
func (e PubsubConfigMessageFormat) ToPubsubConfigMessageFormatPtrOutput() PubsubConfigMessageFormatPtrOutput
func (PubsubConfigMessageFormat) ToPubsubConfigMessageFormatPtrOutputWithContext ¶
func (e PubsubConfigMessageFormat) ToPubsubConfigMessageFormatPtrOutputWithContext(ctx context.Context) PubsubConfigMessageFormatPtrOutput
func (PubsubConfigMessageFormat) ToStringOutput ¶
func (e PubsubConfigMessageFormat) ToStringOutput() pulumi.StringOutput
func (PubsubConfigMessageFormat) ToStringOutputWithContext ¶
func (e PubsubConfigMessageFormat) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (PubsubConfigMessageFormat) ToStringPtrOutput ¶
func (e PubsubConfigMessageFormat) ToStringPtrOutput() pulumi.StringPtrOutput
func (PubsubConfigMessageFormat) ToStringPtrOutputWithContext ¶
func (e PubsubConfigMessageFormat) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type PubsubConfigMessageFormatInput ¶
type PubsubConfigMessageFormatInput interface { pulumi.Input ToPubsubConfigMessageFormatOutput() PubsubConfigMessageFormatOutput ToPubsubConfigMessageFormatOutputWithContext(context.Context) PubsubConfigMessageFormatOutput }
PubsubConfigMessageFormatInput is an input type that accepts values of the PubsubConfigMessageFormat enum A concrete instance of `PubsubConfigMessageFormatInput` can be one of the following:
PubsubConfigMessageFormatMessageFormatUnspecified PubsubConfigMessageFormatProtobuf PubsubConfigMessageFormatJson
type PubsubConfigMessageFormatOutput ¶
type PubsubConfigMessageFormatOutput struct{ *pulumi.OutputState }
func (PubsubConfigMessageFormatOutput) ElementType ¶
func (PubsubConfigMessageFormatOutput) ElementType() reflect.Type
func (PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatOutput ¶
func (o PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatOutput() PubsubConfigMessageFormatOutput
func (PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatOutputWithContext ¶
func (o PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatOutputWithContext(ctx context.Context) PubsubConfigMessageFormatOutput
func (PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatPtrOutput ¶
func (o PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatPtrOutput() PubsubConfigMessageFormatPtrOutput
func (PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatPtrOutputWithContext ¶
func (o PubsubConfigMessageFormatOutput) ToPubsubConfigMessageFormatPtrOutputWithContext(ctx context.Context) PubsubConfigMessageFormatPtrOutput
func (PubsubConfigMessageFormatOutput) ToStringOutput ¶
func (o PubsubConfigMessageFormatOutput) ToStringOutput() pulumi.StringOutput
func (PubsubConfigMessageFormatOutput) ToStringOutputWithContext ¶
func (o PubsubConfigMessageFormatOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (PubsubConfigMessageFormatOutput) ToStringPtrOutput ¶
func (o PubsubConfigMessageFormatOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (PubsubConfigMessageFormatOutput) ToStringPtrOutputWithContext ¶
func (o PubsubConfigMessageFormatOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type PubsubConfigMessageFormatPtrInput ¶
type PubsubConfigMessageFormatPtrInput interface { pulumi.Input ToPubsubConfigMessageFormatPtrOutput() PubsubConfigMessageFormatPtrOutput ToPubsubConfigMessageFormatPtrOutputWithContext(context.Context) PubsubConfigMessageFormatPtrOutput }
func PubsubConfigMessageFormatPtr ¶
func PubsubConfigMessageFormatPtr(v string) PubsubConfigMessageFormatPtrInput
type PubsubConfigMessageFormatPtrOutput ¶
type PubsubConfigMessageFormatPtrOutput struct{ *pulumi.OutputState }
func (PubsubConfigMessageFormatPtrOutput) Elem ¶
func (o PubsubConfigMessageFormatPtrOutput) Elem() PubsubConfigMessageFormatOutput
func (PubsubConfigMessageFormatPtrOutput) ElementType ¶
func (PubsubConfigMessageFormatPtrOutput) ElementType() reflect.Type
func (PubsubConfigMessageFormatPtrOutput) ToPubsubConfigMessageFormatPtrOutput ¶
func (o PubsubConfigMessageFormatPtrOutput) ToPubsubConfigMessageFormatPtrOutput() PubsubConfigMessageFormatPtrOutput
func (PubsubConfigMessageFormatPtrOutput) ToPubsubConfigMessageFormatPtrOutputWithContext ¶
func (o PubsubConfigMessageFormatPtrOutput) ToPubsubConfigMessageFormatPtrOutputWithContext(ctx context.Context) PubsubConfigMessageFormatPtrOutput
func (PubsubConfigMessageFormatPtrOutput) ToStringPtrOutput ¶
func (o PubsubConfigMessageFormatPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (PubsubConfigMessageFormatPtrOutput) ToStringPtrOutputWithContext ¶
func (o PubsubConfigMessageFormatPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type PubsubConfigOutput ¶
type PubsubConfigOutput struct{ *pulumi.OutputState }
Configuration to publish a Cloud Pub/Sub message.
func (PubsubConfigOutput) ElementType ¶
func (PubsubConfigOutput) ElementType() reflect.Type
func (PubsubConfigOutput) MessageFormat ¶
func (o PubsubConfigOutput) MessageFormat() PubsubConfigMessageFormatPtrOutput
The format of the Cloud Pub/Sub messages.
func (PubsubConfigOutput) ServiceAccountEmail ¶
func (o PubsubConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput
Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.
func (PubsubConfigOutput) ToPubsubConfigOutput ¶
func (o PubsubConfigOutput) ToPubsubConfigOutput() PubsubConfigOutput
func (PubsubConfigOutput) ToPubsubConfigOutputWithContext ¶
func (o PubsubConfigOutput) ToPubsubConfigOutputWithContext(ctx context.Context) PubsubConfigOutput
func (PubsubConfigOutput) Topic ¶
func (o PubsubConfigOutput) Topic() pulumi.StringPtrOutput
A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The project needs to be the same project as this config is in.
type PubsubConfigResponse ¶
type PubsubConfigResponse struct { // The format of the Cloud Pub/Sub messages. MessageFormat string `pulumi:"messageFormat"` // Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account. ServiceAccountEmail string `pulumi:"serviceAccountEmail"` // A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The project needs to be the same project as this config is in. Topic string `pulumi:"topic"` }
Configuration to publish a Cloud Pub/Sub message.
type PubsubConfigResponseMapOutput ¶
type PubsubConfigResponseMapOutput struct{ *pulumi.OutputState }
func (PubsubConfigResponseMapOutput) ElementType ¶
func (PubsubConfigResponseMapOutput) ElementType() reflect.Type
func (PubsubConfigResponseMapOutput) MapIndex ¶
func (o PubsubConfigResponseMapOutput) MapIndex(k pulumi.StringInput) PubsubConfigResponseOutput
func (PubsubConfigResponseMapOutput) ToPubsubConfigResponseMapOutput ¶
func (o PubsubConfigResponseMapOutput) ToPubsubConfigResponseMapOutput() PubsubConfigResponseMapOutput
func (PubsubConfigResponseMapOutput) ToPubsubConfigResponseMapOutputWithContext ¶
func (o PubsubConfigResponseMapOutput) ToPubsubConfigResponseMapOutputWithContext(ctx context.Context) PubsubConfigResponseMapOutput
type PubsubConfigResponseOutput ¶
type PubsubConfigResponseOutput struct{ *pulumi.OutputState }
Configuration to publish a Cloud Pub/Sub message.
func (PubsubConfigResponseOutput) ElementType ¶
func (PubsubConfigResponseOutput) ElementType() reflect.Type
func (PubsubConfigResponseOutput) MessageFormat ¶
func (o PubsubConfigResponseOutput) MessageFormat() pulumi.StringOutput
The format of the Cloud Pub/Sub messages.
func (PubsubConfigResponseOutput) ServiceAccountEmail ¶
func (o PubsubConfigResponseOutput) ServiceAccountEmail() pulumi.StringOutput
Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.
func (PubsubConfigResponseOutput) ToPubsubConfigResponseOutput ¶
func (o PubsubConfigResponseOutput) ToPubsubConfigResponseOutput() PubsubConfigResponseOutput
func (PubsubConfigResponseOutput) ToPubsubConfigResponseOutputWithContext ¶
func (o PubsubConfigResponseOutput) ToPubsubConfigResponseOutputWithContext(ctx context.Context) PubsubConfigResponseOutput
func (PubsubConfigResponseOutput) Topic ¶
func (o PubsubConfigResponseOutput) Topic() pulumi.StringOutput
A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The project needs to be the same project as this config is in.
type Repo ¶
type Repo struct { pulumi.CustomResourceState // How this repository mirrors a repository managed by another service. Read-only field. MirrorConfig MirrorConfigResponseOutput `pulumi:"mirrorConfig"` // Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash` Name pulumi.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` // How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names. PubsubConfigs PubsubConfigResponseMapOutput `pulumi:"pubsubConfigs"` // The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo. Size pulumi.StringOutput `pulumi:"size"` // URL to clone the repository from Google Cloud Source Repositories. Read-only field. Url pulumi.StringOutput `pulumi:"url"` }
Creates a repo in the given project with the given name. If the named repository already exists, `CreateRepo` returns `ALREADY_EXISTS`.
func GetRepo ¶
func GetRepo(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepoState, opts ...pulumi.ResourceOption) (*Repo, error)
GetRepo gets an existing Repo 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 NewRepo ¶
func NewRepo(ctx *pulumi.Context, name string, args *RepoArgs, opts ...pulumi.ResourceOption) (*Repo, error)
NewRepo registers a new resource with the given unique name, arguments, and options.
func (*Repo) ElementType ¶
func (*Repo) ToRepoOutput ¶
func (i *Repo) ToRepoOutput() RepoOutput
func (*Repo) ToRepoOutputWithContext ¶
func (i *Repo) ToRepoOutputWithContext(ctx context.Context) RepoOutput
type RepoArgs ¶
type RepoArgs struct { // How this repository mirrors a repository managed by another service. Read-only field. MirrorConfig MirrorConfigPtrInput // Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash` Name pulumi.StringPtrInput Project pulumi.StringPtrInput // How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names. PubsubConfigs PubsubConfigMapInput // The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo. Size pulumi.StringPtrInput // URL to clone the repository from Google Cloud Source Repositories. Read-only field. Url pulumi.StringPtrInput }
The set of arguments for constructing a Repo resource.
func (RepoArgs) ElementType ¶
type RepoIamBinding ¶ added in v0.26.0
type RepoIamBinding struct { pulumi.CustomResourceState // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. Condition iam.ConditionPtrOutput `pulumi:"condition"` // The etag of the resource's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Members pulumi.StringArrayOutput `pulumi:"members"` // The name of the resource to manage IAM policies for. Name pulumi.StringOutput `pulumi:"name"` // The project in which the resource belongs. If it is not provided, a default will be supplied. Project pulumi.StringOutput `pulumi:"project"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringOutput `pulumi:"role"` }
Sets the access control policy on the specified resource. Replaces any existing policy.
func GetRepoIamBinding ¶ added in v0.26.0
func GetRepoIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepoIamBindingState, opts ...pulumi.ResourceOption) (*RepoIamBinding, error)
GetRepoIamBinding gets an existing RepoIamBinding 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 NewRepoIamBinding ¶ added in v0.26.0
func NewRepoIamBinding(ctx *pulumi.Context, name string, args *RepoIamBindingArgs, opts ...pulumi.ResourceOption) (*RepoIamBinding, error)
NewRepoIamBinding registers a new resource with the given unique name, arguments, and options.
func (*RepoIamBinding) ElementType ¶ added in v0.26.0
func (*RepoIamBinding) ElementType() reflect.Type
func (*RepoIamBinding) ToRepoIamBindingOutput ¶ added in v0.26.0
func (i *RepoIamBinding) ToRepoIamBindingOutput() RepoIamBindingOutput
func (*RepoIamBinding) ToRepoIamBindingOutputWithContext ¶ added in v0.26.0
func (i *RepoIamBinding) ToRepoIamBindingOutputWithContext(ctx context.Context) RepoIamBindingOutput
type RepoIamBindingArgs ¶ added in v0.26.0
type RepoIamBindingArgs struct { // An IAM Condition for a given binding. Condition iam.ConditionPtrInput // Identities that will be granted the privilege in role. Each entry can have one of the following values: // // * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * group:{emailid}: An email address that represents a Google group. For example, admins@example.com. // * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Members pulumi.StringArrayInput // The name of the resource to manage IAM policies for. Name pulumi.StringInput // The role that should be applied. Only one `IamBinding` can be used per role. Role pulumi.StringInput }
The set of arguments for constructing a RepoIamBinding resource.
func (RepoIamBindingArgs) ElementType ¶ added in v0.26.0
func (RepoIamBindingArgs) ElementType() reflect.Type
type RepoIamBindingInput ¶ added in v0.26.0
type RepoIamBindingInput interface { pulumi.Input ToRepoIamBindingOutput() RepoIamBindingOutput ToRepoIamBindingOutputWithContext(ctx context.Context) RepoIamBindingOutput }
type RepoIamBindingOutput ¶ added in v0.26.0
type RepoIamBindingOutput struct{ *pulumi.OutputState }
func (RepoIamBindingOutput) Condition ¶ added in v0.26.0
func (o RepoIamBindingOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (RepoIamBindingOutput) ElementType ¶ added in v0.26.0
func (RepoIamBindingOutput) ElementType() reflect.Type
func (RepoIamBindingOutput) Etag ¶ added in v0.26.0
func (o RepoIamBindingOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (RepoIamBindingOutput) Members ¶ added in v0.26.0
func (o RepoIamBindingOutput) Members() pulumi.StringArrayOutput
Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
func (RepoIamBindingOutput) Name ¶ added in v0.26.0
func (o RepoIamBindingOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (RepoIamBindingOutput) Project ¶ added in v0.26.0
func (o RepoIamBindingOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (RepoIamBindingOutput) Role ¶ added in v0.26.0
func (o RepoIamBindingOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (RepoIamBindingOutput) ToRepoIamBindingOutput ¶ added in v0.26.0
func (o RepoIamBindingOutput) ToRepoIamBindingOutput() RepoIamBindingOutput
func (RepoIamBindingOutput) ToRepoIamBindingOutputWithContext ¶ added in v0.26.0
func (o RepoIamBindingOutput) ToRepoIamBindingOutputWithContext(ctx context.Context) RepoIamBindingOutput
type RepoIamBindingState ¶ added in v0.26.0
type RepoIamBindingState struct { }
func (RepoIamBindingState) ElementType ¶ added in v0.26.0
func (RepoIamBindingState) ElementType() reflect.Type
type RepoIamMember ¶ added in v0.26.0
type RepoIamMember struct { pulumi.CustomResourceState // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. Condition iam.ConditionPtrOutput `pulumi:"condition"` // The etag of the resource's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Member pulumi.StringOutput `pulumi:"member"` // The name of the resource to manage IAM policies for. Name pulumi.StringOutput `pulumi:"name"` // The project in which the resource belongs. If it is not provided, a default will be supplied. Project pulumi.StringOutput `pulumi:"project"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringOutput `pulumi:"role"` }
Sets the access control policy on the specified resource. Replaces any existing policy.
func GetRepoIamMember ¶ added in v0.26.0
func GetRepoIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepoIamMemberState, opts ...pulumi.ResourceOption) (*RepoIamMember, error)
GetRepoIamMember gets an existing RepoIamMember 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 NewRepoIamMember ¶ added in v0.26.0
func NewRepoIamMember(ctx *pulumi.Context, name string, args *RepoIamMemberArgs, opts ...pulumi.ResourceOption) (*RepoIamMember, error)
NewRepoIamMember registers a new resource with the given unique name, arguments, and options.
func (*RepoIamMember) ElementType ¶ added in v0.26.0
func (*RepoIamMember) ElementType() reflect.Type
func (*RepoIamMember) ToRepoIamMemberOutput ¶ added in v0.26.0
func (i *RepoIamMember) ToRepoIamMemberOutput() RepoIamMemberOutput
func (*RepoIamMember) ToRepoIamMemberOutputWithContext ¶ added in v0.26.0
func (i *RepoIamMember) ToRepoIamMemberOutputWithContext(ctx context.Context) RepoIamMemberOutput
type RepoIamMemberArgs ¶ added in v0.26.0
type RepoIamMemberArgs struct { // An IAM Condition for a given binding. Condition iam.ConditionPtrInput // Identity that will be granted the privilege in role. The entry can have one of the following values: // // * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * group:{emailid}: An email address that represents a Google group. For example, admins@example.com. // * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Member pulumi.StringInput // The name of the resource to manage IAM policies for. Name pulumi.StringInput // The role that should be applied. Role pulumi.StringInput }
The set of arguments for constructing a RepoIamMember resource.
func (RepoIamMemberArgs) ElementType ¶ added in v0.26.0
func (RepoIamMemberArgs) ElementType() reflect.Type
type RepoIamMemberInput ¶ added in v0.26.0
type RepoIamMemberInput interface { pulumi.Input ToRepoIamMemberOutput() RepoIamMemberOutput ToRepoIamMemberOutputWithContext(ctx context.Context) RepoIamMemberOutput }
type RepoIamMemberOutput ¶ added in v0.26.0
type RepoIamMemberOutput struct{ *pulumi.OutputState }
func (RepoIamMemberOutput) Condition ¶ added in v0.26.0
func (o RepoIamMemberOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (RepoIamMemberOutput) ElementType ¶ added in v0.26.0
func (RepoIamMemberOutput) ElementType() reflect.Type
func (RepoIamMemberOutput) Etag ¶ added in v0.26.0
func (o RepoIamMemberOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (RepoIamMemberOutput) Member ¶ added in v0.26.0
func (o RepoIamMemberOutput) Member() pulumi.StringOutput
Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
func (RepoIamMemberOutput) Name ¶ added in v0.26.0
func (o RepoIamMemberOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (RepoIamMemberOutput) Project ¶ added in v0.26.0
func (o RepoIamMemberOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (RepoIamMemberOutput) Role ¶ added in v0.26.0
func (o RepoIamMemberOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (RepoIamMemberOutput) ToRepoIamMemberOutput ¶ added in v0.26.0
func (o RepoIamMemberOutput) ToRepoIamMemberOutput() RepoIamMemberOutput
func (RepoIamMemberOutput) ToRepoIamMemberOutputWithContext ¶ added in v0.26.0
func (o RepoIamMemberOutput) ToRepoIamMemberOutputWithContext(ctx context.Context) RepoIamMemberOutput
type RepoIamMemberState ¶ added in v0.26.0
type RepoIamMemberState struct { }
func (RepoIamMemberState) ElementType ¶ added in v0.26.0
func (RepoIamMemberState) ElementType() reflect.Type
type RepoIamPolicy ¶
type RepoIamPolicy struct { pulumi.CustomResourceState // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigResponseArrayOutput `pulumi:"auditConfigs"` // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` Project pulumi.StringOutput `pulumi:"project"` RepoId pulumi.StringOutput `pulumi:"repoId"` // 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. 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 GetRepoIamPolicy ¶
func GetRepoIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepoIamPolicyState, opts ...pulumi.ResourceOption) (*RepoIamPolicy, error)
GetRepoIamPolicy gets an existing RepoIamPolicy 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 NewRepoIamPolicy ¶
func NewRepoIamPolicy(ctx *pulumi.Context, name string, args *RepoIamPolicyArgs, opts ...pulumi.ResourceOption) (*RepoIamPolicy, error)
NewRepoIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*RepoIamPolicy) ElementType ¶
func (*RepoIamPolicy) ElementType() reflect.Type
func (*RepoIamPolicy) ToRepoIamPolicyOutput ¶
func (i *RepoIamPolicy) ToRepoIamPolicyOutput() RepoIamPolicyOutput
func (*RepoIamPolicy) ToRepoIamPolicyOutputWithContext ¶
func (i *RepoIamPolicy) ToRepoIamPolicyOutputWithContext(ctx context.Context) RepoIamPolicyOutput
type RepoIamPolicyArgs ¶
type RepoIamPolicyArgs struct { // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigArrayInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Project pulumi.StringPtrInput RepoId pulumi.StringInput // OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` UpdateMask pulumi.StringPtrInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput }
The set of arguments for constructing a RepoIamPolicy resource.
func (RepoIamPolicyArgs) ElementType ¶
func (RepoIamPolicyArgs) ElementType() reflect.Type
type RepoIamPolicyInput ¶
type RepoIamPolicyInput interface { pulumi.Input ToRepoIamPolicyOutput() RepoIamPolicyOutput ToRepoIamPolicyOutputWithContext(ctx context.Context) RepoIamPolicyOutput }
type RepoIamPolicyOutput ¶
type RepoIamPolicyOutput struct{ *pulumi.OutputState }
func (RepoIamPolicyOutput) AuditConfigs ¶ added in v0.19.0
func (o RepoIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (RepoIamPolicyOutput) Bindings ¶ added in v0.19.0
func (o RepoIamPolicyOutput) 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 (RepoIamPolicyOutput) ElementType ¶
func (RepoIamPolicyOutput) ElementType() reflect.Type
func (RepoIamPolicyOutput) Etag ¶ added in v0.19.0
func (o RepoIamPolicyOutput) 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 (RepoIamPolicyOutput) Project ¶ added in v0.21.0
func (o RepoIamPolicyOutput) Project() pulumi.StringOutput
func (RepoIamPolicyOutput) RepoId ¶ added in v0.21.0
func (o RepoIamPolicyOutput) RepoId() pulumi.StringOutput
func (RepoIamPolicyOutput) ToRepoIamPolicyOutput ¶
func (o RepoIamPolicyOutput) ToRepoIamPolicyOutput() RepoIamPolicyOutput
func (RepoIamPolicyOutput) ToRepoIamPolicyOutputWithContext ¶
func (o RepoIamPolicyOutput) ToRepoIamPolicyOutputWithContext(ctx context.Context) RepoIamPolicyOutput
func (RepoIamPolicyOutput) Version ¶ added in v0.19.0
func (o RepoIamPolicyOutput) 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 RepoIamPolicyState ¶
type RepoIamPolicyState struct { }
func (RepoIamPolicyState) ElementType ¶
func (RepoIamPolicyState) ElementType() reflect.Type
type RepoInput ¶
type RepoInput interface { pulumi.Input ToRepoOutput() RepoOutput ToRepoOutputWithContext(ctx context.Context) RepoOutput }
type RepoOutput ¶
type RepoOutput struct{ *pulumi.OutputState }
func (RepoOutput) ElementType ¶
func (RepoOutput) ElementType() reflect.Type
func (RepoOutput) MirrorConfig ¶ added in v0.19.0
func (o RepoOutput) MirrorConfig() MirrorConfigResponseOutput
How this repository mirrors a repository managed by another service. Read-only field.
func (RepoOutput) Name ¶ added in v0.19.0
func (o RepoOutput) Name() pulumi.StringOutput
Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash`
func (RepoOutput) Project ¶ added in v0.21.0
func (o RepoOutput) Project() pulumi.StringOutput
func (RepoOutput) PubsubConfigs ¶ added in v0.19.0
func (o RepoOutput) PubsubConfigs() PubsubConfigResponseMapOutput
How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.
func (RepoOutput) Size ¶ added in v0.19.0
func (o RepoOutput) Size() pulumi.StringOutput
The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.
func (RepoOutput) ToRepoOutput ¶
func (o RepoOutput) ToRepoOutput() RepoOutput
func (RepoOutput) ToRepoOutputWithContext ¶
func (o RepoOutput) ToRepoOutputWithContext(ctx context.Context) RepoOutput
func (RepoOutput) Url ¶ added in v0.19.0
func (o RepoOutput) Url() pulumi.StringOutput
URL to clone the repository from Google Cloud Source Repositories. Read-only field.