1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/beta
  6. getNodeTemplateIamPolicy

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.getNodeTemplateIamPolicy

Explore with Pulumi AI

google-native logo

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 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:compute/beta:getNodeTemplateIamPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getNodeTemplateIamPolicy Result

    The following output properties are available:

    AuditConfigs List<Pulumi.GoogleNative.Compute.Beta.Outputs.AuditConfigResponse>
    Specifies cloud audit logging configuration for this policy.
    Bindings List<Pulumi.GoogleNative.Compute.Beta.Outputs.BindingResponse>
    Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal. The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.
    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 the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.
    Rules List<Pulumi.GoogleNative.Compute.Beta.Outputs.RuleResponse>
    This is deprecated and has no effect. Do not use.
    Version int
    Specifies the format of the policy. Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    AuditConfigs []AuditConfigResponse
    Specifies cloud audit logging configuration for this policy.
    Bindings []BindingResponse
    Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal. The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.
    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 the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.
    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, and 3. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    auditConfigs List<AuditConfigResponse>
    Specifies cloud audit logging configuration for this policy.
    bindings List<BindingResponse>
    Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal. The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.
    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 the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.
    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, and 3. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    auditConfigs AuditConfigResponse[]
    Specifies cloud audit logging configuration for this policy.
    bindings BindingResponse[]
    Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal. The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.
    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 the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.
    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, and 3. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    audit_configs Sequence[AuditConfigResponse]
    Specifies cloud audit logging configuration for this policy.
    bindings Sequence[BindingResponse]
    Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal. The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.
    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 the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.
    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, and 3. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    auditConfigs List<Property Map>
    Specifies cloud audit logging configuration for this policy.
    bindings List<Property Map>
    Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal. The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.
    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 the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.
    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, and 3. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.

    Supporting Types

    AuditConfigResponse

    AuditLogConfigs List<Pulumi.GoogleNative.Compute.Beta.Inputs.AuditLogConfigResponse>
    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. allServices is a special value that covers all services.
    AuditLogConfigs []AuditLogConfigResponse
    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. allServices is a special value that covers all services.
    auditLogConfigs List<AuditLogConfigResponse>
    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. allServices is a special value that covers all services.
    auditLogConfigs AuditLogConfigResponse[]
    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. allServices is a special value that covers all services.
    audit_log_configs Sequence[AuditLogConfigResponse]
    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. allServices is a special value that covers all services.
    auditLogConfigs List<Property Map>
    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. allServices is 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.
    IgnoreChildExemptions bool
    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.
    IgnoreChildExemptions bool
    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.
    ignoreChildExemptions Boolean
    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.
    ignoreChildExemptions boolean
    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_exemptions bool
    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.
    ignoreChildExemptions Boolean
    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.GoogleNative.Compute.Beta.Inputs.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 to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    Members 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 or example.com. * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. * deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. * deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.
    Role string
    Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/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 to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    Members []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 or example.com. * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. * deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. * deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.
    Role string
    Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/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 to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    members 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 or example.com. * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. * deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. * deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.
    role String
    Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/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 to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    members 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 or example.com. * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. * deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. * deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.
    role string
    Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/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 to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    members 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 or example.com. * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. * deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. * deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.
    role str
    Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/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 to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the IAM documentation.
    members 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 or example.com. * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. * deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. * deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.
    role String
    Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/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 []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 string[]
    This is deprecated and has no effect. Do not use.
    iam str
    This is deprecated and has no effect. Do not use.
    op str
    This is deprecated and has no effect. Do not use.
    svc str
    This is deprecated and has no effect. Do not use.
    sys str
    This is deprecated and has no effect. Do not use.
    values Sequence[str]
    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

    AuthorizationLoggingOptions Pulumi.GoogleNative.Compute.Beta.Inputs.AuthorizationLoggingOptionsResponse
    This is deprecated and has no effect. Do not use.
    LogName string
    This is deprecated and has no effect. Do not use.
    AuthorizationLoggingOptions AuthorizationLoggingOptionsResponse
    This is deprecated and has no effect. Do not use.
    LogName string
    This is deprecated and has no effect. Do not use.
    authorizationLoggingOptions AuthorizationLoggingOptionsResponse
    This is deprecated and has no effect. Do not use.
    logName String
    This is deprecated and has no effect. Do not use.
    authorizationLoggingOptions AuthorizationLoggingOptionsResponse
    This is deprecated and has no effect. Do not use.
    logName string
    This is deprecated and has no effect. Do not use.
    authorization_logging_options AuthorizationLoggingOptionsResponse
    This is deprecated and has no effect. Do not use.
    log_name str
    This is deprecated and has no effect. Do not use.
    authorizationLoggingOptions 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

    Name string
    This is deprecated and has no effect. Do not use.
    Value string
    This is deprecated and has no effect. Do not use.
    Name string
    This is deprecated and has no effect. Do not use.
    Value string
    This is deprecated and has no effect. Do not use.
    name String
    This is deprecated and has no effect. Do not use.
    value String
    This is deprecated and has no effect. Do not use.
    name string
    This is deprecated and has no effect. Do not use.
    value string
    This is deprecated and has no effect. Do not use.
    name str
    This is deprecated and has no effect. Do not use.
    value str
    This is deprecated and has no effect. Do not use.
    name String
    This is deprecated and has no effect. Do not use.
    value String
    This is deprecated and has no effect. Do not use.

    LogConfigCounterOptionsResponse

    CustomFields List<Pulumi.GoogleNative.Compute.Beta.Inputs.LogConfigCounterOptionsCustomFieldResponse>
    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 []LogConfigCounterOptionsCustomFieldResponse
    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<LogConfigCounterOptionsCustomFieldResponse>
    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 LogConfigCounterOptionsCustomFieldResponse[]
    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[LogConfigCounterOptionsCustomFieldResponse]
    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 LogConfigCloudAuditOptionsResponse
    This is deprecated and has no effect. Do not use.
    Counter LogConfigCounterOptionsResponse
    This is deprecated and has no effect. Do not use.
    DataAccess LogConfigDataAccessOptionsResponse
    This is deprecated and has no effect. Do not use.
    cloudAudit LogConfigCloudAuditOptionsResponse
    This is deprecated and has no effect. Do not use.
    counter LogConfigCounterOptionsResponse
    This is deprecated and has no effect. Do not use.
    dataAccess LogConfigDataAccessOptionsResponse
    This is deprecated and has no effect. Do not use.
    cloudAudit LogConfigCloudAuditOptionsResponse
    This is deprecated and has no effect. Do not use.
    counter LogConfigCounterOptionsResponse
    This is deprecated and has no effect. Do not use.
    dataAccess LogConfigDataAccessOptionsResponse
    This is deprecated and has no effect. Do not use.
    cloud_audit LogConfigCloudAuditOptionsResponse
    This is deprecated and has no effect. Do not use.
    counter LogConfigCounterOptionsResponse
    This is deprecated and has no effect. Do not use.
    data_access LogConfigDataAccessOptionsResponse
    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.GoogleNative.Compute.Beta.Inputs.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<Pulumi.GoogleNative.Compute.Beta.Inputs.LogConfigResponse>
    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 []LogConfigResponse
    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<LogConfigResponse>
    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 LogConfigResponse[]
    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[LogConfigResponse]
    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-native logo

    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