Class: Google::Apis::BigquerydatatransferV1::ScheduleOptions
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::ScheduleOptions
- 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 more...
Overview
Options customizing the data transfer schedule.
Instance Attribute Summary collapse
-
#disable_auto_scheduling ⇒ Boolean
(also: #disable_auto_scheduling?)
If true, automatic scheduling of data transfer runs for this configuration will be disabled.
-
#end_time ⇒ String
Defines time to stop scheduling transfer runs.
-
#start_time ⇒ String
Specifies time to start scheduling transfer runs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScheduleOptions
constructor
A new instance of ScheduleOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ScheduleOptions
Returns a new instance of ScheduleOptions
548 549 550 |
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_auto_scheduling ⇒ Boolean Also known as: disable_auto_scheduling?
If true, automatic scheduling of data transfer runs for this configuration
will be disabled. The runs can be started on ad-hoc basis using
StartManualTransferRuns API. When automatic scheduling is disabled, the
TransferConfig.schedule field will be ignored.
Corresponds to the JSON property disableAutoScheduling
528 529 530 |
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 528 def disable_auto_scheduling @disable_auto_scheduling end |
#end_time ⇒ String
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
Corresponds to the JSON property endTime
537 538 539 |
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 537 def end_time @end_time end |
#start_time ⇒ String
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
Corresponds to the JSON property startTime
546 547 548 |
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 546 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
553 554 555 556 557 |
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 553 def update!(**args) @disable_auto_scheduling = args[:disable_auto_scheduling] if args.key?(:disable_auto_scheduling) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) end |