Class: Google::Apis::BigqueryV2::CloneDefinition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloneDefinition

Returns a new instance of CloneDefinition.



1230
1231
1232
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1230

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

Instance Attribute Details

#base_table_referenceGoogle::Apis::BigqueryV2::TableReference

[Required] Reference describing the ID of the table that was cloned. Corresponds to the JSON property baseTableReference



1222
1223
1224
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1222

def base_table_reference
  @base_table_reference
end

#clone_timeDateTime

[Required] The time at which the base table was cloned. This value is reported in the JSON response using RFC3339 format. Corresponds to the JSON property cloneTime

Returns:

  • (DateTime)


1228
1229
1230
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1228

def clone_time
  @clone_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1235
1236
1237
1238
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1235

def update!(**args)
  @base_table_reference = args[:base_table_reference] if args.key?(:base_table_reference)
  @clone_time = args[:clone_time] if args.key?(:clone_time)
end