Documentation
¶
Index ¶
- type Api
- type ApiArgs
- type ApiArtifactIamPolicy
- type ApiArtifactIamPolicyArgs
- type ApiArtifactIamPolicyInput
- type ApiArtifactIamPolicyOutput
- func (o ApiArtifactIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (ApiArtifactIamPolicyOutput) ElementType() reflect.Type
- func (o ApiArtifactIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ApiArtifactIamPolicyOutput) ToApiArtifactIamPolicyOutput() ApiArtifactIamPolicyOutput
- func (o ApiArtifactIamPolicyOutput) ToApiArtifactIamPolicyOutputWithContext(ctx context.Context) ApiArtifactIamPolicyOutput
- func (o ApiArtifactIamPolicyOutput) Version() pulumi.IntOutput
- type ApiArtifactIamPolicyState
- type ApiDeploymentIamPolicy
- type ApiDeploymentIamPolicyArgs
- type ApiDeploymentIamPolicyInput
- type ApiDeploymentIamPolicyOutput
- func (o ApiDeploymentIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (ApiDeploymentIamPolicyOutput) ElementType() reflect.Type
- func (o ApiDeploymentIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ApiDeploymentIamPolicyOutput) ToApiDeploymentIamPolicyOutput() ApiDeploymentIamPolicyOutput
- func (o ApiDeploymentIamPolicyOutput) ToApiDeploymentIamPolicyOutputWithContext(ctx context.Context) ApiDeploymentIamPolicyOutput
- func (o ApiDeploymentIamPolicyOutput) Version() pulumi.IntOutput
- type ApiDeploymentIamPolicyState
- type ApiIamPolicy
- type ApiIamPolicyArgs
- type ApiIamPolicyInput
- type ApiIamPolicyOutput
- func (o ApiIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (ApiIamPolicyOutput) ElementType() reflect.Type
- func (o ApiIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ApiIamPolicyOutput) ToApiIamPolicyOutput() ApiIamPolicyOutput
- func (o ApiIamPolicyOutput) ToApiIamPolicyOutputWithContext(ctx context.Context) ApiIamPolicyOutput
- func (o ApiIamPolicyOutput) Version() pulumi.IntOutput
- type ApiIamPolicyState
- type ApiInput
- type ApiOutput
- func (o ApiOutput) Annotations() pulumi.StringMapOutput
- func (o ApiOutput) Availability() pulumi.StringOutput
- func (o ApiOutput) CreateTime() pulumi.StringOutput
- func (o ApiOutput) Description() pulumi.StringOutput
- func (o ApiOutput) DisplayName() pulumi.StringOutput
- func (ApiOutput) ElementType() reflect.Type
- func (o ApiOutput) Labels() pulumi.StringMapOutput
- func (o ApiOutput) Name() pulumi.StringOutput
- func (o ApiOutput) RecommendedDeployment() pulumi.StringOutput
- func (o ApiOutput) RecommendedVersion() pulumi.StringOutput
- func (o ApiOutput) ToApiOutput() ApiOutput
- func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput
- func (o ApiOutput) UpdateTime() pulumi.StringOutput
- type ApiState
- type ApiVersionArtifactIamPolicy
- func (*ApiVersionArtifactIamPolicy) ElementType() reflect.Type
- func (i *ApiVersionArtifactIamPolicy) ToApiVersionArtifactIamPolicyOutput() ApiVersionArtifactIamPolicyOutput
- func (i *ApiVersionArtifactIamPolicy) ToApiVersionArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionArtifactIamPolicyOutput
- type ApiVersionArtifactIamPolicyArgs
- type ApiVersionArtifactIamPolicyInput
- type ApiVersionArtifactIamPolicyOutput
- func (o ApiVersionArtifactIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (ApiVersionArtifactIamPolicyOutput) ElementType() reflect.Type
- func (o ApiVersionArtifactIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ApiVersionArtifactIamPolicyOutput) ToApiVersionArtifactIamPolicyOutput() ApiVersionArtifactIamPolicyOutput
- func (o ApiVersionArtifactIamPolicyOutput) ToApiVersionArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionArtifactIamPolicyOutput
- func (o ApiVersionArtifactIamPolicyOutput) Version() pulumi.IntOutput
- type ApiVersionArtifactIamPolicyState
- type ApiVersionIamPolicy
- type ApiVersionIamPolicyArgs
- type ApiVersionIamPolicyInput
- type ApiVersionIamPolicyOutput
- func (o ApiVersionIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (ApiVersionIamPolicyOutput) ElementType() reflect.Type
- func (o ApiVersionIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ApiVersionIamPolicyOutput) ToApiVersionIamPolicyOutput() ApiVersionIamPolicyOutput
- func (o ApiVersionIamPolicyOutput) ToApiVersionIamPolicyOutputWithContext(ctx context.Context) ApiVersionIamPolicyOutput
- func (o ApiVersionIamPolicyOutput) Version() pulumi.IntOutput
- type ApiVersionIamPolicyState
- type ApiVersionSpecArtifactIamPolicy
- func GetApiVersionSpecArtifactIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ApiVersionSpecArtifactIamPolicy, error)
- func NewApiVersionSpecArtifactIamPolicy(ctx *pulumi.Context, name string, args *ApiVersionSpecArtifactIamPolicyArgs, ...) (*ApiVersionSpecArtifactIamPolicy, error)
- func (*ApiVersionSpecArtifactIamPolicy) ElementType() reflect.Type
- func (i *ApiVersionSpecArtifactIamPolicy) ToApiVersionSpecArtifactIamPolicyOutput() ApiVersionSpecArtifactIamPolicyOutput
- func (i *ApiVersionSpecArtifactIamPolicy) ToApiVersionSpecArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecArtifactIamPolicyOutput
- type ApiVersionSpecArtifactIamPolicyArgs
- type ApiVersionSpecArtifactIamPolicyInput
- type ApiVersionSpecArtifactIamPolicyOutput
- func (o ApiVersionSpecArtifactIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (ApiVersionSpecArtifactIamPolicyOutput) ElementType() reflect.Type
- func (o ApiVersionSpecArtifactIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ApiVersionSpecArtifactIamPolicyOutput) ToApiVersionSpecArtifactIamPolicyOutput() ApiVersionSpecArtifactIamPolicyOutput
- func (o ApiVersionSpecArtifactIamPolicyOutput) ToApiVersionSpecArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecArtifactIamPolicyOutput
- func (o ApiVersionSpecArtifactIamPolicyOutput) Version() pulumi.IntOutput
- type ApiVersionSpecArtifactIamPolicyState
- type ApiVersionSpecIamPolicy
- type ApiVersionSpecIamPolicyArgs
- type ApiVersionSpecIamPolicyInput
- type ApiVersionSpecIamPolicyOutput
- func (o ApiVersionSpecIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (ApiVersionSpecIamPolicyOutput) ElementType() reflect.Type
- func (o ApiVersionSpecIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ApiVersionSpecIamPolicyOutput) ToApiVersionSpecIamPolicyOutput() ApiVersionSpecIamPolicyOutput
- func (o ApiVersionSpecIamPolicyOutput) ToApiVersionSpecIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecIamPolicyOutput
- func (o ApiVersionSpecIamPolicyOutput) Version() pulumi.IntOutput
- type ApiVersionSpecIamPolicyState
- type Artifact
- type ArtifactArgs
- type ArtifactIamPolicy
- type ArtifactIamPolicyArgs
- type ArtifactIamPolicyInput
- type ArtifactIamPolicyOutput
- func (o ArtifactIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (ArtifactIamPolicyOutput) ElementType() reflect.Type
- func (o ArtifactIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ArtifactIamPolicyOutput) ToArtifactIamPolicyOutput() ArtifactIamPolicyOutput
- func (o ArtifactIamPolicyOutput) ToArtifactIamPolicyOutputWithContext(ctx context.Context) ArtifactIamPolicyOutput
- func (o ArtifactIamPolicyOutput) Version() pulumi.IntOutput
- type ArtifactIamPolicyState
- type ArtifactInput
- type ArtifactOutput
- func (o ArtifactOutput) Contents() pulumi.StringOutput
- func (o ArtifactOutput) CreateTime() pulumi.StringOutput
- func (ArtifactOutput) ElementType() reflect.Type
- func (o ArtifactOutput) Hash() pulumi.StringOutput
- func (o ArtifactOutput) MimeType() pulumi.StringOutput
- func (o ArtifactOutput) Name() pulumi.StringOutput
- func (o ArtifactOutput) SizeBytes() pulumi.IntOutput
- func (o ArtifactOutput) ToArtifactOutput() ArtifactOutput
- func (o ArtifactOutput) ToArtifactOutputWithContext(ctx context.Context) ArtifactOutput
- func (o ArtifactOutput) UpdateTime() pulumi.StringOutput
- type ArtifactState
- 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 Config
- type ConfigArgs
- type ConfigInput
- type ConfigOutput
- type ConfigResponse
- type ConfigResponseOutput
- func (o ConfigResponseOutput) CmekKeyName() pulumi.StringOutput
- func (ConfigResponseOutput) ElementType() reflect.Type
- func (o ConfigResponseOutput) Location() pulumi.StringOutput
- func (o ConfigResponseOutput) ToConfigResponseOutput() ConfigResponseOutput
- func (o ConfigResponseOutput) ToConfigResponseOutputWithContext(ctx context.Context) ConfigResponseOutput
- type Deployment
- type DeploymentArgs
- type DeploymentArtifact
- type DeploymentArtifactArgs
- type DeploymentArtifactInput
- type DeploymentArtifactOutput
- func (o DeploymentArtifactOutput) Contents() pulumi.StringOutput
- func (o DeploymentArtifactOutput) CreateTime() pulumi.StringOutput
- func (DeploymentArtifactOutput) ElementType() reflect.Type
- func (o DeploymentArtifactOutput) Hash() pulumi.StringOutput
- func (o DeploymentArtifactOutput) MimeType() pulumi.StringOutput
- func (o DeploymentArtifactOutput) Name() pulumi.StringOutput
- func (o DeploymentArtifactOutput) SizeBytes() pulumi.IntOutput
- func (o DeploymentArtifactOutput) ToDeploymentArtifactOutput() DeploymentArtifactOutput
- func (o DeploymentArtifactOutput) ToDeploymentArtifactOutputWithContext(ctx context.Context) DeploymentArtifactOutput
- func (o DeploymentArtifactOutput) UpdateTime() pulumi.StringOutput
- type DeploymentArtifactState
- type DeploymentInput
- type DeploymentOutput
- func (o DeploymentOutput) AccessGuidance() pulumi.StringOutput
- func (o DeploymentOutput) Annotations() pulumi.StringMapOutput
- func (o DeploymentOutput) ApiSpecRevision() pulumi.StringOutput
- func (o DeploymentOutput) CreateTime() pulumi.StringOutput
- func (o DeploymentOutput) Description() pulumi.StringOutput
- func (o DeploymentOutput) DisplayName() pulumi.StringOutput
- func (DeploymentOutput) ElementType() reflect.Type
- func (o DeploymentOutput) EndpointUri() pulumi.StringOutput
- func (o DeploymentOutput) ExternalChannelUri() pulumi.StringOutput
- func (o DeploymentOutput) IntendedAudience() pulumi.StringOutput
- func (o DeploymentOutput) Labels() pulumi.StringMapOutput
- func (o DeploymentOutput) Name() pulumi.StringOutput
- func (o DeploymentOutput) RevisionCreateTime() pulumi.StringOutput
- func (o DeploymentOutput) RevisionId() pulumi.StringOutput
- func (o DeploymentOutput) RevisionUpdateTime() pulumi.StringOutput
- func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput
- func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
- type DeploymentState
- 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 Instance
- type InstanceArgs
- type InstanceIamPolicy
- type InstanceIamPolicyArgs
- type InstanceIamPolicyInput
- type InstanceIamPolicyOutput
- func (o InstanceIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (InstanceIamPolicyOutput) ElementType() reflect.Type
- func (o InstanceIamPolicyOutput) Etag() pulumi.StringOutput
- func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutput() InstanceIamPolicyOutput
- func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx context.Context) InstanceIamPolicyOutput
- func (o InstanceIamPolicyOutput) Version() pulumi.IntOutput
- type InstanceIamPolicyState
- type InstanceInput
- type InstanceOutput
- func (o InstanceOutput) Config() ConfigResponseOutput
- func (o InstanceOutput) CreateTime() pulumi.StringOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) State() pulumi.StringOutput
- func (o InstanceOutput) StateMessage() pulumi.StringOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) UpdateTime() pulumi.StringOutput
- type InstanceState
- type LookupApiArgs
- type LookupApiArtifactIamPolicyArgs
- type LookupApiArtifactIamPolicyOutputArgs
- type LookupApiArtifactIamPolicyResult
- type LookupApiArtifactIamPolicyResultOutput
- func (o LookupApiArtifactIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupApiArtifactIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupApiArtifactIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupApiArtifactIamPolicyResultOutput) ToLookupApiArtifactIamPolicyResultOutput() LookupApiArtifactIamPolicyResultOutput
- func (o LookupApiArtifactIamPolicyResultOutput) ToLookupApiArtifactIamPolicyResultOutputWithContext(ctx context.Context) LookupApiArtifactIamPolicyResultOutput
- func (o LookupApiArtifactIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupApiDeploymentIamPolicyArgs
- type LookupApiDeploymentIamPolicyOutputArgs
- type LookupApiDeploymentIamPolicyResult
- type LookupApiDeploymentIamPolicyResultOutput
- func (o LookupApiDeploymentIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupApiDeploymentIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupApiDeploymentIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupApiDeploymentIamPolicyResultOutput) ToLookupApiDeploymentIamPolicyResultOutput() LookupApiDeploymentIamPolicyResultOutput
- func (o LookupApiDeploymentIamPolicyResultOutput) ToLookupApiDeploymentIamPolicyResultOutputWithContext(ctx context.Context) LookupApiDeploymentIamPolicyResultOutput
- func (o LookupApiDeploymentIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupApiIamPolicyArgs
- type LookupApiIamPolicyOutputArgs
- type LookupApiIamPolicyResult
- type LookupApiIamPolicyResultOutput
- func (o LookupApiIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupApiIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupApiIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutput() LookupApiIamPolicyResultOutput
- func (o LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutputWithContext(ctx context.Context) LookupApiIamPolicyResultOutput
- func (o LookupApiIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupApiOutputArgs
- type LookupApiResult
- type LookupApiResultOutput
- func (o LookupApiResultOutput) Annotations() pulumi.StringMapOutput
- func (o LookupApiResultOutput) Availability() pulumi.StringOutput
- func (o LookupApiResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupApiResultOutput) Description() pulumi.StringOutput
- func (o LookupApiResultOutput) DisplayName() pulumi.StringOutput
- func (LookupApiResultOutput) ElementType() reflect.Type
- func (o LookupApiResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupApiResultOutput) Name() pulumi.StringOutput
- func (o LookupApiResultOutput) RecommendedDeployment() pulumi.StringOutput
- func (o LookupApiResultOutput) RecommendedVersion() pulumi.StringOutput
- func (o LookupApiResultOutput) ToLookupApiResultOutput() LookupApiResultOutput
- func (o LookupApiResultOutput) ToLookupApiResultOutputWithContext(ctx context.Context) LookupApiResultOutput
- func (o LookupApiResultOutput) UpdateTime() pulumi.StringOutput
- type LookupApiVersionArtifactIamPolicyArgs
- type LookupApiVersionArtifactIamPolicyOutputArgs
- type LookupApiVersionArtifactIamPolicyResult
- type LookupApiVersionArtifactIamPolicyResultOutput
- func (o LookupApiVersionArtifactIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupApiVersionArtifactIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupApiVersionArtifactIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupApiVersionArtifactIamPolicyResultOutput) ToLookupApiVersionArtifactIamPolicyResultOutput() LookupApiVersionArtifactIamPolicyResultOutput
- func (o LookupApiVersionArtifactIamPolicyResultOutput) ToLookupApiVersionArtifactIamPolicyResultOutputWithContext(ctx context.Context) LookupApiVersionArtifactIamPolicyResultOutput
- func (o LookupApiVersionArtifactIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupApiVersionIamPolicyArgs
- type LookupApiVersionIamPolicyOutputArgs
- type LookupApiVersionIamPolicyResult
- type LookupApiVersionIamPolicyResultOutput
- func (o LookupApiVersionIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupApiVersionIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupApiVersionIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupApiVersionIamPolicyResultOutput) ToLookupApiVersionIamPolicyResultOutput() LookupApiVersionIamPolicyResultOutput
- func (o LookupApiVersionIamPolicyResultOutput) ToLookupApiVersionIamPolicyResultOutputWithContext(ctx context.Context) LookupApiVersionIamPolicyResultOutput
- func (o LookupApiVersionIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupApiVersionSpecArtifactIamPolicyArgs
- type LookupApiVersionSpecArtifactIamPolicyOutputArgs
- type LookupApiVersionSpecArtifactIamPolicyResult
- type LookupApiVersionSpecArtifactIamPolicyResultOutput
- func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupApiVersionSpecArtifactIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) ToLookupApiVersionSpecArtifactIamPolicyResultOutput() LookupApiVersionSpecArtifactIamPolicyResultOutput
- func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) ToLookupApiVersionSpecArtifactIamPolicyResultOutputWithContext(ctx context.Context) LookupApiVersionSpecArtifactIamPolicyResultOutput
- func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupApiVersionSpecIamPolicyArgs
- type LookupApiVersionSpecIamPolicyOutputArgs
- type LookupApiVersionSpecIamPolicyResult
- type LookupApiVersionSpecIamPolicyResultOutput
- func (o LookupApiVersionSpecIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupApiVersionSpecIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupApiVersionSpecIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupApiVersionSpecIamPolicyResultOutput) ToLookupApiVersionSpecIamPolicyResultOutput() LookupApiVersionSpecIamPolicyResultOutput
- func (o LookupApiVersionSpecIamPolicyResultOutput) ToLookupApiVersionSpecIamPolicyResultOutputWithContext(ctx context.Context) LookupApiVersionSpecIamPolicyResultOutput
- func (o LookupApiVersionSpecIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupArtifactArgs
- type LookupArtifactIamPolicyArgs
- type LookupArtifactIamPolicyOutputArgs
- type LookupArtifactIamPolicyResult
- type LookupArtifactIamPolicyResultOutput
- func (o LookupArtifactIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupArtifactIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupArtifactIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupArtifactIamPolicyResultOutput) ToLookupArtifactIamPolicyResultOutput() LookupArtifactIamPolicyResultOutput
- func (o LookupArtifactIamPolicyResultOutput) ToLookupArtifactIamPolicyResultOutputWithContext(ctx context.Context) LookupArtifactIamPolicyResultOutput
- func (o LookupArtifactIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupArtifactOutputArgs
- type LookupArtifactResult
- type LookupArtifactResultOutput
- func (o LookupArtifactResultOutput) Contents() pulumi.StringOutput
- func (o LookupArtifactResultOutput) CreateTime() pulumi.StringOutput
- func (LookupArtifactResultOutput) ElementType() reflect.Type
- func (o LookupArtifactResultOutput) Hash() pulumi.StringOutput
- func (o LookupArtifactResultOutput) MimeType() pulumi.StringOutput
- func (o LookupArtifactResultOutput) Name() pulumi.StringOutput
- func (o LookupArtifactResultOutput) SizeBytes() pulumi.IntOutput
- func (o LookupArtifactResultOutput) ToLookupArtifactResultOutput() LookupArtifactResultOutput
- func (o LookupArtifactResultOutput) ToLookupArtifactResultOutputWithContext(ctx context.Context) LookupArtifactResultOutput
- func (o LookupArtifactResultOutput) UpdateTime() pulumi.StringOutput
- type LookupDeploymentArgs
- type LookupDeploymentArtifactArgs
- type LookupDeploymentArtifactOutputArgs
- type LookupDeploymentArtifactResult
- type LookupDeploymentArtifactResultOutput
- func (o LookupDeploymentArtifactResultOutput) Contents() pulumi.StringOutput
- func (o LookupDeploymentArtifactResultOutput) CreateTime() pulumi.StringOutput
- func (LookupDeploymentArtifactResultOutput) ElementType() reflect.Type
- func (o LookupDeploymentArtifactResultOutput) Hash() pulumi.StringOutput
- func (o LookupDeploymentArtifactResultOutput) MimeType() pulumi.StringOutput
- func (o LookupDeploymentArtifactResultOutput) Name() pulumi.StringOutput
- func (o LookupDeploymentArtifactResultOutput) SizeBytes() pulumi.IntOutput
- func (o LookupDeploymentArtifactResultOutput) ToLookupDeploymentArtifactResultOutput() LookupDeploymentArtifactResultOutput
- func (o LookupDeploymentArtifactResultOutput) ToLookupDeploymentArtifactResultOutputWithContext(ctx context.Context) LookupDeploymentArtifactResultOutput
- func (o LookupDeploymentArtifactResultOutput) UpdateTime() pulumi.StringOutput
- type LookupDeploymentOutputArgs
- type LookupDeploymentResult
- type LookupDeploymentResultOutput
- func (o LookupDeploymentResultOutput) AccessGuidance() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) Annotations() pulumi.StringMapOutput
- func (o LookupDeploymentResultOutput) ApiSpecRevision() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) Description() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) DisplayName() pulumi.StringOutput
- func (LookupDeploymentResultOutput) ElementType() reflect.Type
- func (o LookupDeploymentResultOutput) EndpointUri() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) ExternalChannelUri() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) IntendedAudience() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupDeploymentResultOutput) Name() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) RevisionCreateTime() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) RevisionId() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) RevisionUpdateTime() pulumi.StringOutput
- func (o LookupDeploymentResultOutput) ToLookupDeploymentResultOutput() LookupDeploymentResultOutput
- func (o LookupDeploymentResultOutput) ToLookupDeploymentResultOutputWithContext(ctx context.Context) LookupDeploymentResultOutput
- type LookupInstanceArgs
- type LookupInstanceIamPolicyArgs
- type LookupInstanceIamPolicyOutputArgs
- type LookupInstanceIamPolicyResult
- type LookupInstanceIamPolicyResultOutput
- func (o LookupInstanceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupInstanceIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupInstanceIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutput() LookupInstanceIamPolicyResultOutput
- func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutputWithContext(ctx context.Context) LookupInstanceIamPolicyResultOutput
- func (o LookupInstanceIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupInstanceOutputArgs
- type LookupInstanceResult
- type LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) Config() ConfigResponseOutput
- func (o LookupInstanceResultOutput) CreateTime() pulumi.StringOutput
- func (LookupInstanceResultOutput) ElementType() reflect.Type
- func (o LookupInstanceResultOutput) Name() pulumi.StringOutput
- func (o LookupInstanceResultOutput) State() pulumi.StringOutput
- func (o LookupInstanceResultOutput) StateMessage() pulumi.StringOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) UpdateTime() pulumi.StringOutput
- type LookupRuntimeIamPolicyArgs
- type LookupRuntimeIamPolicyOutputArgs
- type LookupRuntimeIamPolicyResult
- type LookupRuntimeIamPolicyResultOutput
- func (o LookupRuntimeIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupRuntimeIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupRuntimeIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutput() LookupRuntimeIamPolicyResultOutput
- func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutputWithContext(ctx context.Context) LookupRuntimeIamPolicyResultOutput
- func (o LookupRuntimeIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupSpecArgs
- type LookupSpecOutputArgs
- type LookupSpecResult
- type LookupSpecResultOutput
- func (o LookupSpecResultOutput) Annotations() pulumi.StringMapOutput
- func (o LookupSpecResultOutput) Contents() pulumi.StringOutput
- func (o LookupSpecResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupSpecResultOutput) Description() pulumi.StringOutput
- func (LookupSpecResultOutput) ElementType() reflect.Type
- func (o LookupSpecResultOutput) Filename() pulumi.StringOutput
- func (o LookupSpecResultOutput) Hash() pulumi.StringOutput
- func (o LookupSpecResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupSpecResultOutput) MimeType() pulumi.StringOutput
- func (o LookupSpecResultOutput) Name() pulumi.StringOutput
- func (o LookupSpecResultOutput) RevisionCreateTime() pulumi.StringOutput
- func (o LookupSpecResultOutput) RevisionId() pulumi.StringOutput
- func (o LookupSpecResultOutput) RevisionUpdateTime() pulumi.StringOutput
- func (o LookupSpecResultOutput) SizeBytes() pulumi.IntOutput
- func (o LookupSpecResultOutput) SourceUri() pulumi.StringOutput
- func (o LookupSpecResultOutput) ToLookupSpecResultOutput() LookupSpecResultOutput
- func (o LookupSpecResultOutput) ToLookupSpecResultOutputWithContext(ctx context.Context) LookupSpecResultOutput
- type LookupVersionArgs
- type LookupVersionArtifactArgs
- type LookupVersionArtifactOutputArgs
- type LookupVersionArtifactResult
- type LookupVersionArtifactResultOutput
- func (o LookupVersionArtifactResultOutput) Contents() pulumi.StringOutput
- func (o LookupVersionArtifactResultOutput) CreateTime() pulumi.StringOutput
- func (LookupVersionArtifactResultOutput) ElementType() reflect.Type
- func (o LookupVersionArtifactResultOutput) Hash() pulumi.StringOutput
- func (o LookupVersionArtifactResultOutput) MimeType() pulumi.StringOutput
- func (o LookupVersionArtifactResultOutput) Name() pulumi.StringOutput
- func (o LookupVersionArtifactResultOutput) SizeBytes() pulumi.IntOutput
- func (o LookupVersionArtifactResultOutput) ToLookupVersionArtifactResultOutput() LookupVersionArtifactResultOutput
- func (o LookupVersionArtifactResultOutput) ToLookupVersionArtifactResultOutputWithContext(ctx context.Context) LookupVersionArtifactResultOutput
- func (o LookupVersionArtifactResultOutput) UpdateTime() pulumi.StringOutput
- type LookupVersionOutputArgs
- type LookupVersionResult
- type LookupVersionResultOutput
- func (o LookupVersionResultOutput) Annotations() pulumi.StringMapOutput
- func (o LookupVersionResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupVersionResultOutput) Description() pulumi.StringOutput
- func (o LookupVersionResultOutput) DisplayName() pulumi.StringOutput
- func (LookupVersionResultOutput) ElementType() reflect.Type
- func (o LookupVersionResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupVersionResultOutput) Name() pulumi.StringOutput
- func (o LookupVersionResultOutput) State() pulumi.StringOutput
- func (o LookupVersionResultOutput) ToLookupVersionResultOutput() LookupVersionResultOutput
- func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx context.Context) LookupVersionResultOutput
- func (o LookupVersionResultOutput) UpdateTime() pulumi.StringOutput
- type RuntimeIamPolicy
- type RuntimeIamPolicyArgs
- type RuntimeIamPolicyInput
- type RuntimeIamPolicyOutput
- func (o RuntimeIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (RuntimeIamPolicyOutput) ElementType() reflect.Type
- func (o RuntimeIamPolicyOutput) Etag() pulumi.StringOutput
- func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput
- func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput
- func (o RuntimeIamPolicyOutput) Version() pulumi.IntOutput
- type RuntimeIamPolicyState
- type Spec
- type SpecArgs
- type SpecInput
- type SpecOutput
- func (o SpecOutput) Annotations() pulumi.StringMapOutput
- func (o SpecOutput) Contents() pulumi.StringOutput
- func (o SpecOutput) CreateTime() pulumi.StringOutput
- func (o SpecOutput) Description() pulumi.StringOutput
- func (SpecOutput) ElementType() reflect.Type
- func (o SpecOutput) Filename() pulumi.StringOutput
- func (o SpecOutput) Hash() pulumi.StringOutput
- func (o SpecOutput) Labels() pulumi.StringMapOutput
- func (o SpecOutput) MimeType() pulumi.StringOutput
- func (o SpecOutput) Name() pulumi.StringOutput
- func (o SpecOutput) RevisionCreateTime() pulumi.StringOutput
- func (o SpecOutput) RevisionId() pulumi.StringOutput
- func (o SpecOutput) RevisionUpdateTime() pulumi.StringOutput
- func (o SpecOutput) SizeBytes() pulumi.IntOutput
- func (o SpecOutput) SourceUri() pulumi.StringOutput
- func (o SpecOutput) ToSpecOutput() SpecOutput
- func (o SpecOutput) ToSpecOutputWithContext(ctx context.Context) SpecOutput
- type SpecState
- type Version
- type VersionArgs
- type VersionArtifact
- type VersionArtifactArgs
- type VersionArtifactInput
- type VersionArtifactOutput
- func (o VersionArtifactOutput) Contents() pulumi.StringOutput
- func (o VersionArtifactOutput) CreateTime() pulumi.StringOutput
- func (VersionArtifactOutput) ElementType() reflect.Type
- func (o VersionArtifactOutput) Hash() pulumi.StringOutput
- func (o VersionArtifactOutput) MimeType() pulumi.StringOutput
- func (o VersionArtifactOutput) Name() pulumi.StringOutput
- func (o VersionArtifactOutput) SizeBytes() pulumi.IntOutput
- func (o VersionArtifactOutput) ToVersionArtifactOutput() VersionArtifactOutput
- func (o VersionArtifactOutput) ToVersionArtifactOutputWithContext(ctx context.Context) VersionArtifactOutput
- func (o VersionArtifactOutput) UpdateTime() pulumi.StringOutput
- type VersionArtifactState
- type VersionInput
- type VersionOutput
- func (o VersionOutput) Annotations() pulumi.StringMapOutput
- func (o VersionOutput) CreateTime() pulumi.StringOutput
- func (o VersionOutput) Description() pulumi.StringOutput
- func (o VersionOutput) DisplayName() pulumi.StringOutput
- func (VersionOutput) ElementType() reflect.Type
- func (o VersionOutput) Labels() pulumi.StringMapOutput
- func (o VersionOutput) Name() pulumi.StringOutput
- func (o VersionOutput) State() pulumi.StringOutput
- func (o VersionOutput) ToVersionOutput() VersionOutput
- func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOutput
- func (o VersionOutput) UpdateTime() pulumi.StringOutput
- type VersionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { pulumi.CustomResourceState // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". Availability pulumi.StringOutput `pulumi:"availability"` // Creation timestamp. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A detailed description. Description pulumi.StringOutput `pulumi:"description"` // Human-meaningful name. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels pulumi.StringMapOutput `pulumi:"labels"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The recommended deployment of the API. Format: apis/{api}/deployments/{deployment} RecommendedDeployment pulumi.StringOutput `pulumi:"recommendedDeployment"` // The recommended version of the API. Format: apis/{api}/versions/{version} RecommendedVersion pulumi.StringOutput `pulumi:"recommendedVersion"` // Last update timestamp. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
CreateApi creates a specified API.
func GetApi ¶
func GetApi(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiState, opts ...pulumi.ResourceOption) (*Api, error)
GetApi gets an existing Api 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 NewApi ¶
func NewApi(ctx *pulumi.Context, name string, args *ApiArgs, opts ...pulumi.ResourceOption) (*Api, error)
NewApi registers a new resource with the given unique name, arguments, and options.
func (*Api) ElementType ¶
func (*Api) ToApiOutput ¶
type ApiArgs ¶
type ApiArgs struct { // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations pulumi.StringMapInput // Required. The ID to use for the api, which will become the final component of the api's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. ApiId pulumi.StringInput // A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". Availability pulumi.StringPtrInput // A detailed description. Description pulumi.StringPtrInput // Human-meaningful name. DisplayName pulumi.StringPtrInput // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels pulumi.StringMapInput Location pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput Project pulumi.StringPtrInput // The recommended deployment of the API. Format: apis/{api}/deployments/{deployment} RecommendedDeployment pulumi.StringPtrInput // The recommended version of the API. Format: apis/{api}/versions/{version} RecommendedVersion pulumi.StringPtrInput }
The set of arguments for constructing a Api resource.
func (ApiArgs) ElementType ¶
type ApiArtifactIamPolicy ¶
type ApiArtifactIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetApiArtifactIamPolicy ¶
func GetApiArtifactIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiArtifactIamPolicyState, opts ...pulumi.ResourceOption) (*ApiArtifactIamPolicy, error)
GetApiArtifactIamPolicy gets an existing ApiArtifactIamPolicy 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 NewApiArtifactIamPolicy ¶
func NewApiArtifactIamPolicy(ctx *pulumi.Context, name string, args *ApiArtifactIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiArtifactIamPolicy, error)
NewApiArtifactIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ApiArtifactIamPolicy) ElementType ¶
func (*ApiArtifactIamPolicy) ElementType() reflect.Type
func (*ApiArtifactIamPolicy) ToApiArtifactIamPolicyOutput ¶
func (i *ApiArtifactIamPolicy) ToApiArtifactIamPolicyOutput() ApiArtifactIamPolicyOutput
func (*ApiArtifactIamPolicy) ToApiArtifactIamPolicyOutputWithContext ¶
func (i *ApiArtifactIamPolicy) ToApiArtifactIamPolicyOutputWithContext(ctx context.Context) ApiArtifactIamPolicyOutput
type ApiArtifactIamPolicyArgs ¶
type ApiArtifactIamPolicyArgs struct { ApiId pulumi.StringInput ArtifactId pulumi.StringInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput // 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 ApiArtifactIamPolicy resource.
func (ApiArtifactIamPolicyArgs) ElementType ¶
func (ApiArtifactIamPolicyArgs) ElementType() reflect.Type
type ApiArtifactIamPolicyInput ¶
type ApiArtifactIamPolicyInput interface { pulumi.Input ToApiArtifactIamPolicyOutput() ApiArtifactIamPolicyOutput ToApiArtifactIamPolicyOutputWithContext(ctx context.Context) ApiArtifactIamPolicyOutput }
type ApiArtifactIamPolicyOutput ¶
type ApiArtifactIamPolicyOutput struct{ *pulumi.OutputState }
func (ApiArtifactIamPolicyOutput) Bindings ¶
func (o ApiArtifactIamPolicyOutput) 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 (ApiArtifactIamPolicyOutput) ElementType ¶
func (ApiArtifactIamPolicyOutput) ElementType() reflect.Type
func (ApiArtifactIamPolicyOutput) Etag ¶
func (o ApiArtifactIamPolicyOutput) 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 (ApiArtifactIamPolicyOutput) ToApiArtifactIamPolicyOutput ¶
func (o ApiArtifactIamPolicyOutput) ToApiArtifactIamPolicyOutput() ApiArtifactIamPolicyOutput
func (ApiArtifactIamPolicyOutput) ToApiArtifactIamPolicyOutputWithContext ¶
func (o ApiArtifactIamPolicyOutput) ToApiArtifactIamPolicyOutputWithContext(ctx context.Context) ApiArtifactIamPolicyOutput
func (ApiArtifactIamPolicyOutput) Version ¶
func (o ApiArtifactIamPolicyOutput) 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 ApiArtifactIamPolicyState ¶
type ApiArtifactIamPolicyState struct { }
func (ApiArtifactIamPolicyState) ElementType ¶
func (ApiArtifactIamPolicyState) ElementType() reflect.Type
type ApiDeploymentIamPolicy ¶
type ApiDeploymentIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetApiDeploymentIamPolicy ¶
func GetApiDeploymentIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiDeploymentIamPolicyState, opts ...pulumi.ResourceOption) (*ApiDeploymentIamPolicy, error)
GetApiDeploymentIamPolicy gets an existing ApiDeploymentIamPolicy 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 NewApiDeploymentIamPolicy ¶
func NewApiDeploymentIamPolicy(ctx *pulumi.Context, name string, args *ApiDeploymentIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiDeploymentIamPolicy, error)
NewApiDeploymentIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ApiDeploymentIamPolicy) ElementType ¶
func (*ApiDeploymentIamPolicy) ElementType() reflect.Type
func (*ApiDeploymentIamPolicy) ToApiDeploymentIamPolicyOutput ¶
func (i *ApiDeploymentIamPolicy) ToApiDeploymentIamPolicyOutput() ApiDeploymentIamPolicyOutput
func (*ApiDeploymentIamPolicy) ToApiDeploymentIamPolicyOutputWithContext ¶
func (i *ApiDeploymentIamPolicy) ToApiDeploymentIamPolicyOutputWithContext(ctx context.Context) ApiDeploymentIamPolicyOutput
type ApiDeploymentIamPolicyArgs ¶
type ApiDeploymentIamPolicyArgs struct { ApiId pulumi.StringInput // 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 DeploymentId pulumi.StringInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput // 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 ApiDeploymentIamPolicy resource.
func (ApiDeploymentIamPolicyArgs) ElementType ¶
func (ApiDeploymentIamPolicyArgs) ElementType() reflect.Type
type ApiDeploymentIamPolicyInput ¶
type ApiDeploymentIamPolicyInput interface { pulumi.Input ToApiDeploymentIamPolicyOutput() ApiDeploymentIamPolicyOutput ToApiDeploymentIamPolicyOutputWithContext(ctx context.Context) ApiDeploymentIamPolicyOutput }
type ApiDeploymentIamPolicyOutput ¶
type ApiDeploymentIamPolicyOutput struct{ *pulumi.OutputState }
func (ApiDeploymentIamPolicyOutput) Bindings ¶
func (o ApiDeploymentIamPolicyOutput) 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 (ApiDeploymentIamPolicyOutput) ElementType ¶
func (ApiDeploymentIamPolicyOutput) ElementType() reflect.Type
func (ApiDeploymentIamPolicyOutput) Etag ¶
func (o ApiDeploymentIamPolicyOutput) 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 (ApiDeploymentIamPolicyOutput) ToApiDeploymentIamPolicyOutput ¶
func (o ApiDeploymentIamPolicyOutput) ToApiDeploymentIamPolicyOutput() ApiDeploymentIamPolicyOutput
func (ApiDeploymentIamPolicyOutput) ToApiDeploymentIamPolicyOutputWithContext ¶
func (o ApiDeploymentIamPolicyOutput) ToApiDeploymentIamPolicyOutputWithContext(ctx context.Context) ApiDeploymentIamPolicyOutput
func (ApiDeploymentIamPolicyOutput) Version ¶
func (o ApiDeploymentIamPolicyOutput) 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 ApiDeploymentIamPolicyState ¶
type ApiDeploymentIamPolicyState struct { }
func (ApiDeploymentIamPolicyState) ElementType ¶
func (ApiDeploymentIamPolicyState) ElementType() reflect.Type
type ApiIamPolicy ¶
type ApiIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetApiIamPolicy ¶
func GetApiIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiIamPolicyState, opts ...pulumi.ResourceOption) (*ApiIamPolicy, error)
GetApiIamPolicy gets an existing ApiIamPolicy 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 NewApiIamPolicy ¶
func NewApiIamPolicy(ctx *pulumi.Context, name string, args *ApiIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiIamPolicy, error)
NewApiIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ApiIamPolicy) ElementType ¶
func (*ApiIamPolicy) ElementType() reflect.Type
func (*ApiIamPolicy) ToApiIamPolicyOutput ¶
func (i *ApiIamPolicy) ToApiIamPolicyOutput() ApiIamPolicyOutput
func (*ApiIamPolicy) ToApiIamPolicyOutputWithContext ¶
func (i *ApiIamPolicy) ToApiIamPolicyOutputWithContext(ctx context.Context) ApiIamPolicyOutput
type ApiIamPolicyArgs ¶
type ApiIamPolicyArgs struct { ApiId pulumi.StringInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput // 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 ApiIamPolicy resource.
func (ApiIamPolicyArgs) ElementType ¶
func (ApiIamPolicyArgs) ElementType() reflect.Type
type ApiIamPolicyInput ¶
type ApiIamPolicyInput interface { pulumi.Input ToApiIamPolicyOutput() ApiIamPolicyOutput ToApiIamPolicyOutputWithContext(ctx context.Context) ApiIamPolicyOutput }
type ApiIamPolicyOutput ¶
type ApiIamPolicyOutput struct{ *pulumi.OutputState }
func (ApiIamPolicyOutput) Bindings ¶
func (o ApiIamPolicyOutput) 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 (ApiIamPolicyOutput) ElementType ¶
func (ApiIamPolicyOutput) ElementType() reflect.Type
func (ApiIamPolicyOutput) Etag ¶
func (o ApiIamPolicyOutput) 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 (ApiIamPolicyOutput) ToApiIamPolicyOutput ¶
func (o ApiIamPolicyOutput) ToApiIamPolicyOutput() ApiIamPolicyOutput
func (ApiIamPolicyOutput) ToApiIamPolicyOutputWithContext ¶
func (o ApiIamPolicyOutput) ToApiIamPolicyOutputWithContext(ctx context.Context) ApiIamPolicyOutput
func (ApiIamPolicyOutput) Version ¶
func (o ApiIamPolicyOutput) 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 ApiIamPolicyState ¶
type ApiIamPolicyState struct { }
func (ApiIamPolicyState) ElementType ¶
func (ApiIamPolicyState) ElementType() reflect.Type
type ApiOutput ¶
type ApiOutput struct{ *pulumi.OutputState }
func (ApiOutput) Annotations ¶
func (o ApiOutput) Annotations() pulumi.StringMapOutput
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
func (ApiOutput) Availability ¶
func (o ApiOutput) Availability() pulumi.StringOutput
A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
func (ApiOutput) CreateTime ¶
func (o ApiOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (ApiOutput) Description ¶
func (o ApiOutput) Description() pulumi.StringOutput
A detailed description.
func (ApiOutput) DisplayName ¶
func (o ApiOutput) DisplayName() pulumi.StringOutput
Human-meaningful name.
func (ApiOutput) ElementType ¶
func (ApiOutput) Labels ¶
func (o ApiOutput) Labels() pulumi.StringMapOutput
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed.
func (ApiOutput) RecommendedDeployment ¶
func (o ApiOutput) RecommendedDeployment() pulumi.StringOutput
The recommended deployment of the API. Format: apis/{api}/deployments/{deployment}
func (ApiOutput) RecommendedVersion ¶
func (o ApiOutput) RecommendedVersion() pulumi.StringOutput
The recommended version of the API. Format: apis/{api}/versions/{version}
func (ApiOutput) ToApiOutput ¶
func (ApiOutput) ToApiOutputWithContext ¶
func (ApiOutput) UpdateTime ¶
func (o ApiOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type ApiVersionArtifactIamPolicy ¶
type ApiVersionArtifactIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetApiVersionArtifactIamPolicy ¶
func GetApiVersionArtifactIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiVersionArtifactIamPolicyState, opts ...pulumi.ResourceOption) (*ApiVersionArtifactIamPolicy, error)
GetApiVersionArtifactIamPolicy gets an existing ApiVersionArtifactIamPolicy 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 NewApiVersionArtifactIamPolicy ¶
func NewApiVersionArtifactIamPolicy(ctx *pulumi.Context, name string, args *ApiVersionArtifactIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiVersionArtifactIamPolicy, error)
NewApiVersionArtifactIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ApiVersionArtifactIamPolicy) ElementType ¶
func (*ApiVersionArtifactIamPolicy) ElementType() reflect.Type
func (*ApiVersionArtifactIamPolicy) ToApiVersionArtifactIamPolicyOutput ¶
func (i *ApiVersionArtifactIamPolicy) ToApiVersionArtifactIamPolicyOutput() ApiVersionArtifactIamPolicyOutput
func (*ApiVersionArtifactIamPolicy) ToApiVersionArtifactIamPolicyOutputWithContext ¶
func (i *ApiVersionArtifactIamPolicy) ToApiVersionArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionArtifactIamPolicyOutput
type ApiVersionArtifactIamPolicyArgs ¶
type ApiVersionArtifactIamPolicyArgs struct { ApiId pulumi.StringInput ArtifactId pulumi.StringInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput // 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 VersionId pulumi.StringInput }
The set of arguments for constructing a ApiVersionArtifactIamPolicy resource.
func (ApiVersionArtifactIamPolicyArgs) ElementType ¶
func (ApiVersionArtifactIamPolicyArgs) ElementType() reflect.Type
type ApiVersionArtifactIamPolicyInput ¶
type ApiVersionArtifactIamPolicyInput interface { pulumi.Input ToApiVersionArtifactIamPolicyOutput() ApiVersionArtifactIamPolicyOutput ToApiVersionArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionArtifactIamPolicyOutput }
type ApiVersionArtifactIamPolicyOutput ¶
type ApiVersionArtifactIamPolicyOutput struct{ *pulumi.OutputState }
func (ApiVersionArtifactIamPolicyOutput) Bindings ¶
func (o ApiVersionArtifactIamPolicyOutput) 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 (ApiVersionArtifactIamPolicyOutput) ElementType ¶
func (ApiVersionArtifactIamPolicyOutput) ElementType() reflect.Type
func (ApiVersionArtifactIamPolicyOutput) Etag ¶
func (o ApiVersionArtifactIamPolicyOutput) 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 (ApiVersionArtifactIamPolicyOutput) ToApiVersionArtifactIamPolicyOutput ¶
func (o ApiVersionArtifactIamPolicyOutput) ToApiVersionArtifactIamPolicyOutput() ApiVersionArtifactIamPolicyOutput
func (ApiVersionArtifactIamPolicyOutput) ToApiVersionArtifactIamPolicyOutputWithContext ¶
func (o ApiVersionArtifactIamPolicyOutput) ToApiVersionArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionArtifactIamPolicyOutput
func (ApiVersionArtifactIamPolicyOutput) Version ¶
func (o ApiVersionArtifactIamPolicyOutput) 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 ApiVersionArtifactIamPolicyState ¶
type ApiVersionArtifactIamPolicyState struct { }
func (ApiVersionArtifactIamPolicyState) ElementType ¶
func (ApiVersionArtifactIamPolicyState) ElementType() reflect.Type
type ApiVersionIamPolicy ¶
type ApiVersionIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetApiVersionIamPolicy ¶
func GetApiVersionIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiVersionIamPolicyState, opts ...pulumi.ResourceOption) (*ApiVersionIamPolicy, error)
GetApiVersionIamPolicy gets an existing ApiVersionIamPolicy 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 NewApiVersionIamPolicy ¶
func NewApiVersionIamPolicy(ctx *pulumi.Context, name string, args *ApiVersionIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiVersionIamPolicy, error)
NewApiVersionIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ApiVersionIamPolicy) ElementType ¶
func (*ApiVersionIamPolicy) ElementType() reflect.Type
func (*ApiVersionIamPolicy) ToApiVersionIamPolicyOutput ¶
func (i *ApiVersionIamPolicy) ToApiVersionIamPolicyOutput() ApiVersionIamPolicyOutput
func (*ApiVersionIamPolicy) ToApiVersionIamPolicyOutputWithContext ¶
func (i *ApiVersionIamPolicy) ToApiVersionIamPolicyOutputWithContext(ctx context.Context) ApiVersionIamPolicyOutput
type ApiVersionIamPolicyArgs ¶
type ApiVersionIamPolicyArgs struct { ApiId pulumi.StringInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput // 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 VersionId pulumi.StringInput }
The set of arguments for constructing a ApiVersionIamPolicy resource.
func (ApiVersionIamPolicyArgs) ElementType ¶
func (ApiVersionIamPolicyArgs) ElementType() reflect.Type
type ApiVersionIamPolicyInput ¶
type ApiVersionIamPolicyInput interface { pulumi.Input ToApiVersionIamPolicyOutput() ApiVersionIamPolicyOutput ToApiVersionIamPolicyOutputWithContext(ctx context.Context) ApiVersionIamPolicyOutput }
type ApiVersionIamPolicyOutput ¶
type ApiVersionIamPolicyOutput struct{ *pulumi.OutputState }
func (ApiVersionIamPolicyOutput) Bindings ¶
func (o ApiVersionIamPolicyOutput) 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 (ApiVersionIamPolicyOutput) ElementType ¶
func (ApiVersionIamPolicyOutput) ElementType() reflect.Type
func (ApiVersionIamPolicyOutput) Etag ¶
func (o ApiVersionIamPolicyOutput) 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 (ApiVersionIamPolicyOutput) ToApiVersionIamPolicyOutput ¶
func (o ApiVersionIamPolicyOutput) ToApiVersionIamPolicyOutput() ApiVersionIamPolicyOutput
func (ApiVersionIamPolicyOutput) ToApiVersionIamPolicyOutputWithContext ¶
func (o ApiVersionIamPolicyOutput) ToApiVersionIamPolicyOutputWithContext(ctx context.Context) ApiVersionIamPolicyOutput
func (ApiVersionIamPolicyOutput) Version ¶
func (o ApiVersionIamPolicyOutput) 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 ApiVersionIamPolicyState ¶
type ApiVersionIamPolicyState struct { }
func (ApiVersionIamPolicyState) ElementType ¶
func (ApiVersionIamPolicyState) ElementType() reflect.Type
type ApiVersionSpecArtifactIamPolicy ¶
type ApiVersionSpecArtifactIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetApiVersionSpecArtifactIamPolicy ¶
func GetApiVersionSpecArtifactIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiVersionSpecArtifactIamPolicyState, opts ...pulumi.ResourceOption) (*ApiVersionSpecArtifactIamPolicy, error)
GetApiVersionSpecArtifactIamPolicy gets an existing ApiVersionSpecArtifactIamPolicy 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 NewApiVersionSpecArtifactIamPolicy ¶
func NewApiVersionSpecArtifactIamPolicy(ctx *pulumi.Context, name string, args *ApiVersionSpecArtifactIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiVersionSpecArtifactIamPolicy, error)
NewApiVersionSpecArtifactIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ApiVersionSpecArtifactIamPolicy) ElementType ¶
func (*ApiVersionSpecArtifactIamPolicy) ElementType() reflect.Type
func (*ApiVersionSpecArtifactIamPolicy) ToApiVersionSpecArtifactIamPolicyOutput ¶
func (i *ApiVersionSpecArtifactIamPolicy) ToApiVersionSpecArtifactIamPolicyOutput() ApiVersionSpecArtifactIamPolicyOutput
func (*ApiVersionSpecArtifactIamPolicy) ToApiVersionSpecArtifactIamPolicyOutputWithContext ¶
func (i *ApiVersionSpecArtifactIamPolicy) ToApiVersionSpecArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecArtifactIamPolicyOutput
type ApiVersionSpecArtifactIamPolicyArgs ¶
type ApiVersionSpecArtifactIamPolicyArgs struct { ApiId pulumi.StringInput ArtifactId pulumi.StringInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput SpecId pulumi.StringInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput VersionId pulumi.StringInput }
The set of arguments for constructing a ApiVersionSpecArtifactIamPolicy resource.
func (ApiVersionSpecArtifactIamPolicyArgs) ElementType ¶
func (ApiVersionSpecArtifactIamPolicyArgs) ElementType() reflect.Type
type ApiVersionSpecArtifactIamPolicyInput ¶
type ApiVersionSpecArtifactIamPolicyInput interface { pulumi.Input ToApiVersionSpecArtifactIamPolicyOutput() ApiVersionSpecArtifactIamPolicyOutput ToApiVersionSpecArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecArtifactIamPolicyOutput }
type ApiVersionSpecArtifactIamPolicyOutput ¶
type ApiVersionSpecArtifactIamPolicyOutput struct{ *pulumi.OutputState }
func (ApiVersionSpecArtifactIamPolicyOutput) Bindings ¶
func (o ApiVersionSpecArtifactIamPolicyOutput) 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 (ApiVersionSpecArtifactIamPolicyOutput) ElementType ¶
func (ApiVersionSpecArtifactIamPolicyOutput) ElementType() reflect.Type
func (ApiVersionSpecArtifactIamPolicyOutput) Etag ¶
func (o ApiVersionSpecArtifactIamPolicyOutput) 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 (ApiVersionSpecArtifactIamPolicyOutput) ToApiVersionSpecArtifactIamPolicyOutput ¶
func (o ApiVersionSpecArtifactIamPolicyOutput) ToApiVersionSpecArtifactIamPolicyOutput() ApiVersionSpecArtifactIamPolicyOutput
func (ApiVersionSpecArtifactIamPolicyOutput) ToApiVersionSpecArtifactIamPolicyOutputWithContext ¶
func (o ApiVersionSpecArtifactIamPolicyOutput) ToApiVersionSpecArtifactIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecArtifactIamPolicyOutput
func (ApiVersionSpecArtifactIamPolicyOutput) Version ¶
func (o ApiVersionSpecArtifactIamPolicyOutput) 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 ApiVersionSpecArtifactIamPolicyState ¶
type ApiVersionSpecArtifactIamPolicyState struct { }
func (ApiVersionSpecArtifactIamPolicyState) ElementType ¶
func (ApiVersionSpecArtifactIamPolicyState) ElementType() reflect.Type
type ApiVersionSpecIamPolicy ¶
type ApiVersionSpecIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetApiVersionSpecIamPolicy ¶
func GetApiVersionSpecIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiVersionSpecIamPolicyState, opts ...pulumi.ResourceOption) (*ApiVersionSpecIamPolicy, error)
GetApiVersionSpecIamPolicy gets an existing ApiVersionSpecIamPolicy 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 NewApiVersionSpecIamPolicy ¶
func NewApiVersionSpecIamPolicy(ctx *pulumi.Context, name string, args *ApiVersionSpecIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiVersionSpecIamPolicy, error)
NewApiVersionSpecIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ApiVersionSpecIamPolicy) ElementType ¶
func (*ApiVersionSpecIamPolicy) ElementType() reflect.Type
func (*ApiVersionSpecIamPolicy) ToApiVersionSpecIamPolicyOutput ¶
func (i *ApiVersionSpecIamPolicy) ToApiVersionSpecIamPolicyOutput() ApiVersionSpecIamPolicyOutput
func (*ApiVersionSpecIamPolicy) ToApiVersionSpecIamPolicyOutputWithContext ¶
func (i *ApiVersionSpecIamPolicy) ToApiVersionSpecIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecIamPolicyOutput
type ApiVersionSpecIamPolicyArgs ¶
type ApiVersionSpecIamPolicyArgs struct { ApiId pulumi.StringInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput SpecId pulumi.StringInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput VersionId pulumi.StringInput }
The set of arguments for constructing a ApiVersionSpecIamPolicy resource.
func (ApiVersionSpecIamPolicyArgs) ElementType ¶
func (ApiVersionSpecIamPolicyArgs) ElementType() reflect.Type
type ApiVersionSpecIamPolicyInput ¶
type ApiVersionSpecIamPolicyInput interface { pulumi.Input ToApiVersionSpecIamPolicyOutput() ApiVersionSpecIamPolicyOutput ToApiVersionSpecIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecIamPolicyOutput }
type ApiVersionSpecIamPolicyOutput ¶
type ApiVersionSpecIamPolicyOutput struct{ *pulumi.OutputState }
func (ApiVersionSpecIamPolicyOutput) Bindings ¶
func (o ApiVersionSpecIamPolicyOutput) 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 (ApiVersionSpecIamPolicyOutput) ElementType ¶
func (ApiVersionSpecIamPolicyOutput) ElementType() reflect.Type
func (ApiVersionSpecIamPolicyOutput) Etag ¶
func (o ApiVersionSpecIamPolicyOutput) 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 (ApiVersionSpecIamPolicyOutput) ToApiVersionSpecIamPolicyOutput ¶
func (o ApiVersionSpecIamPolicyOutput) ToApiVersionSpecIamPolicyOutput() ApiVersionSpecIamPolicyOutput
func (ApiVersionSpecIamPolicyOutput) ToApiVersionSpecIamPolicyOutputWithContext ¶
func (o ApiVersionSpecIamPolicyOutput) ToApiVersionSpecIamPolicyOutputWithContext(ctx context.Context) ApiVersionSpecIamPolicyOutput
func (ApiVersionSpecIamPolicyOutput) Version ¶
func (o ApiVersionSpecIamPolicyOutput) 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 ApiVersionSpecIamPolicyState ¶
type ApiVersionSpecIamPolicyState struct { }
func (ApiVersionSpecIamPolicyState) ElementType ¶
func (ApiVersionSpecIamPolicyState) ElementType() reflect.Type
type Artifact ¶
type Artifact struct { pulumi.CustomResourceState // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents pulumi.StringOutput `pulumi:"contents"` // Creation timestamp. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact. Hash pulumi.StringOutput `pulumi:"hash"` // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType pulumi.StringOutput `pulumi:"mimeType"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact. SizeBytes pulumi.IntOutput `pulumi:"sizeBytes"` // Last update timestamp. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
CreateArtifact creates a specified artifact.
func GetArtifact ¶
func GetArtifact(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ArtifactState, opts ...pulumi.ResourceOption) (*Artifact, error)
GetArtifact gets an existing Artifact 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 NewArtifact ¶
func NewArtifact(ctx *pulumi.Context, name string, args *ArtifactArgs, opts ...pulumi.ResourceOption) (*Artifact, error)
NewArtifact registers a new resource with the given unique name, arguments, and options.
func (*Artifact) ElementType ¶
func (*Artifact) ToArtifactOutput ¶
func (i *Artifact) ToArtifactOutput() ArtifactOutput
func (*Artifact) ToArtifactOutputWithContext ¶
func (i *Artifact) ToArtifactOutputWithContext(ctx context.Context) ArtifactOutput
type ArtifactArgs ¶
type ArtifactArgs struct { ApiId pulumi.StringInput // Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. ArtifactId pulumi.StringInput // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents pulumi.StringPtrInput Location pulumi.StringPtrInput // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput Project pulumi.StringPtrInput SpecId pulumi.StringInput VersionId pulumi.StringInput }
The set of arguments for constructing a Artifact resource.
func (ArtifactArgs) ElementType ¶
func (ArtifactArgs) ElementType() reflect.Type
type ArtifactIamPolicy ¶
type ArtifactIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetArtifactIamPolicy ¶
func GetArtifactIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ArtifactIamPolicyState, opts ...pulumi.ResourceOption) (*ArtifactIamPolicy, error)
GetArtifactIamPolicy gets an existing ArtifactIamPolicy 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 NewArtifactIamPolicy ¶
func NewArtifactIamPolicy(ctx *pulumi.Context, name string, args *ArtifactIamPolicyArgs, opts ...pulumi.ResourceOption) (*ArtifactIamPolicy, error)
NewArtifactIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ArtifactIamPolicy) ElementType ¶
func (*ArtifactIamPolicy) ElementType() reflect.Type
func (*ArtifactIamPolicy) ToArtifactIamPolicyOutput ¶
func (i *ArtifactIamPolicy) ToArtifactIamPolicyOutput() ArtifactIamPolicyOutput
func (*ArtifactIamPolicy) ToArtifactIamPolicyOutputWithContext ¶
func (i *ArtifactIamPolicy) ToArtifactIamPolicyOutputWithContext(ctx context.Context) ArtifactIamPolicyOutput
type ArtifactIamPolicyArgs ¶
type ArtifactIamPolicyArgs struct { ArtifactId pulumi.StringInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput // 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 ArtifactIamPolicy resource.
func (ArtifactIamPolicyArgs) ElementType ¶
func (ArtifactIamPolicyArgs) ElementType() reflect.Type
type ArtifactIamPolicyInput ¶
type ArtifactIamPolicyInput interface { pulumi.Input ToArtifactIamPolicyOutput() ArtifactIamPolicyOutput ToArtifactIamPolicyOutputWithContext(ctx context.Context) ArtifactIamPolicyOutput }
type ArtifactIamPolicyOutput ¶
type ArtifactIamPolicyOutput struct{ *pulumi.OutputState }
func (ArtifactIamPolicyOutput) Bindings ¶
func (o ArtifactIamPolicyOutput) 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 (ArtifactIamPolicyOutput) ElementType ¶
func (ArtifactIamPolicyOutput) ElementType() reflect.Type
func (ArtifactIamPolicyOutput) Etag ¶
func (o ArtifactIamPolicyOutput) 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 (ArtifactIamPolicyOutput) ToArtifactIamPolicyOutput ¶
func (o ArtifactIamPolicyOutput) ToArtifactIamPolicyOutput() ArtifactIamPolicyOutput
func (ArtifactIamPolicyOutput) ToArtifactIamPolicyOutputWithContext ¶
func (o ArtifactIamPolicyOutput) ToArtifactIamPolicyOutputWithContext(ctx context.Context) ArtifactIamPolicyOutput
func (ArtifactIamPolicyOutput) Version ¶
func (o ArtifactIamPolicyOutput) 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 ArtifactIamPolicyState ¶
type ArtifactIamPolicyState struct { }
func (ArtifactIamPolicyState) ElementType ¶
func (ArtifactIamPolicyState) ElementType() reflect.Type
type ArtifactInput ¶
type ArtifactInput interface { pulumi.Input ToArtifactOutput() ArtifactOutput ToArtifactOutputWithContext(ctx context.Context) ArtifactOutput }
type ArtifactOutput ¶
type ArtifactOutput struct{ *pulumi.OutputState }
func (ArtifactOutput) Contents ¶
func (o ArtifactOutput) Contents() pulumi.StringOutput
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
func (ArtifactOutput) CreateTime ¶
func (o ArtifactOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (ArtifactOutput) ElementType ¶
func (ArtifactOutput) ElementType() reflect.Type
func (ArtifactOutput) Hash ¶
func (o ArtifactOutput) Hash() pulumi.StringOutput
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
func (ArtifactOutput) MimeType ¶
func (o ArtifactOutput) MimeType() pulumi.StringOutput
A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
func (ArtifactOutput) SizeBytes ¶
func (o ArtifactOutput) SizeBytes() pulumi.IntOutput
The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
func (ArtifactOutput) ToArtifactOutput ¶
func (o ArtifactOutput) ToArtifactOutput() ArtifactOutput
func (ArtifactOutput) ToArtifactOutputWithContext ¶
func (o ArtifactOutput) ToArtifactOutputWithContext(ctx context.Context) ArtifactOutput
func (ArtifactOutput) UpdateTime ¶
func (o ArtifactOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type ArtifactState ¶
type ArtifactState struct { }
func (ArtifactState) ElementType ¶
func (ArtifactState) ElementType() reflect.Type
type Binding ¶
type Binding struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `pulumi:"condition"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role *string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingArgs ¶
type BindingArgs struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprPtrInput `pulumi:"condition"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members pulumi.StringArrayInput `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringPtrInput `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
func (BindingArgs) ElementType ¶
func (BindingArgs) ElementType() reflect.Type
func (BindingArgs) ToBindingOutput ¶
func (i BindingArgs) ToBindingOutput() BindingOutput
func (BindingArgs) ToBindingOutputWithContext ¶
func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingArray ¶
type BindingArray []BindingInput
func (BindingArray) ElementType ¶
func (BindingArray) ElementType() reflect.Type
func (BindingArray) ToBindingArrayOutput ¶
func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput
func (BindingArray) ToBindingArrayOutputWithContext ¶
func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingArrayInput ¶
type BindingArrayInput interface { pulumi.Input ToBindingArrayOutput() BindingArrayOutput ToBindingArrayOutputWithContext(context.Context) BindingArrayOutput }
BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. You can construct a concrete instance of `BindingArrayInput` via:
BindingArray{ BindingArgs{...} }
type BindingArrayOutput ¶
type BindingArrayOutput struct{ *pulumi.OutputState }
func (BindingArrayOutput) ElementType ¶
func (BindingArrayOutput) ElementType() reflect.Type
func (BindingArrayOutput) Index ¶
func (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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
func (BindingOutput) Role ¶
func (o BindingOutput) Role() pulumi.StringPtrOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingOutput) ToBindingOutput ¶
func (o BindingOutput) ToBindingOutput() BindingOutput
func (BindingOutput) ToBindingOutputWithContext ¶
func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingResponse ¶
type BindingResponse struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprResponse `pulumi:"condition"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingResponseArrayOutput ¶
type BindingResponseArrayOutput struct{ *pulumi.OutputState }
func (BindingResponseArrayOutput) ElementType ¶
func (BindingResponseArrayOutput) ElementType() reflect.Type
func (BindingResponseArrayOutput) Index ¶
func (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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
func (BindingResponseOutput) Role ¶
func (o BindingResponseOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingResponseOutput) ToBindingResponseOutput ¶
func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
func (BindingResponseOutput) ToBindingResponseOutputWithContext ¶
func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
type Config ¶
type Config struct { // The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the `location` must match InstanceConfig.location. CmekKeyName string `pulumi:"cmekKeyName"` }
Available configurations to provision an Instance.
type ConfigArgs ¶
type ConfigArgs struct { // The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the `location` must match InstanceConfig.location. CmekKeyName pulumi.StringInput `pulumi:"cmekKeyName"` }
Available configurations to provision an Instance.
func (ConfigArgs) ElementType ¶
func (ConfigArgs) ElementType() reflect.Type
func (ConfigArgs) ToConfigOutput ¶
func (i ConfigArgs) ToConfigOutput() ConfigOutput
func (ConfigArgs) ToConfigOutputWithContext ¶
func (i ConfigArgs) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
type ConfigInput ¶
type ConfigInput interface { pulumi.Input ToConfigOutput() ConfigOutput ToConfigOutputWithContext(context.Context) ConfigOutput }
ConfigInput is an input type that accepts ConfigArgs and ConfigOutput values. You can construct a concrete instance of `ConfigInput` via:
ConfigArgs{...}
type ConfigOutput ¶
type ConfigOutput struct{ *pulumi.OutputState }
Available configurations to provision an Instance.
func (ConfigOutput) CmekKeyName ¶
func (o ConfigOutput) CmekKeyName() pulumi.StringOutput
The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the `location` must match InstanceConfig.location.
func (ConfigOutput) ElementType ¶
func (ConfigOutput) ElementType() reflect.Type
func (ConfigOutput) ToConfigOutput ¶
func (o ConfigOutput) ToConfigOutput() ConfigOutput
func (ConfigOutput) ToConfigOutputWithContext ¶
func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
type ConfigResponse ¶
type ConfigResponse struct { // The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the `location` must match InstanceConfig.location. CmekKeyName string `pulumi:"cmekKeyName"` // The GCP location where the Instance resides. Location string `pulumi:"location"` }
Available configurations to provision an Instance.
type ConfigResponseOutput ¶
type ConfigResponseOutput struct{ *pulumi.OutputState }
Available configurations to provision an Instance.
func (ConfigResponseOutput) CmekKeyName ¶
func (o ConfigResponseOutput) CmekKeyName() pulumi.StringOutput
The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the `location` must match InstanceConfig.location.
func (ConfigResponseOutput) ElementType ¶
func (ConfigResponseOutput) ElementType() reflect.Type
func (ConfigResponseOutput) Location ¶
func (o ConfigResponseOutput) Location() pulumi.StringOutput
The GCP location where the Instance resides.
func (ConfigResponseOutput) ToConfigResponseOutput ¶
func (o ConfigResponseOutput) ToConfigResponseOutput() ConfigResponseOutput
func (ConfigResponseOutput) ToConfigResponseOutputWithContext ¶
func (o ConfigResponseOutput) ToConfigResponseOutputWithContext(ctx context.Context) ConfigResponseOutput
type Deployment ¶
type Deployment struct { pulumi.CustomResourceState // Text briefly describing how to access the endpoint. Changes to this value will not affect the revision. AccessGuidance pulumi.StringOutput `pulumi:"accessGuidance"` // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // The full resource name (including revision id) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: apis/{api}/deployments/{deployment} ApiSpecRevision pulumi.StringOutput `pulumi:"apiSpecRevision"` // Creation timestamp; when the deployment resource was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A detailed description. Description pulumi.StringOutput `pulumi:"description"` // Human-meaningful name. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The address where the deployment is serving. Changes to this value will update the revision. EndpointUri pulumi.StringOutput `pulumi:"endpointUri"` // The address of the external channel of the API (e.g. the Developer Portal). Changes to this value will not affect the revision. ExternalChannelUri pulumi.StringOutput `pulumi:"externalChannelUri"` // Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision. IntendedAudience pulumi.StringOutput `pulumi:"intendedAudience"` // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels pulumi.StringMapOutput `pulumi:"labels"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // Revision creation timestamp; when the represented revision was created. RevisionCreateTime pulumi.StringOutput `pulumi:"revisionCreateTime"` // Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string. RevisionId pulumi.StringOutput `pulumi:"revisionId"` // Last update timestamp: when the represented revision was last modified. RevisionUpdateTime pulumi.StringOutput `pulumi:"revisionUpdateTime"` }
CreateApiDeployment creates a specified deployment.
func GetDeployment ¶
func GetDeployment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeploymentState, opts ...pulumi.ResourceOption) (*Deployment, error)
GetDeployment gets an existing Deployment 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 NewDeployment ¶
func NewDeployment(ctx *pulumi.Context, name string, args *DeploymentArgs, opts ...pulumi.ResourceOption) (*Deployment, error)
NewDeployment registers a new resource with the given unique name, arguments, and options.
func (*Deployment) ElementType ¶
func (*Deployment) ElementType() reflect.Type
func (*Deployment) ToDeploymentOutput ¶
func (i *Deployment) ToDeploymentOutput() DeploymentOutput
func (*Deployment) ToDeploymentOutputWithContext ¶
func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
type DeploymentArgs ¶
type DeploymentArgs struct { // Text briefly describing how to access the endpoint. Changes to this value will not affect the revision. AccessGuidance pulumi.StringPtrInput // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations pulumi.StringMapInput // Required. The ID to use for the deployment, which will become the final component of the deployment's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. ApiDeploymentId pulumi.StringInput ApiId pulumi.StringInput // The full resource name (including revision id) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: apis/{api}/deployments/{deployment} ApiSpecRevision pulumi.StringPtrInput // A detailed description. Description pulumi.StringPtrInput // Human-meaningful name. DisplayName pulumi.StringPtrInput // The address where the deployment is serving. Changes to this value will update the revision. EndpointUri pulumi.StringPtrInput // The address of the external channel of the API (e.g. the Developer Portal). Changes to this value will not affect the revision. ExternalChannelUri pulumi.StringPtrInput // Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision. IntendedAudience pulumi.StringPtrInput // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels pulumi.StringMapInput Location pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput Project pulumi.StringPtrInput }
The set of arguments for constructing a Deployment resource.
func (DeploymentArgs) ElementType ¶
func (DeploymentArgs) ElementType() reflect.Type
type DeploymentArtifact ¶
type DeploymentArtifact struct { pulumi.CustomResourceState // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents pulumi.StringOutput `pulumi:"contents"` // Creation timestamp. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact. Hash pulumi.StringOutput `pulumi:"hash"` // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType pulumi.StringOutput `pulumi:"mimeType"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact. SizeBytes pulumi.IntOutput `pulumi:"sizeBytes"` // Last update timestamp. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
CreateArtifact creates a specified artifact.
func GetDeploymentArtifact ¶
func GetDeploymentArtifact(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeploymentArtifactState, opts ...pulumi.ResourceOption) (*DeploymentArtifact, error)
GetDeploymentArtifact gets an existing DeploymentArtifact 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 NewDeploymentArtifact ¶
func NewDeploymentArtifact(ctx *pulumi.Context, name string, args *DeploymentArtifactArgs, opts ...pulumi.ResourceOption) (*DeploymentArtifact, error)
NewDeploymentArtifact registers a new resource with the given unique name, arguments, and options.
func (*DeploymentArtifact) ElementType ¶
func (*DeploymentArtifact) ElementType() reflect.Type
func (*DeploymentArtifact) ToDeploymentArtifactOutput ¶
func (i *DeploymentArtifact) ToDeploymentArtifactOutput() DeploymentArtifactOutput
func (*DeploymentArtifact) ToDeploymentArtifactOutputWithContext ¶
func (i *DeploymentArtifact) ToDeploymentArtifactOutputWithContext(ctx context.Context) DeploymentArtifactOutput
type DeploymentArtifactArgs ¶
type DeploymentArtifactArgs struct { ApiId pulumi.StringInput // Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. ArtifactId pulumi.StringInput // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents pulumi.StringPtrInput DeploymentId pulumi.StringInput Location pulumi.StringPtrInput // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput Project pulumi.StringPtrInput }
The set of arguments for constructing a DeploymentArtifact resource.
func (DeploymentArtifactArgs) ElementType ¶
func (DeploymentArtifactArgs) ElementType() reflect.Type
type DeploymentArtifactInput ¶
type DeploymentArtifactInput interface { pulumi.Input ToDeploymentArtifactOutput() DeploymentArtifactOutput ToDeploymentArtifactOutputWithContext(ctx context.Context) DeploymentArtifactOutput }
type DeploymentArtifactOutput ¶
type DeploymentArtifactOutput struct{ *pulumi.OutputState }
func (DeploymentArtifactOutput) Contents ¶
func (o DeploymentArtifactOutput) Contents() pulumi.StringOutput
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
func (DeploymentArtifactOutput) CreateTime ¶
func (o DeploymentArtifactOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (DeploymentArtifactOutput) ElementType ¶
func (DeploymentArtifactOutput) ElementType() reflect.Type
func (DeploymentArtifactOutput) Hash ¶
func (o DeploymentArtifactOutput) Hash() pulumi.StringOutput
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
func (DeploymentArtifactOutput) MimeType ¶
func (o DeploymentArtifactOutput) MimeType() pulumi.StringOutput
A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
func (DeploymentArtifactOutput) Name ¶
func (o DeploymentArtifactOutput) Name() pulumi.StringOutput
Resource name.
func (DeploymentArtifactOutput) SizeBytes ¶
func (o DeploymentArtifactOutput) SizeBytes() pulumi.IntOutput
The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
func (DeploymentArtifactOutput) ToDeploymentArtifactOutput ¶
func (o DeploymentArtifactOutput) ToDeploymentArtifactOutput() DeploymentArtifactOutput
func (DeploymentArtifactOutput) ToDeploymentArtifactOutputWithContext ¶
func (o DeploymentArtifactOutput) ToDeploymentArtifactOutputWithContext(ctx context.Context) DeploymentArtifactOutput
func (DeploymentArtifactOutput) UpdateTime ¶
func (o DeploymentArtifactOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type DeploymentArtifactState ¶
type DeploymentArtifactState struct { }
func (DeploymentArtifactState) ElementType ¶
func (DeploymentArtifactState) ElementType() reflect.Type
type DeploymentInput ¶
type DeploymentInput interface { pulumi.Input ToDeploymentOutput() DeploymentOutput ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput }
type DeploymentOutput ¶
type DeploymentOutput struct{ *pulumi.OutputState }
func (DeploymentOutput) AccessGuidance ¶
func (o DeploymentOutput) AccessGuidance() pulumi.StringOutput
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
func (DeploymentOutput) Annotations ¶
func (o DeploymentOutput) Annotations() pulumi.StringMapOutput
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
func (DeploymentOutput) ApiSpecRevision ¶
func (o DeploymentOutput) ApiSpecRevision() pulumi.StringOutput
The full resource name (including revision id) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: apis/{api}/deployments/{deployment}
func (DeploymentOutput) CreateTime ¶
func (o DeploymentOutput) CreateTime() pulumi.StringOutput
Creation timestamp; when the deployment resource was created.
func (DeploymentOutput) Description ¶
func (o DeploymentOutput) Description() pulumi.StringOutput
A detailed description.
func (DeploymentOutput) DisplayName ¶
func (o DeploymentOutput) DisplayName() pulumi.StringOutput
Human-meaningful name.
func (DeploymentOutput) ElementType ¶
func (DeploymentOutput) ElementType() reflect.Type
func (DeploymentOutput) EndpointUri ¶
func (o DeploymentOutput) EndpointUri() pulumi.StringOutput
The address where the deployment is serving. Changes to this value will update the revision.
func (DeploymentOutput) ExternalChannelUri ¶
func (o DeploymentOutput) ExternalChannelUri() pulumi.StringOutput
The address of the external channel of the API (e.g. the Developer Portal). Changes to this value will not affect the revision.
func (DeploymentOutput) IntendedAudience ¶
func (o DeploymentOutput) IntendedAudience() pulumi.StringOutput
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
func (DeploymentOutput) Labels ¶
func (o DeploymentOutput) Labels() pulumi.StringMapOutput
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed.
func (DeploymentOutput) RevisionCreateTime ¶
func (o DeploymentOutput) RevisionCreateTime() pulumi.StringOutput
Revision creation timestamp; when the represented revision was created.
func (DeploymentOutput) RevisionId ¶
func (o DeploymentOutput) RevisionId() pulumi.StringOutput
Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
func (DeploymentOutput) RevisionUpdateTime ¶
func (o DeploymentOutput) RevisionUpdateTime() pulumi.StringOutput
Last update timestamp: when the represented revision was last modified.
func (DeploymentOutput) ToDeploymentOutput ¶
func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput
func (DeploymentOutput) ToDeploymentOutputWithContext ¶
func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
type DeploymentState ¶
type DeploymentState struct { }
func (DeploymentState) ElementType ¶
func (DeploymentState) ElementType() reflect.Type
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 Instance ¶
type Instance struct { pulumi.CustomResourceState // Config of the Instance. Config ConfigResponseOutput `pulumi:"config"` // Creation timestamp. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Format: `projects/*/locations/*/instance`. Currently only locations/global is supported. Name pulumi.StringOutput `pulumi:"name"` // The current state of the Instance. State pulumi.StringOutput `pulumi:"state"` // Extra information of Instance.State if the state is `FAILED`. StateMessage pulumi.StringOutput `pulumi:"stateMessage"` // Last update timestamp. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Provisions instance resources for the Registry. Auto-naming is currently not supported for this resource.
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance 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 NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // Config of the Instance. Config ConfigInput // Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource. InstanceId pulumi.StringInput Location pulumi.StringPtrInput // Format: `projects/*/locations/*/instance`. Currently only locations/global is supported. Name pulumi.StringPtrInput Project pulumi.StringPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceIamPolicy ¶
type InstanceIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetInstanceIamPolicy ¶
func GetInstanceIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIamPolicyState, opts ...pulumi.ResourceOption) (*InstanceIamPolicy, error)
GetInstanceIamPolicy gets an existing InstanceIamPolicy 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 NewInstanceIamPolicy ¶
func NewInstanceIamPolicy(ctx *pulumi.Context, name string, args *InstanceIamPolicyArgs, opts ...pulumi.ResourceOption) (*InstanceIamPolicy, error)
NewInstanceIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*InstanceIamPolicy) ElementType ¶
func (*InstanceIamPolicy) ElementType() reflect.Type
func (*InstanceIamPolicy) ToInstanceIamPolicyOutput ¶
func (i *InstanceIamPolicy) ToInstanceIamPolicyOutput() InstanceIamPolicyOutput
func (*InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext ¶
func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Context) InstanceIamPolicyOutput
type InstanceIamPolicyArgs ¶
type InstanceIamPolicyArgs struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput InstanceId pulumi.StringInput Location pulumi.StringPtrInput Project 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 InstanceIamPolicy resource.
func (InstanceIamPolicyArgs) ElementType ¶
func (InstanceIamPolicyArgs) ElementType() reflect.Type
type InstanceIamPolicyInput ¶
type InstanceIamPolicyInput interface { pulumi.Input ToInstanceIamPolicyOutput() InstanceIamPolicyOutput ToInstanceIamPolicyOutputWithContext(ctx context.Context) InstanceIamPolicyOutput }
type InstanceIamPolicyOutput ¶
type InstanceIamPolicyOutput struct{ *pulumi.OutputState }
func (InstanceIamPolicyOutput) Bindings ¶
func (o InstanceIamPolicyOutput) 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 (InstanceIamPolicyOutput) ElementType ¶
func (InstanceIamPolicyOutput) ElementType() reflect.Type
func (InstanceIamPolicyOutput) Etag ¶
func (o InstanceIamPolicyOutput) 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 (InstanceIamPolicyOutput) ToInstanceIamPolicyOutput ¶
func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutput() InstanceIamPolicyOutput
func (InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext ¶
func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx context.Context) InstanceIamPolicyOutput
func (InstanceIamPolicyOutput) Version ¶
func (o InstanceIamPolicyOutput) 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 InstanceIamPolicyState ¶
type InstanceIamPolicyState struct { }
func (InstanceIamPolicyState) ElementType ¶
func (InstanceIamPolicyState) ElementType() reflect.Type
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) Config ¶
func (o InstanceOutput) Config() ConfigResponseOutput
Config of the Instance.
func (InstanceOutput) CreateTime ¶
func (o InstanceOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
Format: `projects/*/locations/*/instance`. Currently only locations/global is supported.
func (InstanceOutput) State ¶
func (o InstanceOutput) State() pulumi.StringOutput
The current state of the Instance.
func (InstanceOutput) StateMessage ¶
func (o InstanceOutput) StateMessage() pulumi.StringOutput
Extra information of Instance.State if the state is `FAILED`.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) UpdateTime ¶
func (o InstanceOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type InstanceState ¶
type InstanceState struct { }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type LookupApiArgs ¶
type LookupApiArtifactIamPolicyOutputArgs ¶
type LookupApiArtifactIamPolicyOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` ArtifactId pulumi.StringInput `pulumi:"artifactId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupApiArtifactIamPolicyOutputArgs) ElementType ¶
func (LookupApiArtifactIamPolicyOutputArgs) ElementType() reflect.Type
type LookupApiArtifactIamPolicyResult ¶
type LookupApiArtifactIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupApiArtifactIamPolicy ¶
func LookupApiArtifactIamPolicy(ctx *pulumi.Context, args *LookupApiArtifactIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupApiArtifactIamPolicyResult, 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 LookupApiArtifactIamPolicyResultOutput ¶
type LookupApiArtifactIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupApiArtifactIamPolicyOutput ¶
func LookupApiArtifactIamPolicyOutput(ctx *pulumi.Context, args LookupApiArtifactIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupApiArtifactIamPolicyResultOutput
func (LookupApiArtifactIamPolicyResultOutput) Bindings ¶
func (o LookupApiArtifactIamPolicyResultOutput) 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 (LookupApiArtifactIamPolicyResultOutput) ElementType ¶
func (LookupApiArtifactIamPolicyResultOutput) ElementType() reflect.Type
func (LookupApiArtifactIamPolicyResultOutput) Etag ¶
func (o LookupApiArtifactIamPolicyResultOutput) 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 (LookupApiArtifactIamPolicyResultOutput) ToLookupApiArtifactIamPolicyResultOutput ¶
func (o LookupApiArtifactIamPolicyResultOutput) ToLookupApiArtifactIamPolicyResultOutput() LookupApiArtifactIamPolicyResultOutput
func (LookupApiArtifactIamPolicyResultOutput) ToLookupApiArtifactIamPolicyResultOutputWithContext ¶
func (o LookupApiArtifactIamPolicyResultOutput) ToLookupApiArtifactIamPolicyResultOutputWithContext(ctx context.Context) LookupApiArtifactIamPolicyResultOutput
func (LookupApiArtifactIamPolicyResultOutput) Version ¶
func (o LookupApiArtifactIamPolicyResultOutput) 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 LookupApiDeploymentIamPolicyOutputArgs ¶
type LookupApiDeploymentIamPolicyOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` DeploymentId pulumi.StringInput `pulumi:"deploymentId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupApiDeploymentIamPolicyOutputArgs) ElementType ¶
func (LookupApiDeploymentIamPolicyOutputArgs) ElementType() reflect.Type
type LookupApiDeploymentIamPolicyResult ¶
type LookupApiDeploymentIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupApiDeploymentIamPolicy ¶
func LookupApiDeploymentIamPolicy(ctx *pulumi.Context, args *LookupApiDeploymentIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupApiDeploymentIamPolicyResult, 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 LookupApiDeploymentIamPolicyResultOutput ¶
type LookupApiDeploymentIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupApiDeploymentIamPolicyOutput ¶
func LookupApiDeploymentIamPolicyOutput(ctx *pulumi.Context, args LookupApiDeploymentIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupApiDeploymentIamPolicyResultOutput
func (LookupApiDeploymentIamPolicyResultOutput) Bindings ¶
func (o LookupApiDeploymentIamPolicyResultOutput) 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 (LookupApiDeploymentIamPolicyResultOutput) ElementType ¶
func (LookupApiDeploymentIamPolicyResultOutput) ElementType() reflect.Type
func (LookupApiDeploymentIamPolicyResultOutput) Etag ¶
func (o LookupApiDeploymentIamPolicyResultOutput) 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 (LookupApiDeploymentIamPolicyResultOutput) ToLookupApiDeploymentIamPolicyResultOutput ¶
func (o LookupApiDeploymentIamPolicyResultOutput) ToLookupApiDeploymentIamPolicyResultOutput() LookupApiDeploymentIamPolicyResultOutput
func (LookupApiDeploymentIamPolicyResultOutput) ToLookupApiDeploymentIamPolicyResultOutputWithContext ¶
func (o LookupApiDeploymentIamPolicyResultOutput) ToLookupApiDeploymentIamPolicyResultOutputWithContext(ctx context.Context) LookupApiDeploymentIamPolicyResultOutput
func (LookupApiDeploymentIamPolicyResultOutput) Version ¶
func (o LookupApiDeploymentIamPolicyResultOutput) 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 LookupApiIamPolicyArgs ¶
type LookupApiIamPolicyOutputArgs ¶
type LookupApiIamPolicyOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupApiIamPolicyOutputArgs) ElementType ¶
func (LookupApiIamPolicyOutputArgs) ElementType() reflect.Type
type LookupApiIamPolicyResult ¶
type LookupApiIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupApiIamPolicy ¶
func LookupApiIamPolicy(ctx *pulumi.Context, args *LookupApiIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupApiIamPolicyResult, 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 LookupApiIamPolicyResultOutput ¶
type LookupApiIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupApiIamPolicyOutput ¶
func LookupApiIamPolicyOutput(ctx *pulumi.Context, args LookupApiIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupApiIamPolicyResultOutput
func (LookupApiIamPolicyResultOutput) Bindings ¶
func (o LookupApiIamPolicyResultOutput) 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 (LookupApiIamPolicyResultOutput) ElementType ¶
func (LookupApiIamPolicyResultOutput) ElementType() reflect.Type
func (LookupApiIamPolicyResultOutput) Etag ¶
func (o LookupApiIamPolicyResultOutput) 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 (LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutput ¶
func (o LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutput() LookupApiIamPolicyResultOutput
func (LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutputWithContext ¶
func (o LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutputWithContext(ctx context.Context) LookupApiIamPolicyResultOutput
func (LookupApiIamPolicyResultOutput) Version ¶
func (o LookupApiIamPolicyResultOutput) 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 LookupApiOutputArgs ¶
type LookupApiOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupApiOutputArgs) ElementType ¶
func (LookupApiOutputArgs) ElementType() reflect.Type
type LookupApiResult ¶
type LookupApiResult struct { // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations map[string]string `pulumi:"annotations"` // A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". Availability string `pulumi:"availability"` // Creation timestamp. CreateTime string `pulumi:"createTime"` // A detailed description. Description string `pulumi:"description"` // Human-meaningful name. DisplayName string `pulumi:"displayName"` // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels map[string]string `pulumi:"labels"` // Resource name. Name string `pulumi:"name"` // The recommended deployment of the API. Format: apis/{api}/deployments/{deployment} RecommendedDeployment string `pulumi:"recommendedDeployment"` // The recommended version of the API. Format: apis/{api}/versions/{version} RecommendedVersion string `pulumi:"recommendedVersion"` // Last update timestamp. UpdateTime string `pulumi:"updateTime"` }
func LookupApi ¶
func LookupApi(ctx *pulumi.Context, args *LookupApiArgs, opts ...pulumi.InvokeOption) (*LookupApiResult, error)
GetApi returns a specified API.
type LookupApiResultOutput ¶
type LookupApiResultOutput struct{ *pulumi.OutputState }
func LookupApiOutput ¶
func LookupApiOutput(ctx *pulumi.Context, args LookupApiOutputArgs, opts ...pulumi.InvokeOption) LookupApiResultOutput
func (LookupApiResultOutput) Annotations ¶
func (o LookupApiResultOutput) Annotations() pulumi.StringMapOutput
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
func (LookupApiResultOutput) Availability ¶
func (o LookupApiResultOutput) Availability() pulumi.StringOutput
A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
func (LookupApiResultOutput) CreateTime ¶
func (o LookupApiResultOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (LookupApiResultOutput) Description ¶
func (o LookupApiResultOutput) Description() pulumi.StringOutput
A detailed description.
func (LookupApiResultOutput) DisplayName ¶
func (o LookupApiResultOutput) DisplayName() pulumi.StringOutput
Human-meaningful name.
func (LookupApiResultOutput) ElementType ¶
func (LookupApiResultOutput) ElementType() reflect.Type
func (LookupApiResultOutput) Labels ¶
func (o LookupApiResultOutput) Labels() pulumi.StringMapOutput
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed.
func (LookupApiResultOutput) Name ¶
func (o LookupApiResultOutput) Name() pulumi.StringOutput
Resource name.
func (LookupApiResultOutput) RecommendedDeployment ¶
func (o LookupApiResultOutput) RecommendedDeployment() pulumi.StringOutput
The recommended deployment of the API. Format: apis/{api}/deployments/{deployment}
func (LookupApiResultOutput) RecommendedVersion ¶
func (o LookupApiResultOutput) RecommendedVersion() pulumi.StringOutput
The recommended version of the API. Format: apis/{api}/versions/{version}
func (LookupApiResultOutput) ToLookupApiResultOutput ¶
func (o LookupApiResultOutput) ToLookupApiResultOutput() LookupApiResultOutput
func (LookupApiResultOutput) ToLookupApiResultOutputWithContext ¶
func (o LookupApiResultOutput) ToLookupApiResultOutputWithContext(ctx context.Context) LookupApiResultOutput
func (LookupApiResultOutput) UpdateTime ¶
func (o LookupApiResultOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type LookupApiVersionArtifactIamPolicyArgs ¶
type LookupApiVersionArtifactIamPolicyArgs struct { ApiId string `pulumi:"apiId"` ArtifactId string `pulumi:"artifactId"` Location string `pulumi:"location"` OptionsRequestedPolicyVersion *string `pulumi:"optionsRequestedPolicyVersion"` Project *string `pulumi:"project"` VersionId string `pulumi:"versionId"` }
type LookupApiVersionArtifactIamPolicyOutputArgs ¶
type LookupApiVersionArtifactIamPolicyOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` ArtifactId pulumi.StringInput `pulumi:"artifactId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (LookupApiVersionArtifactIamPolicyOutputArgs) ElementType ¶
func (LookupApiVersionArtifactIamPolicyOutputArgs) ElementType() reflect.Type
type LookupApiVersionArtifactIamPolicyResult ¶
type LookupApiVersionArtifactIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupApiVersionArtifactIamPolicy ¶
func LookupApiVersionArtifactIamPolicy(ctx *pulumi.Context, args *LookupApiVersionArtifactIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupApiVersionArtifactIamPolicyResult, 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 LookupApiVersionArtifactIamPolicyResultOutput ¶
type LookupApiVersionArtifactIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupApiVersionArtifactIamPolicyOutput ¶
func LookupApiVersionArtifactIamPolicyOutput(ctx *pulumi.Context, args LookupApiVersionArtifactIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupApiVersionArtifactIamPolicyResultOutput
func (LookupApiVersionArtifactIamPolicyResultOutput) Bindings ¶
func (o LookupApiVersionArtifactIamPolicyResultOutput) 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 (LookupApiVersionArtifactIamPolicyResultOutput) ElementType ¶
func (LookupApiVersionArtifactIamPolicyResultOutput) ElementType() reflect.Type
func (LookupApiVersionArtifactIamPolicyResultOutput) Etag ¶
func (o LookupApiVersionArtifactIamPolicyResultOutput) 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 (LookupApiVersionArtifactIamPolicyResultOutput) ToLookupApiVersionArtifactIamPolicyResultOutput ¶
func (o LookupApiVersionArtifactIamPolicyResultOutput) ToLookupApiVersionArtifactIamPolicyResultOutput() LookupApiVersionArtifactIamPolicyResultOutput
func (LookupApiVersionArtifactIamPolicyResultOutput) ToLookupApiVersionArtifactIamPolicyResultOutputWithContext ¶
func (o LookupApiVersionArtifactIamPolicyResultOutput) ToLookupApiVersionArtifactIamPolicyResultOutputWithContext(ctx context.Context) LookupApiVersionArtifactIamPolicyResultOutput
func (LookupApiVersionArtifactIamPolicyResultOutput) Version ¶
func (o LookupApiVersionArtifactIamPolicyResultOutput) 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 LookupApiVersionIamPolicyOutputArgs ¶
type LookupApiVersionIamPolicyOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (LookupApiVersionIamPolicyOutputArgs) ElementType ¶
func (LookupApiVersionIamPolicyOutputArgs) ElementType() reflect.Type
type LookupApiVersionIamPolicyResult ¶
type LookupApiVersionIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupApiVersionIamPolicy ¶
func LookupApiVersionIamPolicy(ctx *pulumi.Context, args *LookupApiVersionIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupApiVersionIamPolicyResult, 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 LookupApiVersionIamPolicyResultOutput ¶
type LookupApiVersionIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupApiVersionIamPolicyOutput ¶
func LookupApiVersionIamPolicyOutput(ctx *pulumi.Context, args LookupApiVersionIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupApiVersionIamPolicyResultOutput
func (LookupApiVersionIamPolicyResultOutput) Bindings ¶
func (o LookupApiVersionIamPolicyResultOutput) 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 (LookupApiVersionIamPolicyResultOutput) ElementType ¶
func (LookupApiVersionIamPolicyResultOutput) ElementType() reflect.Type
func (LookupApiVersionIamPolicyResultOutput) Etag ¶
func (o LookupApiVersionIamPolicyResultOutput) 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 (LookupApiVersionIamPolicyResultOutput) ToLookupApiVersionIamPolicyResultOutput ¶
func (o LookupApiVersionIamPolicyResultOutput) ToLookupApiVersionIamPolicyResultOutput() LookupApiVersionIamPolicyResultOutput
func (LookupApiVersionIamPolicyResultOutput) ToLookupApiVersionIamPolicyResultOutputWithContext ¶
func (o LookupApiVersionIamPolicyResultOutput) ToLookupApiVersionIamPolicyResultOutputWithContext(ctx context.Context) LookupApiVersionIamPolicyResultOutput
func (LookupApiVersionIamPolicyResultOutput) Version ¶
func (o LookupApiVersionIamPolicyResultOutput) 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 LookupApiVersionSpecArtifactIamPolicyArgs ¶
type LookupApiVersionSpecArtifactIamPolicyArgs struct { ApiId string `pulumi:"apiId"` ArtifactId string `pulumi:"artifactId"` Location string `pulumi:"location"` OptionsRequestedPolicyVersion *string `pulumi:"optionsRequestedPolicyVersion"` Project *string `pulumi:"project"` SpecId string `pulumi:"specId"` VersionId string `pulumi:"versionId"` }
type LookupApiVersionSpecArtifactIamPolicyOutputArgs ¶
type LookupApiVersionSpecArtifactIamPolicyOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` ArtifactId pulumi.StringInput `pulumi:"artifactId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` SpecId pulumi.StringInput `pulumi:"specId"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (LookupApiVersionSpecArtifactIamPolicyOutputArgs) ElementType ¶
func (LookupApiVersionSpecArtifactIamPolicyOutputArgs) ElementType() reflect.Type
type LookupApiVersionSpecArtifactIamPolicyResult ¶
type LookupApiVersionSpecArtifactIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupApiVersionSpecArtifactIamPolicy ¶
func LookupApiVersionSpecArtifactIamPolicy(ctx *pulumi.Context, args *LookupApiVersionSpecArtifactIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupApiVersionSpecArtifactIamPolicyResult, 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 LookupApiVersionSpecArtifactIamPolicyResultOutput ¶
type LookupApiVersionSpecArtifactIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupApiVersionSpecArtifactIamPolicyOutput ¶
func LookupApiVersionSpecArtifactIamPolicyOutput(ctx *pulumi.Context, args LookupApiVersionSpecArtifactIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupApiVersionSpecArtifactIamPolicyResultOutput
func (LookupApiVersionSpecArtifactIamPolicyResultOutput) Bindings ¶
func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) 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 (LookupApiVersionSpecArtifactIamPolicyResultOutput) ElementType ¶
func (LookupApiVersionSpecArtifactIamPolicyResultOutput) ElementType() reflect.Type
func (LookupApiVersionSpecArtifactIamPolicyResultOutput) Etag ¶
func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) 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 (LookupApiVersionSpecArtifactIamPolicyResultOutput) ToLookupApiVersionSpecArtifactIamPolicyResultOutput ¶
func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) ToLookupApiVersionSpecArtifactIamPolicyResultOutput() LookupApiVersionSpecArtifactIamPolicyResultOutput
func (LookupApiVersionSpecArtifactIamPolicyResultOutput) ToLookupApiVersionSpecArtifactIamPolicyResultOutputWithContext ¶
func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) ToLookupApiVersionSpecArtifactIamPolicyResultOutputWithContext(ctx context.Context) LookupApiVersionSpecArtifactIamPolicyResultOutput
func (LookupApiVersionSpecArtifactIamPolicyResultOutput) Version ¶
func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) 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 LookupApiVersionSpecIamPolicyOutputArgs ¶
type LookupApiVersionSpecIamPolicyOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` SpecId pulumi.StringInput `pulumi:"specId"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (LookupApiVersionSpecIamPolicyOutputArgs) ElementType ¶
func (LookupApiVersionSpecIamPolicyOutputArgs) ElementType() reflect.Type
type LookupApiVersionSpecIamPolicyResult ¶
type LookupApiVersionSpecIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupApiVersionSpecIamPolicy ¶
func LookupApiVersionSpecIamPolicy(ctx *pulumi.Context, args *LookupApiVersionSpecIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupApiVersionSpecIamPolicyResult, 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 LookupApiVersionSpecIamPolicyResultOutput ¶
type LookupApiVersionSpecIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupApiVersionSpecIamPolicyOutput ¶
func LookupApiVersionSpecIamPolicyOutput(ctx *pulumi.Context, args LookupApiVersionSpecIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupApiVersionSpecIamPolicyResultOutput
func (LookupApiVersionSpecIamPolicyResultOutput) Bindings ¶
func (o LookupApiVersionSpecIamPolicyResultOutput) 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 (LookupApiVersionSpecIamPolicyResultOutput) ElementType ¶
func (LookupApiVersionSpecIamPolicyResultOutput) ElementType() reflect.Type
func (LookupApiVersionSpecIamPolicyResultOutput) Etag ¶
func (o LookupApiVersionSpecIamPolicyResultOutput) 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 (LookupApiVersionSpecIamPolicyResultOutput) ToLookupApiVersionSpecIamPolicyResultOutput ¶
func (o LookupApiVersionSpecIamPolicyResultOutput) ToLookupApiVersionSpecIamPolicyResultOutput() LookupApiVersionSpecIamPolicyResultOutput
func (LookupApiVersionSpecIamPolicyResultOutput) ToLookupApiVersionSpecIamPolicyResultOutputWithContext ¶
func (o LookupApiVersionSpecIamPolicyResultOutput) ToLookupApiVersionSpecIamPolicyResultOutputWithContext(ctx context.Context) LookupApiVersionSpecIamPolicyResultOutput
func (LookupApiVersionSpecIamPolicyResultOutput) Version ¶
func (o LookupApiVersionSpecIamPolicyResultOutput) 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 LookupArtifactArgs ¶
type LookupArtifactIamPolicyOutputArgs ¶
type LookupArtifactIamPolicyOutputArgs struct { ArtifactId pulumi.StringInput `pulumi:"artifactId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupArtifactIamPolicyOutputArgs) ElementType ¶
func (LookupArtifactIamPolicyOutputArgs) ElementType() reflect.Type
type LookupArtifactIamPolicyResult ¶
type LookupArtifactIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupArtifactIamPolicy ¶
func LookupArtifactIamPolicy(ctx *pulumi.Context, args *LookupArtifactIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupArtifactIamPolicyResult, 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 LookupArtifactIamPolicyResultOutput ¶
type LookupArtifactIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupArtifactIamPolicyOutput ¶
func LookupArtifactIamPolicyOutput(ctx *pulumi.Context, args LookupArtifactIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupArtifactIamPolicyResultOutput
func (LookupArtifactIamPolicyResultOutput) Bindings ¶
func (o LookupArtifactIamPolicyResultOutput) 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 (LookupArtifactIamPolicyResultOutput) ElementType ¶
func (LookupArtifactIamPolicyResultOutput) ElementType() reflect.Type
func (LookupArtifactIamPolicyResultOutput) Etag ¶
func (o LookupArtifactIamPolicyResultOutput) 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 (LookupArtifactIamPolicyResultOutput) ToLookupArtifactIamPolicyResultOutput ¶
func (o LookupArtifactIamPolicyResultOutput) ToLookupArtifactIamPolicyResultOutput() LookupArtifactIamPolicyResultOutput
func (LookupArtifactIamPolicyResultOutput) ToLookupArtifactIamPolicyResultOutputWithContext ¶
func (o LookupArtifactIamPolicyResultOutput) ToLookupArtifactIamPolicyResultOutputWithContext(ctx context.Context) LookupArtifactIamPolicyResultOutput
func (LookupArtifactIamPolicyResultOutput) Version ¶
func (o LookupArtifactIamPolicyResultOutput) 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 LookupArtifactOutputArgs ¶
type LookupArtifactOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` ArtifactId pulumi.StringInput `pulumi:"artifactId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` SpecId pulumi.StringInput `pulumi:"specId"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (LookupArtifactOutputArgs) ElementType ¶
func (LookupArtifactOutputArgs) ElementType() reflect.Type
type LookupArtifactResult ¶
type LookupArtifactResult struct { // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents string `pulumi:"contents"` // Creation timestamp. CreateTime string `pulumi:"createTime"` // A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact. Hash string `pulumi:"hash"` // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType string `pulumi:"mimeType"` // Resource name. Name string `pulumi:"name"` // The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact. SizeBytes int `pulumi:"sizeBytes"` // Last update timestamp. UpdateTime string `pulumi:"updateTime"` }
func LookupArtifact ¶
func LookupArtifact(ctx *pulumi.Context, args *LookupArtifactArgs, opts ...pulumi.InvokeOption) (*LookupArtifactResult, error)
GetArtifact returns a specified artifact.
type LookupArtifactResultOutput ¶
type LookupArtifactResultOutput struct{ *pulumi.OutputState }
func LookupArtifactOutput ¶
func LookupArtifactOutput(ctx *pulumi.Context, args LookupArtifactOutputArgs, opts ...pulumi.InvokeOption) LookupArtifactResultOutput
func (LookupArtifactResultOutput) Contents ¶
func (o LookupArtifactResultOutput) Contents() pulumi.StringOutput
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
func (LookupArtifactResultOutput) CreateTime ¶
func (o LookupArtifactResultOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (LookupArtifactResultOutput) ElementType ¶
func (LookupArtifactResultOutput) ElementType() reflect.Type
func (LookupArtifactResultOutput) Hash ¶
func (o LookupArtifactResultOutput) Hash() pulumi.StringOutput
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
func (LookupArtifactResultOutput) MimeType ¶
func (o LookupArtifactResultOutput) MimeType() pulumi.StringOutput
A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
func (LookupArtifactResultOutput) Name ¶
func (o LookupArtifactResultOutput) Name() pulumi.StringOutput
Resource name.
func (LookupArtifactResultOutput) SizeBytes ¶
func (o LookupArtifactResultOutput) SizeBytes() pulumi.IntOutput
The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
func (LookupArtifactResultOutput) ToLookupArtifactResultOutput ¶
func (o LookupArtifactResultOutput) ToLookupArtifactResultOutput() LookupArtifactResultOutput
func (LookupArtifactResultOutput) ToLookupArtifactResultOutputWithContext ¶
func (o LookupArtifactResultOutput) ToLookupArtifactResultOutputWithContext(ctx context.Context) LookupArtifactResultOutput
func (LookupArtifactResultOutput) UpdateTime ¶
func (o LookupArtifactResultOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type LookupDeploymentArgs ¶
type LookupDeploymentArtifactOutputArgs ¶
type LookupDeploymentArtifactOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` ArtifactId pulumi.StringInput `pulumi:"artifactId"` DeploymentId pulumi.StringInput `pulumi:"deploymentId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupDeploymentArtifactOutputArgs) ElementType ¶
func (LookupDeploymentArtifactOutputArgs) ElementType() reflect.Type
type LookupDeploymentArtifactResult ¶
type LookupDeploymentArtifactResult struct { // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents string `pulumi:"contents"` // Creation timestamp. CreateTime string `pulumi:"createTime"` // A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact. Hash string `pulumi:"hash"` // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType string `pulumi:"mimeType"` // Resource name. Name string `pulumi:"name"` // The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact. SizeBytes int `pulumi:"sizeBytes"` // Last update timestamp. UpdateTime string `pulumi:"updateTime"` }
func LookupDeploymentArtifact ¶
func LookupDeploymentArtifact(ctx *pulumi.Context, args *LookupDeploymentArtifactArgs, opts ...pulumi.InvokeOption) (*LookupDeploymentArtifactResult, error)
GetArtifact returns a specified artifact.
type LookupDeploymentArtifactResultOutput ¶
type LookupDeploymentArtifactResultOutput struct{ *pulumi.OutputState }
func LookupDeploymentArtifactOutput ¶
func LookupDeploymentArtifactOutput(ctx *pulumi.Context, args LookupDeploymentArtifactOutputArgs, opts ...pulumi.InvokeOption) LookupDeploymentArtifactResultOutput
func (LookupDeploymentArtifactResultOutput) Contents ¶
func (o LookupDeploymentArtifactResultOutput) Contents() pulumi.StringOutput
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
func (LookupDeploymentArtifactResultOutput) CreateTime ¶
func (o LookupDeploymentArtifactResultOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (LookupDeploymentArtifactResultOutput) ElementType ¶
func (LookupDeploymentArtifactResultOutput) ElementType() reflect.Type
func (LookupDeploymentArtifactResultOutput) Hash ¶
func (o LookupDeploymentArtifactResultOutput) Hash() pulumi.StringOutput
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
func (LookupDeploymentArtifactResultOutput) MimeType ¶
func (o LookupDeploymentArtifactResultOutput) MimeType() pulumi.StringOutput
A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
func (LookupDeploymentArtifactResultOutput) Name ¶
func (o LookupDeploymentArtifactResultOutput) Name() pulumi.StringOutput
Resource name.
func (LookupDeploymentArtifactResultOutput) SizeBytes ¶
func (o LookupDeploymentArtifactResultOutput) SizeBytes() pulumi.IntOutput
The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
func (LookupDeploymentArtifactResultOutput) ToLookupDeploymentArtifactResultOutput ¶
func (o LookupDeploymentArtifactResultOutput) ToLookupDeploymentArtifactResultOutput() LookupDeploymentArtifactResultOutput
func (LookupDeploymentArtifactResultOutput) ToLookupDeploymentArtifactResultOutputWithContext ¶
func (o LookupDeploymentArtifactResultOutput) ToLookupDeploymentArtifactResultOutputWithContext(ctx context.Context) LookupDeploymentArtifactResultOutput
func (LookupDeploymentArtifactResultOutput) UpdateTime ¶
func (o LookupDeploymentArtifactResultOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type LookupDeploymentOutputArgs ¶
type LookupDeploymentOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` DeploymentId pulumi.StringInput `pulumi:"deploymentId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupDeploymentOutputArgs) ElementType ¶
func (LookupDeploymentOutputArgs) ElementType() reflect.Type
type LookupDeploymentResult ¶
type LookupDeploymentResult struct { // Text briefly describing how to access the endpoint. Changes to this value will not affect the revision. AccessGuidance string `pulumi:"accessGuidance"` // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations map[string]string `pulumi:"annotations"` // The full resource name (including revision id) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: apis/{api}/deployments/{deployment} ApiSpecRevision string `pulumi:"apiSpecRevision"` // Creation timestamp; when the deployment resource was created. CreateTime string `pulumi:"createTime"` // A detailed description. Description string `pulumi:"description"` // Human-meaningful name. DisplayName string `pulumi:"displayName"` // The address where the deployment is serving. Changes to this value will update the revision. EndpointUri string `pulumi:"endpointUri"` // The address of the external channel of the API (e.g. the Developer Portal). Changes to this value will not affect the revision. ExternalChannelUri string `pulumi:"externalChannelUri"` // Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision. IntendedAudience string `pulumi:"intendedAudience"` // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels map[string]string `pulumi:"labels"` // Resource name. Name string `pulumi:"name"` // Revision creation timestamp; when the represented revision was created. RevisionCreateTime string `pulumi:"revisionCreateTime"` // Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string. RevisionId string `pulumi:"revisionId"` // Last update timestamp: when the represented revision was last modified. RevisionUpdateTime string `pulumi:"revisionUpdateTime"` }
func LookupDeployment ¶
func LookupDeployment(ctx *pulumi.Context, args *LookupDeploymentArgs, opts ...pulumi.InvokeOption) (*LookupDeploymentResult, error)
GetApiDeployment returns a specified deployment.
type LookupDeploymentResultOutput ¶
type LookupDeploymentResultOutput struct{ *pulumi.OutputState }
func LookupDeploymentOutput ¶
func LookupDeploymentOutput(ctx *pulumi.Context, args LookupDeploymentOutputArgs, opts ...pulumi.InvokeOption) LookupDeploymentResultOutput
func (LookupDeploymentResultOutput) AccessGuidance ¶
func (o LookupDeploymentResultOutput) AccessGuidance() pulumi.StringOutput
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
func (LookupDeploymentResultOutput) Annotations ¶
func (o LookupDeploymentResultOutput) Annotations() pulumi.StringMapOutput
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
func (LookupDeploymentResultOutput) ApiSpecRevision ¶
func (o LookupDeploymentResultOutput) ApiSpecRevision() pulumi.StringOutput
The full resource name (including revision id) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: apis/{api}/deployments/{deployment}
func (LookupDeploymentResultOutput) CreateTime ¶
func (o LookupDeploymentResultOutput) CreateTime() pulumi.StringOutput
Creation timestamp; when the deployment resource was created.
func (LookupDeploymentResultOutput) Description ¶
func (o LookupDeploymentResultOutput) Description() pulumi.StringOutput
A detailed description.
func (LookupDeploymentResultOutput) DisplayName ¶
func (o LookupDeploymentResultOutput) DisplayName() pulumi.StringOutput
Human-meaningful name.
func (LookupDeploymentResultOutput) ElementType ¶
func (LookupDeploymentResultOutput) ElementType() reflect.Type
func (LookupDeploymentResultOutput) EndpointUri ¶
func (o LookupDeploymentResultOutput) EndpointUri() pulumi.StringOutput
The address where the deployment is serving. Changes to this value will update the revision.
func (LookupDeploymentResultOutput) ExternalChannelUri ¶
func (o LookupDeploymentResultOutput) ExternalChannelUri() pulumi.StringOutput
The address of the external channel of the API (e.g. the Developer Portal). Changes to this value will not affect the revision.
func (LookupDeploymentResultOutput) IntendedAudience ¶
func (o LookupDeploymentResultOutput) IntendedAudience() pulumi.StringOutput
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
func (LookupDeploymentResultOutput) Labels ¶
func (o LookupDeploymentResultOutput) Labels() pulumi.StringMapOutput
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed.
func (LookupDeploymentResultOutput) Name ¶
func (o LookupDeploymentResultOutput) Name() pulumi.StringOutput
Resource name.
func (LookupDeploymentResultOutput) RevisionCreateTime ¶
func (o LookupDeploymentResultOutput) RevisionCreateTime() pulumi.StringOutput
Revision creation timestamp; when the represented revision was created.
func (LookupDeploymentResultOutput) RevisionId ¶
func (o LookupDeploymentResultOutput) RevisionId() pulumi.StringOutput
Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
func (LookupDeploymentResultOutput) RevisionUpdateTime ¶
func (o LookupDeploymentResultOutput) RevisionUpdateTime() pulumi.StringOutput
Last update timestamp: when the represented revision was last modified.
func (LookupDeploymentResultOutput) ToLookupDeploymentResultOutput ¶
func (o LookupDeploymentResultOutput) ToLookupDeploymentResultOutput() LookupDeploymentResultOutput
func (LookupDeploymentResultOutput) ToLookupDeploymentResultOutputWithContext ¶
func (o LookupDeploymentResultOutput) ToLookupDeploymentResultOutputWithContext(ctx context.Context) LookupDeploymentResultOutput
type LookupInstanceArgs ¶
type LookupInstanceIamPolicyOutputArgs ¶
type LookupInstanceIamPolicyOutputArgs struct { InstanceId pulumi.StringInput `pulumi:"instanceId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupInstanceIamPolicyOutputArgs) ElementType ¶
func (LookupInstanceIamPolicyOutputArgs) ElementType() reflect.Type
type LookupInstanceIamPolicyResult ¶
type LookupInstanceIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupInstanceIamPolicy ¶
func LookupInstanceIamPolicy(ctx *pulumi.Context, args *LookupInstanceIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupInstanceIamPolicyResult, 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 LookupInstanceIamPolicyResultOutput ¶
type LookupInstanceIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupInstanceIamPolicyOutput ¶
func LookupInstanceIamPolicyOutput(ctx *pulumi.Context, args LookupInstanceIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceIamPolicyResultOutput
func (LookupInstanceIamPolicyResultOutput) Bindings ¶
func (o LookupInstanceIamPolicyResultOutput) 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 (LookupInstanceIamPolicyResultOutput) ElementType ¶
func (LookupInstanceIamPolicyResultOutput) ElementType() reflect.Type
func (LookupInstanceIamPolicyResultOutput) Etag ¶
func (o LookupInstanceIamPolicyResultOutput) 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 (LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutput ¶
func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutput() LookupInstanceIamPolicyResultOutput
func (LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutputWithContext ¶
func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutputWithContext(ctx context.Context) LookupInstanceIamPolicyResultOutput
func (LookupInstanceIamPolicyResultOutput) Version ¶
func (o LookupInstanceIamPolicyResultOutput) 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 LookupInstanceOutputArgs ¶
type LookupInstanceOutputArgs struct { InstanceId pulumi.StringInput `pulumi:"instanceId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupInstanceOutputArgs) ElementType ¶
func (LookupInstanceOutputArgs) ElementType() reflect.Type
type LookupInstanceResult ¶
type LookupInstanceResult struct { // Config of the Instance. Config ConfigResponse `pulumi:"config"` // Creation timestamp. CreateTime string `pulumi:"createTime"` // Format: `projects/*/locations/*/instance`. Currently only locations/global is supported. Name string `pulumi:"name"` // The current state of the Instance. State string `pulumi:"state"` // Extra information of Instance.State if the state is `FAILED`. StateMessage string `pulumi:"stateMessage"` // Last update timestamp. UpdateTime string `pulumi:"updateTime"` }
func LookupInstance ¶
func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)
Gets details of a single Instance.
type LookupInstanceResultOutput ¶
type LookupInstanceResultOutput struct{ *pulumi.OutputState }
func LookupInstanceOutput ¶
func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput
func (LookupInstanceResultOutput) Config ¶
func (o LookupInstanceResultOutput) Config() ConfigResponseOutput
Config of the Instance.
func (LookupInstanceResultOutput) CreateTime ¶
func (o LookupInstanceResultOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (LookupInstanceResultOutput) ElementType ¶
func (LookupInstanceResultOutput) ElementType() reflect.Type
func (LookupInstanceResultOutput) Name ¶
func (o LookupInstanceResultOutput) Name() pulumi.StringOutput
Format: `projects/*/locations/*/instance`. Currently only locations/global is supported.
func (LookupInstanceResultOutput) State ¶
func (o LookupInstanceResultOutput) State() pulumi.StringOutput
The current state of the Instance.
func (LookupInstanceResultOutput) StateMessage ¶
func (o LookupInstanceResultOutput) StateMessage() pulumi.StringOutput
Extra information of Instance.State if the state is `FAILED`.
func (LookupInstanceResultOutput) ToLookupInstanceResultOutput ¶
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext ¶
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
func (LookupInstanceResultOutput) UpdateTime ¶
func (o LookupInstanceResultOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type LookupRuntimeIamPolicyOutputArgs ¶
type LookupRuntimeIamPolicyOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.StringPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupRuntimeIamPolicyOutputArgs) ElementType ¶
func (LookupRuntimeIamPolicyOutputArgs) ElementType() reflect.Type
type LookupRuntimeIamPolicyResult ¶
type LookupRuntimeIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupRuntimeIamPolicy ¶
func LookupRuntimeIamPolicy(ctx *pulumi.Context, args *LookupRuntimeIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRuntimeIamPolicyResult, 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 LookupRuntimeIamPolicyResultOutput ¶
type LookupRuntimeIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupRuntimeIamPolicyOutput ¶
func LookupRuntimeIamPolicyOutput(ctx *pulumi.Context, args LookupRuntimeIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupRuntimeIamPolicyResultOutput
func (LookupRuntimeIamPolicyResultOutput) Bindings ¶
func (o LookupRuntimeIamPolicyResultOutput) 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 (LookupRuntimeIamPolicyResultOutput) ElementType ¶
func (LookupRuntimeIamPolicyResultOutput) ElementType() reflect.Type
func (LookupRuntimeIamPolicyResultOutput) Etag ¶
func (o LookupRuntimeIamPolicyResultOutput) 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 (LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutput ¶
func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutput() LookupRuntimeIamPolicyResultOutput
func (LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutputWithContext ¶
func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutputWithContext(ctx context.Context) LookupRuntimeIamPolicyResultOutput
func (LookupRuntimeIamPolicyResultOutput) Version ¶
func (o LookupRuntimeIamPolicyResultOutput) 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 LookupSpecArgs ¶
type LookupSpecOutputArgs ¶
type LookupSpecOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` SpecId pulumi.StringInput `pulumi:"specId"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (LookupSpecOutputArgs) ElementType ¶
func (LookupSpecOutputArgs) ElementType() reflect.Type
type LookupSpecResult ¶
type LookupSpecResult struct { // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations map[string]string `pulumi:"annotations"` // Input only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents. Contents string `pulumi:"contents"` // Creation timestamp; when the spec resource was created. CreateTime string `pulumi:"createTime"` // A detailed description. Description string `pulumi:"description"` // A possibly-hierarchical name used to refer to the spec from other specs. Filename string `pulumi:"filename"` // A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec. Hash string `pulumi:"hash"` // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels map[string]string `pulumi:"labels"` // A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and "application/vnd.apigee.graphql", with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType string `pulumi:"mimeType"` // Resource name. Name string `pulumi:"name"` // Revision creation timestamp; when the represented revision was created. RevisionCreateTime string `pulumi:"revisionCreateTime"` // Immutable. The revision ID of the spec. A new revision is committed whenever the spec contents are changed. The format is an 8-character hexadecimal string. RevisionId string `pulumi:"revisionId"` // Last update timestamp: when the represented revision was last modified. RevisionUpdateTime string `pulumi:"revisionUpdateTime"` // The size of the spec file in bytes. If the spec is gzipped, this is the size of the uncompressed spec. SizeBytes int `pulumi:"sizeBytes"` // The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved. SourceUri string `pulumi:"sourceUri"` }
func LookupSpec ¶
func LookupSpec(ctx *pulumi.Context, args *LookupSpecArgs, opts ...pulumi.InvokeOption) (*LookupSpecResult, error)
GetApiSpec returns a specified spec.
type LookupSpecResultOutput ¶
type LookupSpecResultOutput struct{ *pulumi.OutputState }
func LookupSpecOutput ¶
func LookupSpecOutput(ctx *pulumi.Context, args LookupSpecOutputArgs, opts ...pulumi.InvokeOption) LookupSpecResultOutput
func (LookupSpecResultOutput) Annotations ¶
func (o LookupSpecResultOutput) Annotations() pulumi.StringMapOutput
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
func (LookupSpecResultOutput) Contents ¶
func (o LookupSpecResultOutput) Contents() pulumi.StringOutput
Input only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents.
func (LookupSpecResultOutput) CreateTime ¶
func (o LookupSpecResultOutput) CreateTime() pulumi.StringOutput
Creation timestamp; when the spec resource was created.
func (LookupSpecResultOutput) Description ¶
func (o LookupSpecResultOutput) Description() pulumi.StringOutput
A detailed description.
func (LookupSpecResultOutput) ElementType ¶
func (LookupSpecResultOutput) ElementType() reflect.Type
func (LookupSpecResultOutput) Filename ¶
func (o LookupSpecResultOutput) Filename() pulumi.StringOutput
A possibly-hierarchical name used to refer to the spec from other specs.
func (LookupSpecResultOutput) Hash ¶
func (o LookupSpecResultOutput) Hash() pulumi.StringOutput
A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec.
func (LookupSpecResultOutput) Labels ¶
func (o LookupSpecResultOutput) Labels() pulumi.StringMapOutput
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed.
func (LookupSpecResultOutput) MimeType ¶
func (o LookupSpecResultOutput) MimeType() pulumi.StringOutput
A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and "application/vnd.apigee.graphql", with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
func (LookupSpecResultOutput) Name ¶
func (o LookupSpecResultOutput) Name() pulumi.StringOutput
Resource name.
func (LookupSpecResultOutput) RevisionCreateTime ¶
func (o LookupSpecResultOutput) RevisionCreateTime() pulumi.StringOutput
Revision creation timestamp; when the represented revision was created.
func (LookupSpecResultOutput) RevisionId ¶
func (o LookupSpecResultOutput) RevisionId() pulumi.StringOutput
Immutable. The revision ID of the spec. A new revision is committed whenever the spec contents are changed. The format is an 8-character hexadecimal string.
func (LookupSpecResultOutput) RevisionUpdateTime ¶
func (o LookupSpecResultOutput) RevisionUpdateTime() pulumi.StringOutput
Last update timestamp: when the represented revision was last modified.
func (LookupSpecResultOutput) SizeBytes ¶
func (o LookupSpecResultOutput) SizeBytes() pulumi.IntOutput
The size of the spec file in bytes. If the spec is gzipped, this is the size of the uncompressed spec.
func (LookupSpecResultOutput) SourceUri ¶
func (o LookupSpecResultOutput) SourceUri() pulumi.StringOutput
The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved.
func (LookupSpecResultOutput) ToLookupSpecResultOutput ¶
func (o LookupSpecResultOutput) ToLookupSpecResultOutput() LookupSpecResultOutput
func (LookupSpecResultOutput) ToLookupSpecResultOutputWithContext ¶
func (o LookupSpecResultOutput) ToLookupSpecResultOutputWithContext(ctx context.Context) LookupSpecResultOutput
type LookupVersionArgs ¶
type LookupVersionArtifactOutputArgs ¶
type LookupVersionArtifactOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` ArtifactId pulumi.StringInput `pulumi:"artifactId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (LookupVersionArtifactOutputArgs) ElementType ¶
func (LookupVersionArtifactOutputArgs) ElementType() reflect.Type
type LookupVersionArtifactResult ¶
type LookupVersionArtifactResult struct { // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents string `pulumi:"contents"` // Creation timestamp. CreateTime string `pulumi:"createTime"` // A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact. Hash string `pulumi:"hash"` // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType string `pulumi:"mimeType"` // Resource name. Name string `pulumi:"name"` // The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact. SizeBytes int `pulumi:"sizeBytes"` // Last update timestamp. UpdateTime string `pulumi:"updateTime"` }
func LookupVersionArtifact ¶
func LookupVersionArtifact(ctx *pulumi.Context, args *LookupVersionArtifactArgs, opts ...pulumi.InvokeOption) (*LookupVersionArtifactResult, error)
GetArtifact returns a specified artifact.
type LookupVersionArtifactResultOutput ¶
type LookupVersionArtifactResultOutput struct{ *pulumi.OutputState }
func LookupVersionArtifactOutput ¶
func LookupVersionArtifactOutput(ctx *pulumi.Context, args LookupVersionArtifactOutputArgs, opts ...pulumi.InvokeOption) LookupVersionArtifactResultOutput
func (LookupVersionArtifactResultOutput) Contents ¶
func (o LookupVersionArtifactResultOutput) Contents() pulumi.StringOutput
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
func (LookupVersionArtifactResultOutput) CreateTime ¶
func (o LookupVersionArtifactResultOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (LookupVersionArtifactResultOutput) ElementType ¶
func (LookupVersionArtifactResultOutput) ElementType() reflect.Type
func (LookupVersionArtifactResultOutput) Hash ¶
func (o LookupVersionArtifactResultOutput) Hash() pulumi.StringOutput
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
func (LookupVersionArtifactResultOutput) MimeType ¶
func (o LookupVersionArtifactResultOutput) MimeType() pulumi.StringOutput
A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
func (LookupVersionArtifactResultOutput) Name ¶
func (o LookupVersionArtifactResultOutput) Name() pulumi.StringOutput
Resource name.
func (LookupVersionArtifactResultOutput) SizeBytes ¶
func (o LookupVersionArtifactResultOutput) SizeBytes() pulumi.IntOutput
The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
func (LookupVersionArtifactResultOutput) ToLookupVersionArtifactResultOutput ¶
func (o LookupVersionArtifactResultOutput) ToLookupVersionArtifactResultOutput() LookupVersionArtifactResultOutput
func (LookupVersionArtifactResultOutput) ToLookupVersionArtifactResultOutputWithContext ¶
func (o LookupVersionArtifactResultOutput) ToLookupVersionArtifactResultOutputWithContext(ctx context.Context) LookupVersionArtifactResultOutput
func (LookupVersionArtifactResultOutput) UpdateTime ¶
func (o LookupVersionArtifactResultOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type LookupVersionOutputArgs ¶
type LookupVersionOutputArgs struct { ApiId pulumi.StringInput `pulumi:"apiId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (LookupVersionOutputArgs) ElementType ¶
func (LookupVersionOutputArgs) ElementType() reflect.Type
type LookupVersionResult ¶
type LookupVersionResult struct { // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations map[string]string `pulumi:"annotations"` // Creation timestamp. CreateTime string `pulumi:"createTime"` // A detailed description. Description string `pulumi:"description"` // Human-meaningful name. DisplayName string `pulumi:"displayName"` // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels map[string]string `pulumi:"labels"` // Resource name. Name string `pulumi:"name"` // A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED". State string `pulumi:"state"` // Last update timestamp. UpdateTime string `pulumi:"updateTime"` }
func LookupVersion ¶
func LookupVersion(ctx *pulumi.Context, args *LookupVersionArgs, opts ...pulumi.InvokeOption) (*LookupVersionResult, error)
GetApiVersion returns a specified version.
type LookupVersionResultOutput ¶
type LookupVersionResultOutput struct{ *pulumi.OutputState }
func LookupVersionOutput ¶
func LookupVersionOutput(ctx *pulumi.Context, args LookupVersionOutputArgs, opts ...pulumi.InvokeOption) LookupVersionResultOutput
func (LookupVersionResultOutput) Annotations ¶
func (o LookupVersionResultOutput) Annotations() pulumi.StringMapOutput
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
func (LookupVersionResultOutput) CreateTime ¶
func (o LookupVersionResultOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (LookupVersionResultOutput) Description ¶
func (o LookupVersionResultOutput) Description() pulumi.StringOutput
A detailed description.
func (LookupVersionResultOutput) DisplayName ¶
func (o LookupVersionResultOutput) DisplayName() pulumi.StringOutput
Human-meaningful name.
func (LookupVersionResultOutput) ElementType ¶
func (LookupVersionResultOutput) ElementType() reflect.Type
func (LookupVersionResultOutput) Labels ¶
func (o LookupVersionResultOutput) Labels() pulumi.StringMapOutput
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed.
func (LookupVersionResultOutput) Name ¶
func (o LookupVersionResultOutput) Name() pulumi.StringOutput
Resource name.
func (LookupVersionResultOutput) State ¶
func (o LookupVersionResultOutput) State() pulumi.StringOutput
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
func (LookupVersionResultOutput) ToLookupVersionResultOutput ¶
func (o LookupVersionResultOutput) ToLookupVersionResultOutput() LookupVersionResultOutput
func (LookupVersionResultOutput) ToLookupVersionResultOutputWithContext ¶
func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx context.Context) LookupVersionResultOutput
func (LookupVersionResultOutput) UpdateTime ¶
func (o LookupVersionResultOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type RuntimeIamPolicy ¶
type RuntimeIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetRuntimeIamPolicy ¶
func GetRuntimeIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeIamPolicyState, opts ...pulumi.ResourceOption) (*RuntimeIamPolicy, error)
GetRuntimeIamPolicy gets an existing RuntimeIamPolicy 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 NewRuntimeIamPolicy ¶
func NewRuntimeIamPolicy(ctx *pulumi.Context, name string, args *RuntimeIamPolicyArgs, opts ...pulumi.ResourceOption) (*RuntimeIamPolicy, error)
NewRuntimeIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*RuntimeIamPolicy) ElementType ¶
func (*RuntimeIamPolicy) ElementType() reflect.Type
func (*RuntimeIamPolicy) ToRuntimeIamPolicyOutput ¶
func (i *RuntimeIamPolicy) ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput
func (*RuntimeIamPolicy) ToRuntimeIamPolicyOutputWithContext ¶
func (i *RuntimeIamPolicy) ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput
type RuntimeIamPolicyArgs ¶
type RuntimeIamPolicyArgs struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project 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 RuntimeIamPolicy resource.
func (RuntimeIamPolicyArgs) ElementType ¶
func (RuntimeIamPolicyArgs) ElementType() reflect.Type
type RuntimeIamPolicyInput ¶
type RuntimeIamPolicyInput interface { pulumi.Input ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput }
type RuntimeIamPolicyOutput ¶
type RuntimeIamPolicyOutput struct{ *pulumi.OutputState }
func (RuntimeIamPolicyOutput) Bindings ¶
func (o RuntimeIamPolicyOutput) 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 (RuntimeIamPolicyOutput) ElementType ¶
func (RuntimeIamPolicyOutput) ElementType() reflect.Type
func (RuntimeIamPolicyOutput) Etag ¶
func (o RuntimeIamPolicyOutput) 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 (RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutput ¶
func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput
func (RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext ¶
func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput
func (RuntimeIamPolicyOutput) Version ¶
func (o RuntimeIamPolicyOutput) 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 RuntimeIamPolicyState ¶
type RuntimeIamPolicyState struct { }
func (RuntimeIamPolicyState) ElementType ¶
func (RuntimeIamPolicyState) ElementType() reflect.Type
type Spec ¶
type Spec struct { pulumi.CustomResourceState // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Input only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents. Contents pulumi.StringOutput `pulumi:"contents"` // Creation timestamp; when the spec resource was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A detailed description. Description pulumi.StringOutput `pulumi:"description"` // A possibly-hierarchical name used to refer to the spec from other specs. Filename pulumi.StringOutput `pulumi:"filename"` // A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec. Hash pulumi.StringOutput `pulumi:"hash"` // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels pulumi.StringMapOutput `pulumi:"labels"` // A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and "application/vnd.apigee.graphql", with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType pulumi.StringOutput `pulumi:"mimeType"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // Revision creation timestamp; when the represented revision was created. RevisionCreateTime pulumi.StringOutput `pulumi:"revisionCreateTime"` // Immutable. The revision ID of the spec. A new revision is committed whenever the spec contents are changed. The format is an 8-character hexadecimal string. RevisionId pulumi.StringOutput `pulumi:"revisionId"` // Last update timestamp: when the represented revision was last modified. RevisionUpdateTime pulumi.StringOutput `pulumi:"revisionUpdateTime"` // The size of the spec file in bytes. If the spec is gzipped, this is the size of the uncompressed spec. SizeBytes pulumi.IntOutput `pulumi:"sizeBytes"` // The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved. SourceUri pulumi.StringOutput `pulumi:"sourceUri"` }
CreateApiSpec creates a specified spec.
func GetSpec ¶
func GetSpec(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpecState, opts ...pulumi.ResourceOption) (*Spec, error)
GetSpec gets an existing Spec 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 NewSpec ¶
func NewSpec(ctx *pulumi.Context, name string, args *SpecArgs, opts ...pulumi.ResourceOption) (*Spec, error)
NewSpec registers a new resource with the given unique name, arguments, and options.
func (*Spec) ElementType ¶
func (*Spec) ToSpecOutput ¶
func (i *Spec) ToSpecOutput() SpecOutput
func (*Spec) ToSpecOutputWithContext ¶
func (i *Spec) ToSpecOutputWithContext(ctx context.Context) SpecOutput
type SpecArgs ¶
type SpecArgs struct { // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations pulumi.StringMapInput ApiId pulumi.StringInput // Required. The ID to use for the spec, which will become the final component of the spec's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. ApiSpecId pulumi.StringInput // Input only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents. Contents pulumi.StringPtrInput // A detailed description. Description pulumi.StringPtrInput // A possibly-hierarchical name used to refer to the spec from other specs. Filename pulumi.StringPtrInput // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels pulumi.StringMapInput Location pulumi.StringPtrInput // A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and "application/vnd.apigee.graphql", with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput Project pulumi.StringPtrInput // The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved. SourceUri pulumi.StringPtrInput VersionId pulumi.StringInput }
The set of arguments for constructing a Spec resource.
func (SpecArgs) ElementType ¶
type SpecInput ¶
type SpecInput interface { pulumi.Input ToSpecOutput() SpecOutput ToSpecOutputWithContext(ctx context.Context) SpecOutput }
type SpecOutput ¶
type SpecOutput struct{ *pulumi.OutputState }
func (SpecOutput) Annotations ¶
func (o SpecOutput) Annotations() pulumi.StringMapOutput
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
func (SpecOutput) Contents ¶
func (o SpecOutput) Contents() pulumi.StringOutput
Input only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents.
func (SpecOutput) CreateTime ¶
func (o SpecOutput) CreateTime() pulumi.StringOutput
Creation timestamp; when the spec resource was created.
func (SpecOutput) Description ¶
func (o SpecOutput) Description() pulumi.StringOutput
A detailed description.
func (SpecOutput) ElementType ¶
func (SpecOutput) ElementType() reflect.Type
func (SpecOutput) Filename ¶
func (o SpecOutput) Filename() pulumi.StringOutput
A possibly-hierarchical name used to refer to the spec from other specs.
func (SpecOutput) Hash ¶
func (o SpecOutput) Hash() pulumi.StringOutput
A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec.
func (SpecOutput) Labels ¶
func (o SpecOutput) Labels() pulumi.StringMapOutput
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed.
func (SpecOutput) MimeType ¶
func (o SpecOutput) MimeType() pulumi.StringOutput
A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and "application/vnd.apigee.graphql", with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
func (SpecOutput) RevisionCreateTime ¶
func (o SpecOutput) RevisionCreateTime() pulumi.StringOutput
Revision creation timestamp; when the represented revision was created.
func (SpecOutput) RevisionId ¶
func (o SpecOutput) RevisionId() pulumi.StringOutput
Immutable. The revision ID of the spec. A new revision is committed whenever the spec contents are changed. The format is an 8-character hexadecimal string.
func (SpecOutput) RevisionUpdateTime ¶
func (o SpecOutput) RevisionUpdateTime() pulumi.StringOutput
Last update timestamp: when the represented revision was last modified.
func (SpecOutput) SizeBytes ¶
func (o SpecOutput) SizeBytes() pulumi.IntOutput
The size of the spec file in bytes. If the spec is gzipped, this is the size of the uncompressed spec.
func (SpecOutput) SourceUri ¶
func (o SpecOutput) SourceUri() pulumi.StringOutput
The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved.
func (SpecOutput) ToSpecOutput ¶
func (o SpecOutput) ToSpecOutput() SpecOutput
func (SpecOutput) ToSpecOutputWithContext ¶
func (o SpecOutput) ToSpecOutputWithContext(ctx context.Context) SpecOutput
type Version ¶
type Version struct { pulumi.CustomResourceState // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Creation timestamp. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A detailed description. Description pulumi.StringOutput `pulumi:"description"` // Human-meaningful name. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels pulumi.StringMapOutput `pulumi:"labels"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED". State pulumi.StringOutput `pulumi:"state"` // Last update timestamp. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
CreateApiVersion creates a specified version.
func GetVersion ¶
func GetVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VersionState, opts ...pulumi.ResourceOption) (*Version, error)
GetVersion gets an existing Version 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 NewVersion ¶
func NewVersion(ctx *pulumi.Context, name string, args *VersionArgs, opts ...pulumi.ResourceOption) (*Version, error)
NewVersion registers a new resource with the given unique name, arguments, and options.
func (*Version) ElementType ¶
func (*Version) ToVersionOutput ¶
func (i *Version) ToVersionOutput() VersionOutput
func (*Version) ToVersionOutputWithContext ¶
func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput
type VersionArgs ¶
type VersionArgs struct { // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. Annotations pulumi.StringMapInput ApiId pulumi.StringInput // Required. The ID to use for the version, which will become the final component of the version's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. ApiVersionId pulumi.StringInput // A detailed description. Description pulumi.StringPtrInput // Human-meaningful name. DisplayName pulumi.StringPtrInput // Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed. Labels pulumi.StringMapInput Location pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput Project pulumi.StringPtrInput // A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED". State pulumi.StringPtrInput }
The set of arguments for constructing a Version resource.
func (VersionArgs) ElementType ¶
func (VersionArgs) ElementType() reflect.Type
type VersionArtifact ¶
type VersionArtifact struct { pulumi.CustomResourceState // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents pulumi.StringOutput `pulumi:"contents"` // Creation timestamp. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact. Hash pulumi.StringOutput `pulumi:"hash"` // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType pulumi.StringOutput `pulumi:"mimeType"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact. SizeBytes pulumi.IntOutput `pulumi:"sizeBytes"` // Last update timestamp. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
CreateArtifact creates a specified artifact.
func GetVersionArtifact ¶
func GetVersionArtifact(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VersionArtifactState, opts ...pulumi.ResourceOption) (*VersionArtifact, error)
GetVersionArtifact gets an existing VersionArtifact 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 NewVersionArtifact ¶
func NewVersionArtifact(ctx *pulumi.Context, name string, args *VersionArtifactArgs, opts ...pulumi.ResourceOption) (*VersionArtifact, error)
NewVersionArtifact registers a new resource with the given unique name, arguments, and options.
func (*VersionArtifact) ElementType ¶
func (*VersionArtifact) ElementType() reflect.Type
func (*VersionArtifact) ToVersionArtifactOutput ¶
func (i *VersionArtifact) ToVersionArtifactOutput() VersionArtifactOutput
func (*VersionArtifact) ToVersionArtifactOutputWithContext ¶
func (i *VersionArtifact) ToVersionArtifactOutputWithContext(ctx context.Context) VersionArtifactOutput
type VersionArtifactArgs ¶
type VersionArtifactArgs struct { ApiId pulumi.StringInput // Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. ArtifactId pulumi.StringInput // Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents. Contents pulumi.StringPtrInput Location pulumi.StringPtrInput // A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip"). MimeType pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput Project pulumi.StringPtrInput VersionId pulumi.StringInput }
The set of arguments for constructing a VersionArtifact resource.
func (VersionArtifactArgs) ElementType ¶
func (VersionArtifactArgs) ElementType() reflect.Type
type VersionArtifactInput ¶
type VersionArtifactInput interface { pulumi.Input ToVersionArtifactOutput() VersionArtifactOutput ToVersionArtifactOutputWithContext(ctx context.Context) VersionArtifactOutput }
type VersionArtifactOutput ¶
type VersionArtifactOutput struct{ *pulumi.OutputState }
func (VersionArtifactOutput) Contents ¶
func (o VersionArtifactOutput) Contents() pulumi.StringOutput
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
func (VersionArtifactOutput) CreateTime ¶
func (o VersionArtifactOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (VersionArtifactOutput) ElementType ¶
func (VersionArtifactOutput) ElementType() reflect.Type
func (VersionArtifactOutput) Hash ¶
func (o VersionArtifactOutput) Hash() pulumi.StringOutput
A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
func (VersionArtifactOutput) MimeType ¶
func (o VersionArtifactOutput) MimeType() pulumi.StringOutput
A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
func (VersionArtifactOutput) Name ¶
func (o VersionArtifactOutput) Name() pulumi.StringOutput
Resource name.
func (VersionArtifactOutput) SizeBytes ¶
func (o VersionArtifactOutput) SizeBytes() pulumi.IntOutput
The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
func (VersionArtifactOutput) ToVersionArtifactOutput ¶
func (o VersionArtifactOutput) ToVersionArtifactOutput() VersionArtifactOutput
func (VersionArtifactOutput) ToVersionArtifactOutputWithContext ¶
func (o VersionArtifactOutput) ToVersionArtifactOutputWithContext(ctx context.Context) VersionArtifactOutput
func (VersionArtifactOutput) UpdateTime ¶
func (o VersionArtifactOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type VersionArtifactState ¶
type VersionArtifactState struct { }
func (VersionArtifactState) ElementType ¶
func (VersionArtifactState) ElementType() reflect.Type
type VersionInput ¶
type VersionInput interface { pulumi.Input ToVersionOutput() VersionOutput ToVersionOutputWithContext(ctx context.Context) VersionOutput }
type VersionOutput ¶
type VersionOutput struct{ *pulumi.OutputState }
func (VersionOutput) Annotations ¶
func (o VersionOutput) Annotations() pulumi.StringMapOutput
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
func (VersionOutput) CreateTime ¶
func (o VersionOutput) CreateTime() pulumi.StringOutput
Creation timestamp.
func (VersionOutput) Description ¶
func (o VersionOutput) Description() pulumi.StringOutput
A detailed description.
func (VersionOutput) DisplayName ¶
func (o VersionOutput) DisplayName() pulumi.StringOutput
Human-meaningful name.
func (VersionOutput) ElementType ¶
func (VersionOutput) ElementType() reflect.Type
func (VersionOutput) Labels ¶
func (o VersionOutput) Labels() pulumi.StringMapOutput
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "apigeeregistry.googleapis.com/" and cannot be changed.
func (VersionOutput) State ¶
func (o VersionOutput) State() pulumi.StringOutput
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
func (VersionOutput) ToVersionOutput ¶
func (o VersionOutput) ToVersionOutput() VersionOutput
func (VersionOutput) ToVersionOutputWithContext ¶
func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOutput
func (VersionOutput) UpdateTime ¶
func (o VersionOutput) UpdateTime() pulumi.StringOutput
Last update timestamp.
type VersionState ¶
type VersionState struct { }
func (VersionState) ElementType ¶
func (VersionState) ElementType() reflect.Type
Source Files
¶
- api.go
- apiArtifactIamPolicy.go
- apiDeploymentIamPolicy.go
- apiIamPolicy.go
- apiVersionArtifactIamPolicy.go
- apiVersionIamPolicy.go
- apiVersionSpecArtifactIamPolicy.go
- apiVersionSpecIamPolicy.go
- artifact.go
- artifactIamPolicy.go
- deployment.go
- deploymentArtifact.go
- getApi.go
- getApiArtifactIamPolicy.go
- getApiDeploymentIamPolicy.go
- getApiIamPolicy.go
- getApiVersionArtifactIamPolicy.go
- getApiVersionIamPolicy.go
- getApiVersionSpecArtifactIamPolicy.go
- getApiVersionSpecIamPolicy.go
- getArtifact.go
- getArtifactIamPolicy.go
- getDeployment.go
- getDeploymentArtifact.go
- getInstance.go
- getInstanceIamPolicy.go
- getRuntimeIamPolicy.go
- getSpec.go
- getVersion.go
- getVersionArtifact.go
- init.go
- instance.go
- instanceIamPolicy.go
- pulumiTypes.go
- runtimeIamPolicy.go
- spec.go
- version.go
- versionArtifact.go