Service Client: Google::Cloud::Gkerecommender::V1::Gkerecommender::GkeInferenceQuickstartClient
Client stub representing the remote GkeInferenceQuickstart gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to gkerecommender.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Gkerecommender::V1::Gkerecommender - Compiled Protocol Buffers messages for google/cloud/gkerecommender/v1/gkerecommender.proto
SYNOPSIS
use Google::Cloud::Gkerecommender::V1::Gkerecommender;
my $msg = Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchModelsRequest->new({
page_size => $page_size,
page_token => $page_token,
});
# Read or update a field
my $val = $msg->page_size();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchModelsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/gkerecommender/v1/gkerecommender.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchModelsRequest
Request message for [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels].
Inherits from Protobuf::Message.
Accessors
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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][google.cloud.gkerecommender.v1.FetchModelsResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchModelsResponse.next_page_token] received from a previous `FetchModelsRequest` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `FetchModelsRequest` must match the call that provided the page token.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchModelsResponse
Response message for [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels].
Inherits from Protobuf::Message.
Accessors
$msg->models()/$msg->models($value)Type:
StringOutput only. List of available models. Open-source models follow the Huggingface Hub `owner/model_name` format.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. A token which may be sent as [page_token][FetchModelsResponse.page_token] in a subsequent `FetchModelsResponse` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchModelServersRequest
Request message for [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers].
Inherits from Protobuf::Message.
Accessors
$msg->model()/$msg->model($value)Type:
StringRequired. The model for which to list model servers. Open-source models follow the Huggingface Hub `owner/model_name` format. Use [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels] to find available models.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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][google.cloud.gkerecommender.v1.FetchModelServersResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchModelServersResponse.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.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchModelServersResponse
Response message for [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers].
Inherits from Protobuf::Message.
Accessors
$msg->model_servers()/$msg->model_servers($value)Type:
StringOutput only. List of available model servers. Open-source model servers use simplified, lowercase names (e.g., `vllm`).
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. A token which may be sent as [page_token][FetchModelServersResponse.page_token] in a subsequent `FetchModelServersResponse` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchModelServerVersionsRequest
Request message for [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions].
Inherits from Protobuf::Message.
Accessors
$msg->model()/$msg->model($value)Type:
StringRequired. The model for which to list model server versions. Open-source models follow the Huggingface Hub `owner/model_name` format. Use [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels] to find available models.
$msg->model_server()/$msg->model_server($value)Type:
StringRequired. The model server for which to list versions. Open-source model servers use simplified, lowercase names (e.g., `vllm`). Use [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers] to find available model servers.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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][google.cloud.gkerecommender.v1.FetchModelServerVersionsResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchModelServerVersionsResponse.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 to `FetchModelServerVersionsRequest` must match the call that provided the page token.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchModelServerVersionsResponse
Response message for [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions].
Inherits from Protobuf::Message.
Accessors
$msg->model_server_versions()/$msg->model_server_versions($value)Type:
StringOutput only. A list of available model server versions.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. A token which may be sent as [page_token][FetchModelServerVersionsResponse.page_token] in a subsequent `FetchModelServerVersionsResponse` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchBenchmarkingDataRequest
Request message for [GkeInferenceQuickstart.FetchBenchmarkingData][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchBenchmarkingData].
Inherits from Protobuf::Message.
Accessors
$msg->model_server_info()/$msg->model_server_info($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::ModelServerInfo)Required. The model server configuration to get benchmarking data for. Use [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles] to find valid configurations.
$msg->instance_type()/$msg->instance_type($value)Type:
StringOptional. The instance type to filter benchmarking data. Instance types are in the format `a2-highgpu-1g`. If not provided, all instance types for the given profile's `model_server_info` will be returned. Use [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles] to find available instance types.
$msg->pricing_model()/$msg->pricing_model($value)Type:
StringOptional. The pricing model to use for the benchmarking data. Defaults to `spot`.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchBenchmarkingDataResponse
Response message for [GkeInferenceQuickstart.FetchBenchmarkingData][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchBenchmarkingData].
Inherits from Protobuf::Message.
Accessors
$msg->profile()/$msg->profile($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::Profile)Output only. List of profiles containing their respective benchmarking data.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchProfilesRequest
Request message for [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles].
Inherits from Protobuf::Message.
Accessors
$msg->model()/$msg->model($value)Type:
StringOptional. The model to filter profiles by. Open-source models follow the Huggingface Hub `owner/model_name` format. If not provided, all models are returned. Use [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels] to find available models.
$msg->model_server()/$msg->model_server($value)Type:
StringOptional. The model server to filter profiles by. If not provided, all model servers are returned. Use [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers] to find available model servers for a given model.
$msg->model_server_version()/$msg->model_server_version($value)Type:
StringOptional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions] to find available versions for a given model and server.
$msg->performance_requirements()/$msg->performance_requirements($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::PerformanceRequirements)Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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][google.cloud.gkerecommender.v1.FetchProfilesResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchProfilesResponse.next_page_token] received from a previous `FetchProfilesRequest` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `FetchProfilesRequest` must match the call that provided the page token.
Google::Cloud::Gkerecommender::V1::Gkerecommender::PerformanceRequirements
Performance requirements for a profile and or model deployment.
Inherits from Protobuf::Message.
Accessors
$msg->target_ntpot_milliseconds()/$msg->target_ntpot_milliseconds($value)Type:
Int32Optional. The target Normalized Time Per Output Token (NTPOT) in milliseconds. NTPOT is calculated as `request_latency / total_output_tokens`. If not provided, this target will not be enforced.
$msg->target_ttft_milliseconds()/$msg->target_ttft_milliseconds($value)Type:
Int32Optional. The target Time To First Token (TTFT) in milliseconds. TTFT is the time it takes to generate the first token for a request. If not provided, this target will not be enforced.
$msg->target_cost()/$msg->target_cost($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::Cost)Optional. The target cost for running a profile's model server. If not provided, this requirement will not be enforced.
Google::Cloud::Gkerecommender::V1::Gkerecommender::Amount
Represents an amount of money in a specific currency.
Inherits from Protobuf::Message.
Accessors
$msg->units()/$msg->units($value)Type:
Int64Output only. The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
$msg->nanos()/$msg->nanos($value)Type:
Int32Output only. Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Google::Cloud::Gkerecommender::V1::Gkerecommender::Cost
Cost for running a model deployment on a given instance type. Currently, only USD currency code is supported.
Inherits from Protobuf::Message.
Accessors
$msg->cost_per_million_output_tokens()/$msg->cost_per_million_output_tokens($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::Amount)Optional. The cost per million output tokens, calculated as: $/output token = GPU $/s / (1/output-to-input-cost-ratio * input tokens/s + output tokens/s)
$msg->cost_per_million_input_tokens()/$msg->cost_per_million_input_tokens($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::Amount)Optional. The cost per million input tokens. $/input token = ($/output token) / output-to-input-cost-ratio.
$msg->pricing_model()/$msg->pricing_model($value)Type:
StringOptional. The pricing model used to calculate the cost. Can be one of: `3-years-cud`, `1-year-cud`, `on-demand`, `spot`. If not provided, `spot` will be used.
$msg->output_input_cost_ratio()/$msg->output_input_cost_ratio($value)Type:
FloatOptional. The output-to-input cost ratio. This determines how the total GPU cost is split between input and output tokens. If not provided, `4.0` is used, assuming a 4:1 output:input cost ratio.
Google::Cloud::Gkerecommender::V1::Gkerecommender::TokensPerSecondRange
Represents a range of throughput values in tokens per second.
Inherits from Protobuf::Message.
Accessors
$msg->min()/$msg->min($value)Type:
Int32Output only. The minimum value of the range.
$msg->max()/$msg->max($value)Type:
Int32Output only. The maximum value of the range.
Google::Cloud::Gkerecommender::V1::Gkerecommender::MillisecondRange
Represents a range of latency values in milliseconds.
Inherits from Protobuf::Message.
Accessors
$msg->min()/$msg->min($value)Type:
Int32Output only. The minimum value of the range.
$msg->max()/$msg->max($value)Type:
Int32Output only. The maximum value of the range.
Google::Cloud::Gkerecommender::V1::Gkerecommender::PerformanceRange
Performance range for a model deployment.
Inherits from Protobuf::Message.
Accessors
$msg->throughput_output_range()/$msg->throughput_output_range($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::TokensPerSecondRange)Output only. The range of throughput in output tokens per second. This is measured as total_output_tokens_generated_by_server / elapsed_time_in_seconds.
$msg->ttft_range()/$msg->ttft_range($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::MillisecondRange)Output only. The range of TTFT (Time To First Token) in milliseconds. TTFT is the time it takes to generate the first token for a request.
$msg->ntpot_range()/$msg->ntpot_range($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::MillisecondRange)Output only. The range of NTPOT (Normalized Time Per Output Token) in milliseconds. NTPOT is the request latency normalized by the number of output tokens, measured as request_latency / total_output_tokens.
Google::Cloud::Gkerecommender::V1::Gkerecommender::FetchProfilesResponse
Response message for [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles].
Inherits from Protobuf::Message.
Accessors
$msg->profile()/$msg->profile($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::Profile)Output only. List of profiles that match the given model server info and performance requirements (if provided).
$msg->performance_range()/$msg->performance_range($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::PerformanceRange)Output only. The combined range of performance values observed across all profiles in this response.
$msg->comments()/$msg->comments($value)Type:
StringOutput only. Additional comments related to the response.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. A token which may be sent as [page_token][FetchProfilesResponse.page_token] in a subsequent `FetchProfilesResponse` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
Google::Cloud::Gkerecommender::V1::Gkerecommender::ModelServerInfo
Model server information gives. Valid model server info combinations can be found using [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles].
Inherits from Protobuf::Message.
Accessors
$msg->model()/$msg->model($value)Type:
StringRequired. The model. Open-source models follow the Huggingface Hub `owner/model_name` format. Use [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels] to find available models.
$msg->model_server()/$msg->model_server($value)Type:
StringRequired. The model server. Open-source model servers use simplified, lowercase names (e.g., `vllm`). Use [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers] to find available servers.
$msg->model_server_version()/$msg->model_server_version($value)Type:
StringOptional. The model server version. Use [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions] to find available versions. If not provided, the latest available version is used.
Google::Cloud::Gkerecommender::V1::Gkerecommender::ResourcesUsed
Resources used by a model deployment.
Inherits from Protobuf::Message.
Accessors
$msg->accelerator_count()/$msg->accelerator_count($value)Type:
Int32Output only. The number of accelerators (e.g., GPUs or TPUs) used by the model deployment on the Kubernetes node.
Google::Cloud::Gkerecommender::V1::Gkerecommender::PerformanceStats
Performance statistics for a model deployment.
Inherits from Protobuf::Message.
Accessors
$msg->queries_per_second()/$msg->queries_per_second($value)Type:
FloatOutput only. The number of queries per second. Note: This metric can vary widely based on context length and may not be a reliable measure of LLM throughput.
$msg->output_tokens_per_second()/$msg->output_tokens_per_second($value)Type:
Int32Output only. The number of output tokens per second. This is the throughput measured as total_output_tokens_generated_by_server / elapsed_time_in_seconds.
$msg->ntpot_milliseconds()/$msg->ntpot_milliseconds($value)Type:
Int32Output only. The Normalized Time Per Output Token (NTPOT) in milliseconds. This is the request latency normalized by the number of output tokens, measured as request_latency / total_output_tokens.
$msg->ttft_milliseconds()/$msg->ttft_milliseconds($value)Type:
Int32Output only. The Time To First Token (TTFT) in milliseconds. This is the time it takes to generate the first token for a request.
$msg->cost()/$msg->cost($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::Cost)Output only. The cost of running the model deployment.
Google::Cloud::Gkerecommender::V1::Gkerecommender::Profile
A profile containing information about a model deployment.
Inherits from Protobuf::Message.
Accessors
$msg->model_server_info()/$msg->model_server_info($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::ModelServerInfo)Output only. The model server configuration. Use [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles] to find valid configurations.
$msg->accelerator_type()/$msg->accelerator_type($value)Type:
StringOutput only. The accelerator type. Expected format: `nvidia-h100-80gb`.
$msg->tpu_topology()/$msg->tpu_topology($value)Type:
StringOutput only. The TPU topology (if applicable).
$msg->instance_type()/$msg->instance_type($value)Type:
StringOutput only. The instance type. Expected format: `a2-highgpu-1g`.
$msg->resources_used()/$msg->resources_used($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::ResourcesUsed)Output only. The resources used by the model deployment.
$msg->performance_stats()/$msg->performance_stats($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::PerformanceStats)Output only. The performance statistics for this profile.
Google::Cloud::Gkerecommender::V1::Gkerecommender::GenerateOptimizedManifestRequest
Request message for [GkeInferenceQuickstart.GenerateOptimizedManifest][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.GenerateOptimizedManifest].
Inherits from Protobuf::Message.
Accessors
$msg->model_server_info()/$msg->model_server_info($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::ModelServerInfo)Required. The model server configuration to generate the manifest for. Use [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles] to find valid configurations.
$msg->accelerator_type()/$msg->accelerator_type($value)Type:
StringRequired. The accelerator type. Use [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles] to find valid accelerators for a given `model_server_info`.
$msg->kubernetes_namespace()/$msg->kubernetes_namespace($value)Type:
StringOptional. The kubernetes namespace to deploy the manifests in.
$msg->performance_requirements()/$msg->performance_requirements($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::PerformanceRequirements)Optional. The performance requirements to use for generating Horizontal Pod Autoscaler (HPA) resources. If provided, the manifest includes HPA resources to adjust the model server replica count to maintain the specified targets (e.g., NTPOT, TTFT) at a P50 latency. Cost targets are not currently supported for HPA generation. If the specified targets are not achievable, the HPA manifest will not be generated.
$msg->storage_config()/$msg->storage_config($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::StorageConfig)Optional. The storage configuration for the model. If not provided, the model is loaded from Huggingface.
Google::Cloud::Gkerecommender::V1::Gkerecommender::KubernetesManifest
A Kubernetes manifest.
Inherits from Protobuf::Message.
Accessors
$msg->kind()/$msg->kind($value)Type:
StringOutput only. Kubernetes resource kind.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. Kubernetes API version.
$msg->content()/$msg->content($value)Type:
StringOutput only. YAML content.
Google::Cloud::Gkerecommender::V1::Gkerecommender::GenerateOptimizedManifestResponse
Response message for [GkeInferenceQuickstart.GenerateOptimizedManifest][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.GenerateOptimizedManifest].
Inherits from Protobuf::Message.
Accessors
$msg->kubernetes_manifests()/$msg->kubernetes_manifests($value)Type:
Message(Google::Cloud::Gkerecommender::V1::Gkerecommender::KubernetesManifest)Output only. A list of generated Kubernetes manifests.
$msg->comments()/$msg->comments($value)Type:
StringOutput only. Comments related to deploying the generated manifests.
$msg->manifest_version()/$msg->manifest_version($value)Type:
StringOutput only. Additional information about the versioned dependencies used to generate the manifests. See [Run best practice inference with GKE Inference Quickstart recipes](https://cloud.google.com/kubernetes-engine/docs/how-to/machine-learning/inference/inference-quickstart) for details.
Google::Cloud::Gkerecommender::V1::Gkerecommender::StorageConfig
Storage configuration for a model deployment.
Inherits from Protobuf::Message.
Accessors
$msg->model_bucket_uri()/$msg->model_bucket_uri($value)Type:
StringOptional. The Google Cloud Storage bucket URI to load the model from. This URI must point to the directory containing the model's config file (`config.json`) and model weights. A tuned GCSFuse setup can improve LLM Pod startup time by more than 7x. Expected format: `gs://<bucket-name>/<path-to-model>`.
$msg->xla_cache_bucket_uri()/$msg->xla_cache_bucket_uri($value)Type:
StringOptional. The URI for the GCS bucket containing the XLA compilation cache. If using TPUs, the XLA cache will be written to the same path as `model_bucket_uri`. This can speed up vLLM model preparation for repeated deployments.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Gkerecommender::V1::Gkerecommender::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.