Google Cloud Service Directory V1 Client - Class GetEndpointRequest (1.1.2)

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

The request message for RegistrationService.GetEndpoint.

This should not be used to lookup endpoints at runtime. Instead, use the resolve method.

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

Namespace

Google \ Cloud \ ServiceDirectory \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the endpoint to get.

getName

Required. The name of the endpoint to get.

Returns
TypeDescription
string

setName

Required. The name of the endpoint to get.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the endpoint to get. Please see Google\Cloud\ServiceDirectory\V1\RegistrationServiceClient::endpointName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ServiceDirectory\V1\GetEndpointRequest