Gets the authorization information for deployments in a given project.
HTTP request
GET https://gsuiteaddons.googleapis.com/v1/{name=projects/*/authorization}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the project for which to get the Google Workspace Add-on authorization information. Example: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
The authorization information used when invoking deployment endpoints.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "name": string, "serviceAccountEmail": string, "oauthClientId": string } |
Fields | |
---|---|
name |
The canonical full name of this resource. Example: |
service |
The email address of the service account used to authenticate requests to add-on callback endpoints. |
oauth |
The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authorization guide.