Class: Google::Apis::BiglakeV1::Table

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

Represents a table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Table

Returns a new instance of Table.



392
393
394
# File 'lib/google/apis/biglake_v1/classes.rb', line 392

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


348
349
350
# File 'lib/google/apis/biglake_v1/classes.rb', line 348

def create_time
  @create_time
end

#delete_timeString

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

Returns:

  • (String)


354
355
356
# File 'lib/google/apis/biglake_v1/classes.rb', line 354

def delete_time
  @delete_time
end

#etagString

The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up- to-date value before proceeding. It is only checked for update table operations. Corresponds to the JSON property etag

Returns:

  • (String)


362
363
364
# File 'lib/google/apis/biglake_v1/classes.rb', line 362

def etag
  @etag
end

#expire_timeString

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

Returns:

  • (String)


368
369
370
# File 'lib/google/apis/biglake_v1/classes.rb', line 368

def expire_time
  @expire_time
end

#hive_optionsGoogle::Apis::BiglakeV1::HiveTableOptions

Options of a Hive table. Corresponds to the JSON property hiveOptions



373
374
375
# File 'lib/google/apis/biglake_v1/classes.rb', line 373

def hive_options
  @hive_options
end

#nameString

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

Returns:

  • (String)


380
381
382
# File 'lib/google/apis/biglake_v1/classes.rb', line 380

def name
  @name
end

#typeString

The table type. Corresponds to the JSON property type

Returns:

  • (String)


385
386
387
# File 'lib/google/apis/biglake_v1/classes.rb', line 385

def type
  @type
end

#update_timeString

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

Returns:

  • (String)


390
391
392
# File 'lib/google/apis/biglake_v1/classes.rb', line 390

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



397
398
399
400
401
402
403
404
405
406
# File 'lib/google/apis/biglake_v1/classes.rb', line 397

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @delete_time = args[:delete_time] if args.key?(:delete_time)
  @etag = args[:etag] if args.key?(:etag)
  @expire_time = args[:expire_time] if args.key?(:expire_time)
  @hive_options = args[:hive_options] if args.key?(:hive_options)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
  @update_time = args[:update_time] if args.key?(:update_time)
end