Method: projects.retailProject.acceptTerms

Accepts service terms for this project. By making requests to this API, you agree to the terms of service linked below. https://cloud.google.com/retail/data-use-terms

HTTP request

POST https://retail.googleapis.com/v2alpha/{project=projects/*/retailProject}:acceptTerms

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Required. Full resource name of the project. Format: projects/{project_number_or_id}/retailProject

Request body

The request body must be empty.

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:

  • retail.retailProjects.acceptDataTerms

For more information, see the IAM documentation.