Interface OAuthCredentials.TokenBasedOrBuilder (0.1.0)

public static interface OAuthCredentials.TokenBasedOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessToken()

public abstract String getAccessToken()

Required. The name of the secret containing the access token.

string access_token = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The accessToken.

getAccessTokenBytes()

public abstract ByteString getAccessTokenBytes()

Required. The name of the secret containing the access token.

string access_token = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for accessToken.