Vertex AI Search for Retail API (retail:v2)

2022-02-10

2 new methods

Additions

    Methods
  • retail.projects.operations.get

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: GET

      Flat Path: v2/projects/{projectsId}/operations/{operationsId}

      Path: v2/{+name}

      Description: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      Parameter Order: name

      Parameters:

        name

          Required: Yes

          Description: The name of the operation resource.

          Pattern: ^projects/[^/]+/operations/[^/]+$

          Type: string

          Location: path

  • retail.projects.operations.list

      Parameter Order: name

      HTTP Method: GET

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Path: v2/{+name}/operations

      Parameters:

        name

          Type: string

          Location: path

          Required: Yes

          Description: The name of the operation's parent resource.

          Pattern: ^projects/[^/]+$

        pageToken

          Description: The standard list page token.

          Type: string

          Location: query

        pageSize

          Type: integer

          Description: The standard list page size.

          Location: query

          Format: int32

        filter

          Description: The standard list filter.

          Type: string

          Location: query

      Flat Path: v2/projects/{projectsId}/operations

      Description: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.