GKE Recommender V1 API - Class Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the GKE Recommender V1 API class Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Rest::ServiceStub.

REST service stub for the GkeInferenceQuickstart service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#fetch_benchmarking_data

def fetch_benchmarking_data(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeRecommender::V1::FetchBenchmarkingDataResponse

Baseline implementation for the fetch_benchmarking_data REST call

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

#fetch_model_server_versions

def fetch_model_server_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeRecommender::V1::FetchModelServerVersionsResponse

Baseline implementation for the fetch_model_server_versions REST call

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

#fetch_model_servers

def fetch_model_servers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeRecommender::V1::FetchModelServersResponse

Baseline implementation for the fetch_model_servers REST call

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

#fetch_models

def fetch_models(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeRecommender::V1::FetchModelsResponse

Baseline implementation for the fetch_models REST call

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

#fetch_profiles

def fetch_profiles(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeRecommender::V1::FetchProfilesResponse

Baseline implementation for the fetch_profiles REST call

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

#generate_optimized_manifest

def generate_optimized_manifest(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeRecommender::V1::GenerateOptimizedManifestResponse

Baseline implementation for the generate_optimized_manifest REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)