Class: Google::Apis::BiglakeV1::Catalog

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_timeString

Output only. The creation time of the catalog. Corresponds to the JSON property createTime

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/biglake_v1/classes.rb', line 32

def create_time
  @create_time
end

#delete_timeString

Output only. The deletion time of the catalog. Only set after the catalog is deleted. Corresponds to the JSON property deleteTime

Returns:

  • (String)


38
39
40
# File 'lib/google/apis/biglake_v1/classes.rb', line 38

def delete_time
  @delete_time
end

#expire_timeString

Output only. The time when this catalog is considered expired. Only set after the catalog is deleted. Corresponds to the JSON property expireTime

Returns:

  • (String)


44
45
46
# File 'lib/google/apis/biglake_v1/classes.rb', line 44

def expire_time
  @expire_time
end

#nameString

Output only. The resource name. Format: projects/project_id_or_number/ locations/location_id/catalogs/catalog_id Corresponds to the JSON property name

Returns:

  • (String)


50
51
52
# File 'lib/google/apis/biglake_v1/classes.rb', line 50

def name
  @name
end

#update_timeString

Output only. The last modification time of the catalog. Corresponds to the JSON property updateTime

Returns:

  • (String)


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