Google Cloud Ai Platform V1 Client - Class OnlineServingConfig (0.37.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class OnlineServingConfig.

OnlineServingConfig specifies the details for provisioning online serving resources.

Generated from protobuf message google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Featurestore

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fixed_node_count int

The number of nodes for the online store. The number of nodes doesn't scale automatically, but you can manually update the number of nodes. If set to 0, the featurestore will not have an online store and cannot be used for online serving.

↳ scaling Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig\Scaling

Online serving scaling configuration. Only one of fixed_node_count and scaling can be set. Setting one will reset the other.

getFixedNodeCount

The number of nodes for the online store. The number of nodes doesn't scale automatically, but you can manually update the number of nodes. If set to 0, the featurestore will not have an online store and cannot be used for online serving.

Returns
Type Description
int

setFixedNodeCount

The number of nodes for the online store. The number of nodes doesn't scale automatically, but you can manually update the number of nodes. If set to 0, the featurestore will not have an online store and cannot be used for online serving.

Parameter
Name Description
var int
Returns
Type Description
$this

getScaling

Online serving scaling configuration.

Only one of fixed_node_count and scaling can be set. Setting one will reset the other.

Returns
Type Description
Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig\Scaling|null

hasScaling

clearScaling

setScaling

Online serving scaling configuration.

Only one of fixed_node_count and scaling can be set. Setting one will reset the other.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig\Scaling
Returns
Type Description
$this