Google Cloud Service Directory V1 Client - Class GetServiceRequest (1.0.5)

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

The request message for RegistrationService.GetService.

This should not be used for looking up a service. Insead, use the resolve method as it will contain all endpoints and associated metadata.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the service to get.

getName

Required. The name of the service to get.

Returns
TypeDescription
string

setName

Required. The name of the service to get.

Parameter
NameDescription
var string
Returns
TypeDescription
$this