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.
229 230 231 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 229 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
204 205 206 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 204 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
210 211 212 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 210 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
216 217 218 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 216 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
222 223 224 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 222 def name @name end |
#update_time ⇒ String
Output only. The last modification time of the catalog.
Corresponds to the JSON property updateTime
227 228 229 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 227 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
234 235 236 237 238 239 240 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 234 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 |