Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/alpha.getNodeTemplateIamPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Using getNodeTemplateIamPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNodeTemplateIamPolicy(args: GetNodeTemplateIamPolicyArgs, opts?: InvokeOptions): Promise<GetNodeTemplateIamPolicyResult>
function getNodeTemplateIamPolicyOutput(args: GetNodeTemplateIamPolicyOutputArgs, opts?: InvokeOptions): Output<GetNodeTemplateIamPolicyResult>
def get_node_template_iam_policy(options_requested_policy_version: Optional[int] = None,
project: Optional[str] = None,
region: Optional[str] = None,
resource: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNodeTemplateIamPolicyResult
def get_node_template_iam_policy_output(options_requested_policy_version: Optional[pulumi.Input[int]] = None,
project: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
resource: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNodeTemplateIamPolicyResult]
func LookupNodeTemplateIamPolicy(ctx *Context, args *LookupNodeTemplateIamPolicyArgs, opts ...InvokeOption) (*LookupNodeTemplateIamPolicyResult, error)
func LookupNodeTemplateIamPolicyOutput(ctx *Context, args *LookupNodeTemplateIamPolicyOutputArgs, opts ...InvokeOption) LookupNodeTemplateIamPolicyResultOutput
> Note: This function is named LookupNodeTemplateIamPolicy
in the Go SDK.
public static class GetNodeTemplateIamPolicy
{
public static Task<GetNodeTemplateIamPolicyResult> InvokeAsync(GetNodeTemplateIamPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetNodeTemplateIamPolicyResult> Invoke(GetNodeTemplateIamPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNodeTemplateIamPolicyResult> getNodeTemplateIamPolicy(GetNodeTemplateIamPolicyArgs args, InvokeOptions options)
public static Output<GetNodeTemplateIamPolicyResult> getNodeTemplateIamPolicy(GetNodeTemplateIamPolicyArgs args, InvokeOptions options)
fn::invoke:
function: google-native:compute/alpha:getNodeTemplateIamPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Region
This property is required. string - Resource
This property is required. string - Options
Requested intPolicy Version - Project string
- Region
This property is required. string - Resource
This property is required. string - Options
Requested intPolicy Version - Project string
- region
This property is required. String - resource
This property is required. String - options
Requested IntegerPolicy Version - project String
- region
This property is required. string - resource
This property is required. string - options
Requested numberPolicy Version - project string
- region
This property is required. str - resource
This property is required. str - options_
requested_ intpolicy_ version - project str
- region
This property is required. String - resource
This property is required. String - options
Requested NumberPolicy Version - project String
getNodeTemplateIamPolicy Result
The following output properties are available:
- Audit
Configs List<Pulumi.Google Native. Compute. Alpha. Outputs. Audit Config Response> - Specifies cloud audit logging configuration for this policy.
- Bindings
List<Pulumi.
Google Native. Compute. Alpha. Outputs. Binding Response> - Associates a list of
members
, or principals, with arole
. Optionally, may specify acondition
that determines how and when thebindings
are applied. Each of thebindings
must contain at least one principal. Thebindings
in aPolicy
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 thebindings
grant 50 different roles touser:alice@example.com
, and not to any other principal, then you can add another 1,450 principals to thebindings
in thePolicy
. - Etag string
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 theetag
in the read-modify-write cycle to perform policy updates in order to avoid race conditions: Anetag
is returned in the response togetIamPolicy
, and systems are expected to put that etag in the request tosetIamPolicy
to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
policy are lost.- Rules
List<Pulumi.
Google Native. Compute. Alpha. Outputs. Rule Response> - This is deprecated and has no effect. Do not use.
- Version int
- Specifies the format of the policy. Valid values are
0
,1
, and3
. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version3
. 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 theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
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.
- Audit
Configs []AuditConfig Response - Specifies cloud audit logging configuration for this policy.
- Bindings
[]Binding
Response - Associates a list of
members
, or principals, with arole
. Optionally, may specify acondition
that determines how and when thebindings
are applied. Each of thebindings
must contain at least one principal. Thebindings
in aPolicy
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 thebindings
grant 50 different roles touser:alice@example.com
, and not to any other principal, then you can add another 1,450 principals to thebindings
in thePolicy
. - Etag string
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 theetag
in the read-modify-write cycle to perform policy updates in order to avoid race conditions: Anetag
is returned in the response togetIamPolicy
, and systems are expected to put that etag in the request tosetIamPolicy
to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
policy are lost.- Rules
[]Rule
Response - This is deprecated and has no effect. Do not use.
- Version int
- Specifies the format of the policy. Valid values are
0
,1
, and3
. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version3
. 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 theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
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.
- audit
Configs List<AuditConfig Response> - Specifies cloud audit logging configuration for this policy.
- bindings
List<Binding
Response> - Associates a list of
members
, or principals, with arole
. Optionally, may specify acondition
that determines how and when thebindings
are applied. Each of thebindings
must contain at least one principal. Thebindings
in aPolicy
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 thebindings
grant 50 different roles touser:alice@example.com
, and not to any other principal, then you can add another 1,450 principals to thebindings
in thePolicy
. - etag String
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 theetag
in the read-modify-write cycle to perform policy updates in order to avoid race conditions: Anetag
is returned in the response togetIamPolicy
, and systems are expected to put that etag in the request tosetIamPolicy
to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
policy are lost.- rules
List<Rule
Response> - This is deprecated and has no effect. Do not use.
- version Integer
- Specifies the format of the policy. Valid values are
0
,1
, and3
. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version3
. 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 theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
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.
- audit
Configs AuditConfig Response[] - Specifies cloud audit logging configuration for this policy.
- bindings
Binding
Response[] - Associates a list of
members
, or principals, with arole
. Optionally, may specify acondition
that determines how and when thebindings
are applied. Each of thebindings
must contain at least one principal. Thebindings
in aPolicy
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 thebindings
grant 50 different roles touser:alice@example.com
, and not to any other principal, then you can add another 1,450 principals to thebindings
in thePolicy
. - etag string
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 theetag
in the read-modify-write cycle to perform policy updates in order to avoid race conditions: Anetag
is returned in the response togetIamPolicy
, and systems are expected to put that etag in the request tosetIamPolicy
to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
policy are lost.- rules
Rule
Response[] - This is deprecated and has no effect. Do not use.
- version number
- Specifies the format of the policy. Valid values are
0
,1
, and3
. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version3
. 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 theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
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.
- audit_
configs Sequence[AuditConfig Response] - Specifies cloud audit logging configuration for this policy.
- bindings
Sequence[Binding
Response] - Associates a list of
members
, or principals, with arole
. Optionally, may specify acondition
that determines how and when thebindings
are applied. Each of thebindings
must contain at least one principal. Thebindings
in aPolicy
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 thebindings
grant 50 different roles touser:alice@example.com
, and not to any other principal, then you can add another 1,450 principals to thebindings
in thePolicy
. - etag str
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 theetag
in the read-modify-write cycle to perform policy updates in order to avoid race conditions: Anetag
is returned in the response togetIamPolicy
, and systems are expected to put that etag in the request tosetIamPolicy
to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
policy are lost.- rules
Sequence[Rule
Response] - This is deprecated and has no effect. Do not use.
- version int
- Specifies the format of the policy. Valid values are
0
,1
, and3
. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version3
. 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 theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
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.
- audit
Configs List<Property Map> - Specifies cloud audit logging configuration for this policy.
- bindings List<Property Map>
- Associates a list of
members
, or principals, with arole
. Optionally, may specify acondition
that determines how and when thebindings
are applied. Each of thebindings
must contain at least one principal. Thebindings
in aPolicy
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 thebindings
grant 50 different roles touser:alice@example.com
, and not to any other principal, then you can add another 1,450 principals to thebindings
in thePolicy
. - etag String
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 theetag
in the read-modify-write cycle to perform policy updates in order to avoid race conditions: Anetag
is returned in the response togetIamPolicy
, and systems are expected to put that etag in the request tosetIamPolicy
to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
policy are lost.- rules List<Property Map>
- This is deprecated and has no effect. Do not use.
- version Number
- Specifies the format of the policy. Valid values are
0
,1
, and3
. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version3
. 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 theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
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.
Supporting Types
AuditConfigResponse
- Audit
Log Configs This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Audit Log Config Response> - The configuration for logging of each type of permission.
- Exempted
Members This property is required. List<string> - This is deprecated and has no effect. Do not use.
- Service
This property is required. string - Specifies a service that will be enabled for audit logging. For example,
storage.googleapis.com
,cloudsql.googleapis.com
.allServices
is a special value that covers all services.
- Audit
Log Configs This property is required. []AuditLog Config Response - The configuration for logging of each type of permission.
- Exempted
Members This property is required. []string - This is deprecated and has no effect. Do not use.
- Service
This property is required. string - Specifies a service that will be enabled for audit logging. For example,
storage.googleapis.com
,cloudsql.googleapis.com
.allServices
is a special value that covers all services.
- audit
Log Configs This property is required. List<AuditLog Config Response> - The configuration for logging of each type of permission.
- exempted
Members This property is required. List<String> - This is deprecated and has no effect. Do not use.
- service
This property is required. String - Specifies a service that will be enabled for audit logging. For example,
storage.googleapis.com
,cloudsql.googleapis.com
.allServices
is a special value that covers all services.
- audit
Log Configs This property is required. AuditLog Config Response[] - The configuration for logging of each type of permission.
- exempted
Members This property is required. string[] - This is deprecated and has no effect. Do not use.
- service
This property is required. string - Specifies a service that will be enabled for audit logging. For example,
storage.googleapis.com
,cloudsql.googleapis.com
.allServices
is a special value that covers all services.
- audit_
log_ configs This property is required. Sequence[AuditLog Config Response] - The configuration for logging of each type of permission.
- exempted_
members This property is required. Sequence[str] - This is deprecated and has no effect. Do not use.
- service
This property is required. str - Specifies a service that will be enabled for audit logging. For example,
storage.googleapis.com
,cloudsql.googleapis.com
.allServices
is a special value that covers all services.
- audit
Log Configs This property is required. List<Property Map> - The configuration for logging of each type of permission.
- exempted
Members This property is required. List<String> - This is deprecated and has no effect. Do not use.
- service
This property is required. String - Specifies a service that will be enabled for audit logging. For example,
storage.googleapis.com
,cloudsql.googleapis.com
.allServices
is a special value that covers all services.
AuditLogConfigResponse
- Exempted
Members This property is required. List<string> - Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- Ignore
Child Exemptions This property is required. bool - This is deprecated and has no effect. Do not use.
- Log
Type This property is required. string - The log type that this config enables.
- Exempted
Members This property is required. []string - Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- Ignore
Child Exemptions This property is required. bool - This is deprecated and has no effect. Do not use.
- Log
Type This property is required. string - The log type that this config enables.
- exempted
Members This property is required. List<String> - Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- ignore
Child Exemptions This property is required. Boolean - This is deprecated and has no effect. Do not use.
- log
Type This property is required. String - The log type that this config enables.
- exempted
Members This property is required. string[] - Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- ignore
Child Exemptions This property is required. boolean - This is deprecated and has no effect. Do not use.
- log
Type This property is required. string - The log type that this config enables.
- exempted_
members This property is required. Sequence[str] - Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- ignore_
child_ exemptions This property is required. bool - This is deprecated and has no effect. Do not use.
- log_
type This property is required. str - The log type that this config enables.
- exempted
Members This property is required. List<String> - Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- ignore
Child Exemptions This property is required. Boolean - This is deprecated and has no effect. Do not use.
- log
Type This property is required. String - The log type that this config enables.
AuthorizationLoggingOptionsResponse
- Permission
Type This property is required. string - This is deprecated and has no effect. Do not use.
- Permission
Type This property is required. string - This is deprecated and has no effect. Do not use.
- permission
Type This property is required. String - This is deprecated and has no effect. Do not use.
- permission
Type This property is required. string - This is deprecated and has no effect. Do not use.
- permission_
type This property is required. str - This is deprecated and has no effect. Do not use.
- permission
Type This property is required. String - This is deprecated and has no effect. Do not use.
BindingResponse
- Binding
Id This property is required. string - This is deprecated and has no effect. Do not use.
- Condition
This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Expr Response - 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 tofalse
, 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. - Members
This property is required. List<string> - Specifies the principals requesting access for a Google Cloud resource.
members
can have the following values: *allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account. *allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. *user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
. *serviceAccount:{emailid}
: An email address that represents a Google service account. For example,my-other-app@appspot.gserviceaccount.com
. *serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]
: An identifier for a Kubernetes service account. For example,my-project.svc.id.goog[my-namespace/my-kubernetes-sa]
. *group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
. *domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.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 touser:{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 toserviceAccount:{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 togroup:{emailid}
and the recovered group retains the role in the binding. - Role
This property is required. string - Role that is assigned to the list of
members
, or principals. For example,roles/viewer
,roles/editor
, orroles/owner
.
- Binding
Id This property is required. string - This is deprecated and has no effect. Do not use.
- Condition
This property is required. ExprResponse - 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 tofalse
, 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. - Members
This property is required. []string - Specifies the principals requesting access for a Google Cloud resource.
members
can have the following values: *allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account. *allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. *user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
. *serviceAccount:{emailid}
: An email address that represents a Google service account. For example,my-other-app@appspot.gserviceaccount.com
. *serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]
: An identifier for a Kubernetes service account. For example,my-project.svc.id.goog[my-namespace/my-kubernetes-sa]
. *group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
. *domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.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 touser:{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 toserviceAccount:{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 togroup:{emailid}
and the recovered group retains the role in the binding. - Role
This property is required. string - Role that is assigned to the list of
members
, or principals. For example,roles/viewer
,roles/editor
, orroles/owner
.
- binding
Id This property is required. String - This is deprecated and has no effect. Do not use.
- condition
This property is required. ExprResponse - 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 tofalse
, 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. - members
This property is required. List<String> - Specifies the principals requesting access for a Google Cloud resource.
members
can have the following values: *allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account. *allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. *user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
. *serviceAccount:{emailid}
: An email address that represents a Google service account. For example,my-other-app@appspot.gserviceaccount.com
. *serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]
: An identifier for a Kubernetes service account. For example,my-project.svc.id.goog[my-namespace/my-kubernetes-sa]
. *group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
. *domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.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 touser:{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 toserviceAccount:{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 togroup:{emailid}
and the recovered group retains the role in the binding. - role
This property is required. String - Role that is assigned to the list of
members
, or principals. For example,roles/viewer
,roles/editor
, orroles/owner
.
- binding
Id This property is required. string - This is deprecated and has no effect. Do not use.
- condition
This property is required. ExprResponse - 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 tofalse
, 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. - members
This property is required. string[] - Specifies the principals requesting access for a Google Cloud resource.
members
can have the following values: *allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account. *allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. *user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
. *serviceAccount:{emailid}
: An email address that represents a Google service account. For example,my-other-app@appspot.gserviceaccount.com
. *serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]
: An identifier for a Kubernetes service account. For example,my-project.svc.id.goog[my-namespace/my-kubernetes-sa]
. *group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
. *domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.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 touser:{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 toserviceAccount:{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 togroup:{emailid}
and the recovered group retains the role in the binding. - role
This property is required. string - Role that is assigned to the list of
members
, or principals. For example,roles/viewer
,roles/editor
, orroles/owner
.
- binding_
id This property is required. str - This is deprecated and has no effect. Do not use.
- condition
This property is required. ExprResponse - 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 tofalse
, 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. - members
This property is required. Sequence[str] - Specifies the principals requesting access for a Google Cloud resource.
members
can have the following values: *allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account. *allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. *user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
. *serviceAccount:{emailid}
: An email address that represents a Google service account. For example,my-other-app@appspot.gserviceaccount.com
. *serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]
: An identifier for a Kubernetes service account. For example,my-project.svc.id.goog[my-namespace/my-kubernetes-sa]
. *group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
. *domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.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 touser:{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 toserviceAccount:{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 togroup:{emailid}
and the recovered group retains the role in the binding. - role
This property is required. str - Role that is assigned to the list of
members
, or principals. For example,roles/viewer
,roles/editor
, orroles/owner
.
- binding
Id This property is required. String - This is deprecated and has no effect. Do not use.
- condition
This property is required. Property Map - 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 tofalse
, 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. - members
This property is required. List<String> - Specifies the principals requesting access for a Google Cloud resource.
members
can have the following values: *allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account. *allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. *user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
. *serviceAccount:{emailid}
: An email address that represents a Google service account. For example,my-other-app@appspot.gserviceaccount.com
. *serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]
: An identifier for a Kubernetes service account. For example,my-project.svc.id.goog[my-namespace/my-kubernetes-sa]
. *group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
. *domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.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 touser:{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 toserviceAccount:{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 togroup:{emailid}
and the recovered group retains the role in the binding. - role
This property is required. String - Role that is assigned to the list of
members
, or principals. For example,roles/viewer
,roles/editor
, orroles/owner
.
ConditionResponse
- Iam
This property is required. string - This is deprecated and has no effect. Do not use.
- Op
This property is required. string - This is deprecated and has no effect. Do not use.
- Svc
This property is required. string - This is deprecated and has no effect. Do not use.
- Sys
This property is required. string - This is deprecated and has no effect. Do not use.
- Values
This property is required. List<string> - This is deprecated and has no effect. Do not use.
- Iam
This property is required. string - This is deprecated and has no effect. Do not use.
- Op
This property is required. string - This is deprecated and has no effect. Do not use.
- Svc
This property is required. string - This is deprecated and has no effect. Do not use.
- Sys
This property is required. string - This is deprecated and has no effect. Do not use.
- Values
This property is required. []string - This is deprecated and has no effect. Do not use.
- iam
This property is required. String - This is deprecated and has no effect. Do not use.
- op
This property is required. String - This is deprecated and has no effect. Do not use.
- svc
This property is required. String - This is deprecated and has no effect. Do not use.
- sys
This property is required. String - This is deprecated and has no effect. Do not use.
- values
This property is required. List<String> - This is deprecated and has no effect. Do not use.
- iam
This property is required. string - This is deprecated and has no effect. Do not use.
- op
This property is required. string - This is deprecated and has no effect. Do not use.
- svc
This property is required. string - This is deprecated and has no effect. Do not use.
- sys
This property is required. string - This is deprecated and has no effect. Do not use.
- values
This property is required. string[] - This is deprecated and has no effect. Do not use.
- iam
This property is required. str - This is deprecated and has no effect. Do not use.
- op
This property is required. str - This is deprecated and has no effect. Do not use.
- svc
This property is required. str - This is deprecated and has no effect. Do not use.
- sys
This property is required. str - This is deprecated and has no effect. Do not use.
- values
This property is required. Sequence[str] - This is deprecated and has no effect. Do not use.
- iam
This property is required. String - This is deprecated and has no effect. Do not use.
- op
This property is required. String - This is deprecated and has no effect. Do not use.
- svc
This property is required. String - This is deprecated and has no effect. Do not use.
- sys
This property is required. String - This is deprecated and has no effect. Do not use.
- values
This property is required. List<String> - This is deprecated and has no effect. Do not use.
ExprResponse
- Description
This property is required. string - Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Expression
This property is required. string - Textual representation of an expression in Common Expression Language syntax.
- Location
This property is required. string - Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title
This property is required. string - 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.
- Description
This property is required. string - Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Expression
This property is required. string - Textual representation of an expression in Common Expression Language syntax.
- Location
This property is required. string - Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title
This property is required. string - 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.
- description
This property is required. String - Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression
This property is required. String - Textual representation of an expression in Common Expression Language syntax.
- location
This property is required. String - Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title
This property is required. String - 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.
- description
This property is required. string - Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression
This property is required. string - Textual representation of an expression in Common Expression Language syntax.
- location
This property is required. string - Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title
This property is required. string - 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.
- description
This property is required. str - Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression
This property is required. str - Textual representation of an expression in Common Expression Language syntax.
- location
This property is required. str - Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title
This property is required. str - 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.
- description
This property is required. String - Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression
This property is required. String - Textual representation of an expression in Common Expression Language syntax.
- location
This property is required. String - Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title
This property is required. String - 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.
LogConfigCloudAuditOptionsResponse
This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Authorization Logging Options Response - This is deprecated and has no effect. Do not use.
- Log
Name This property is required. string - This is deprecated and has no effect. Do not use.
This property is required. AuthorizationLogging Options Response - This is deprecated and has no effect. Do not use.
- Log
Name This property is required. string - This is deprecated and has no effect. Do not use.
This property is required. AuthorizationLogging Options Response - This is deprecated and has no effect. Do not use.
- log
Name This property is required. String - This is deprecated and has no effect. Do not use.
This property is required. AuthorizationLogging Options Response - This is deprecated and has no effect. Do not use.
- log
Name This property is required. string - This is deprecated and has no effect. Do not use.
This property is required. AuthorizationLogging Options Response - This is deprecated and has no effect. Do not use.
- log_
name This property is required. str - This is deprecated and has no effect. Do not use.
This property is required. Property Map- This is deprecated and has no effect. Do not use.
- log
Name This property is required. String - This is deprecated and has no effect. Do not use.
LogConfigCounterOptionsCustomFieldResponse
LogConfigCounterOptionsResponse
- Custom
Fields This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Log Config Counter Options Custom Field Response> - This is deprecated and has no effect. Do not use.
- Field
This property is required. string - This is deprecated and has no effect. Do not use.
- Metric
This property is required. string - This is deprecated and has no effect. Do not use.
- Custom
Fields This property is required. []LogConfig Counter Options Custom Field Response - This is deprecated and has no effect. Do not use.
- Field
This property is required. string - This is deprecated and has no effect. Do not use.
- Metric
This property is required. string - This is deprecated and has no effect. Do not use.
- custom
Fields This property is required. List<LogConfig Counter Options Custom Field Response> - This is deprecated and has no effect. Do not use.
- field
This property is required. String - This is deprecated and has no effect. Do not use.
- metric
This property is required. String - This is deprecated and has no effect. Do not use.
- custom
Fields This property is required. LogConfig Counter Options Custom Field Response[] - This is deprecated and has no effect. Do not use.
- field
This property is required. string - This is deprecated and has no effect. Do not use.
- metric
This property is required. string - This is deprecated and has no effect. Do not use.
- custom_
fields This property is required. Sequence[LogConfig Counter Options Custom Field Response] - This is deprecated and has no effect. Do not use.
- field
This property is required. str - This is deprecated and has no effect. Do not use.
- metric
This property is required. str - This is deprecated and has no effect. Do not use.
- custom
Fields This property is required. List<Property Map> - This is deprecated and has no effect. Do not use.
- field
This property is required. String - This is deprecated and has no effect. Do not use.
- metric
This property is required. String - This is deprecated and has no effect. Do not use.
LogConfigDataAccessOptionsResponse
- Log
Mode This property is required. string - This is deprecated and has no effect. Do not use.
- Log
Mode This property is required. string - This is deprecated and has no effect. Do not use.
- log
Mode This property is required. String - This is deprecated and has no effect. Do not use.
- log
Mode This property is required. string - This is deprecated and has no effect. Do not use.
- log_
mode This property is required. str - This is deprecated and has no effect. Do not use.
- log
Mode This property is required. String - This is deprecated and has no effect. Do not use.
LogConfigResponse
- Cloud
Audit This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Log Config Cloud Audit Options Response - This is deprecated and has no effect. Do not use.
- Counter
This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Log Config Counter Options Response - This is deprecated and has no effect. Do not use.
- Data
Access This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Log Config Data Access Options Response - This is deprecated and has no effect. Do not use.
- Cloud
Audit This property is required. LogConfig Cloud Audit Options Response - This is deprecated and has no effect. Do not use.
- Counter
This property is required. LogConfig Counter Options Response - This is deprecated and has no effect. Do not use.
- Data
Access This property is required. LogConfig Data Access Options Response - This is deprecated and has no effect. Do not use.
- cloud
Audit This property is required. LogConfig Cloud Audit Options Response - This is deprecated and has no effect. Do not use.
- counter
This property is required. LogConfig Counter Options Response - This is deprecated and has no effect. Do not use.
- data
Access This property is required. LogConfig Data Access Options Response - This is deprecated and has no effect. Do not use.
- cloud
Audit This property is required. LogConfig Cloud Audit Options Response - This is deprecated and has no effect. Do not use.
- counter
This property is required. LogConfig Counter Options Response - This is deprecated and has no effect. Do not use.
- data
Access This property is required. LogConfig Data Access Options Response - This is deprecated and has no effect. Do not use.
- cloud_
audit This property is required. LogConfig Cloud Audit Options Response - This is deprecated and has no effect. Do not use.
- counter
This property is required. LogConfig Counter Options Response - This is deprecated and has no effect. Do not use.
- data_
access This property is required. LogConfig Data Access Options Response - This is deprecated and has no effect. Do not use.
- cloud
Audit This property is required. Property Map - This is deprecated and has no effect. Do not use.
- counter
This property is required. Property Map - This is deprecated and has no effect. Do not use.
- data
Access This property is required. Property Map - This is deprecated and has no effect. Do not use.
RuleResponse
- Action
This property is required. string - This is deprecated and has no effect. Do not use.
- Conditions
This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Condition Response> - This is deprecated and has no effect. Do not use.
- Description
This property is required. string - This is deprecated and has no effect. Do not use.
- Ins
This property is required. List<string> - This is deprecated and has no effect. Do not use.
- Log
Configs This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Log Config Response> - This is deprecated and has no effect. Do not use.
- Not
Ins This property is required. List<string> - This is deprecated and has no effect. Do not use.
- Permissions
This property is required. List<string> - This is deprecated and has no effect. Do not use.
- Action
This property is required. string - This is deprecated and has no effect. Do not use.
- Conditions
This property is required. []ConditionResponse - This is deprecated and has no effect. Do not use.
- Description
This property is required. string - This is deprecated and has no effect. Do not use.
- Ins
This property is required. []string - This is deprecated and has no effect. Do not use.
- Log
Configs This property is required. []LogConfig Response - This is deprecated and has no effect. Do not use.
- Not
Ins This property is required. []string - This is deprecated and has no effect. Do not use.
- Permissions
This property is required. []string - This is deprecated and has no effect. Do not use.
- action
This property is required. String - This is deprecated and has no effect. Do not use.
- conditions
This property is required. List<ConditionResponse> - This is deprecated and has no effect. Do not use.
- description
This property is required. String - This is deprecated and has no effect. Do not use.
- ins
This property is required. List<String> - This is deprecated and has no effect. Do not use.
- log
Configs This property is required. List<LogConfig Response> - This is deprecated and has no effect. Do not use.
- not
Ins This property is required. List<String> - This is deprecated and has no effect. Do not use.
- permissions
This property is required. List<String> - This is deprecated and has no effect. Do not use.
- action
This property is required. string - This is deprecated and has no effect. Do not use.
- conditions
This property is required. ConditionResponse[] - This is deprecated and has no effect. Do not use.
- description
This property is required. string - This is deprecated and has no effect. Do not use.
- ins
This property is required. string[] - This is deprecated and has no effect. Do not use.
- log
Configs This property is required. LogConfig Response[] - This is deprecated and has no effect. Do not use.
- not
Ins This property is required. string[] - This is deprecated and has no effect. Do not use.
- permissions
This property is required. string[] - This is deprecated and has no effect. Do not use.
- action
This property is required. str - This is deprecated and has no effect. Do not use.
- conditions
This property is required. Sequence[ConditionResponse] - This is deprecated and has no effect. Do not use.
- description
This property is required. str - This is deprecated and has no effect. Do not use.
- ins
This property is required. Sequence[str] - This is deprecated and has no effect. Do not use.
- log_
configs This property is required. Sequence[LogConfig Response] - This is deprecated and has no effect. Do not use.
- not_
ins This property is required. Sequence[str] - This is deprecated and has no effect. Do not use.
- permissions
This property is required. Sequence[str] - This is deprecated and has no effect. Do not use.
- action
This property is required. String - This is deprecated and has no effect. Do not use.
- conditions
This property is required. List<Property Map> - This is deprecated and has no effect. Do not use.
- description
This property is required. String - This is deprecated and has no effect. Do not use.
- ins
This property is required. List<String> - This is deprecated and has no effect. Do not use.
- log
Configs This property is required. List<Property Map> - This is deprecated and has no effect. Do not use.
- not
Ins This property is required. List<String> - This is deprecated and has no effect. Do not use.
- permissions
This property is required. List<String> - This is deprecated and has no effect. Do not use.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.