Class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ScheduleSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ScheduleSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datapipelines_v1/classes.rb,
lib/google/apis/datapipelines_v1/representations.rb,
lib/google/apis/datapipelines_v1/representations.rb
Overview
Details of the schedule the pipeline runs on.
Instance Attribute Summary collapse
-
#next_job_time ⇒ String
Output only.
-
#schedule ⇒ String
Unix-cron format of the schedule.
-
#time_zone ⇒ String
Timezone ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatapipelinesV1ScheduleSpec
constructor
A new instance of GoogleCloudDatapipelinesV1ScheduleSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatapipelinesV1ScheduleSpec
Returns a new instance of GoogleCloudDatapipelinesV1ScheduleSpec.
759 760 761 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 759 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_job_time ⇒ String
Output only. When the next Scheduler job is going to run.
Corresponds to the JSON property nextJobTime
745 746 747 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 745 def next_job_time @next_job_time end |
#schedule ⇒ String
Unix-cron format of the schedule. This information is retrieved from the
linked Cloud Scheduler.
Corresponds to the JSON property schedule
751 752 753 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 751 def schedule @schedule end |
#time_zone ⇒ String
Timezone ID. This matches the timezone IDs used by the Cloud Scheduler API. If
empty, UTC time is assumed.
Corresponds to the JSON property timeZone
757 758 759 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 757 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
764 765 766 767 768 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 764 def update!(**args) @next_job_time = args[:next_job_time] if args.key?(:next_job_time) @schedule = args[:schedule] if args.key?(:schedule) @time_zone = args[:time_zone] if args.key?(:time_zone) end |