Package com.google.iam.admin.v1
Interface ListServiceAccountKeysRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListServiceAccountKeysRequest
,ListServiceAccountKeysRequest.Builder
public interface ListServiceAccountKeysRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListServiceAccountKeysRequest.KeyType
getKeyTypes(int index)
Filters the types of keys the user wants to include in the list response.int
getKeyTypesCount()
Filters the types of keys the user wants to include in the list response.List<ListServiceAccountKeysRequest.KeyType>
getKeyTypesList()
Filters the types of keys the user wants to include in the list response.int
getKeyTypesValue(int index)
Filters the types of keys the user wants to include in the list response.List<Integer>
getKeyTypesValueList()
Filters the types of keys the user wants to include in the list response.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
getKeyTypesList
List<ListServiceAccountKeysRequest.KeyType> getKeyTypesList()
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
- Returns:
- A list containing the keyTypes.
-
getKeyTypesCount
int getKeyTypesCount()
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
- Returns:
- The count of keyTypes.
-
getKeyTypes
ListServiceAccountKeysRequest.KeyType getKeyTypes(int index)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The keyTypes at the given index.
-
getKeyTypesValueList
List<Integer> getKeyTypesValueList()
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
- Returns:
- A list containing the enum numeric values on the wire for keyTypes.
-
getKeyTypesValue
int getKeyTypesValue(int index)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of keyTypes at the given index.
-
-