Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
- Defined in:
- generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb,
generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb,
generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#association ⇒ Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association
An association tuple that pairs a
Catalog
to a resource that can use theCatalog
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
constructor
A new instance of GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
Returns a new instance of GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest.
184 185 186 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 184 def initialize(**args) update!(**args) end |
Instance Attribute Details
#association ⇒ Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association
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 catalogcatalogs/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.
Corresponds to the JSON property
association
182 183 184 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 182 def association @association end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
189 190 191 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 189 def update!(**args) @association = args[:association] if args.key?(:association) end |