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

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

Request for GetDiscoveredWorkload.

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

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 Discovered Workload to fetch. Expected format: projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}.

getName

Required. Fully qualified name of the Discovered Workload to fetch.

Expected format: projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}.

Returns
Type Description
string

setName

Required. Fully qualified name of the Discovered Workload to fetch.

Expected format: projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Fully qualified name of the Discovered Workload to fetch. Expected format: projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}. Please see Google\Cloud\AppHub\V1\AppHubClient::discoveredWorkloadName() for help formatting this field.

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