# Google Workspace Add-ons V1 API - Class Google::Cloud::GSuiteAddOns::V1::Authorization (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Cloud::GSuiteAddOns::V1::Authorization.

The authorization information used when invoking deployment endpoints.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- The canonical full name of this resource. Example: `projects/123/authorization`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The canonical full name of this resource. Example: `projects/123/authorization`
**Returns**

- (::String) --- The canonical full name of this resource. Example: `projects/123/authorization`

### #oauth_client_id

    def oauth_client_id() -> ::String

**Returns**

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

### #oauth_client_id=

    def oauth_client_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.
**Returns**

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

### #service_account_email

    def service_account_email() -> ::String

**Returns**

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

### #service_account_email=

    def service_account_email=(value) -> ::String

**Parameter**

- **value** (::String) --- The email address of the service account used to authenticate requests to add-on callback endpoints.
**Returns**

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