Reference documentation and code samples for the GKE Recommender V1 API class Google::Cloud::GkeRecommender::V1::FetchModelServerVersionsRequest.
Request message for GkeInferenceQuickstart.FetchModelServerVersions.
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 server versions. 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 server versions. 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 server versions. Open-source
models follow the Huggingface Hub
owner/model_name
format. Use GkeInferenceQuickstart.FetchModels to find available models.
#model_server
def model_server() -> ::String
Returns
-
(::String) — Required. The model server for which to list versions. Open-source model
servers use simplified, lowercase names (e.g.,
vllm
). Use GkeInferenceQuickstart.FetchModelServers to find available model servers.
#model_server=
def model_server=(value) -> ::String
Parameter
-
value (::String) — Required. The model server for which to list versions. Open-source model
servers use simplified, lowercase names (e.g.,
vllm
). Use GkeInferenceQuickstart.FetchModelServers to find available model servers.
Returns
-
(::String) — Required. The model server for which to list versions. Open-source model
servers use simplified, lowercase names (e.g.,
vllm
). Use GkeInferenceQuickstart.FetchModelServers to find available model servers.
#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
FetchModelServerVersionsRequest
call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided toFetchModelServerVersionsRequest
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
FetchModelServerVersionsRequest
call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided toFetchModelServerVersionsRequest
must match the call that provided the page token.
Returns
-
(::String) — Optional. The value of
next_page_token
received from a previous
FetchModelServerVersionsRequest
call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided toFetchModelServerVersionsRequest
must match the call that provided the page token.