Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ScheduleService::Rest::ServiceStub.
REST service stub for the ScheduleService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_schedule
def create_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Schedule
Baseline implementation for the create_schedule REST call
- request_pb (::Google::Cloud::AIPlatform::V1::CreateScheduleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::Schedule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::Schedule) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_schedule
def delete_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_schedule REST call
- request_pb (::Google::Cloud::AIPlatform::V1::DeleteScheduleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_schedule
def get_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Schedule
Baseline implementation for the get_schedule REST call
- request_pb (::Google::Cloud::AIPlatform::V1::GetScheduleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::Schedule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::Schedule) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_schedules
def list_schedules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListSchedulesResponse
Baseline implementation for the list_schedules REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ListSchedulesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::ListSchedulesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListSchedulesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#pause_schedule
def pause_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the pause_schedule REST call
- request_pb (::Google::Cloud::AIPlatform::V1::PauseScheduleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#resume_schedule
def resume_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the resume_schedule REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ResumeScheduleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_schedule
def update_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Schedule
Baseline implementation for the update_schedule REST call
- request_pb (::Google::Cloud::AIPlatform::V1::UpdateScheduleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::Schedule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::Schedule) — A result object deserialized from the server's reply
- (::ArgumentError)