Reference documentation and code samples for the BigQuery Data Transfer Service V1 API class Google::Cloud::Bigquery::DataTransfer::V1::ScheduleOptionsV2.
V2 options customizing different types of data transfer schedule. This field supports existing time-based and manual transfer schedule. Also supports Event-Driven transfer schedule. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#event_driven_schedule
def event_driven_schedule() -> ::Google::Cloud::Bigquery::DataTransfer::V1::EventDrivenSchedule
Returns
- (::Google::Cloud::Bigquery::DataTransfer::V1::EventDrivenSchedule) — Event driven transfer schedule options. If set, the transfer will be scheduled upon events arrial.
#event_driven_schedule=
def event_driven_schedule=(value) -> ::Google::Cloud::Bigquery::DataTransfer::V1::EventDrivenSchedule
Parameter
- value (::Google::Cloud::Bigquery::DataTransfer::V1::EventDrivenSchedule) — Event driven transfer schedule options. If set, the transfer will be scheduled upon events arrial.
Returns
- (::Google::Cloud::Bigquery::DataTransfer::V1::EventDrivenSchedule) — Event driven transfer schedule options. If set, the transfer will be scheduled upon events arrial.
#manual_schedule
def manual_schedule() -> ::Google::Cloud::Bigquery::DataTransfer::V1::ManualSchedule
Returns
- (::Google::Cloud::Bigquery::DataTransfer::V1::ManualSchedule) — Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system, unless the client invokes StartManualTransferRuns. This is equivalent to disable_auto_scheduling = true.
#manual_schedule=
def manual_schedule=(value) -> ::Google::Cloud::Bigquery::DataTransfer::V1::ManualSchedule
Parameter
- value (::Google::Cloud::Bigquery::DataTransfer::V1::ManualSchedule) — Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system, unless the client invokes StartManualTransferRuns. This is equivalent to disable_auto_scheduling = true.
Returns
- (::Google::Cloud::Bigquery::DataTransfer::V1::ManualSchedule) — Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system, unless the client invokes StartManualTransferRuns. This is equivalent to disable_auto_scheduling = true.
#time_based_schedule
def time_based_schedule() -> ::Google::Cloud::Bigquery::DataTransfer::V1::TimeBasedSchedule
Returns
- (::Google::Cloud::Bigquery::DataTransfer::V1::TimeBasedSchedule) — Time based transfer schedule options. This is the default schedule option.
#time_based_schedule=
def time_based_schedule=(value) -> ::Google::Cloud::Bigquery::DataTransfer::V1::TimeBasedSchedule
Parameter
- value (::Google::Cloud::Bigquery::DataTransfer::V1::TimeBasedSchedule) — Time based transfer schedule options. This is the default schedule option.
Returns
- (::Google::Cloud::Bigquery::DataTransfer::V1::TimeBasedSchedule) — Time based transfer schedule options. This is the default schedule option.