Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/beta.getImageIamPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Using getImageIamPolicy
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 getImageIamPolicy(args: GetImageIamPolicyArgs, opts?: InvokeOptions): Promise<GetImageIamPolicyResult>
function getImageIamPolicyOutput(args: GetImageIamPolicyOutputArgs, opts?: InvokeOptions): Output<GetImageIamPolicyResult>def get_image_iam_policy(options_requested_policy_version: Optional[int] = None,
                         project: Optional[str] = None,
                         resource: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetImageIamPolicyResult
def get_image_iam_policy_output(options_requested_policy_version: Optional[pulumi.Input[int]] = None,
                         project: Optional[pulumi.Input[str]] = None,
                         resource: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetImageIamPolicyResult]func LookupImageIamPolicy(ctx *Context, args *LookupImageIamPolicyArgs, opts ...InvokeOption) (*LookupImageIamPolicyResult, error)
func LookupImageIamPolicyOutput(ctx *Context, args *LookupImageIamPolicyOutputArgs, opts ...InvokeOption) LookupImageIamPolicyResultOutput> Note: This function is named LookupImageIamPolicy in the Go SDK.
public static class GetImageIamPolicy 
{
    public static Task<GetImageIamPolicyResult> InvokeAsync(GetImageIamPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetImageIamPolicyResult> Invoke(GetImageIamPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImageIamPolicyResult> getImageIamPolicy(GetImageIamPolicyArgs args, InvokeOptions options)
public static Output<GetImageIamPolicyResult> getImageIamPolicy(GetImageIamPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:compute/beta:getImageIamPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Resource string
- OptionsRequested intPolicy Version 
- Project string
- Resource string
- OptionsRequested intPolicy Version 
- Project string
- resource String
- optionsRequested IntegerPolicy Version 
- project String
- resource string
- optionsRequested numberPolicy Version 
- project string
- resource str
- options_requested_ intpolicy_ version 
- project str
- resource String
- optionsRequested NumberPolicy Version 
- project String
getImageIamPolicy Result
The following output properties are available:
- AuditConfigs List<Pulumi.Google Native. Compute. Beta. Outputs. Audit Config Response> 
- Specifies cloud audit logging configuration for this policy.
- Bindings
List<Pulumi.Google Native. Compute. Beta. Outputs. Binding Response> 
- Associates a list of members, or principals, with arole. Optionally, may specify aconditionthat determines how and when thebindingsare applied. Each of thebindingsmust contain at least one principal. Thebindingsin aPolicycan 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 thebindingsgrant 50 different roles touser:alice@example.com, and not to any other principal, then you can add another 1,450 principals to thebindingsin thePolicy.
- Etag string
- etagis 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- etagin the read-modify-write cycle to perform policy updates in order to avoid race conditions: An- etagis returned in the response to- getIamPolicy, and systems are expected to put that etag in the request to- setIamPolicyto ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the- etagfield whenever you call- setIamPolicy. If you omit this field, then IAM allows you to overwrite a version- 3policy with a version- 1policy, and all of the conditions in the version- 3policy are lost.
- Rules
List<Pulumi.Google Native. Compute. Beta. 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 theetagfield whenever you callsetIamPolicy. If you omit this field, then IAM allows you to overwrite a version3policy with a version1policy, and all of the conditions in the version3policy 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.
- AuditConfigs []AuditConfig Response 
- Specifies cloud audit logging configuration for this policy.
- Bindings
[]BindingResponse 
- Associates a list of members, or principals, with arole. Optionally, may specify aconditionthat determines how and when thebindingsare applied. Each of thebindingsmust contain at least one principal. Thebindingsin aPolicycan 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 thebindingsgrant 50 different roles touser:alice@example.com, and not to any other principal, then you can add another 1,450 principals to thebindingsin thePolicy.
- Etag string
- etagis 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- etagin the read-modify-write cycle to perform policy updates in order to avoid race conditions: An- etagis returned in the response to- getIamPolicy, and systems are expected to put that etag in the request to- setIamPolicyto ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the- etagfield whenever you call- setIamPolicy. If you omit this field, then IAM allows you to overwrite a version- 3policy with a version- 1policy, and all of the conditions in the version- 3policy are lost.
- Rules
[]RuleResponse 
- 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 theetagfield whenever you callsetIamPolicy. If you omit this field, then IAM allows you to overwrite a version3policy with a version1policy, and all of the conditions in the version3policy 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.
- auditConfigs List<AuditConfig Response> 
- Specifies cloud audit logging configuration for this policy.
- bindings
List<BindingResponse> 
- Associates a list of members, or principals, with arole. Optionally, may specify aconditionthat determines how and when thebindingsare applied. Each of thebindingsmust contain at least one principal. Thebindingsin aPolicycan 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 thebindingsgrant 50 different roles touser:alice@example.com, and not to any other principal, then you can add another 1,450 principals to thebindingsin thePolicy.
- etag String
- etagis 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- etagin the read-modify-write cycle to perform policy updates in order to avoid race conditions: An- etagis returned in the response to- getIamPolicy, and systems are expected to put that etag in the request to- setIamPolicyto ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the- etagfield whenever you call- setIamPolicy. If you omit this field, then IAM allows you to overwrite a version- 3policy with a version- 1policy, and all of the conditions in the version- 3policy are lost.
- rules
List<RuleResponse> 
- 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 theetagfield whenever you callsetIamPolicy. If you omit this field, then IAM allows you to overwrite a version3policy with a version1policy, and all of the conditions in the version3policy 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.
- auditConfigs AuditConfig Response[] 
- Specifies cloud audit logging configuration for this policy.
- bindings
BindingResponse[] 
- Associates a list of members, or principals, with arole. Optionally, may specify aconditionthat determines how and when thebindingsare applied. Each of thebindingsmust contain at least one principal. Thebindingsin aPolicycan 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 thebindingsgrant 50 different roles touser:alice@example.com, and not to any other principal, then you can add another 1,450 principals to thebindingsin thePolicy.
- etag string
- etagis 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- etagin the read-modify-write cycle to perform policy updates in order to avoid race conditions: An- etagis returned in the response to- getIamPolicy, and systems are expected to put that etag in the request to- setIamPolicyto ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the- etagfield whenever you call- setIamPolicy. If you omit this field, then IAM allows you to overwrite a version- 3policy with a version- 1policy, and all of the conditions in the version- 3policy are lost.
- rules
RuleResponse[] 
- 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 theetagfield whenever you callsetIamPolicy. If you omit this field, then IAM allows you to overwrite a version3policy with a version1policy, and all of the conditions in the version3policy 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[BindingResponse] 
- Associates a list of members, or principals, with arole. Optionally, may specify aconditionthat determines how and when thebindingsare applied. Each of thebindingsmust contain at least one principal. Thebindingsin aPolicycan 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 thebindingsgrant 50 different roles touser:alice@example.com, and not to any other principal, then you can add another 1,450 principals to thebindingsin thePolicy.
- etag str
- etagis 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- etagin the read-modify-write cycle to perform policy updates in order to avoid race conditions: An- etagis returned in the response to- getIamPolicy, and systems are expected to put that etag in the request to- setIamPolicyto ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the- etagfield whenever you call- setIamPolicy. If you omit this field, then IAM allows you to overwrite a version- 3policy with a version- 1policy, and all of the conditions in the version- 3policy are lost.
- rules
Sequence[RuleResponse] 
- 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 theetagfield whenever you callsetIamPolicy. If you omit this field, then IAM allows you to overwrite a version3policy with a version1policy, and all of the conditions in the version3policy 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.
- auditConfigs 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 aconditionthat determines how and when thebindingsare applied. Each of thebindingsmust contain at least one principal. Thebindingsin aPolicycan 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 thebindingsgrant 50 different roles touser:alice@example.com, and not to any other principal, then you can add another 1,450 principals to thebindingsin thePolicy.
- etag String
- etagis 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- etagin the read-modify-write cycle to perform policy updates in order to avoid race conditions: An- etagis returned in the response to- getIamPolicy, and systems are expected to put that etag in the request to- setIamPolicyto ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the- etagfield whenever you call- setIamPolicy. If you omit this field, then IAM allows you to overwrite a version- 3policy with a version- 1policy, and all of the conditions in the version- 3policy 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 theetagfield whenever you callsetIamPolicy. If you omit this field, then IAM allows you to overwrite a version3policy with a version1policy, and all of the conditions in the version3policy 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  
- AuditLog List<Pulumi.Configs Google Native. Compute. Beta. Inputs. Audit Log Config Response> 
- The configuration for logging of each type of permission.
- ExemptedMembers List<string>
- This is deprecated and has no effect. Do not use.
- Service string
- Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com,cloudsql.googleapis.com.allServicesis a special value that covers all services.
- AuditLog []AuditConfigs Log Config Response 
- The configuration for logging of each type of permission.
- ExemptedMembers []string
- This is deprecated and has no effect. Do not use.
- Service string
- Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com,cloudsql.googleapis.com.allServicesis a special value that covers all services.
- auditLog List<AuditConfigs Log Config Response> 
- The configuration for logging of each type of permission.
- exemptedMembers List<String>
- This is deprecated and has no effect. Do not use.
- service String
- Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com,cloudsql.googleapis.com.allServicesis a special value that covers all services.
- auditLog AuditConfigs Log Config Response[] 
- The configuration for logging of each type of permission.
- exemptedMembers string[]
- This is deprecated and has no effect. Do not use.
- service string
- Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com,cloudsql.googleapis.com.allServicesis a special value that covers all services.
- audit_log_ Sequence[Auditconfigs Log Config Response] 
- The configuration for logging of each type of permission.
- exempted_members Sequence[str]
- This is deprecated and has no effect. Do not use.
- service str
- Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com,cloudsql.googleapis.com.allServicesis a special value that covers all services.
- auditLog List<Property Map>Configs 
- The configuration for logging of each type of permission.
- exemptedMembers List<String>
- This is deprecated and has no effect. Do not use.
- service String
- Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com,cloudsql.googleapis.com.allServicesis a special value that covers all services.
AuditLogConfigResponse   
- ExemptedMembers List<string>
- Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- IgnoreChild boolExemptions 
- This is deprecated and has no effect. Do not use.
- LogType string
- The log type that this config enables.
- ExemptedMembers []string
- Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- IgnoreChild boolExemptions 
- This is deprecated and has no effect. Do not use.
- LogType string
- The log type that this config enables.
- exemptedMembers List<String>
- Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- ignoreChild BooleanExemptions 
- This is deprecated and has no effect. Do not use.
- logType String
- The log type that this config enables.
- exemptedMembers string[]
- Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- ignoreChild booleanExemptions 
- This is deprecated and has no effect. Do not use.
- logType string
- The log type that this config enables.
- exempted_members Sequence[str]
- Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- ignore_child_ boolexemptions 
- This is deprecated and has no effect. Do not use.
- log_type str
- The log type that this config enables.
- exemptedMembers List<String>
- Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
- ignoreChild BooleanExemptions 
- This is deprecated and has no effect. Do not use.
- logType String
- The log type that this config enables.
AuthorizationLoggingOptionsResponse   
- PermissionType string
- This is deprecated and has no effect. Do not use.
- PermissionType string
- This is deprecated and has no effect. Do not use.
- permissionType String
- This is deprecated and has no effect. Do not use.
- permissionType string
- This is deprecated and has no effect. Do not use.
- permission_type str
- This is deprecated and has no effect. Do not use.
- permissionType String
- This is deprecated and has no effect. Do not use.
BindingResponse 
- BindingId string
- This is deprecated and has no effect. Do not use.
- Condition
Pulumi.Google Native. Compute. Beta. 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 List<string>
- Specifies the principals requesting access for a Google Cloud resource. memberscan 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.comorexample.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 string
- Role that is assigned to the list of members, or principals. For example,roles/viewer,roles/editor, orroles/owner.
- BindingId string
- This is deprecated and has no effect. Do not use.
- Condition
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 []string
- Specifies the principals requesting access for a Google Cloud resource. memberscan 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.comorexample.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 string
- Role that is assigned to the list of members, or principals. For example,roles/viewer,roles/editor, orroles/owner.
- bindingId String
- This is deprecated and has no effect. Do not use.
- condition
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 List<String>
- Specifies the principals requesting access for a Google Cloud resource. memberscan 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.comorexample.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 String
- Role that is assigned to the list of members, or principals. For example,roles/viewer,roles/editor, orroles/owner.
- bindingId string
- This is deprecated and has no effect. Do not use.
- condition
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 string[]
- Specifies the principals requesting access for a Google Cloud resource. memberscan 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.comorexample.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 string
- Role that is assigned to the list of members, or principals. For example,roles/viewer,roles/editor, orroles/owner.
- binding_id str
- This is deprecated and has no effect. Do not use.
- condition
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 Sequence[str]
- Specifies the principals requesting access for a Google Cloud resource. memberscan 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.comorexample.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 str
- Role that is assigned to the list of members, or principals. For example,roles/viewer,roles/editor, orroles/owner.
- bindingId String
- This is deprecated and has no effect. Do not use.
- condition 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 List<String>
- Specifies the principals requesting access for a Google Cloud resource. memberscan 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.comorexample.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 String
- Role that is assigned to the list of members, or principals. For example,roles/viewer,roles/editor, orroles/owner.
ConditionResponse 
- Iam string
- This is deprecated and has no effect. Do not use.
- Op string
- This is deprecated and has no effect. Do not use.
- Svc string
- This is deprecated and has no effect. Do not use.
- Sys string
- This is deprecated and has no effect. Do not use.
- Values List<string>
- This is deprecated and has no effect. Do not use.
- iam String
- This is deprecated and has no effect. Do not use.
- op String
- This is deprecated and has no effect. Do not use.
- svc String
- This is deprecated and has no effect. Do not use.
- sys String
- This is deprecated and has no effect. Do not use.
- values List<String>
- This is deprecated and has no effect. Do not use.
- iam String
- This is deprecated and has no effect. Do not use.
- op String
- This is deprecated and has no effect. Do not use.
- svc String
- This is deprecated and has no effect. Do not use.
- sys String
- This is deprecated and has no effect. Do not use.
- values List<String>
- This is deprecated and has no effect. Do not use.
ExprResponse 
- Description 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 string
- Textual representation of an expression in Common Expression Language syntax.
- Location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title 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 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 string
- Textual representation of an expression in Common Expression Language syntax.
- Location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title 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 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 String
- Textual representation of an expression in Common Expression Language syntax.
- location String
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title 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 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 string
- Textual representation of an expression in Common Expression Language syntax.
- location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title 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 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 str
- Textual representation of an expression in Common Expression Language syntax.
- location str
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title 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 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 String
- Textual representation of an expression in Common Expression Language syntax.
- location String
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title 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     
- 
Pulumi.Google Native. Compute. Beta. Inputs. Authorization Logging Options Response 
- This is deprecated and has no effect. Do not use.
- LogName string
- This is deprecated and has no effect. Do not use.
- 
AuthorizationLogging Options Response 
- This is deprecated and has no effect. Do not use.
- LogName string
- This is deprecated and has no effect. Do not use.
- 
AuthorizationLogging Options Response 
- This is deprecated and has no effect. Do not use.
- logName String
- This is deprecated and has no effect. Do not use.
- 
AuthorizationLogging Options Response 
- This is deprecated and has no effect. Do not use.
- logName string
- This is deprecated and has no effect. Do not use.
- 
AuthorizationLogging Options Response 
- This is deprecated and has no effect. Do not use.
- log_name str
- This is deprecated and has no effect. Do not use.
- Property Map
- This is deprecated and has no effect. Do not use.
- logName String
- This is deprecated and has no effect. Do not use.
LogConfigCounterOptionsCustomFieldResponse      
LogConfigCounterOptionsResponse    
- CustomFields List<Pulumi.Google Native. Compute. Beta. Inputs. Log Config Counter Options Custom Field Response> 
- This is deprecated and has no effect. Do not use.
- Field string
- This is deprecated and has no effect. Do not use.
- Metric string
- This is deprecated and has no effect. Do not use.
- CustomFields []LogConfig Counter Options Custom Field Response 
- This is deprecated and has no effect. Do not use.
- Field string
- This is deprecated and has no effect. Do not use.
- Metric string
- This is deprecated and has no effect. Do not use.
- customFields List<LogConfig Counter Options Custom Field Response> 
- This is deprecated and has no effect. Do not use.
- field String
- This is deprecated and has no effect. Do not use.
- metric String
- This is deprecated and has no effect. Do not use.
- customFields LogConfig Counter Options Custom Field Response[] 
- This is deprecated and has no effect. Do not use.
- field string
- This is deprecated and has no effect. Do not use.
- metric string
- This is deprecated and has no effect. Do not use.
- custom_fields Sequence[LogConfig Counter Options Custom Field Response] 
- This is deprecated and has no effect. Do not use.
- field str
- This is deprecated and has no effect. Do not use.
- metric str
- This is deprecated and has no effect. Do not use.
- customFields List<Property Map>
- This is deprecated and has no effect. Do not use.
- field String
- This is deprecated and has no effect. Do not use.
- metric String
- This is deprecated and has no effect. Do not use.
LogConfigDataAccessOptionsResponse     
- LogMode string
- This is deprecated and has no effect. Do not use.
- LogMode string
- This is deprecated and has no effect. Do not use.
- logMode String
- This is deprecated and has no effect. Do not use.
- logMode string
- This is deprecated and has no effect. Do not use.
- log_mode str
- This is deprecated and has no effect. Do not use.
- logMode String
- This is deprecated and has no effect. Do not use.
LogConfigResponse  
- CloudAudit Pulumi.Google Native. Compute. Beta. Inputs. Log Config Cloud Audit Options Response 
- This is deprecated and has no effect. Do not use.
- Counter
Pulumi.Google Native. Compute. Beta. Inputs. Log Config Counter Options Response 
- This is deprecated and has no effect. Do not use.
- DataAccess Pulumi.Google Native. Compute. Beta. Inputs. Log Config Data Access Options Response 
- This is deprecated and has no effect. Do not use.
- CloudAudit LogConfig Cloud Audit Options Response 
- This is deprecated and has no effect. Do not use.
- Counter
LogConfig Counter Options Response 
- This is deprecated and has no effect. Do not use.
- DataAccess LogConfig Data Access Options Response 
- This is deprecated and has no effect. Do not use.
- cloudAudit LogConfig Cloud Audit Options Response 
- This is deprecated and has no effect. Do not use.
- counter
LogConfig Counter Options Response 
- This is deprecated and has no effect. Do not use.
- dataAccess LogConfig Data Access Options Response 
- This is deprecated and has no effect. Do not use.
- cloudAudit LogConfig Cloud Audit Options Response 
- This is deprecated and has no effect. Do not use.
- counter
LogConfig Counter Options Response 
- This is deprecated and has no effect. Do not use.
- dataAccess LogConfig Data Access Options Response 
- This is deprecated and has no effect. Do not use.
- cloud_audit LogConfig Cloud Audit Options Response 
- This is deprecated and has no effect. Do not use.
- counter
LogConfig Counter Options Response 
- This is deprecated and has no effect. Do not use.
- data_access LogConfig Data Access Options Response 
- This is deprecated and has no effect. Do not use.
- cloudAudit Property Map
- This is deprecated and has no effect. Do not use.
- counter Property Map
- This is deprecated and has no effect. Do not use.
- dataAccess Property Map
- This is deprecated and has no effect. Do not use.
RuleResponse 
- Action string
- This is deprecated and has no effect. Do not use.
- Conditions
List<Pulumi.Google Native. Compute. Beta. Inputs. Condition Response> 
- This is deprecated and has no effect. Do not use.
- Description string
- This is deprecated and has no effect. Do not use.
- Ins List<string>
- This is deprecated and has no effect. Do not use.
- LogConfigs List<Pulumi.Google Native. Compute. Beta. Inputs. Log Config Response> 
- This is deprecated and has no effect. Do not use.
- NotIns List<string>
- This is deprecated and has no effect. Do not use.
- Permissions List<string>
- This is deprecated and has no effect. Do not use.
- Action string
- This is deprecated and has no effect. Do not use.
- Conditions
[]ConditionResponse 
- This is deprecated and has no effect. Do not use.
- Description string
- This is deprecated and has no effect. Do not use.
- Ins []string
- This is deprecated and has no effect. Do not use.
- LogConfigs []LogConfig Response 
- This is deprecated and has no effect. Do not use.
- NotIns []string
- This is deprecated and has no effect. Do not use.
- Permissions []string
- This is deprecated and has no effect. Do not use.
- action String
- This is deprecated and has no effect. Do not use.
- conditions
List<ConditionResponse> 
- This is deprecated and has no effect. Do not use.
- description String
- This is deprecated and has no effect. Do not use.
- ins List<String>
- This is deprecated and has no effect. Do not use.
- logConfigs List<LogConfig Response> 
- This is deprecated and has no effect. Do not use.
- notIns List<String>
- This is deprecated and has no effect. Do not use.
- permissions List<String>
- This is deprecated and has no effect. Do not use.
- action string
- This is deprecated and has no effect. Do not use.
- conditions
ConditionResponse[] 
- This is deprecated and has no effect. Do not use.
- description string
- This is deprecated and has no effect. Do not use.
- ins string[]
- This is deprecated and has no effect. Do not use.
- logConfigs LogConfig Response[] 
- This is deprecated and has no effect. Do not use.
- notIns string[]
- This is deprecated and has no effect. Do not use.
- permissions string[]
- This is deprecated and has no effect. Do not use.
- action str
- This is deprecated and has no effect. Do not use.
- conditions
Sequence[ConditionResponse] 
- This is deprecated and has no effect. Do not use.
- description str
- This is deprecated and has no effect. Do not use.
- ins Sequence[str]
- This is deprecated and has no effect. Do not use.
- log_configs Sequence[LogConfig Response] 
- This is deprecated and has no effect. Do not use.
- not_ins Sequence[str]
- This is deprecated and has no effect. Do not use.
- permissions Sequence[str]
- This is deprecated and has no effect. Do not use.
- action String
- This is deprecated and has no effect. Do not use.
- conditions List<Property Map>
- This is deprecated and has no effect. Do not use.
- description String
- This is deprecated and has no effect. Do not use.
- ins List<String>
- This is deprecated and has no effect. Do not use.
- logConfigs List<Property Map>
- This is deprecated and has no effect. Do not use.
- notIns List<String>
- This is deprecated and has no effect. Do not use.
- permissions 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi