- 0.58.0 (latest)
- 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::ModelService::Rest::ServiceStub.
REST service stub for the ModelService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#batch_import_evaluated_annotations
def batch_import_evaluated_annotations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::BatchImportEvaluatedAnnotationsResponse
Baseline implementation for the batch_import_evaluated_annotations REST call
- request_pb (::Google::Cloud::AIPlatform::V1::BatchImportEvaluatedAnnotationsRequest) — 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::BatchImportEvaluatedAnnotationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::BatchImportEvaluatedAnnotationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#batch_import_model_evaluation_slices
def batch_import_model_evaluation_slices(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::BatchImportModelEvaluationSlicesResponse
Baseline implementation for the batch_import_model_evaluation_slices REST call
- request_pb (::Google::Cloud::AIPlatform::V1::BatchImportModelEvaluationSlicesRequest) — 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::BatchImportModelEvaluationSlicesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::BatchImportModelEvaluationSlicesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#copy_model
def copy_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the copy_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::CopyModelRequest) — 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)
#delete_model
def delete_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::DeleteModelRequest) — 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)
#delete_model_version
def delete_model_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_model_version REST call
- request_pb (::Google::Cloud::AIPlatform::V1::DeleteModelVersionRequest) — 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)
#export_model
def export_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the export_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ExportModelRequest) — 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)
#get_model
def get_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Model
Baseline implementation for the get_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::GetModelRequest) — 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::Model)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::Model) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_model_evaluation
def get_model_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ModelEvaluation
Baseline implementation for the get_model_evaluation REST call
- request_pb (::Google::Cloud::AIPlatform::V1::GetModelEvaluationRequest) — 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::ModelEvaluation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ModelEvaluation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_model_evaluation_slice
def get_model_evaluation_slice(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice
Baseline implementation for the get_model_evaluation_slice REST call
- request_pb (::Google::Cloud::AIPlatform::V1::GetModelEvaluationSliceRequest) — 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::ModelEvaluationSlice)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice) — A result object deserialized from the server's reply
- (::ArgumentError)
#import_model_evaluation
def import_model_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ModelEvaluation
Baseline implementation for the import_model_evaluation REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest) — 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::ModelEvaluation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ModelEvaluation) — 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_model_evaluation_slices
def list_model_evaluation_slices(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListModelEvaluationSlicesResponse
Baseline implementation for the list_model_evaluation_slices REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ListModelEvaluationSlicesRequest) — 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::ListModelEvaluationSlicesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListModelEvaluationSlicesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_model_evaluations
def list_model_evaluations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListModelEvaluationsResponse
Baseline implementation for the list_model_evaluations REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ListModelEvaluationsRequest) — 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::ListModelEvaluationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListModelEvaluationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_model_versions
def list_model_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse
Baseline implementation for the list_model_versions REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ListModelVersionsRequest) — 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::ListModelVersionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_models
def list_models(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListModelsResponse
Baseline implementation for the list_models REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ListModelsRequest) — 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::ListModelsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListModelsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#merge_version_aliases
def merge_version_aliases(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Model
Baseline implementation for the merge_version_aliases REST call
- request_pb (::Google::Cloud::AIPlatform::V1::MergeVersionAliasesRequest) — 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::Model)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::Model) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_explanation_dataset
def update_explanation_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_explanation_dataset REST call
- request_pb (::Google::Cloud::AIPlatform::V1::UpdateExplanationDatasetRequest) — 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)
#update_model
def update_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Model
Baseline implementation for the update_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::UpdateModelRequest) — 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::Model)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::Model) — A result object deserialized from the server's reply
- (::ArgumentError)
#upload_model
def upload_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the upload_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::UploadModelRequest) — 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)