Interface PrincipalAccessBoundaryPolicyRuleOrBuilder

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

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

    • getDescription

      String getDescription()
       Optional. The description of the principal access boundary policy rule.
       Must be less than or equal to 256 characters.
       
      string description = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the principal access boundary policy rule.
       Must be less than or equal to 256 characters.
       
      string description = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • getResourcesList

      List<String> getResourcesList()
       Required. A list of Resource Manager resources. If a resource is listed in
       the rule, then the rule applies for that resource and its descendants. The
       number of resources in a policy is limited to 500 across all rules in the
       policy.
      
       The following resource types are supported:
      
       * Organizations, such as
       `//cloudresourcemanager.googleapis.com/organizations/123`.
       * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
       * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
       or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the resources.
    • getResourcesCount

      int getResourcesCount()
       Required. A list of Resource Manager resources. If a resource is listed in
       the rule, then the rule applies for that resource and its descendants. The
       number of resources in a policy is limited to 500 across all rules in the
       policy.
      
       The following resource types are supported:
      
       * Organizations, such as
       `//cloudresourcemanager.googleapis.com/organizations/123`.
       * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
       * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
       or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The count of resources.
    • getResources

      String getResources(int index)
       Required. A list of Resource Manager resources. If a resource is listed in
       the rule, then the rule applies for that resource and its descendants. The
       number of resources in a policy is limited to 500 across all rules in the
       policy.
      
       The following resource types are supported:
      
       * Organizations, such as
       `//cloudresourcemanager.googleapis.com/organizations/123`.
       * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
       * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
       or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The resources at the given index.
    • getResourcesBytes

      com.google.protobuf.ByteString getResourcesBytes(int index)
       Required. A list of Resource Manager resources. If a resource is listed in
       the rule, then the rule applies for that resource and its descendants. The
       number of resources in a policy is limited to 500 across all rules in the
       policy.
      
       The following resource types are supported:
      
       * Organizations, such as
       `//cloudresourcemanager.googleapis.com/organizations/123`.
       * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
       * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
       or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resources at the given index.
    • getEffectValue

      int getEffectValue()
       Required. The access relationship of principals to the resources in this
       rule.
       
      .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for effect.
    • getEffect

       Required. The access relationship of principals to the resources in this
       rule.
       
      .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The effect.