Interface SearchTargetPolicyBindingsRequestOrBuilder

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

@Generated public interface SearchTargetPolicyBindingsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    int
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTarget

      String getTarget()
       Required. The target resource, which is bound to the policy in the binding.
      
       Format:
      
       * `//iam.googleapis.com/locations/global/workforcePools/POOL_ID`
       * `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID`
       * `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
       * `//cloudresourcemanager.googleapis.com/projects/{project_number}`
       * `//cloudresourcemanager.googleapis.com/folders/{folder_id}`
       * `//cloudresourcemanager.googleapis.com/organizations/{organization_id}`
       
      string target = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The target.
    • getTargetBytes

      com.google.protobuf.ByteString getTargetBytes()
       Required. The target resource, which is bound to the policy in the binding.
      
       Format:
      
       * `//iam.googleapis.com/locations/global/workforcePools/POOL_ID`
       * `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID`
       * `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
       * `//cloudresourcemanager.googleapis.com/projects/{project_number}`
       * `//cloudresourcemanager.googleapis.com/folders/{folder_id}`
       * `//cloudresourcemanager.googleapis.com/organizations/{organization_id}`
       
      string target = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for target.
    • getPageSize

      int getPageSize()
       Optional. The maximum number of policy bindings to return. The service may
       return fewer than this value.
      
       The default value is 50. The maximum value is 1000.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The pageSize.
    • getPageToken

      String getPageToken()
       Optional. A page token, received from a previous
       `SearchTargetPolicyBindingsRequest` call. Provide this to retrieve the
       subsequent page.
      
       When paginating, all other parameters provided to
       `SearchTargetPolicyBindingsRequest` must match the call that provided the
       page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The pageToken.
    • getPageTokenBytes

      com.google.protobuf.ByteString getPageTokenBytes()
       Optional. A page token, received from a previous
       `SearchTargetPolicyBindingsRequest` call. Provide this to retrieve the
       subsequent page.
      
       When paginating, all other parameters provided to
       `SearchTargetPolicyBindingsRequest` must match the call that provided the
       page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for pageToken.
    • getParent

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

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this search will be performed. This
       should be the nearest Resource Manager resource (project, folder, or
       organization) to the target.
      
       Format:
      
       * `projects/{project_id}/locations/{location}`
       * `projects/{project_number}/locations/{location}`
       * `folders/{folder_id}/locations/{location}`
       * `organizations/{organization_id}/locations/{location}`
       
      string parent = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getFilter

      String getFilter()
       Optional. Filtering currently only supports the kind of policies to return,
       and must be in the format "policy_kind={policy_kind}".
      
       If String is empty, bindings bound to all kinds of policies would be
       returned.
      
       The only supported values are the following:
      
       * "policy_kind=PRINCIPAL_ACCESS_BOUNDARY",
       * "policy_kind=ACCESS"
       
      string filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The filter.
    • getFilterBytes

      com.google.protobuf.ByteString getFilterBytes()
       Optional. Filtering currently only supports the kind of policies to return,
       and must be in the format "policy_kind={policy_kind}".
      
       If String is empty, bindings bound to all kinds of policies would be
       returned.
      
       The only supported values are the following:
      
       * "policy_kind=PRINCIPAL_ACCESS_BOUNDARY",
       * "policy_kind=ACCESS"
       
      string filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for filter.