Class: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Catalog
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Catalog
- 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 readonly representation of a catalog computed with a given resource context.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogV1beta1Catalog
constructor
A new instance of GoogleCloudPrivatecatalogV1beta1Catalog.
-
#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) ⇒ GoogleCloudPrivatecatalogV1beta1Catalog
Returns a new instance of GoogleCloudPrivatecatalogV1beta1Catalog.
56 57 58 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 56 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
33 34 35 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 33 def create_time @create_time end |
#description ⇒ String
Output only. The description of the catalog.
Corresponds to the JSON property description
38 39 40 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 38 def description @description end |
#display_name ⇒ String
Output only. The descriptive name of the catalog as it appears in UIs.
Corresponds to the JSON property displayName
43 44 45 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 43 def display_name @display_name end |
#name ⇒ String
Output only. The resource name of the target catalog, in the format of
catalogs/
catalog_id'.
Corresponds to the JSON property
name`
49 50 51 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 49 def name @name end |
#update_time ⇒ String
Output only. The time when the catalog was last updated.
Corresponds to the JSON property updateTime
54 55 56 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 54 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
61 62 63 64 65 66 67 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 61 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) @update_time = args[:update_time] if args.key?(:update_time) end |