Class: Google::Apis::BigqueryV2::CloneDefinition
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::CloneDefinition
- 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 cloned.
-
#clone_time ⇒ DateTime
[Required] The time at which the base table was cloned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloneDefinition
constructor
A new instance of CloneDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloneDefinition
Returns a new instance of CloneDefinition.
1280 1281 1282 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1280 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 cloned.
Corresponds to the JSON property baseTableReference
1272 1273 1274 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1272 def base_table_reference @base_table_reference end |
#clone_time ⇒ DateTime
[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
1278 1279 1280 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1278 def clone_time @clone_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1285 1286 1287 1288 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1285 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 |