Class: Google::Apis::BigqueryV2::SnapshotDefinition
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::SnapshotDefinition
- 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
-
#base_table_reference ⇒ Google::Apis::BigqueryV2::TableReference
[Required] Reference describing the ID of the table that was snapshot.
-
#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.
7192 7193 7194 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7192 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 was snapshot.
Corresponds to the JSON property baseTableReference
7184 7185 7186 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7184 def base_table_reference @base_table_reference end |
#snapshot_time ⇒ DateTime
[Required] The time at which the base table was snapshot. This value is
reported in the JSON response using RFC3339 format.
Corresponds to the JSON property snapshotTime
7190 7191 7192 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7190 def snapshot_time @snapshot_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7197 7198 7199 7200 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7197 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 |