Google Cloud Run V2 Client - Class NodeSelector (1.3.0)

Reference documentation and code samples for the Google Cloud Run V2 Client class NodeSelector.

Hardware constraints configuration.

Generated from protobuf message google.cloud.run.v2.NodeSelector

Namespace

Google \ Cloud \ Run \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ accelerator
string

Required. GPU accelerator type to attach to an instance.

getAccelerator

Required. GPU accelerator type to attach to an instance.

Returns
Type
Description
string

setAccelerator

Required. GPU accelerator type to attach to an instance.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: