Google Cloud App Hub V1 Client - Class WorkloadReference (0.1.2)

Reference documentation and code samples for the Google Cloud App Hub V1 Client class WorkloadReference.

Reference of an underlying compute resource represented by the Workload.

Generated from protobuf message google.cloud.apphub.v1.WorkloadReference

Namespace

Google \ Cloud \ AppHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

Output only. The underlying compute resource uri.

getUri

Output only. The underlying compute resource uri.

Returns
Type Description
string

setUri

Output only. The underlying compute resource uri.

Parameter
Name Description
var string
Returns
Type Description
$this