Google Cloud Network Connectivity V1 Client - Class VirtualMachine (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class VirtualMachine.

VM instances to which this policy based route applies to.

Generated from protobuf message google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine

Namespace

Google \ Cloud \ NetworkConnectivity \ V1 \ PolicyBasedRoute

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tags array

Optional. A list of VM instance tags to which this policy based route applies to. VM instances that have ANY of tags specified here will install this PBR.

getTags

Optional. A list of VM instance tags to which this policy based route applies to. VM instances that have ANY of tags specified here will install this PBR.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTags

Optional. A list of VM instance tags to which this policy based route applies to. VM instances that have ANY of tags specified here will install this PBR.

Parameter
Name Description
var string[]
Returns
Type Description
$this