Compute V1 Client - Class TargetReference (1.13.0)

Reference documentation and code samples for the Compute V1 Client class TargetReference.

Generated from protobuf message google.cloud.compute.v1.TargetReference

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ target string

getTarget

Generated from protobuf field optional string target = 192835985;

Returns
TypeDescription
string

hasTarget

clearTarget

setTarget

Generated from protobuf field optional string target = 192835985;

Parameter
NameDescription
var string
Returns
TypeDescription
$this