Class: Google::Apis::BigqueryV2::UndeleteDatasetRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::UndeleteDatasetRequest
- 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
Overview
Request format for undeleting a dataset.
Instance Attribute Summary collapse
-
#deletion_time ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UndeleteDatasetRequest
constructor
A new instance of UndeleteDatasetRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UndeleteDatasetRequest
Returns a new instance of UndeleteDatasetRequest.
11275 11276 11277 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deletion_time ⇒ String
Optional. The exact time when the dataset was deleted. If not specified, the
most recently deleted version is undeleted. Undeleting a dataset using
deletion time is not supported.
Corresponds to the JSON property deletionTime
11273 11274 11275 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11273 def deletion_time @deletion_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11280 11281 11282 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11280 def update!(**args) @deletion_time = args[:deletion_time] if args.key?(:deletion_time) end |