Class: Google::Apis::BigqueryV2::SnapshotDefinition

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) ⇒ SnapshotDefinition

Returns a new instance of SnapshotDefinition.



5775
5776
5777
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5775

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

Instance Attribute Details

#base_table_referenceGoogle::Apis::BigqueryV2::TableReference

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



5768
5769
5770
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5768

def base_table_reference
  @base_table_reference
end

#snapshot_timeDateTime

[Required] The time at which the base table was snapshot. Corresponds to the JSON property snapshotTime

Returns:

  • (DateTime)


5773
5774
5775
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5773

def snapshot_time
  @snapshot_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5780
5781
5782
5783
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5780

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