- 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 ( |
Fields | |
---|---|
consent |
Required. Whether customer decides to accept or decline service term. At this moment, only accept action is supported. |
service |
Required. The unique identifier of the terms of service to update. Available term ids:
|
service |
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. |