Package com.google.iam.v1
Interface TestIamPermissionsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TestIamPermissionsRequest,TestIamPermissionsRequest.Builder
public interface TestIamPermissionsRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPermissions(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`.intThe set of permissions to check for the `resource`.The set of permissions to check for the `resource`.REQUIRED: The resource for which the policy detail is being requested.com.google.protobuf.ByteStringREQUIRED: The resource for which the policy detail is being requested.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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 [json_name = "resource", (.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 [json_name = "resource", (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resource.
-
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 [json_name = "permissions", (.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 [json_name = "permissions", (.google.api.field_behavior) = REQUIRED];- Returns:
- The count of permissions.
-
getPermissions
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 [json_name = "permissions", (.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 [json_name = "permissions", (.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The permissions at the given index.
-