Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::AutoML::Rest::ServiceStub.
REST service stub for the AutoMl service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_dataset
def create_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_dataset REST call
- request_pb (::Google::Cloud::AutoML::V1::CreateDatasetRequest) — 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)
#create_model
def create_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_model REST call
- request_pb (::Google::Cloud::AutoML::V1::CreateModelRequest) — 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_dataset
def delete_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_dataset REST call
- request_pb (::Google::Cloud::AutoML::V1::DeleteDatasetRequest) — 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::AutoML::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)
#deploy_model
def deploy_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the deploy_model REST call
- request_pb (::Google::Cloud::AutoML::V1::DeployModelRequest) — 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)
#export_data
def export_data(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the export_data REST call
- request_pb (::Google::Cloud::AutoML::V1::ExportDataRequest) — 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)
#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::AutoML::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_annotation_spec
def get_annotation_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1::AnnotationSpec
Baseline implementation for the get_annotation_spec REST call
- request_pb (::Google::Cloud::AutoML::V1::GetAnnotationSpecRequest) — 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::AutoML::V1::AnnotationSpec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1::AnnotationSpec) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_dataset
def get_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1::Dataset
Baseline implementation for the get_dataset REST call
- request_pb (::Google::Cloud::AutoML::V1::GetDatasetRequest) — 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::AutoML::V1::Dataset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1::Dataset) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_model
def get_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1::Model
Baseline implementation for the get_model REST call
- request_pb (::Google::Cloud::AutoML::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::AutoML::V1::Model)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::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::AutoML::V1::ModelEvaluation
Baseline implementation for the get_model_evaluation REST call
- request_pb (::Google::Cloud::AutoML::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::AutoML::V1::ModelEvaluation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1::ModelEvaluation) — A result object deserialized from the server's reply
- (::ArgumentError)
#import_data
def import_data(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the import_data REST call
- request_pb (::Google::Cloud::AutoML::V1::ImportDataRequest) — 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)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_datasets
def list_datasets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1::ListDatasetsResponse
Baseline implementation for the list_datasets REST call
- request_pb (::Google::Cloud::AutoML::V1::ListDatasetsRequest) — 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::AutoML::V1::ListDatasetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1::ListDatasetsResponse) — 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::AutoML::V1::ListModelEvaluationsResponse
Baseline implementation for the list_model_evaluations REST call
- request_pb (::Google::Cloud::AutoML::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::AutoML::V1::ListModelEvaluationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1::ListModelEvaluationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_models
def list_models(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1::ListModelsResponse
Baseline implementation for the list_models REST call
- request_pb (::Google::Cloud::AutoML::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::AutoML::V1::ListModelsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1::ListModelsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#undeploy_model
def undeploy_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the undeploy_model REST call
- request_pb (::Google::Cloud::AutoML::V1::UndeployModelRequest) — 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)
#update_dataset
def update_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1::Dataset
Baseline implementation for the update_dataset REST call
- request_pb (::Google::Cloud::AutoML::V1::UpdateDatasetRequest) — 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::AutoML::V1::Dataset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1::Dataset) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_model
def update_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1::Model
Baseline implementation for the update_model REST call
- request_pb (::Google::Cloud::AutoML::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::AutoML::V1::Model)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1::Model) — A result object deserialized from the server's reply
- (::ArgumentError)