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

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

Request for LookupDiscoveredService.

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

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 Service in. Expected format: projects/{project}/locations/{location}.

↳ uri string

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

getParent

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

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

Returns
Type Description
string

setParent

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getUri

Required. Resource URI to find DiscoveredService for.

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

Returns
Type Description
string

setUri

Required. Resource URI to find DiscoveredService 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 Service 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 DiscoveredService for. Accepts both project number and project ID and does translation when needed.

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