Method: catalogs.products.copy

Copies a Product under another Catalog.

HTTP request

POST https://cloudprivatecatalogproducer.googleapis.com/v1beta1/{name=catalogs/*/products/*}:copy

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the current product that is copied from.

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

  • cloudprivatecatalogproducer.catalogs.get

Request body

The request body contains data with the following structure:

JSON representation
{
  "destinationProductName": string
}
Fields
destinationProductName

string

The resource name of the destination product that is copied to.

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

  • cloudprivatecatalogproducer.catalogs.update

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!