Class: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Version
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Version
- Defined in:
- generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb,
generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb,
generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb
Overview
The consumer representation of a version which is a child resource under a
Product
with asset data.
Instance Attribute Summary collapse
-
#asset ⇒ Hash<String,Object>
Output only.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogV1beta1Version
constructor
A new instance of GoogleCloudPrivatecatalogV1beta1Version.
-
#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) ⇒ GoogleCloudPrivatecatalogV1beta1Version
Returns a new instance of GoogleCloudPrivatecatalogV1beta1Version.
343 344 345 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset ⇒ Hash<String,Object>
Output only. The asset which has been validated and is ready to be
provisioned. See
google.cloud.privatecatalogproducer.v1beta.Version.asset for details.
Corresponds to the JSON property asset
318 319 320 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 318 def asset @asset end |
#create_time ⇒ String
Output only. The time when the version was created.
Corresponds to the JSON property createTime
323 324 325 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 323 def create_time @create_time end |
#description ⇒ String
Output only. The user-supplied description of the version. Maximum of 256
characters.
Corresponds to the JSON property description
329 330 331 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 329 def description @description end |
#name ⇒ String
Output only. The resource name of the version, in the format
catalogs/
catalog_id/products/
product_id/versions/a-z*[a-z0-9]'.
A unique identifier for the version under a product.
Corresponds to the JSON property
name`
336 337 338 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 336 def name @name end |
#update_time ⇒ String
Output only. The time when the version was last updated.
Corresponds to the JSON property updateTime
341 342 343 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 341 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
348 349 350 351 352 353 354 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 348 def update!(**args) @asset = args[:asset] if args.key?(:asset) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |