Class: Google::Apis::BigqueryV2::SnapshotDefinition
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::SnapshotDefinition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#base_table_reference ⇒ Google::Apis::BigqueryV2::TableReference
[Required] Reference describing the ID of the table that is snapshotted.
-
#snapshot_time ⇒ DateTime
[Required] The time at which the base table was snapshot.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SnapshotDefinition
constructor
A new instance of SnapshotDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SnapshotDefinition
Returns a new instance of SnapshotDefinition.
5645 5646 5647 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_table_reference ⇒ Google::Apis::BigqueryV2::TableReference
[Required] Reference describing the ID of the table that is snapshotted.
Corresponds to the JSON property baseTableReference
5638 5639 5640 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5638 def base_table_reference @base_table_reference end |
#snapshot_time ⇒ DateTime
[Required] The time at which the base table was snapshot.
Corresponds to the JSON property snapshotTime
5643 5644 5645 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5643 def snapshot_time @snapshot_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5650 5651 5652 5653 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5650 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 |