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. Instead, use the resolve
method as it contains all endpoints and associated annotations.
Generated from protobuf message google.cloud.servicedirectory.v1.GetServiceRequest
Namespace
Google \ Cloud \ ServiceDirectory \ V1Methods
__construct
Constructor.
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.
string
setName
Required. The name of the service to get.
var
string
$this
static::build
name
string
Required. The name of the service to get. Please see Google\Cloud\ServiceDirectory\V1\RegistrationServiceClient::serviceName() for help formatting this field.