Interface CreatePolicyBindingRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreatePolicyBindingRequest, CreatePolicyBindingRequest.Builder

@Generated public interface CreatePolicyBindingRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. The parent resource where this policy binding will be created.
       The binding parent is the closest Resource Manager resource (project,
       folder or organization) to the binding target.
      
       Format:
      
       * `projects/{project_id}/locations/{location}`
       * `projects/{project_number}/locations/{location}`
       * `folders/{folder_id}/locations/{location}`
       * `organizations/{organization_id}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this policy binding will be created.
       The binding parent is the closest Resource Manager resource (project,
       folder or organization) to the binding target.
      
       Format:
      
       * `projects/{project_id}/locations/{location}`
       * `projects/{project_number}/locations/{location}`
       * `folders/{folder_id}/locations/{location}`
       * `organizations/{organization_id}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getPolicyBindingId

      String getPolicyBindingId()
       Required. The ID to use for the policy binding, which will become the final
       component of the policy binding's resource name.
      
       This value must start with a lowercase letter followed by up to 62
       lowercase letters, numbers, hyphens, or dots. Pattern,
       /[a-z][a-z0-9-\.]{2,62}/.
       
      string policy_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The policyBindingId.
    • getPolicyBindingIdBytes

      com.google.protobuf.ByteString getPolicyBindingIdBytes()
       Required. The ID to use for the policy binding, which will become the final
       component of the policy binding's resource name.
      
       This value must start with a lowercase letter followed by up to 62
       lowercase letters, numbers, hyphens, or dots. Pattern,
       /[a-z][a-z0-9-\.]{2,62}/.
       
      string policy_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for policyBindingId.
    • hasPolicyBinding

      boolean hasPolicyBinding()
       Required. The policy binding to create.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the policyBinding field is set.
    • getPolicyBinding

      PolicyBinding getPolicyBinding()
       Required. The policy binding to create.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The policyBinding.
    • getPolicyBindingOrBuilder

      PolicyBindingOrBuilder getPolicyBindingOrBuilder()
       Required. The policy binding to create.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];
    • getValidateOnly

      boolean getValidateOnly()
       Optional. If set, validate the request and preview the creation, but do not
       actually post it.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The validateOnly.