Interface Tool.Authentication.BearerTokenConfigOrBuilder (0.65.0)

public static interface Tool.Authentication.BearerTokenConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getToken()

public abstract String getToken()

Required. The text token appended to the text Bearer to the request Authorization header. Session parameters reference can be used to pass the token dynamically, e.g. $session.params.parameter-id.

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

Returns
Type Description
String

The token.

getTokenBytes()

public abstract ByteString getTokenBytes()

Required. The text token appended to the text Bearer to the request Authorization header. Session parameters reference can be used to pass the token dynamically, e.g. $session.params.parameter-id.

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

Returns
Type Description
ByteString

The bytes for token.