cloudprivatecatalog.organizations.products.search
GET {{baseUrl}}/v1beta1/:resource/products:search?pageSize=<integer>&pageToken=<string>&query=<string>&$.xgafv=<string>&oauth_token=<string>&callback=<string>&alt=json&key=<string>&access_token=<string>&upload_protocol=<string>&prettyPrint=true"aUser=<string>&fields=<string>&uploadType=<string>
Search Product resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pageSize | string | The maximum number of entries that are requested. | |
pageToken | string | A pagination token returned from a previous call to SearchProducts that | |
indicates where this listing should continue from. | |||
This field is optional. | |||
query | string | The query to filter the products. |
The supported queries are:
- List products of all catalogs: empty
- List products under a catalog:
parent=catalogs/{catalog_id}
- Get a product by name:
name=catalogs/{catalog_id}/products/{product_id}
| |$.xgafv
| string | | V1 error format. | |oauth_token
| string | | OAuth 2.0 token for the current user. | |callback
| string | | JSONP | |alt
| string | | Data format for response. | |key
| string | | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |access_token
| string | | OAuth access token. | |upload_protocol
| string | | Upload protocol for media (e.g. "raw", "multipart"). | |prettyPrint
| boolean | | Returns response with indentations and line breaks. | |quotaUser
| string | | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |fields
| string | | Selector specifying which fields to include in a partial response. | |uploadType
| string | | Legacy upload protocol for media (e.g. "media", "multipart"). |
RESPONSES
status: OK
""