Interface GcpCredentialsOrBuilder (0.20.0)

public interface GcpCredentialsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdTokens(int index)

public abstract ByteString getIdTokens(int index)

A list of service account OpenID Connect ID tokens identifying which service account identities should be included in the claims_token. These can be generated by calling serviceAccounts.generateIdToken. The Challenge.name must be used as the audience parameter, and the

includeEmail parameter must be true.

repeated bytes id_tokens = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ByteString

The idTokens at the given index.

getIdTokensCount()

public abstract int getIdTokensCount()

A list of service account OpenID Connect ID tokens identifying which service account identities should be included in the claims_token. These can be generated by calling serviceAccounts.generateIdToken. The Challenge.name must be used as the audience parameter, and the

includeEmail parameter must be true.

repeated bytes id_tokens = 1;

Returns
TypeDescription
int

The count of idTokens.

getIdTokensList()

public abstract List<ByteString> getIdTokensList()

A list of service account OpenID Connect ID tokens identifying which service account identities should be included in the claims_token. These can be generated by calling serviceAccounts.generateIdToken. The Challenge.name must be used as the audience parameter, and the

includeEmail parameter must be true.

repeated bytes id_tokens = 1;

Returns
TypeDescription
List<ByteString>

A list containing the idTokens.