Interface RemoveGranteesRequestOrBuilder (0.65.0)

public interface RemoveGranteesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataPolicy()

public abstract 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
Type Description
String

The dataPolicy.

getDataPolicyBytes()

public abstract 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
Type Description
ByteString

The bytes for dataPolicy.

getGrantees(int index)

public abstract String getGrantees(int index)

Required. IAM principal that should be revoked from 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. Supported principal types:

  • User
  • Group
  • Service account

repeated string grantees = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The grantees at the given index.

getGranteesBytes(int index)

public abstract ByteString getGranteesBytes(int index)

Required. IAM principal that should be revoked from 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. Supported principal types:

  • User
  • Group
  • Service account

repeated string grantees = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the grantees at the given index.

getGranteesCount()

public abstract int getGranteesCount()

Required. IAM principal that should be revoked from 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. Supported principal types:

  • User
  • Group
  • Service account

repeated string grantees = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of grantees.

getGranteesList()

public abstract List<String> getGranteesList()

Required. IAM principal that should be revoked from 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. Supported principal types:

  • User
  • Group
  • Service account

repeated string grantees = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the grantees.