public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() {
    if (authorizationHeaderCase_ == 5) {
      return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
    }
    return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
  }
public com . google . cloud . tasks . v2beta3 . OAuthToken getOauthToken ( ) { if ( authorizationHeaderCase_ == 5 ) { return ( com . google . cloud . tasks . v2beta3 . OAuthToken ) authorizationHeader_ ; } return com . google . cloud . tasks . v2beta3 . OAuthToken . getDefaultInstance ( ) ; }
<pre>
If specified, an
[OAuth token](https://developers.google.com/identity/protocols/OAuth2)
will be generated and attached as an `Authorization` header in the HTTP
request.
This type of authorization should be used when sending requests to a GCP
endpoint.
</pre>

<code>.google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5;</code>