Documentation
¶
Index ¶
- type Binding
- type BindingArgs
- type BindingArray
- type BindingArrayInput
- type BindingArrayOutput
- type BindingInput
- type BindingOutput
- func (o BindingOutput) Condition() ExprPtrOutput
- func (BindingOutput) ElementType() reflect.Type
- func (o BindingOutput) Members() pulumi.StringArrayOutput
- func (o BindingOutput) Role() pulumi.StringPtrOutput
- func (o BindingOutput) ToBindingOutput() BindingOutput
- func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
- type BindingResponse
- type BindingResponseArgs
- type BindingResponseArray
- type BindingResponseArrayInput
- type BindingResponseArrayOutput
- func (BindingResponseArrayOutput) ElementType() reflect.Type
- func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
- type BindingResponseInput
- type BindingResponseOutput
- func (o BindingResponseOutput) Condition() ExprResponseOutput
- func (BindingResponseOutput) ElementType() reflect.Type
- func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
- func (o BindingResponseOutput) Role() pulumi.StringOutput
- func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
- func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
- type Endpoint
- type EndpointArgs
- type EndpointInput
- type EndpointOutput
- type EndpointResponse
- type EndpointResponseArgs
- type EndpointResponseArray
- type EndpointResponseArrayInput
- type EndpointResponseArrayOutput
- func (EndpointResponseArrayOutput) ElementType() reflect.Type
- func (o EndpointResponseArrayOutput) Index(i pulumi.IntInput) EndpointResponseOutput
- func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutput() EndpointResponseArrayOutput
- func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext(ctx context.Context) EndpointResponseArrayOutput
- type EndpointResponseInput
- type EndpointResponseOutput
- func (o EndpointResponseOutput) Address() pulumi.StringOutput
- func (o EndpointResponseOutput) CreateTime() pulumi.StringOutput
- func (EndpointResponseOutput) ElementType() reflect.Type
- func (o EndpointResponseOutput) Metadata() pulumi.StringMapOutput
- func (o EndpointResponseOutput) Name() pulumi.StringOutput
- func (o EndpointResponseOutput) Network() pulumi.StringOutput
- func (o EndpointResponseOutput) Port() pulumi.IntOutput
- func (o EndpointResponseOutput) ToEndpointResponseOutput() EndpointResponseOutput
- func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context.Context) EndpointResponseOutput
- func (o EndpointResponseOutput) UpdateTime() pulumi.StringOutput
- type EndpointState
- type Expr
- type ExprArgs
- type ExprInput
- type ExprOutput
- func (o ExprOutput) Description() pulumi.StringPtrOutput
- func (ExprOutput) ElementType() reflect.Type
- func (o ExprOutput) Expression() pulumi.StringPtrOutput
- func (o ExprOutput) Location() pulumi.StringPtrOutput
- func (o ExprOutput) Title() pulumi.StringPtrOutput
- func (o ExprOutput) ToExprOutput() ExprOutput
- func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput
- func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprPtrInput
- type ExprPtrOutput
- func (o ExprPtrOutput) Description() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Elem() ExprOutput
- func (ExprPtrOutput) ElementType() reflect.Type
- func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Location() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Title() pulumi.StringPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprResponse
- type ExprResponseArgs
- type ExprResponseInput
- type ExprResponseOutput
- func (o ExprResponseOutput) Description() pulumi.StringOutput
- func (ExprResponseOutput) ElementType() reflect.Type
- func (o ExprResponseOutput) Expression() pulumi.StringOutput
- func (o ExprResponseOutput) Location() pulumi.StringOutput
- func (o ExprResponseOutput) Title() pulumi.StringOutput
- func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
- func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
- type LookupEndpointArgs
- type LookupEndpointOutputArgs
- type LookupEndpointResult
- type LookupEndpointResultOutput
- func (o LookupEndpointResultOutput) Address() pulumi.StringOutput
- func (o LookupEndpointResultOutput) CreateTime() pulumi.StringOutput
- func (LookupEndpointResultOutput) ElementType() reflect.Type
- func (o LookupEndpointResultOutput) Metadata() pulumi.StringMapOutput
- func (o LookupEndpointResultOutput) Name() pulumi.StringOutput
- func (o LookupEndpointResultOutput) Network() pulumi.StringOutput
- func (o LookupEndpointResultOutput) Port() pulumi.IntOutput
- func (o LookupEndpointResultOutput) ToLookupEndpointResultOutput() LookupEndpointResultOutput
- func (o LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext(ctx context.Context) LookupEndpointResultOutput
- func (o LookupEndpointResultOutput) UpdateTime() pulumi.StringOutput
- type LookupNamespaceArgs
- type LookupNamespaceIamPolicyArgs
- type LookupNamespaceIamPolicyOutputArgs
- type LookupNamespaceIamPolicyResult
- type LookupNamespaceIamPolicyResultOutput
- func (o LookupNamespaceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupNamespaceIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupNamespaceIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupNamespaceIamPolicyResultOutput) ToLookupNamespaceIamPolicyResultOutput() LookupNamespaceIamPolicyResultOutput
- func (o LookupNamespaceIamPolicyResultOutput) ToLookupNamespaceIamPolicyResultOutputWithContext(ctx context.Context) LookupNamespaceIamPolicyResultOutput
- func (o LookupNamespaceIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupNamespaceOutputArgs
- type LookupNamespaceResult
- type LookupNamespaceResultOutput
- func (o LookupNamespaceResultOutput) CreateTime() pulumi.StringOutput
- func (LookupNamespaceResultOutput) ElementType() reflect.Type
- func (o LookupNamespaceResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupNamespaceResultOutput) Name() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutput() LookupNamespaceResultOutput
- func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ctx context.Context) LookupNamespaceResultOutput
- func (o LookupNamespaceResultOutput) UpdateTime() pulumi.StringOutput
- type LookupNamespaceServiceIamPolicyArgs
- type LookupNamespaceServiceIamPolicyOutputArgs
- type LookupNamespaceServiceIamPolicyResult
- type LookupNamespaceServiceIamPolicyResultOutput
- func (o LookupNamespaceServiceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupNamespaceServiceIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupNamespaceServiceIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupNamespaceServiceIamPolicyResultOutput) ToLookupNamespaceServiceIamPolicyResultOutput() LookupNamespaceServiceIamPolicyResultOutput
- func (o LookupNamespaceServiceIamPolicyResultOutput) ToLookupNamespaceServiceIamPolicyResultOutputWithContext(ctx context.Context) LookupNamespaceServiceIamPolicyResultOutput
- func (o LookupNamespaceServiceIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupServiceArgs
- type LookupServiceOutputArgs
- type LookupServiceResult
- type LookupServiceResultOutput
- func (o LookupServiceResultOutput) CreateTime() pulumi.StringOutput
- func (LookupServiceResultOutput) ElementType() reflect.Type
- func (o LookupServiceResultOutput) Endpoints() EndpointResponseArrayOutput
- func (o LookupServiceResultOutput) Metadata() pulumi.StringMapOutput
- func (o LookupServiceResultOutput) Name() pulumi.StringOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
- func (o LookupServiceResultOutput) UpdateTime() pulumi.StringOutput
- type Namespace
- type NamespaceArgs
- type NamespaceIamPolicy
- type NamespaceIamPolicyArgs
- type NamespaceIamPolicyInput
- type NamespaceIamPolicyOutput
- type NamespaceIamPolicyState
- type NamespaceInput
- type NamespaceOutput
- type NamespaceServiceIamPolicy
- type NamespaceServiceIamPolicyArgs
- type NamespaceServiceIamPolicyInput
- type NamespaceServiceIamPolicyOutput
- func (NamespaceServiceIamPolicyOutput) ElementType() reflect.Type
- func (o NamespaceServiceIamPolicyOutput) ToNamespaceServiceIamPolicyOutput() NamespaceServiceIamPolicyOutput
- func (o NamespaceServiceIamPolicyOutput) ToNamespaceServiceIamPolicyOutputWithContext(ctx context.Context) NamespaceServiceIamPolicyOutput
- type NamespaceServiceIamPolicyState
- type NamespaceState
- type Service
- type ServiceArgs
- type ServiceInput
- type ServiceOutput
- type ServiceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `pulumi:"condition"` // Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role *string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingArgs ¶
type BindingArgs struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprPtrInput `pulumi:"condition"` // Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members pulumi.StringArrayInput `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringPtrInput `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
func (BindingArgs) ElementType ¶
func (BindingArgs) ElementType() reflect.Type
func (BindingArgs) ToBindingOutput ¶
func (i BindingArgs) ToBindingOutput() BindingOutput
func (BindingArgs) ToBindingOutputWithContext ¶
func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingArray ¶
type BindingArray []BindingInput
func (BindingArray) ElementType ¶
func (BindingArray) ElementType() reflect.Type
func (BindingArray) ToBindingArrayOutput ¶
func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput
func (BindingArray) ToBindingArrayOutputWithContext ¶
func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingArrayInput ¶
type BindingArrayInput interface { pulumi.Input ToBindingArrayOutput() BindingArrayOutput ToBindingArrayOutputWithContext(context.Context) BindingArrayOutput }
BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. You can construct a concrete instance of `BindingArrayInput` via:
BindingArray{ BindingArgs{...} }
type BindingArrayOutput ¶
type BindingArrayOutput struct{ *pulumi.OutputState }
func (BindingArrayOutput) ElementType ¶
func (BindingArrayOutput) ElementType() reflect.Type
func (BindingArrayOutput) Index ¶
func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput
func (BindingArrayOutput) ToBindingArrayOutput ¶
func (o BindingArrayOutput) ToBindingArrayOutput() BindingArrayOutput
func (BindingArrayOutput) ToBindingArrayOutputWithContext ¶
func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingInput ¶
type BindingInput interface { pulumi.Input ToBindingOutput() BindingOutput ToBindingOutputWithContext(context.Context) BindingOutput }
BindingInput is an input type that accepts BindingArgs and BindingOutput values. You can construct a concrete instance of `BindingInput` via:
BindingArgs{...}
type BindingOutput ¶
type BindingOutput struct{ *pulumi.OutputState }
Associates `members`, or principals, with a `role`.
func (BindingOutput) Condition ¶
func (o BindingOutput) Condition() ExprPtrOutput
The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
func (BindingOutput) ElementType ¶
func (BindingOutput) ElementType() reflect.Type
func (BindingOutput) Members ¶
func (o BindingOutput) Members() pulumi.StringArrayOutput
Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
func (BindingOutput) Role ¶
func (o BindingOutput) Role() pulumi.StringPtrOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingOutput) ToBindingOutput ¶
func (o BindingOutput) ToBindingOutput() BindingOutput
func (BindingOutput) ToBindingOutputWithContext ¶
func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingResponse ¶
type BindingResponse struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprResponse `pulumi:"condition"` // Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingResponseArgs ¶
type BindingResponseArgs struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprResponseInput `pulumi:"condition"` // Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members pulumi.StringArrayInput `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringInput `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
func (BindingResponseArgs) ElementType ¶
func (BindingResponseArgs) ElementType() reflect.Type
func (BindingResponseArgs) ToBindingResponseOutput ¶
func (i BindingResponseArgs) ToBindingResponseOutput() BindingResponseOutput
func (BindingResponseArgs) ToBindingResponseOutputWithContext ¶
func (i BindingResponseArgs) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
type BindingResponseArray ¶
type BindingResponseArray []BindingResponseInput
func (BindingResponseArray) ElementType ¶
func (BindingResponseArray) ElementType() reflect.Type
func (BindingResponseArray) ToBindingResponseArrayOutput ¶
func (i BindingResponseArray) ToBindingResponseArrayOutput() BindingResponseArrayOutput
func (BindingResponseArray) ToBindingResponseArrayOutputWithContext ¶
func (i BindingResponseArray) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
type BindingResponseArrayInput ¶
type BindingResponseArrayInput interface { pulumi.Input ToBindingResponseArrayOutput() BindingResponseArrayOutput ToBindingResponseArrayOutputWithContext(context.Context) BindingResponseArrayOutput }
BindingResponseArrayInput is an input type that accepts BindingResponseArray and BindingResponseArrayOutput values. You can construct a concrete instance of `BindingResponseArrayInput` via:
BindingResponseArray{ BindingResponseArgs{...} }
type BindingResponseArrayOutput ¶
type BindingResponseArrayOutput struct{ *pulumi.OutputState }
func (BindingResponseArrayOutput) ElementType ¶
func (BindingResponseArrayOutput) ElementType() reflect.Type
func (BindingResponseArrayOutput) Index ¶
func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
func (BindingResponseArrayOutput) ToBindingResponseArrayOutput ¶
func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
func (BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext ¶
func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
type BindingResponseInput ¶
type BindingResponseInput interface { pulumi.Input ToBindingResponseOutput() BindingResponseOutput ToBindingResponseOutputWithContext(context.Context) BindingResponseOutput }
BindingResponseInput is an input type that accepts BindingResponseArgs and BindingResponseOutput values. You can construct a concrete instance of `BindingResponseInput` via:
BindingResponseArgs{...}
type BindingResponseOutput ¶
type BindingResponseOutput struct{ *pulumi.OutputState }
Associates `members`, or principals, with a `role`.
func (BindingResponseOutput) Condition ¶
func (o BindingResponseOutput) Condition() ExprResponseOutput
The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
func (BindingResponseOutput) ElementType ¶
func (BindingResponseOutput) ElementType() reflect.Type
func (BindingResponseOutput) Members ¶
func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
func (BindingResponseOutput) Role ¶
func (o BindingResponseOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingResponseOutput) ToBindingResponseOutput ¶
func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
func (BindingResponseOutput) ToBindingResponseOutputWithContext ¶
func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
type Endpoint ¶ added in v0.3.0
type Endpoint struct { pulumi.CustomResourceState // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. Address pulumi.StringOutput `pulumi:"address"` // The timestamp when the endpoint was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory. Metadata pulumi.StringMapOutput `pulumi:"metadata"` // Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`. Name pulumi.StringOutput `pulumi:"name"` // Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects//locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions). Network pulumi.StringOutput `pulumi:"network"` // Optional. Service Directory rejects values outside of `[0, 65535]`. Port pulumi.IntOutput `pulumi:"port"` // The timestamp when the endpoint was last updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Creates an endpoint, and returns the new endpoint.
func GetEndpoint ¶ added in v0.3.0
func GetEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)
GetEndpoint gets an existing Endpoint 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 NewEndpoint ¶ added in v0.3.0
func NewEndpoint(ctx *pulumi.Context, name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)
NewEndpoint registers a new resource with the given unique name, arguments, and options.
func (*Endpoint) ElementType ¶ added in v0.3.0
func (*Endpoint) ToEndpointOutput ¶ added in v0.3.0
func (i *Endpoint) ToEndpointOutput() EndpointOutput
func (*Endpoint) ToEndpointOutputWithContext ¶ added in v0.3.0
func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointArgs ¶ added in v0.3.0
type EndpointArgs struct { // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. Address pulumi.StringPtrInput EndpointId pulumi.StringInput Location pulumi.StringPtrInput // Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory. Metadata pulumi.StringMapInput // Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`. Name pulumi.StringPtrInput NamespaceId pulumi.StringInput // Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects//locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions). Network pulumi.StringPtrInput // Optional. Service Directory rejects values outside of `[0, 65535]`. Port pulumi.IntPtrInput Project pulumi.StringPtrInput ServiceId pulumi.StringInput }
The set of arguments for constructing a Endpoint resource.
func (EndpointArgs) ElementType ¶ added in v0.3.0
func (EndpointArgs) ElementType() reflect.Type
type EndpointInput ¶ added in v0.3.0
type EndpointInput interface { pulumi.Input ToEndpointOutput() EndpointOutput ToEndpointOutputWithContext(ctx context.Context) EndpointOutput }
type EndpointOutput ¶ added in v0.3.0
type EndpointOutput struct{ *pulumi.OutputState }
func (EndpointOutput) ElementType ¶ added in v0.3.0
func (EndpointOutput) ElementType() reflect.Type
func (EndpointOutput) ToEndpointOutput ¶ added in v0.3.0
func (o EndpointOutput) ToEndpointOutput() EndpointOutput
func (EndpointOutput) ToEndpointOutputWithContext ¶ added in v0.3.0
func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointResponse ¶
type EndpointResponse struct { // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. Address string `pulumi:"address"` // The timestamp when the endpoint was created. CreateTime string `pulumi:"createTime"` // Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory. Metadata map[string]string `pulumi:"metadata"` // Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`. Name string `pulumi:"name"` // Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects//locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions). Network string `pulumi:"network"` // Optional. Service Directory rejects values outside of `[0, 65535]`. Port int `pulumi:"port"` // The timestamp when the endpoint was last updated. UpdateTime string `pulumi:"updateTime"` }
An individual endpoint that provides a service. The service must already exist to create an endpoint.
type EndpointResponseArgs ¶
type EndpointResponseArgs struct { // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. Address pulumi.StringInput `pulumi:"address"` // The timestamp when the endpoint was created. CreateTime pulumi.StringInput `pulumi:"createTime"` // Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory. Metadata pulumi.StringMapInput `pulumi:"metadata"` // Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`. Name pulumi.StringInput `pulumi:"name"` // Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects//locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions). Network pulumi.StringInput `pulumi:"network"` // Optional. Service Directory rejects values outside of `[0, 65535]`. Port pulumi.IntInput `pulumi:"port"` // The timestamp when the endpoint was last updated. UpdateTime pulumi.StringInput `pulumi:"updateTime"` }
An individual endpoint that provides a service. The service must already exist to create an endpoint.
func (EndpointResponseArgs) ElementType ¶
func (EndpointResponseArgs) ElementType() reflect.Type
func (EndpointResponseArgs) ToEndpointResponseOutput ¶
func (i EndpointResponseArgs) ToEndpointResponseOutput() EndpointResponseOutput
func (EndpointResponseArgs) ToEndpointResponseOutputWithContext ¶
func (i EndpointResponseArgs) ToEndpointResponseOutputWithContext(ctx context.Context) EndpointResponseOutput
type EndpointResponseArray ¶
type EndpointResponseArray []EndpointResponseInput
func (EndpointResponseArray) ElementType ¶
func (EndpointResponseArray) ElementType() reflect.Type
func (EndpointResponseArray) ToEndpointResponseArrayOutput ¶
func (i EndpointResponseArray) ToEndpointResponseArrayOutput() EndpointResponseArrayOutput
func (EndpointResponseArray) ToEndpointResponseArrayOutputWithContext ¶
func (i EndpointResponseArray) ToEndpointResponseArrayOutputWithContext(ctx context.Context) EndpointResponseArrayOutput
type EndpointResponseArrayInput ¶
type EndpointResponseArrayInput interface { pulumi.Input ToEndpointResponseArrayOutput() EndpointResponseArrayOutput ToEndpointResponseArrayOutputWithContext(context.Context) EndpointResponseArrayOutput }
EndpointResponseArrayInput is an input type that accepts EndpointResponseArray and EndpointResponseArrayOutput values. You can construct a concrete instance of `EndpointResponseArrayInput` via:
EndpointResponseArray{ EndpointResponseArgs{...} }
type EndpointResponseArrayOutput ¶
type EndpointResponseArrayOutput struct{ *pulumi.OutputState }
func (EndpointResponseArrayOutput) ElementType ¶
func (EndpointResponseArrayOutput) ElementType() reflect.Type
func (EndpointResponseArrayOutput) Index ¶
func (o EndpointResponseArrayOutput) Index(i pulumi.IntInput) EndpointResponseOutput
func (EndpointResponseArrayOutput) ToEndpointResponseArrayOutput ¶
func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutput() EndpointResponseArrayOutput
func (EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext ¶
func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext(ctx context.Context) EndpointResponseArrayOutput
type EndpointResponseInput ¶
type EndpointResponseInput interface { pulumi.Input ToEndpointResponseOutput() EndpointResponseOutput ToEndpointResponseOutputWithContext(context.Context) EndpointResponseOutput }
EndpointResponseInput is an input type that accepts EndpointResponseArgs and EndpointResponseOutput values. You can construct a concrete instance of `EndpointResponseInput` via:
EndpointResponseArgs{...}
type EndpointResponseOutput ¶
type EndpointResponseOutput struct{ *pulumi.OutputState }
An individual endpoint that provides a service. The service must already exist to create an endpoint.
func (EndpointResponseOutput) Address ¶
func (o EndpointResponseOutput) Address() pulumi.StringOutput
Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters.
func (EndpointResponseOutput) CreateTime ¶ added in v0.5.0
func (o EndpointResponseOutput) CreateTime() pulumi.StringOutput
The timestamp when the endpoint was created.
func (EndpointResponseOutput) ElementType ¶
func (EndpointResponseOutput) ElementType() reflect.Type
func (EndpointResponseOutput) Metadata ¶
func (o EndpointResponseOutput) Metadata() pulumi.StringMapOutput
Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory.
func (EndpointResponseOutput) Name ¶
func (o EndpointResponseOutput) Name() pulumi.StringOutput
Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
func (EndpointResponseOutput) Network ¶ added in v0.5.0
func (o EndpointResponseOutput) Network() pulumi.StringOutput
Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects//locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions).
func (EndpointResponseOutput) Port ¶
func (o EndpointResponseOutput) Port() pulumi.IntOutput
Optional. Service Directory rejects values outside of `[0, 65535]`.
func (EndpointResponseOutput) ToEndpointResponseOutput ¶
func (o EndpointResponseOutput) ToEndpointResponseOutput() EndpointResponseOutput
func (EndpointResponseOutput) ToEndpointResponseOutputWithContext ¶
func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context.Context) EndpointResponseOutput
func (EndpointResponseOutput) UpdateTime ¶ added in v0.5.0
func (o EndpointResponseOutput) UpdateTime() pulumi.StringOutput
The timestamp when the endpoint was last updated.
type EndpointState ¶ added in v0.3.0
type EndpointState struct { }
func (EndpointState) ElementType ¶ added in v0.3.0
func (EndpointState) 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 ExprResponseArgs ¶
type ExprResponseArgs struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location pulumi.StringInput `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title pulumi.StringInput `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprResponseArgs) ElementType ¶
func (ExprResponseArgs) ElementType() reflect.Type
func (ExprResponseArgs) ToExprResponseOutput ¶
func (i ExprResponseArgs) ToExprResponseOutput() ExprResponseOutput
func (ExprResponseArgs) ToExprResponseOutputWithContext ¶
func (i ExprResponseArgs) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
type ExprResponseInput ¶
type ExprResponseInput interface { pulumi.Input ToExprResponseOutput() ExprResponseOutput ToExprResponseOutputWithContext(context.Context) ExprResponseOutput }
ExprResponseInput is an input type that accepts ExprResponseArgs and ExprResponseOutput values. You can construct a concrete instance of `ExprResponseInput` via:
ExprResponseArgs{...}
type ExprResponseOutput ¶
type ExprResponseOutput struct{ *pulumi.OutputState }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprResponseOutput) Description ¶
func (o ExprResponseOutput) Description() pulumi.StringOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprResponseOutput) ElementType ¶
func (ExprResponseOutput) ElementType() reflect.Type
func (ExprResponseOutput) Expression ¶
func (o ExprResponseOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprResponseOutput) Location ¶
func (o ExprResponseOutput) Location() pulumi.StringOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprResponseOutput) Title ¶
func (o ExprResponseOutput) Title() pulumi.StringOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprResponseOutput) ToExprResponseOutput ¶
func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
func (ExprResponseOutput) ToExprResponseOutputWithContext ¶
func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
type LookupEndpointArgs ¶ added in v0.4.0
type LookupEndpointOutputArgs ¶ added in v0.8.0
type LookupEndpointOutputArgs struct { EndpointId pulumi.StringInput `pulumi:"endpointId"` Location pulumi.StringInput `pulumi:"location"` NamespaceId pulumi.StringInput `pulumi:"namespaceId"` Project pulumi.StringPtrInput `pulumi:"project"` ServiceId pulumi.StringInput `pulumi:"serviceId"` }
func (LookupEndpointOutputArgs) ElementType ¶ added in v0.8.0
func (LookupEndpointOutputArgs) ElementType() reflect.Type
type LookupEndpointResult ¶ added in v0.4.0
type LookupEndpointResult struct { // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. Address string `pulumi:"address"` // The timestamp when the endpoint was created. CreateTime string `pulumi:"createTime"` // Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory. Metadata map[string]string `pulumi:"metadata"` // Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`. Name string `pulumi:"name"` // Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects//locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions). Network string `pulumi:"network"` // Optional. Service Directory rejects values outside of `[0, 65535]`. Port int `pulumi:"port"` // The timestamp when the endpoint was last updated. UpdateTime string `pulumi:"updateTime"` }
func LookupEndpoint ¶ added in v0.4.0
func LookupEndpoint(ctx *pulumi.Context, args *LookupEndpointArgs, opts ...pulumi.InvokeOption) (*LookupEndpointResult, error)
Gets an endpoint.
type LookupEndpointResultOutput ¶ added in v0.8.0
type LookupEndpointResultOutput struct{ *pulumi.OutputState }
func LookupEndpointOutput ¶ added in v0.8.0
func LookupEndpointOutput(ctx *pulumi.Context, args LookupEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupEndpointResultOutput
func (LookupEndpointResultOutput) Address ¶ added in v0.8.0
func (o LookupEndpointResultOutput) Address() pulumi.StringOutput
Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters.
func (LookupEndpointResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupEndpointResultOutput) CreateTime() pulumi.StringOutput
The timestamp when the endpoint was created.
func (LookupEndpointResultOutput) ElementType ¶ added in v0.8.0
func (LookupEndpointResultOutput) ElementType() reflect.Type
func (LookupEndpointResultOutput) Metadata ¶ added in v0.8.0
func (o LookupEndpointResultOutput) Metadata() pulumi.StringMapOutput
Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory.
func (LookupEndpointResultOutput) Name ¶ added in v0.8.0
func (o LookupEndpointResultOutput) Name() pulumi.StringOutput
Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
func (LookupEndpointResultOutput) Network ¶ added in v0.8.0
func (o LookupEndpointResultOutput) Network() pulumi.StringOutput
Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects//locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions).
func (LookupEndpointResultOutput) Port ¶ added in v0.8.0
func (o LookupEndpointResultOutput) Port() pulumi.IntOutput
Optional. Service Directory rejects values outside of `[0, 65535]`.
func (LookupEndpointResultOutput) ToLookupEndpointResultOutput ¶ added in v0.8.0
func (o LookupEndpointResultOutput) ToLookupEndpointResultOutput() LookupEndpointResultOutput
func (LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext ¶ added in v0.8.0
func (o LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext(ctx context.Context) LookupEndpointResultOutput
func (LookupEndpointResultOutput) UpdateTime ¶ added in v0.8.0
func (o LookupEndpointResultOutput) UpdateTime() pulumi.StringOutput
The timestamp when the endpoint was last updated.
type LookupNamespaceArgs ¶ added in v0.4.0
type LookupNamespaceIamPolicyArgs ¶ added in v0.4.0
type LookupNamespaceIamPolicyOutputArgs ¶ added in v0.8.0
type LookupNamespaceIamPolicyOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` NamespaceId pulumi.StringInput `pulumi:"namespaceId"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupNamespaceIamPolicyOutputArgs) ElementType ¶ added in v0.8.0
func (LookupNamespaceIamPolicyOutputArgs) ElementType() reflect.Type
type LookupNamespaceIamPolicyResult ¶ added in v0.4.0
type LookupNamespaceIamPolicyResult 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 LookupNamespaceIamPolicy ¶ added in v0.4.0
func LookupNamespaceIamPolicy(ctx *pulumi.Context, args *LookupNamespaceIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupNamespaceIamPolicyResult, error)
Gets the IAM Policy for a resource (namespace or service only).
type LookupNamespaceIamPolicyResultOutput ¶ added in v0.8.0
type LookupNamespaceIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupNamespaceIamPolicyOutput ¶ added in v0.8.0
func LookupNamespaceIamPolicyOutput(ctx *pulumi.Context, args LookupNamespaceIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupNamespaceIamPolicyResultOutput
func (LookupNamespaceIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupNamespaceIamPolicyResultOutput) 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 (LookupNamespaceIamPolicyResultOutput) ElementType ¶ added in v0.8.0
func (LookupNamespaceIamPolicyResultOutput) ElementType() reflect.Type
func (LookupNamespaceIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupNamespaceIamPolicyResultOutput) 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 (LookupNamespaceIamPolicyResultOutput) ToLookupNamespaceIamPolicyResultOutput ¶ added in v0.8.0
func (o LookupNamespaceIamPolicyResultOutput) ToLookupNamespaceIamPolicyResultOutput() LookupNamespaceIamPolicyResultOutput
func (LookupNamespaceIamPolicyResultOutput) ToLookupNamespaceIamPolicyResultOutputWithContext ¶ added in v0.8.0
func (o LookupNamespaceIamPolicyResultOutput) ToLookupNamespaceIamPolicyResultOutputWithContext(ctx context.Context) LookupNamespaceIamPolicyResultOutput
func (LookupNamespaceIamPolicyResultOutput) Version ¶ added in v0.8.0
func (o LookupNamespaceIamPolicyResultOutput) 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 LookupNamespaceOutputArgs ¶ added in v0.8.0
type LookupNamespaceOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` NamespaceId pulumi.StringInput `pulumi:"namespaceId"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupNamespaceOutputArgs) ElementType ¶ added in v0.8.0
func (LookupNamespaceOutputArgs) ElementType() reflect.Type
type LookupNamespaceResult ¶ added in v0.4.0
type LookupNamespaceResult struct { // The timestamp when the namespace was created. CreateTime string `pulumi:"createTime"` // Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters. Labels map[string]string `pulumi:"labels"` // Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`. Name string `pulumi:"name"` // The timestamp when the namespace was last updated. UpdateTime string `pulumi:"updateTime"` }
func LookupNamespace ¶ added in v0.4.0
func LookupNamespace(ctx *pulumi.Context, args *LookupNamespaceArgs, opts ...pulumi.InvokeOption) (*LookupNamespaceResult, error)
Gets a namespace.
type LookupNamespaceResultOutput ¶ added in v0.8.0
type LookupNamespaceResultOutput struct{ *pulumi.OutputState }
func LookupNamespaceOutput ¶ added in v0.8.0
func LookupNamespaceOutput(ctx *pulumi.Context, args LookupNamespaceOutputArgs, opts ...pulumi.InvokeOption) LookupNamespaceResultOutput
func (LookupNamespaceResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupNamespaceResultOutput) CreateTime() pulumi.StringOutput
The timestamp when the namespace was created.
func (LookupNamespaceResultOutput) ElementType ¶ added in v0.8.0
func (LookupNamespaceResultOutput) ElementType() reflect.Type
func (LookupNamespaceResultOutput) Labels ¶ added in v0.8.0
func (o LookupNamespaceResultOutput) Labels() pulumi.StringMapOutput
Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
func (LookupNamespaceResultOutput) Name ¶ added in v0.8.0
func (o LookupNamespaceResultOutput) Name() pulumi.StringOutput
Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`.
func (LookupNamespaceResultOutput) ToLookupNamespaceResultOutput ¶ added in v0.8.0
func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutput() LookupNamespaceResultOutput
func (LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext ¶ added in v0.8.0
func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ctx context.Context) LookupNamespaceResultOutput
func (LookupNamespaceResultOutput) UpdateTime ¶ added in v0.8.0
func (o LookupNamespaceResultOutput) UpdateTime() pulumi.StringOutput
The timestamp when the namespace was last updated.
type LookupNamespaceServiceIamPolicyArgs ¶ added in v0.4.0
type LookupNamespaceServiceIamPolicyOutputArgs ¶ added in v0.8.0
type LookupNamespaceServiceIamPolicyOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` NamespaceId pulumi.StringInput `pulumi:"namespaceId"` Project pulumi.StringPtrInput `pulumi:"project"` ServiceId pulumi.StringInput `pulumi:"serviceId"` }
func (LookupNamespaceServiceIamPolicyOutputArgs) ElementType ¶ added in v0.8.0
func (LookupNamespaceServiceIamPolicyOutputArgs) ElementType() reflect.Type
type LookupNamespaceServiceIamPolicyResult ¶ added in v0.4.0
type LookupNamespaceServiceIamPolicyResult 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 LookupNamespaceServiceIamPolicy ¶ added in v0.4.0
func LookupNamespaceServiceIamPolicy(ctx *pulumi.Context, args *LookupNamespaceServiceIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupNamespaceServiceIamPolicyResult, error)
Gets the IAM Policy for a resource (namespace or service only).
type LookupNamespaceServiceIamPolicyResultOutput ¶ added in v0.8.0
type LookupNamespaceServiceIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupNamespaceServiceIamPolicyOutput ¶ added in v0.8.0
func LookupNamespaceServiceIamPolicyOutput(ctx *pulumi.Context, args LookupNamespaceServiceIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupNamespaceServiceIamPolicyResultOutput
func (LookupNamespaceServiceIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupNamespaceServiceIamPolicyResultOutput) 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 (LookupNamespaceServiceIamPolicyResultOutput) ElementType ¶ added in v0.8.0
func (LookupNamespaceServiceIamPolicyResultOutput) ElementType() reflect.Type
func (LookupNamespaceServiceIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupNamespaceServiceIamPolicyResultOutput) 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 (LookupNamespaceServiceIamPolicyResultOutput) ToLookupNamespaceServiceIamPolicyResultOutput ¶ added in v0.8.0
func (o LookupNamespaceServiceIamPolicyResultOutput) ToLookupNamespaceServiceIamPolicyResultOutput() LookupNamespaceServiceIamPolicyResultOutput
func (LookupNamespaceServiceIamPolicyResultOutput) ToLookupNamespaceServiceIamPolicyResultOutputWithContext ¶ added in v0.8.0
func (o LookupNamespaceServiceIamPolicyResultOutput) ToLookupNamespaceServiceIamPolicyResultOutputWithContext(ctx context.Context) LookupNamespaceServiceIamPolicyResultOutput
func (LookupNamespaceServiceIamPolicyResultOutput) Version ¶ added in v0.8.0
func (o LookupNamespaceServiceIamPolicyResultOutput) 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 LookupServiceArgs ¶ added in v0.4.0
type LookupServiceOutputArgs ¶ added in v0.8.0
type LookupServiceOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` NamespaceId pulumi.StringInput `pulumi:"namespaceId"` Project pulumi.StringPtrInput `pulumi:"project"` ServiceId pulumi.StringInput `pulumi:"serviceId"` }
func (LookupServiceOutputArgs) ElementType ¶ added in v0.8.0
func (LookupServiceOutputArgs) ElementType() reflect.Type
type LookupServiceResult ¶ added in v0.4.0
type LookupServiceResult struct { // The timestamp when the service was created. CreateTime string `pulumi:"createTime"` // Endpoints associated with this service. Returned on LookupService.ResolveService. Control plane clients should use RegistrationService.ListEndpoints. Endpoints []EndpointResponse `pulumi:"endpoints"` // Optional. Metadata for the service. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory. Metadata map[string]string `pulumi:"metadata"` // Immutable. The resource name for the service in the format `projects/*/locations/*/namespaces/*/services/*`. Name string `pulumi:"name"` // The timestamp when the service was last updated. Note: endpoints being created/deleted/updated within the service are not considered service updates for the purpose of this timestamp. UpdateTime string `pulumi:"updateTime"` }
func LookupService ¶ added in v0.4.0
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
Gets a service.
type LookupServiceResultOutput ¶ added in v0.8.0
type LookupServiceResultOutput struct{ *pulumi.OutputState }
func LookupServiceOutput ¶ added in v0.8.0
func LookupServiceOutput(ctx *pulumi.Context, args LookupServiceOutputArgs, opts ...pulumi.InvokeOption) LookupServiceResultOutput
func (LookupServiceResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupServiceResultOutput) CreateTime() pulumi.StringOutput
The timestamp when the service was created.
func (LookupServiceResultOutput) ElementType ¶ added in v0.8.0
func (LookupServiceResultOutput) ElementType() reflect.Type
func (LookupServiceResultOutput) Endpoints ¶ added in v0.8.0
func (o LookupServiceResultOutput) Endpoints() EndpointResponseArrayOutput
Endpoints associated with this service. Returned on LookupService.ResolveService. Control plane clients should use RegistrationService.ListEndpoints.
func (LookupServiceResultOutput) Metadata ¶ added in v0.8.0
func (o LookupServiceResultOutput) Metadata() pulumi.StringMapOutput
Optional. Metadata for the service. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory.
func (LookupServiceResultOutput) Name ¶ added in v0.8.0
func (o LookupServiceResultOutput) Name() pulumi.StringOutput
Immutable. The resource name for the service in the format `projects/*/locations/*/namespaces/*/services/*`.
func (LookupServiceResultOutput) ToLookupServiceResultOutput ¶ added in v0.8.0
func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext ¶ added in v0.8.0
func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
func (LookupServiceResultOutput) UpdateTime ¶ added in v0.8.0
func (o LookupServiceResultOutput) UpdateTime() pulumi.StringOutput
The timestamp when the service was last updated. Note: endpoints being created/deleted/updated within the service are not considered service updates for the purpose of this timestamp.
type Namespace ¶
type Namespace struct { pulumi.CustomResourceState // The timestamp when the namespace was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters. Labels pulumi.StringMapOutput `pulumi:"labels"` // Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`. Name pulumi.StringOutput `pulumi:"name"` // The timestamp when the namespace was last updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Creates a namespace, and returns the new namespace.
func GetNamespace ¶
func GetNamespace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)
GetNamespace gets an existing Namespace 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 NewNamespace ¶
func NewNamespace(ctx *pulumi.Context, name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)
NewNamespace registers a new resource with the given unique name, arguments, and options.
func (*Namespace) ElementType ¶
func (*Namespace) ToNamespaceOutput ¶
func (i *Namespace) ToNamespaceOutput() NamespaceOutput
func (*Namespace) ToNamespaceOutputWithContext ¶
func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
type NamespaceArgs ¶
type NamespaceArgs struct { // Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters. Labels pulumi.StringMapInput Location pulumi.StringPtrInput // Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`. Name pulumi.StringPtrInput NamespaceId pulumi.StringInput Project pulumi.StringPtrInput }
The set of arguments for constructing a Namespace resource.
func (NamespaceArgs) ElementType ¶
func (NamespaceArgs) ElementType() reflect.Type
type NamespaceIamPolicy ¶
type NamespaceIamPolicy 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 IAM Policy for a resource (namespace or service only). 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 GetNamespaceIamPolicy ¶
func GetNamespaceIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamespaceIamPolicyState, opts ...pulumi.ResourceOption) (*NamespaceIamPolicy, error)
GetNamespaceIamPolicy gets an existing NamespaceIamPolicy 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 NewNamespaceIamPolicy ¶
func NewNamespaceIamPolicy(ctx *pulumi.Context, name string, args *NamespaceIamPolicyArgs, opts ...pulumi.ResourceOption) (*NamespaceIamPolicy, error)
NewNamespaceIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*NamespaceIamPolicy) ElementType ¶
func (*NamespaceIamPolicy) ElementType() reflect.Type
func (*NamespaceIamPolicy) ToNamespaceIamPolicyOutput ¶
func (i *NamespaceIamPolicy) ToNamespaceIamPolicyOutput() NamespaceIamPolicyOutput
func (*NamespaceIamPolicy) ToNamespaceIamPolicyOutputWithContext ¶
func (i *NamespaceIamPolicy) ToNamespaceIamPolicyOutputWithContext(ctx context.Context) NamespaceIamPolicyOutput
type NamespaceIamPolicyArgs ¶
type NamespaceIamPolicyArgs 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 NamespaceId pulumi.StringInput 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 NamespaceIamPolicy resource.
func (NamespaceIamPolicyArgs) ElementType ¶
func (NamespaceIamPolicyArgs) ElementType() reflect.Type
type NamespaceIamPolicyInput ¶
type NamespaceIamPolicyInput interface { pulumi.Input ToNamespaceIamPolicyOutput() NamespaceIamPolicyOutput ToNamespaceIamPolicyOutputWithContext(ctx context.Context) NamespaceIamPolicyOutput }
type NamespaceIamPolicyOutput ¶
type NamespaceIamPolicyOutput struct{ *pulumi.OutputState }
func (NamespaceIamPolicyOutput) ElementType ¶
func (NamespaceIamPolicyOutput) ElementType() reflect.Type
func (NamespaceIamPolicyOutput) ToNamespaceIamPolicyOutput ¶
func (o NamespaceIamPolicyOutput) ToNamespaceIamPolicyOutput() NamespaceIamPolicyOutput
func (NamespaceIamPolicyOutput) ToNamespaceIamPolicyOutputWithContext ¶
func (o NamespaceIamPolicyOutput) ToNamespaceIamPolicyOutputWithContext(ctx context.Context) NamespaceIamPolicyOutput
type NamespaceIamPolicyState ¶
type NamespaceIamPolicyState struct { }
func (NamespaceIamPolicyState) ElementType ¶
func (NamespaceIamPolicyState) ElementType() reflect.Type
type NamespaceInput ¶
type NamespaceInput interface { pulumi.Input ToNamespaceOutput() NamespaceOutput ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput }
type NamespaceOutput ¶
type NamespaceOutput struct{ *pulumi.OutputState }
func (NamespaceOutput) ElementType ¶
func (NamespaceOutput) ElementType() reflect.Type
func (NamespaceOutput) ToNamespaceOutput ¶
func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput
func (NamespaceOutput) ToNamespaceOutputWithContext ¶
func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
type NamespaceServiceIamPolicy ¶
type NamespaceServiceIamPolicy 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 IAM Policy for a resource (namespace or service only). 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 GetNamespaceServiceIamPolicy ¶
func GetNamespaceServiceIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamespaceServiceIamPolicyState, opts ...pulumi.ResourceOption) (*NamespaceServiceIamPolicy, error)
GetNamespaceServiceIamPolicy gets an existing NamespaceServiceIamPolicy 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 NewNamespaceServiceIamPolicy ¶
func NewNamespaceServiceIamPolicy(ctx *pulumi.Context, name string, args *NamespaceServiceIamPolicyArgs, opts ...pulumi.ResourceOption) (*NamespaceServiceIamPolicy, error)
NewNamespaceServiceIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*NamespaceServiceIamPolicy) ElementType ¶
func (*NamespaceServiceIamPolicy) ElementType() reflect.Type
func (*NamespaceServiceIamPolicy) ToNamespaceServiceIamPolicyOutput ¶
func (i *NamespaceServiceIamPolicy) ToNamespaceServiceIamPolicyOutput() NamespaceServiceIamPolicyOutput
func (*NamespaceServiceIamPolicy) ToNamespaceServiceIamPolicyOutputWithContext ¶
func (i *NamespaceServiceIamPolicy) ToNamespaceServiceIamPolicyOutputWithContext(ctx context.Context) NamespaceServiceIamPolicyOutput
type NamespaceServiceIamPolicyArgs ¶
type NamespaceServiceIamPolicyArgs 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 NamespaceId pulumi.StringInput Project pulumi.StringPtrInput ServiceId pulumi.StringInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput }
The set of arguments for constructing a NamespaceServiceIamPolicy resource.
func (NamespaceServiceIamPolicyArgs) ElementType ¶
func (NamespaceServiceIamPolicyArgs) ElementType() reflect.Type
type NamespaceServiceIamPolicyInput ¶
type NamespaceServiceIamPolicyInput interface { pulumi.Input ToNamespaceServiceIamPolicyOutput() NamespaceServiceIamPolicyOutput ToNamespaceServiceIamPolicyOutputWithContext(ctx context.Context) NamespaceServiceIamPolicyOutput }
type NamespaceServiceIamPolicyOutput ¶
type NamespaceServiceIamPolicyOutput struct{ *pulumi.OutputState }
func (NamespaceServiceIamPolicyOutput) ElementType ¶
func (NamespaceServiceIamPolicyOutput) ElementType() reflect.Type
func (NamespaceServiceIamPolicyOutput) ToNamespaceServiceIamPolicyOutput ¶
func (o NamespaceServiceIamPolicyOutput) ToNamespaceServiceIamPolicyOutput() NamespaceServiceIamPolicyOutput
func (NamespaceServiceIamPolicyOutput) ToNamespaceServiceIamPolicyOutputWithContext ¶
func (o NamespaceServiceIamPolicyOutput) ToNamespaceServiceIamPolicyOutputWithContext(ctx context.Context) NamespaceServiceIamPolicyOutput
type NamespaceServiceIamPolicyState ¶
type NamespaceServiceIamPolicyState struct { }
func (NamespaceServiceIamPolicyState) ElementType ¶
func (NamespaceServiceIamPolicyState) ElementType() reflect.Type
type NamespaceState ¶
type NamespaceState struct { }
func (NamespaceState) ElementType ¶
func (NamespaceState) ElementType() reflect.Type
type Service ¶ added in v0.3.0
type Service struct { pulumi.CustomResourceState // The timestamp when the service was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Endpoints associated with this service. Returned on LookupService.ResolveService. Control plane clients should use RegistrationService.ListEndpoints. Endpoints EndpointResponseArrayOutput `pulumi:"endpoints"` // Optional. Metadata for the service. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory. Metadata pulumi.StringMapOutput `pulumi:"metadata"` // Immutable. The resource name for the service in the format `projects/*/locations/*/namespaces/*/services/*`. Name pulumi.StringOutput `pulumi:"name"` // The timestamp when the service was last updated. Note: endpoints being created/deleted/updated within the service are not considered service updates for the purpose of this timestamp. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Creates a service, and returns the new service.
func GetService ¶ added in v0.3.0
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service 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 NewService ¶ added in v0.3.0
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (*Service) ElementType ¶ added in v0.3.0
func (*Service) ToServiceOutput ¶ added in v0.3.0
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶ added in v0.3.0
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceArgs ¶ added in v0.3.0
type ServiceArgs struct { Location pulumi.StringPtrInput // Optional. Metadata for the service. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory. Metadata pulumi.StringMapInput // Immutable. The resource name for the service in the format `projects/*/locations/*/namespaces/*/services/*`. Name pulumi.StringPtrInput NamespaceId pulumi.StringInput Project pulumi.StringPtrInput ServiceId pulumi.StringInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶ added in v0.3.0
func (ServiceArgs) ElementType() reflect.Type
type ServiceInput ¶ added in v0.3.0
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceOutput ¶ added in v0.3.0
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) ElementType ¶ added in v0.3.0
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ToServiceOutput ¶ added in v0.3.0
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶ added in v0.3.0
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceState ¶ added in v0.3.0
type ServiceState struct { }
func (ServiceState) ElementType ¶ added in v0.3.0
func (ServiceState) ElementType() reflect.Type