Provisions the project resource. During the process, related systems will get prepared and initialized.
Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms.
HTTP request
POST https://discoveryengine.googleapis.com/v1beta/{name=projects/*}:provision
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Full resource name of a |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "acceptDataUseTerms": boolean, "dataUseTermsVersion": string } |
Fields | |
---|---|
accept |
Required. Set to |
data |
Required. The version of the Terms for data use that caller has read and would like to give consent to. Acceptable version is |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
discoveryengine.projects.provision
For more information, see the IAM documentation.