Package com.google.cloud.compute.v1
Interface TestPermissionsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TestPermissionsRequest
,TestPermissionsRequest.Builder
public interface TestPermissionsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPermissions(int index)
The set of permissions to check for the 'resource'.com.google.protobuf.ByteString
getPermissionsBytes(int index)
The set of permissions to check for the 'resource'.int
getPermissionsCount()
The set of permissions to check for the 'resource'.List<String>
getPermissionsList()
The set of permissions to check for the 'resource'.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPermissionsList
List<String> getPermissionsList()
The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
repeated string permissions = 59962500;
- 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.
repeated string permissions = 59962500;
- 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.
repeated string permissions = 59962500;
- 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.
repeated string permissions = 59962500;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the permissions at the given index.
-
-