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

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

Namespace

Google \ Cloud \ GSuiteAddOns \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setName

The canonical full name of this resource.

Example: projects/123/authorization

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceAccountEmail

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

Returns
Type Description
string

setServiceAccountEmail

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

Parameter
Name Description
var string
Returns
Type Description
$this

getOauthClientId

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

Returns
Type Description
string

setOauthClientId

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

Parameter
Name Description
var string
Returns
Type Description
$this