Method: projects.catalogs.search

Search Catalog resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

HTTP request

GET https://cloudprivatecatalog.googleapis.com/v1beta1/{resource=projects/*}/catalogs:search

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
resource

string

Required. The name of the resource context. It can be in following formats:

  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}

Authorization requires the following Google IAM permission on the specified resource resource:

  • cloudprivatecatalog.targets.get

Query parameters

Parameters
query

string

The query to filter the catalogs. The supported queries are:

  • Get a single catalog: name=catalogs/{catalog_id}

pageSize

number

The maximum number of entries that are requested.

pageToken

string

A pagination token returned from a previous call to catalogs.search that indicates where this listing should continue from. This field is optional.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of SearchCatalogsResponse.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!