Class: Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigquerydatatransfer_v1/classes.rb,
generated/google/apis/bigquerydatatransfer_v1/representations.rb,
generated/google/apis/bigquerydatatransfer_v1/representations.rb

Overview

A request to start manual transfer runs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StartManualTransferRunsRequest

Returns a new instance of StartManualTransferRunsRequest.


637
638
639
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 637

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

Instance Attribute Details

#requested_run_timeString

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future. Corresponds to the JSON property requestedRunTime

Returns:

  • (String)

629
630
631
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 629

def requested_run_time
  @requested_run_time
end

#requested_time_rangeGoogle::Apis::BigquerydatatransferV1::TimeRange

A specification for a time range, this will request transfer runs with run_time between start_time (inclusive) and end_time (exclusive). Corresponds to the JSON property requestedTimeRange


635
636
637
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 635

def requested_time_range
  @requested_time_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


642
643
644
645
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 642

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