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

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
NameDescription
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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getScaling

Online serving scaling configuration.

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig\Scaling
Returns
TypeDescription
$this