google_api_cloud_private_catalog_producer v0.3.0 GoogleApi.CloudPrivateCatalogProducer.V1beta1.Model.GoogleCloudPrivatecatalogproducerV1beta1Association View Source

An association tuple that pairs a Catalog to a resource that can use the Catalog. After association, a google.cloud.privatecatalog.v1beta1.Catalog becomes available to consumers under specified Association.resource and all of its child nodes. Users who have the cloudprivatecatalog.targets.get permission on any of the resource nodes can access the catalog and child products under the node.

For example, suppose the cloud resource hierarchy is as follows:

  • organizations/example.com

    • folders/team

      • projects/test

After creating an association with organizations/example.com, the catalog catalogs/1 is accessible from the following paths:

  • organizations/example.com
  • folders/team
  • projects/test

Users can access them by google.cloud.v1beta1.PrivateCatalog.SearchCatalogs action.

Attributes

  • createTime (type: DateTime.t, default: nil) - The creation time of the association.

  • name (type: String.t, default: nil) - Output only. The resource name of the catalog association, in the format `catalogs/{catalog_id}/associations/{association_id}'. A unique identifier for the catalog association, which is generated by catalog service.

  • resource (type: String.t, default: nil) - Required. The user-supplied fully qualified name of the Resource associated to the Catalog. It supports Organization, Folder, and Project. Values are of the form

    • //cloudresourcemanager.googleapis.com/projects/{product_number}
    • //cloudresourcemanager.googleapis.com/folders/{folder_id}
    • //cloudresourcemanager.googleapis.com/organizations/{organization_id}

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() ::
  %GoogleApi.CloudPrivateCatalogProducer.V1beta1.Model.GoogleCloudPrivatecatalogproducerV1beta1Association{
    createTime: DateTime.t(),
    name: String.t(),
    resource: String.t()
  }

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.