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
- request_pb (::Google::Cloud::AutoML::V1beta1::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::Cloud::AutoML::V1beta1::Dataset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::Dataset) — 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::V1beta1::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::V1beta1::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::V1beta1::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::V1beta1::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)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#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::V1beta1::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_evaluated_examples
def export_evaluated_examples(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the export_evaluated_examples REST call
- request_pb (::Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesRequest) — 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::V1beta1::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::V1beta1::AnnotationSpec
Baseline implementation for the get_annotation_spec REST call
- request_pb (::Google::Cloud::AutoML::V1beta1::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::V1beta1::AnnotationSpec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::AnnotationSpec) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AutoML::V1beta1::GetColumnSpecRequest) — 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::V1beta1::ColumnSpec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::ColumnSpec) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AutoML::V1beta1::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::V1beta1::Dataset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::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::V1beta1::Model
Baseline implementation for the get_model REST call
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AutoML::V1beta1::Model)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::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::V1beta1::ModelEvaluation
Baseline implementation for the get_model_evaluation REST call
- request_pb (::Google::Cloud::AutoML::V1beta1::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::V1beta1::ModelEvaluation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::ModelEvaluation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AutoML::V1beta1::GetTableSpecRequest) — 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::V1beta1::TableSpec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::TableSpec) — 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::V1beta1::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_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
- request_pb (::Google::Cloud::AutoML::V1beta1::ListColumnSpecsRequest) — 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::V1beta1::ListColumnSpecsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::ListColumnSpecsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AutoML::V1beta1::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::V1beta1::ListDatasetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::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::V1beta1::ListModelEvaluationsResponse
Baseline implementation for the list_model_evaluations REST call
- request_pb (::Google::Cloud::AutoML::V1beta1::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::V1beta1::ListModelEvaluationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::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::V1beta1::ListModelsResponse
Baseline implementation for the list_models REST call
- request_pb (::Google::Cloud::AutoML::V1beta1::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::V1beta1::ListModelsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::ListModelsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AutoML::V1beta1::ListTableSpecsRequest) — 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::V1beta1::ListTableSpecsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::ListTableSpecsResponse) — 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::V1beta1::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_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
- request_pb (::Google::Cloud::AutoML::V1beta1::UpdateColumnSpecRequest) — 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::V1beta1::ColumnSpec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::ColumnSpec) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AutoML::V1beta1::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::V1beta1::Dataset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::Dataset) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AutoML::V1beta1::UpdateTableSpecRequest) — 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::V1beta1::TableSpec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AutoML::V1beta1::TableSpec) — A result object deserialized from the server's reply
- (::ArgumentError)