- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Makes changes to a ProductSet resource. Only displayName can be updated currently.
Possible errors:
- Returns NOT_FOUND if the ProductSet does not exist.
- Returns INVALID_ARGUMENT if displayName is present in updateMask but missing from the request or longer than 4096 characters.
HTTP request
PATCH https://vision.googleapis.com/v1p4beta1/{productSet.name=projects/*/locations/*/productSets/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
productSet.name |
The resource name of the ProductSet. Format is: This field is ignored when creating a ProductSet. |
Query parameters
Parameters | |
---|---|
updateMask |
The A comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of ProductSet
.
Response body
If successful, the response body contains an instance of ProductSet
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-vision
For more information, see the Authentication Overview.