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.
793 794 795 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 793 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
779 780 781 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 779 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
785 786 787 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 785 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
791 792 793 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 791 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
798 799 800 801 802 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 798 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 |