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

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

Request for LookupDiscoveredWorkload.

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

Namespace

Google \ Cloud \ AppHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Host project ID and location to lookup Discovered Workload in. Expected format: projects/{project}/locations/{location}.

↳ uri string

Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.

getParent

Required. Host project ID and location to lookup Discovered Workload in.

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

Returns
Type Description
string

setParent

Required. Host project ID and location to lookup Discovered Workload in.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getUri

Required. Resource URI to find Discovered Workload for.

Accepts both project number and project ID and does translation when needed.

Returns
Type Description
string

setUri

Required. Resource URI to find Discovered Workload for.

Accepts both project number and project ID and does translation when needed.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Host project ID and location to lookup Discovered Workload in. Expected format: projects/{project}/locations/{location}. Please see Google\Cloud\AppHub\V1\AppHubClient::locationName() for help formatting this field.

uri string

Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.

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