Interface BatchGetEffectiveIamPoliciesRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getNames(int index)
    Required.
    com.google.protobuf.ByteString
    getNamesBytes(int index)
    Required.
    int
    Required.
    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

    • getScope

      String getScope()
       Required. Only IAM policies on or below the scope will be returned.
      
       This can only be an organization number (such as "organizations/123"), a
       folder number (such as "folders/123"), a project ID (such as
       "projects/my-project-id"), or a project number (such as "projects/12345").
      
       To know how to get organization ID, visit [here
       ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
      
       To know how to get folder or project ID, visit [here
       ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
       
      string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The scope.
    • getScopeBytes

      com.google.protobuf.ByteString getScopeBytes()
       Required. Only IAM policies on or below the scope will be returned.
      
       This can only be an organization number (such as "organizations/123"), a
       folder number (such as "folders/123"), a project ID (such as
       "projects/my-project-id"), or a project number (such as "projects/12345").
      
       To know how to get organization ID, visit [here
       ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
      
       To know how to get folder or project ID, visit [here
       ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
       
      string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for scope.
    • getNamesList

      List<String> getNamesList()
       Required. The names refer to the [full_resource_names]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the asset types [supported by search
       APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
       A maximum of 20 resources' effective policies can be retrieved in a batch.
       
      repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the names.
    • getNamesCount

      int getNamesCount()
       Required. The names refer to the [full_resource_names]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the asset types [supported by search
       APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
       A maximum of 20 resources' effective policies can be retrieved in a batch.
       
      repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The count of names.
    • getNames

      String getNames(int index)
       Required. The names refer to the [full_resource_names]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the asset types [supported by search
       APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
       A maximum of 20 resources' effective policies can be retrieved in a batch.
       
      repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The names at the given index.
    • getNamesBytes

      com.google.protobuf.ByteString getNamesBytes(int index)
       Required. The names refer to the [full_resource_names]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the asset types [supported by search
       APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
       A maximum of 20 resources' effective policies can be retrieved in a batch.
       
      repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the names at the given index.