- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ConsentChangeAction
Updates service terms for this project.
This method can be used to retroactively accept the latest terms.
Terms available for update:
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{project=projects/*}:reportConsentChange
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project
|
Required. Full resource name of a |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"consentChangeAction"
:
enum (
|
serviceTermId
string
Required. The unique identifier of the terms of service to update. Available term ids:
-
GA_DATA_USE_TERMS
: Terms for data use . When using this service term id, the acceptableserviceTermVersion
to provide is2022-11-23
.
serviceTermVersion
string
Required. The version string of the terms of service to update.
Response body
If successful, the response body contains an instance of Project
.
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 project
resource:
-
discoveryengine.projects.reportConsentChange
For more information, see the IAM documentation .
ConsentChangeAction
Type of consent acknowledgement (accept / reject).
At this moment, only ACCEPT
action is supported.
Enums | |
---|---|
CONSENT_CHANGE_ACTION_UNSPECIFIED
|
Invalid action, user must specify accept/decline |
ACCEPT
|
User accepts service terms. |