Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GenAiTuningService::Rest::ServiceStub.
REST service stub for the GenAiTuningService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#cancel_tuning_job
def cancel_tuning_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the cancel_tuning_job REST call
- request_pb (::Google::Cloud::AIPlatform::V1::CancelTuningJobRequest) — 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)
#create_tuning_job
def create_tuning_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::TuningJob
Baseline implementation for the create_tuning_job REST call
- request_pb (::Google::Cloud::AIPlatform::V1::CreateTuningJobRequest) — 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::TuningJob)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::TuningJob) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_tuning_job
def get_tuning_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::TuningJob
Baseline implementation for the get_tuning_job REST call
- request_pb (::Google::Cloud::AIPlatform::V1::GetTuningJobRequest) — 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::TuningJob)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::TuningJob) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_tuning_jobs
def list_tuning_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListTuningJobsResponse
Baseline implementation for the list_tuning_jobs REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ListTuningJobsRequest) — 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::ListTuningJobsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListTuningJobsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#rebase_tuned_model
def rebase_tuned_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the rebase_tuned_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::RebaseTunedModelRequest) — 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)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)