Class: Google::Apis::BiglakeV1::Catalog
- Inherits:
-
Object
- Object
- Google::Apis::BiglakeV1::Catalog
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/biglake_v1/classes.rb,
lib/google/apis/biglake_v1/representations.rb,
lib/google/apis/biglake_v1/representations.rb
Overview
Catalog is the container of databases.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#delete_time ⇒ String
Output only.
-
#expire_time ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Catalog
constructor
A new instance of Catalog.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Catalog
Returns a new instance of Catalog.
57 58 59 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 57 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The creation time of the catalog.
Corresponds to the JSON property createTime
32 33 34 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 32 def create_time @create_time end |
#delete_time ⇒ String
Output only. The deletion time of the catalog. Only set after the catalog is
deleted.
Corresponds to the JSON property deleteTime
38 39 40 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 38 def delete_time @delete_time end |
#expire_time ⇒ String
Output only. The time when this catalog is considered expired. Only set after
the catalog is deleted.
Corresponds to the JSON property expireTime
44 45 46 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 44 def expire_time @expire_time end |
#name ⇒ String
Output only. The resource name. Format: projects/project_id_or_number
/
locations/location_id
/catalogs/catalog_id
Corresponds to the JSON property name
50 51 52 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 50 def name @name end |
#update_time ⇒ String
Output only. The last modification time of the catalog.
Corresponds to the JSON property updateTime
55 56 57 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 55 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62 63 64 65 66 67 68 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 62 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @delete_time = args[:delete_time] if args.key?(:delete_time) @expire_time = args[:expire_time] if args.key?(:expire_time) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |