Vertex AI Search for Retail API . projects . retailProject

Instance Methods

acceptTerms(project, body=None, x__xgafv=None)

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

close()

Close httplib2 connections.

Method Details

acceptTerms(project, body=None, x__xgafv=None)
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

Args:
  project: string, Required. Full resource name of the project. Format: `projects/{project_number_or_id}/retailProject` (required)
  body: object, The request body.
    The object takes the form of:

{ # Request for AcceptTerms method.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Metadata that describes a Cloud Retail Project.
  "enrolledSolutions": [ # Output only. Retail API solutions that the project has enrolled.
    "A String",
  ],
  "name": "A String", # Output only. Full resource name of the retail project, such as `projects/{project_id_or_number}/retailProject`.
}
close()
Close httplib2 connections.