Package com.google.iam.v1
Interface TestIamPermissionsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TestIamPermissionsRequest,TestIamPermissionsRequest.Builder
public interface TestIamPermissionsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetPermissions(int index)The set of permissions to check for the `resource`.com.google.protobuf.ByteStringgetPermissionsBytes(int index)The set of permissions to check for the `resource`.intgetPermissionsCount()The set of permissions to check for the `resource`.List<String>getPermissionsList()The set of permissions to check for the `resource`.StringgetResource()REQUIRED: The resource for which the policy detail is being requested.com.google.protobuf.ByteStringgetResourceBytes()REQUIRED: The resource for which the policy detail is being requested.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResource
String getResource()
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The resource.
-
getResourceBytes
com.google.protobuf.ByteString getResourceBytes()
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resource.
-
getPermissionsList
List<String> getPermissionsList()
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the permissions.
-
getPermissionsCount
int getPermissionsCount()
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of permissions.
-
getPermissions
String getPermissions(int index)
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The permissions at the given index.
-
getPermissionsBytes
com.google.protobuf.ByteString getPermissionsBytes(int index)
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the permissions at the given index.
-
-