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
@Generated
public interface ListServiceAccountKeysRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKeyTypes(int index) Filters the types of keys the user wants to include in the list response.intFilters the types of keys the user wants to include in the list response.Filters the types of keys the user wants to include in the list response.intgetKeyTypesValue(int index) Filters the types of keys the user wants to include in the list response.Filters the types of keys the user wants to include in the list response.getName()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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.
-