Returns the requested Opportunity
resource.
Possible error codes:
- PERMISSION_DENIED: The user making the request isn't allowed to view the opportunity.
- INVALID_ARGUMENT: Required request parameters are missing or invalid.
- NOT_FOUND: No
Opportunity
resource found for the name in the request.
Return value: The Opportunity
resource.
HTTP request
GET https://cloudchannel.googleapis.com/v1alpha1/{name=opportunities/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the opportunity to retrieve. Format: opportunities/{opportunity} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Opportunity
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the Authentication Overview.