Google Cloud Gke Recommender V1 Client - Class Profile (0.2.0)

Reference documentation and code samples for the Google Cloud Gke Recommender V1 Client class Profile.

A profile containing information about a model deployment.

Generated from protobuf message google.cloud.gkerecommender.v1.Profile

Namespace

Google \ Cloud \ GkeRecommender \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ model_server_info
ModelServerInfo

Output only. The model server configuration. Use GkeInferenceQuickstart.FetchProfiles to find valid configurations.

↳ accelerator_type
string

Output only. The accelerator type. Expected format: nvidia-h100-80gb .

↳ tpu_topology
string

Output only. The TPU topology (if applicable).

↳ instance_type
string

Output only. The instance type. Expected format: a2-highgpu-1g .

↳ resources_used
ResourcesUsed

Output only. The resources used by the model deployment.

↳ performance_stats
array< PerformanceStats >

Output only. The performance statistics for this profile.

getModelServerInfo

Output only. The model server configuration. Use GkeInferenceQuickstart.FetchProfiles to find valid configurations.

Returns
Type
Description

hasModelServerInfo

clearModelServerInfo

setModelServerInfo

Output only. The model server configuration. Use GkeInferenceQuickstart.FetchProfiles to find valid configurations.

Parameter
Name
Description
Returns
Type
Description
$this

getAcceleratorType

Output only. The accelerator type. Expected format: nvidia-h100-80gb .

Returns
Type
Description
string

setAcceleratorType

Output only. The accelerator type. Expected format: nvidia-h100-80gb .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTpuTopology

Output only. The TPU topology (if applicable).

Returns
Type
Description
string

setTpuTopology

Output only. The TPU topology (if applicable).

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getInstanceType

Output only. The instance type. Expected format: a2-highgpu-1g .

Returns
Type
Description
string

setInstanceType

Output only. The instance type. Expected format: a2-highgpu-1g .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getResourcesUsed

Output only. The resources used by the model deployment.

Returns
Type
Description

hasResourcesUsed

clearResourcesUsed

setResourcesUsed

Output only. The resources used by the model deployment.

Parameter
Name
Description
Returns
Type
Description
$this

getPerformanceStats

Output only. The performance statistics for this profile.

Returns
Type
Description

setPerformanceStats

Output only. The performance statistics for this profile.

Parameter
Name
Description
var
array< PerformanceStats >
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: