Google Cloud Service Directory V1 Client - Class ResolveServiceResponse (1.2.1)

Reference documentation and code samples for the Google Cloud Service Directory V1 Client class ResolveServiceResponse.

The response message for LookupService.ResolveService.

Generated from protobuf message google.cloud.servicedirectory.v1.ResolveServiceResponse

Namespace

Google \ Cloud \ ServiceDirectory \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service Google\Cloud\ServiceDirectory\V1\Service

getService

Generated from protobuf field .google.cloud.servicedirectory.v1.Service service = 1;

Returns
TypeDescription
Google\Cloud\ServiceDirectory\V1\Service|null

hasService

clearService

setService

Generated from protobuf field .google.cloud.servicedirectory.v1.Service service = 1;

Parameter
NameDescription
var Google\Cloud\ServiceDirectory\V1\Service
Returns
TypeDescription
$this