GKE Recommender V1 API - Class Google::Cloud::GkeRecommender::V1::FetchModelServersRequest (v0.1.0)

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

Request message for GkeInferenceQuickstart.FetchModelServers.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#model

def model() -> ::String
Returns
  • (::String) — Required. The model for which to list model servers. Open-source models follow the Huggingface Hub owner/model_name format. Use GkeInferenceQuickstart.FetchModels to find available models.

#model=

def model=(value) -> ::String
Parameter
  • value (::String) — Required. The model for which to list model servers. Open-source models follow the Huggingface Hub owner/model_name format. Use GkeInferenceQuickstart.FetchModels to find available models.
Returns
  • (::String) — Required. The model for which to list model servers. Open-source models follow the Huggingface Hub owner/model_name format. Use GkeInferenceQuickstart.FetchModels to find available models.

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
Returns
  • (::Integer) — Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.

#page_token

def page_token() -> ::String
Returns
  • (::String) — Optional. The value of next_page_token received from a previous FetchModelServersRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchModelServersRequest must match the call that provided the page token.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — Optional. The value of next_page_token received from a previous FetchModelServersRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchModelServersRequest must match the call that provided the page token.
Returns
  • (::String) — Optional. The value of next_page_token received from a previous FetchModelServersRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchModelServersRequest must match the call that provided the page token.