Google Cloud Container V1 Client - Class VirtualNIC (1.31.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class VirtualNIC.

Configuration of gVNIC feature.

Generated from protobuf message google.container.v1.VirtualNIC

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether gVNIC features are enabled in the node pool.

getEnabled

Whether gVNIC features are enabled in the node pool.

Returns
Type Description
bool

setEnabled

Whether gVNIC features are enabled in the node pool.

Parameter
Name Description
var bool
Returns
Type Description
$this