public static interface OAuthCredentials.TokenBasedOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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. |