Class: Google::Apis::BigqueryV2::UndeleteDatasetRequest

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

Overview

Request format for undeleting a dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UndeleteDatasetRequest

Returns a new instance of UndeleteDatasetRequest.



11219
11220
11221
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11219

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

Instance Attribute Details

#deletion_timeString

Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted. Corresponds to the JSON property deletionTime

Returns:

  • (String)


11217
11218
11219
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11217

def deletion_time
  @deletion_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11224
11225
11226
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11224

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