- 0.61.0 (latest)
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.1
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schedule.
An instance of a Schedule periodically schedules runs to make API calls based on user specified time specification and API request type.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_queueing
def allow_queueing() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether new scheduled runs can be queued when max_concurrent_runs limit is reached. If set to true, new runs will be queued instead of skipped. Default to false.
#allow_queueing=
def allow_queueing=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether new scheduled runs can be queued when max_concurrent_runs limit is reached. If set to true, new runs will be queued instead of skipped. Default to false.
Returns
- (::Boolean) — Optional. Whether new scheduled runs can be queued when max_concurrent_runs limit is reached. If set to true, new runs will be queued instead of skipped. Default to false.
#catch_up
def catch_up() -> ::Boolean
Returns
- (::Boolean) — Output only. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. Default to false.
#create_pipeline_job_request
def create_pipeline_job_request() -> ::Google::Cloud::AIPlatform::V1::CreatePipelineJobRequest
Returns
- (::Google::Cloud::AIPlatform::V1::CreatePipelineJobRequest) — Request for PipelineService.CreatePipelineJob. CreatePipelineJobRequest.parent field is required (format: projects/{project}/locations/{location}).
#create_pipeline_job_request=
def create_pipeline_job_request=(value) -> ::Google::Cloud::AIPlatform::V1::CreatePipelineJobRequest
Parameter
- value (::Google::Cloud::AIPlatform::V1::CreatePipelineJobRequest) — Request for PipelineService.CreatePipelineJob. CreatePipelineJobRequest.parent field is required (format: projects/{project}/locations/{location}).
Returns
- (::Google::Cloud::AIPlatform::V1::CreatePipelineJobRequest) — Request for PipelineService.CreatePipelineJob. CreatePipelineJobRequest.parent field is required (format: projects/{project}/locations/{location}).
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this Schedule was created.
#cron
def cron() -> ::String
Returns
- (::String) — Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
#cron=
def cron=(value) -> ::String
Parameter
- value (::String) — Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
Returns
- (::String) — Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. User provided name of the Schedule. The name can be up to 128 characters long and can consist of any UTF-8 characters.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. User provided name of the Schedule. The name can be up to 128 characters long and can consist of any UTF-8 characters.
Returns
- (::String) — Required. User provided name of the Schedule. The name can be up to 128 characters long and can consist of any UTF-8 characters.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp after which no new runs can be scheduled. If specified, The schedule will be completed when either end_time is reached or when scheduled_run_count >= max_run_count. If not specified, new runs will keep getting scheduled until this Schedule is paused or deleted. Already scheduled runs will be allowed to complete. Unset if not specified.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Timestamp after which no new runs can be scheduled. If specified, The schedule will be completed when either end_time is reached or when scheduled_run_count >= max_run_count. If not specified, new runs will keep getting scheduled until this Schedule is paused or deleted. Already scheduled runs will be allowed to complete. Unset if not specified.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp after which no new runs can be scheduled. If specified, The schedule will be completed when either end_time is reached or when scheduled_run_count >= max_run_count. If not specified, new runs will keep getting scheduled until this Schedule is paused or deleted. Already scheduled runs will be allowed to complete. Unset if not specified.
#last_pause_time
def last_pause_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this Schedule was last paused. Unset if never paused.
#last_resume_time
def last_resume_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this Schedule was last resumed. Unset if never resumed from pause.
#last_scheduled_run_response
def last_scheduled_run_response() -> ::Google::Cloud::AIPlatform::V1::Schedule::RunResponse
Returns
- (::Google::Cloud::AIPlatform::V1::Schedule::RunResponse) — Output only. Response of the last scheduled run. This is the response for starting the scheduled requests and not the execution of the operations/jobs created by the requests (if applicable). Unset if no run has been scheduled yet.
#max_concurrent_run_count
def max_concurrent_run_count() -> ::Integer
Returns
- (::Integer) — Required. Maximum number of runs that can be started concurrently for this Schedule. This is the limit for starting the scheduled requests and not the execution of the operations/jobs created by the requests (if applicable).
#max_concurrent_run_count=
def max_concurrent_run_count=(value) -> ::Integer
Parameter
- value (::Integer) — Required. Maximum number of runs that can be started concurrently for this Schedule. This is the limit for starting the scheduled requests and not the execution of the operations/jobs created by the requests (if applicable).
Returns
- (::Integer) — Required. Maximum number of runs that can be started concurrently for this Schedule. This is the limit for starting the scheduled requests and not the execution of the operations/jobs created by the requests (if applicable).
#max_run_count
def max_run_count() -> ::Integer
Returns
- (::Integer) — Optional. Maximum run count of the schedule. If specified, The schedule will be completed when either started_run_count >= max_run_count or when end_time is reached. If not specified, new runs will keep getting scheduled until this Schedule is paused or deleted. Already scheduled runs will be allowed to complete. Unset if not specified.
#max_run_count=
def max_run_count=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Maximum run count of the schedule. If specified, The schedule will be completed when either started_run_count >= max_run_count or when end_time is reached. If not specified, new runs will keep getting scheduled until this Schedule is paused or deleted. Already scheduled runs will be allowed to complete. Unset if not specified.
Returns
- (::Integer) — Optional. Maximum run count of the schedule. If specified, The schedule will be completed when either started_run_count >= max_run_count or when end_time is reached. If not specified, new runs will keep getting scheduled until this Schedule is paused or deleted. Already scheduled runs will be allowed to complete. Unset if not specified.
#name
def name() -> ::String
Returns
- (::String) — Immutable. The resource name of the Schedule.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Immutable. The resource name of the Schedule.
Returns
- (::String) — Immutable. The resource name of the Schedule.
#next_run_time
def next_run_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this Schedule should schedule the next run. Having a next_run_time in the past means the runs are being started behind schedule.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp after which the first run can be scheduled. Default to Schedule create time if not specified.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Timestamp after which the first run can be scheduled. Default to Schedule create time if not specified.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp after which the first run can be scheduled. Default to Schedule create time if not specified.
#started_run_count
def started_run_count() -> ::Integer
Returns
- (::Integer) — Output only. The number of runs started by this schedule.
#state
def state() -> ::Google::Cloud::AIPlatform::V1::Schedule::State
Returns
- (::Google::Cloud::AIPlatform::V1::Schedule::State) — Output only. The state of this Schedule.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this Schedule was updated.