Google Workspace Add-ons V1 Client - Class Authorization (0.1.6)

Reference documentation and code samples for the Google Workspace Add-ons V1 Client class Authorization.

The authorization information used when invoking deployment endpoints.

Generated from protobuf message google.cloud.gsuiteaddons.v1.Authorization

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The canonical full name of this resource. Example: projects/123/authorization

↳ service_account_email string

The email address of the service account used to authenticate requests to add-on callback endpoints.

↳ oauth_client_id string

The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.

getName

The canonical full name of this resource.

Example: projects/123/authorization

Returns
TypeDescription
string

setName

The canonical full name of this resource.

Example: projects/123/authorization

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceAccountEmail

The email address of the service account used to authenticate requests to add-on callback endpoints.

Returns
TypeDescription
string

setServiceAccountEmail

The email address of the service account used to authenticate requests to add-on callback endpoints.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOauthClientId

The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.

Returns
TypeDescription
string

setOauthClientId

The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.

Parameter
NameDescription
var string
Returns
TypeDescription
$this