Interface GcpCredentialsOrBuilder (0.38.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
List<ByteString>

A list containing the idTokens.