Google Cloud Container V1 Client - Class VirtualNIC (1.19.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
NameDescription
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
TypeDescription
bool

setEnabled

Whether gVNIC features are enabled in the node pool.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this