Interface PushConfig.OidcTokenOrBuilder (1.125.13)

public static interface PushConfig.OidcTokenOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudience()

public abstract String getAudience()

Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.

string audience = 2;

Returns
TypeDescription
String

The audience.

getAudienceBytes()

public abstract ByteString getAudienceBytes()

Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.

string audience = 2;

Returns
TypeDescription
ByteString

The bytes for audience.

getServiceAccountEmail()

public abstract String getServiceAccountEmail()

Service account email used for generating the OIDC token. For more information on setting up authentication, see Push subscriptions.

string service_account_email = 1;

Returns
TypeDescription
String

The serviceAccountEmail.

getServiceAccountEmailBytes()

public abstract ByteString getServiceAccountEmailBytes()

Service account email used for generating the OIDC token. For more information on setting up authentication, see Push subscriptions.

string service_account_email = 1;

Returns
TypeDescription
ByteString

The bytes for serviceAccountEmail.