Creates a new Opportunity resource for a deal submission process. This can have the state DRAFT or SUBMITTED. Creating a SUBMITTED opportunity initiates an offline review process, in which Google determines whether it's ACCEPTED or REJECTED.
Possible error codes:
PERMISSION_DENIED: The user making the request isn't allowed to create an opportunity.
INVALID_ARGUMENT: Required request parameters are missing or invalid.
Return value: The newly created Opportunity resource.
HTTP request
POST https://cloudchannel.googleapis.com/v1alpha1/opportunities
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-13 UTC."],[[["This endpoint creates a new Opportunity resource, which can be in either `DRAFT` or `SUBMITTED` state."],["Submitting an opportunity in the `SUBMITTED` state triggers an offline review process by Google to determine if it's `ACCEPTED` or `REJECTED`."],["The request body requires an Opportunity instance, and a successful response will also contain the newly created Opportunity instance."],["The endpoint uses a POST request to the specified URL, `https://cloudchannel.googleapis.com/v1alpha1/opportunities`, using gRPC Transcoding syntax."],["Creating an opportunity requires the `https://www.googleapis.com/auth/apps.order` OAuth scope, and potential errors include `PERMISSION_DENIED` or `INVALID_ARGUMENT`."]]],[]]