Interface ListServiceAccountKeysRequestOrBuilder (3.27.0)

public interface ListServiceAccountKeysRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyTypes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ListServiceAccountKeysRequest.KeyType

The keyTypes at the given index.

getKeyTypesCount()

public abstract 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
TypeDescription
int

The count of keyTypes.

getKeyTypesList()

public abstract 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
TypeDescription
List<KeyType>

A list containing the keyTypes.

getKeyTypesValue(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of keyTypes at the given index.

getKeyTypesValueList()

public abstract 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
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for keyTypes.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.