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.



651
652
653
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 651

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)


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

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



649
650
651
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 649

def requested_time_range
  @requested_time_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



656
657
658
659
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 656

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