Creates an Authorization
.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}/authorizations
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name. Format: |
Query parameters
Parameters | |
---|---|
authorizationId |
Required. The id to use for the authorization, which will become the final component of the resource name. This field must conform to RFC-1034 with a length limit of 63 characters. |
Request body
The request body contains an instance of Authorization
.
Response body
If successful, the response body contains a newly created instance of Authorization
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.