Class IAMBindingArgs.Builder

  • Enclosing class:
    IAMBindingArgs

    public static final class IAMBindingArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • folder

        public IAMBindingArgs.Builder folder​(com.pulumi.core.Output<java.lang.String> folder)
        Parameters:
        folder - The resource name of the folder the policy is attached to. Its format is folders/{folder_id}.
        Returns:
        builder
      • folder

        public IAMBindingArgs.Builder folder​(java.lang.String folder)
        Parameters:
        folder - The resource name of the folder the policy is attached to. Its format is folders/{folder_id}.
        Returns:
        builder
      • members

        public IAMBindingArgs.Builder members​(com.pulumi.core.Output<java.util.List<java.lang.String>> members)
        Parameters:
        members - An array of identities that will be granted the privilege in the `role`. Each entry can have one of the following values: * **user:{emailid}**: An email address that is associated with 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. * For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
        Returns:
        builder
      • members

        public IAMBindingArgs.Builder members​(java.util.List<java.lang.String> members)
        Parameters:
        members - An array of identities that will be granted the privilege in the `role`. Each entry can have one of the following values: * **user:{emailid}**: An email address that is associated with 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. * For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
        Returns:
        builder
      • members

        public IAMBindingArgs.Builder members​(java.lang.String... members)
        Parameters:
        members - An array of identities that will be granted the privilege in the `role`. Each entry can have one of the following values: * **user:{emailid}**: An email address that is associated with 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. * For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
        Returns:
        builder
      • role

        public IAMBindingArgs.Builder role​(com.pulumi.core.Output<java.lang.String> role)
        Parameters:
        role - The role that should be applied. Only one `gcp.folder.IAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
        Returns:
        builder
      • role

        public IAMBindingArgs.Builder role​(java.lang.String role)
        Parameters:
        role - The role that should be applied. Only one `gcp.folder.IAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
        Returns:
        builder