Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::AutoML::Rest::ServiceStub (v0.8.0)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::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::Cloud::AutoML::V1beta1::Dataset

Baseline implementation for the create_dataset REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_model

def create_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_dataset

def delete_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_dataset REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_model

def delete_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#deploy_model

def deploy_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the deploy_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#export_data

def export_data(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the export_data REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#export_evaluated_examples

def export_evaluated_examples(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the export_evaluated_examples REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#export_model

def export_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the export_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_annotation_spec

def get_annotation_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::AnnotationSpec

Baseline implementation for the get_annotation_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_column_spec

def get_column_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::ColumnSpec

Baseline implementation for the get_column_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_dataset

def get_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::Dataset

Baseline implementation for the get_dataset REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_model

def get_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::Model

Baseline implementation for the get_model REST call

Parameters
  • request_pb (::Google::Cloud::AutoML::V1beta1::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_model_evaluation

def get_model_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::ModelEvaluation

Baseline implementation for the get_model_evaluation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_table_spec

def get_table_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::TableSpec

Baseline implementation for the get_table_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#import_data

def import_data(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the import_data REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_column_specs

def list_column_specs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::ListColumnSpecsResponse

Baseline implementation for the list_column_specs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_datasets

def list_datasets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::ListDatasetsResponse

Baseline implementation for the list_datasets REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_model_evaluations

def list_model_evaluations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::ListModelEvaluationsResponse

Baseline implementation for the list_model_evaluations REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_models

def list_models(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::ListModelsResponse

Baseline implementation for the list_models REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_table_specs

def list_table_specs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::ListTableSpecsResponse

Baseline implementation for the list_table_specs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#undeploy_model

def undeploy_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the undeploy_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_column_spec

def update_column_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::ColumnSpec

Baseline implementation for the update_column_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_dataset

def update_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::Dataset

Baseline implementation for the update_dataset REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_table_spec

def update_table_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AutoML::V1beta1::TableSpec

Baseline implementation for the update_table_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)