Interface AddGranteesRequestOrBuilder

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

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

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

    • getDataPolicy

      String getDataPolicy()
       Required. Resource name of this data policy, in the format of
       `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.
       
      string data_policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The dataPolicy.
    • getDataPolicyBytes

      com.google.protobuf.ByteString getDataPolicyBytes()
       Required. Resource name of this data policy, in the format of
       `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.
       
      string data_policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for dataPolicy.
    • getGranteesList

      List<String> getGranteesList()
       Required. IAM principal that should be granted Fine Grained Access to the
       underlying data goverened by the data policy. The target data policy is
       determined by the `data_policy` field.
      
       Uses the [IAM V2 principal
       syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2).
       Supported principal types:
      
       * User
       * Group
       * Service account
       
      repeated string grantees = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the grantees.
    • getGranteesCount

      int getGranteesCount()
       Required. IAM principal that should be granted Fine Grained Access to the
       underlying data goverened by the data policy. The target data policy is
       determined by the `data_policy` field.
      
       Uses the [IAM V2 principal
       syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2).
       Supported principal types:
      
       * User
       * Group
       * Service account
       
      repeated string grantees = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The count of grantees.
    • getGrantees

      String getGrantees(int index)
       Required. IAM principal that should be granted Fine Grained Access to the
       underlying data goverened by the data policy. The target data policy is
       determined by the `data_policy` field.
      
       Uses the [IAM V2 principal
       syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2).
       Supported principal types:
      
       * User
       * Group
       * Service account
       
      repeated string grantees = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The grantees at the given index.
    • getGranteesBytes

      com.google.protobuf.ByteString getGranteesBytes(int index)
       Required. IAM principal that should be granted Fine Grained Access to the
       underlying data goverened by the data policy. The target data policy is
       determined by the `data_policy` field.
      
       Uses the [IAM V2 principal
       syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2).
       Supported principal types:
      
       * User
       * Group
       * Service account
       
      repeated string grantees = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the grantees at the given index.