Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog
- Defined in:
- generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb,
generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb,
generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb
Overview
The producer representation of a catalog which is a curated collection of solutions that can be managed, controlled, and shared by cloud admins.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Required.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#parent ⇒ String
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1Catalog
constructor
A new instance of GoogleCloudPrivatecatalogproducerV1beta1Catalog.
-
#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) ⇒ GoogleCloudPrivatecatalogproducerV1beta1Catalog
Returns a new instance of GoogleCloudPrivatecatalogproducerV1beta1Catalog.
124 125 126 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time when the catalog was created.
Corresponds to the JSON property createTime
89 90 91 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 89 def create_time @create_time end |
#description ⇒ String
Required. The user-supplied description of the catalog. Maximum of 512
characters.
Corresponds to the JSON property description
95 96 97 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 95 def description @description end |
#display_name ⇒ String
Required. The user-supplied descriptive name of the catalog as it appears
in UIs. Maximum 256 characters in length.
Corresponds to the JSON property displayName
101 102 103 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 101 def display_name @display_name end |
#name ⇒ String
Output only. The resource name of the catalog, in the format
catalogs/
catalog_id'.
A unique identifier for the catalog, which is generated
by catalog service.
Corresponds to the JSON property
name`
109 110 111 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 109 def name @name end |
#parent ⇒ String
Required. The parent resource name of the catalog, which can't be changed
after a catalog is created. It can only be an organization. Values are of
the form //cloudresourcemanager.googleapis.com/organizations/<id>
.
Maximum 256 characters in length.
Corresponds to the JSON property parent
117 118 119 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 117 def parent @parent end |
#update_time ⇒ String
Output only. The time when the catalog was last updated.
Corresponds to the JSON property updateTime
122 123 124 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 122 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
129 130 131 132 133 134 135 136 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 129 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @parent = args[:parent] if args.key?(:parent) @update_time = args[:update_time] if args.key?(:update_time) end |