Interface CreateAccessPolicyRequestOrBuilder

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

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

    • getParent

      String getParent()
       Required. The parent resource where this access policy will be created.
      
       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 access policy will be created.
      
       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.
    • getAccessPolicyId

      String getAccessPolicyId()
       Required. The ID to use for the access policy, which
       will become the final component of the access policy'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}/.
      
       This value must be unique among all access policies with the same parent.
       
      string access_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The accessPolicyId.
    • getAccessPolicyIdBytes

      com.google.protobuf.ByteString getAccessPolicyIdBytes()
       Required. The ID to use for the access policy, which
       will become the final component of the access policy'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}/.
      
       This value must be unique among all access policies with the same parent.
       
      string access_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for accessPolicyId.
    • hasAccessPolicy

      boolean hasAccessPolicy()
       Required. The access policy to create.
       
      .google.iam.v3beta.AccessPolicy access_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the accessPolicy field is set.
    • getAccessPolicy

      AccessPolicy getAccessPolicy()
       Required. The access policy to create.
       
      .google.iam.v3beta.AccessPolicy access_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The accessPolicy.
    • getAccessPolicyOrBuilder

      AccessPolicyOrBuilder getAccessPolicyOrBuilder()
       Required. The access policy to create.
       
      .google.iam.v3beta.AccessPolicy access_policy = 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.