Google Cloud App Hub V1 Client - Class GetWorkloadRequest (0.1.3)

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

Request for GetWorkload.

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

Namespace

Google \ Cloud \ AppHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Fully qualified name of the Workload to fetch. Expected format: projects/{project}/locations/{location}/applications/{application}/workloads/{workload}.

getName

Required. Fully qualified name of the Workload to fetch.

Expected format: projects/{project}/locations/{location}/applications/{application}/workloads/{workload}.

Returns
Type Description
string

setName

Required. Fully qualified name of the Workload to fetch.

Expected format: projects/{project}/locations/{location}/applications/{application}/workloads/{workload}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Fully qualified name of the Workload to fetch. Expected format: projects/{project}/locations/{location}/applications/{application}/workloads/{workload}. Please see Google\Cloud\AppHub\V1\AppHubClient::workloadName() for help formatting this field.

Returns
Type Description
Google\Cloud\AppHub\V1\GetWorkloadRequest