public static final class ScheduleServiceGrpc.ScheduleServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<ScheduleServiceGrpc.ScheduleServiceBlockingStub>
A service for creating and managing Vertex AI's Schedule resources to periodically launch shceudled runs to make API calls.
| Modifier and Type | Method and Description |
|---|---|
protected ScheduleServiceGrpc.ScheduleServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
Schedule |
createSchedule(CreateScheduleRequest request)
Creates a Schedule.
|
com.google.longrunning.Operation |
deleteSchedule(DeleteScheduleRequest request)
Deletes a Schedule.
|
Schedule |
getSchedule(GetScheduleRequest request)
Gets a Schedule.
|
ListSchedulesResponse |
listSchedules(ListSchedulesRequest request)
Lists Schedules in a Location.
|
com.google.protobuf.Empty |
pauseSchedule(PauseScheduleRequest request)
Pauses a Schedule.
|
com.google.protobuf.Empty |
resumeSchedule(ResumeScheduleRequest request)
Resumes a paused Schedule to start scheduling new runs.
|
Schedule |
updateSchedule(UpdateScheduleRequest request)
Updates an active or paused Schedule.
|
protected ScheduleServiceGrpc.ScheduleServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ScheduleServiceGrpc.ScheduleServiceBlockingStub>public Schedule createSchedule(CreateScheduleRequest request)
Creates a Schedule.
public com.google.longrunning.Operation deleteSchedule(DeleteScheduleRequest request)
Deletes a Schedule.
public Schedule getSchedule(GetScheduleRequest request)
Gets a Schedule.
public ListSchedulesResponse listSchedules(ListSchedulesRequest request)
Lists Schedules in a Location.
public com.google.protobuf.Empty pauseSchedule(PauseScheduleRequest request)
Pauses a Schedule. Will mark [Schedule.state][google.cloud.aiplatform.v1beta1.Schedule.state] to 'PAUSED'. If the schedule is paused, no new runs will be created. Already created runs will NOT be paused or canceled.
public com.google.protobuf.Empty resumeSchedule(ResumeScheduleRequest request)
Resumes a paused Schedule to start scheduling new runs. Will mark [Schedule.state][google.cloud.aiplatform.v1beta1.Schedule.state] to 'ACTIVE'. Only paused Schedule can be resumed. When the Schedule is resumed, new runs will be scheduled starting from the next execution time after the current time based on the time_specification in the Schedule. If [Schedule.catchUp][] is set up true, all missed runs will be scheduled for backfill first.
public Schedule updateSchedule(UpdateScheduleRequest request)
Updates an active or paused Schedule. When the Schedule is updated, new runs will be scheduled starting from the updated next execution time after the update time based on the time_specification in the updated Schedule. All unstarted runs before the update time will be skipped while already created runs will NOT be paused or canceled.
Copyright © 2024 Google LLC. All rights reserved.