Interface PolicyBinding.TargetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PolicyBinding.Target, PolicyBinding.Target.Builder
Enclosing class:
PolicyBinding

public static interface PolicyBinding.TargetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
     
    boolean
    Immutable.
    boolean
    Immutable.

    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

    • hasPrincipalSet

      boolean hasPrincipalSet()
       Immutable. The full resource name that's used for principal access
       boundary policy bindings. The principal set must be directly parented
       by the policy binding's parent or same as the parent if the target is a
       project, folder, or organization.
      
       Examples:
      
       * For bindings parented by an organization:
       * Organization:
       `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
       * Workforce Identity:
       `//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID`
       * Workspace Identity:
       `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
       * For bindings parented by a folder:
       * Folder:
       `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
       * For bindings parented by a project:
       * Project:
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
       * Workload Identity Pool:
       `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID`
       
      string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the principalSet field is set.
    • getPrincipalSet

      String getPrincipalSet()
       Immutable. The full resource name that's used for principal access
       boundary policy bindings. The principal set must be directly parented
       by the policy binding's parent or same as the parent if the target is a
       project, folder, or organization.
      
       Examples:
      
       * For bindings parented by an organization:
       * Organization:
       `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
       * Workforce Identity:
       `//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID`
       * Workspace Identity:
       `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
       * For bindings parented by a folder:
       * Folder:
       `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
       * For bindings parented by a project:
       * Project:
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
       * Workload Identity Pool:
       `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID`
       
      string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The principalSet.
    • getPrincipalSetBytes

      com.google.protobuf.ByteString getPrincipalSetBytes()
       Immutable. The full resource name that's used for principal access
       boundary policy bindings. The principal set must be directly parented
       by the policy binding's parent or same as the parent if the target is a
       project, folder, or organization.
      
       Examples:
      
       * For bindings parented by an organization:
       * Organization:
       `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
       * Workforce Identity:
       `//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID`
       * Workspace Identity:
       `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
       * For bindings parented by a folder:
       * Folder:
       `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
       * For bindings parented by a project:
       * Project:
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
       * Workload Identity Pool:
       `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID`
       
      string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for principalSet.
    • hasResource

      boolean hasResource()
       Immutable. The full resource name that's used for access policy
       bindings.
      
       Examples:
      
       * Organization:
       `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
       * Folder: `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
       * Project:
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
       
      string resource = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the resource field is set.
    • getResource

      String getResource()
       Immutable. The full resource name that's used for access policy
       bindings.
      
       Examples:
      
       * Organization:
       `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
       * Folder: `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
       * Project:
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
       
      string resource = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The resource.
    • getResourceBytes

      com.google.protobuf.ByteString getResourceBytes()
       Immutable. The full resource name that's used for access policy
       bindings.
      
       Examples:
      
       * Organization:
       `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
       * Folder: `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
       * Project:
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
       * `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
       
      string resource = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for resource.
    • getTargetCase