Method: catalogs.products.patch

Updates a specific Product resource.

HTTP request

PATCH https://cloudprivatecatalogproducer.googleapis.com/v1beta1/{product.name=catalogs/*/products/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
product.name

string

Required. The resource name of the product in the format `catalogs/{catalog_id}/products/[a-z][-a-z0-9]*[a-z0-9]'.

A unique identifier for the product under a catalog, which cannot be changed after the product is created. The final segment of the name must between 1 and 256 characters in length.

Query parameters

Parameters
updateMask

string (FieldMask format)

Field mask that controls which fields of the product should be updated.

A comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Product.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!