Class GetIAMPolicyBinding.Builder
- java.lang.Object
-
- com.pulumi.gcp.organizations.inputs.GetIAMPolicyBinding.Builder
-
- Enclosing class:
- GetIAMPolicyBinding
public static final class GetIAMPolicyBinding.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetIAMPolicyBinding defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetIAMPolicyBinding
build()
GetIAMPolicyBinding.Builder
condition(GetIAMPolicyBindingCondition condition)
GetIAMPolicyBinding.Builder
members(java.lang.String... members)
GetIAMPolicyBinding.Builder
members(java.util.List<java.lang.String> members)
GetIAMPolicyBinding.Builder
role(java.lang.String role)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetIAMPolicyBinding defaults)
-
-
Method Detail
-
condition
public GetIAMPolicyBinding.Builder condition(@Nullable GetIAMPolicyBindingCondition condition)
- Parameters:
condition
- An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.- Returns:
- builder
-
members
public GetIAMPolicyBinding.Builder members(java.util.List<java.lang.String> members)
- Parameters:
members
- An array of identities that will be granted the privilege in the `role`. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. Some resources **don't** support this identity. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. Some resources **don't** support this identity. * **user:{emailid}**: An email address that represents a specific Google account. For example, [email protected]. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected]. * **group:{emailid}**: An email address that represents a Google group. For example, [email protected]. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.- Returns:
- builder
-
members
public GetIAMPolicyBinding.Builder members(java.lang.String... members)
- Parameters:
members
- An array of identities that will be granted the privilege in the `role`. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. Some resources **don't** support this identity. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. Some resources **don't** support this identity. * **user:{emailid}**: An email address that represents a specific Google account. For example, [email protected]. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected]. * **group:{emailid}**: An email address that represents a Google group. For example, [email protected]. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.- Returns:
- builder
-
role
public GetIAMPolicyBinding.Builder role(java.lang.String role)
- Parameters:
role
- The role/permission that will be granted to the members. See the [IAM Roles](https://cloud.google.com/compute/docs/access/iam) documentation for a complete list of roles. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.- Returns:
- builder
-
build
public GetIAMPolicyBinding build()
-
-