Google Cloud Service Directory V1 Client - Class ResolveServiceResponse (2.0.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
Name Description
data array

Optional. Data for populating the Message object.

↳ service Service

getService

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

Returns
Type Description
Service|null

hasService

clearService

setService

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

Parameter
Name Description
var Service
Returns
Type Description
$this