Google Cloud Network Connectivity V1 Client - Class VirtualMachine (1.0.5)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this