Method: catalogs.associations.create

Creates an Association instance under a given Catalog.

HTTP request

POST https://cloudprivatecatalogproducer.googleapis.com/v1beta1/{parent=catalogs/*}/associations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The Catalog resource's name.

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

  • cloudprivatecatalogproducer.associations.create

Request body

The request body contains data with the following structure:

JSON representation
{
  "association": {
    object(Association)
  }
}
Fields
association

object(Association)

The user-supplied Association that is going to be created.

If the resource field is set, the privatecatalogproducer.catalogTargets.associate permission is checked on the target resource.

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

  • cloudprivatecatalogproducer.targets.associate

Response body

If successful, the response body contains a newly created instance of Association.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!