v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1323281242.5 KB
projects

Creates and returns a new ProductSet resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing, or is longer than 4096 characters.

post/v1/{+parent}/productSets

Path parameters

parentstring required

Required. The project in which the ProductSet should be created. Format is projects/PROJECT_ID/locations/LOC_ID.

Query parameters

productSetIdstring

A user-supplied resource id for this ProductSet. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character /.

Request body

indexTimestring google-datetime

Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet.

namestring

The resource name of the ProductSet. Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID. This field is ignored when creating a ProductSet.

displayNamestring

The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.

Response

Successful response