Service Directory v1 API - Class GetServiceRequest (2.1.0)

public sealed class GetServiceRequest : IMessage<GetServiceRequest>, IEquatable<GetServiceRequest>, IDeepCloneable<GetServiceRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Service Directory v1 API class GetServiceRequest.

The request message for [RegistrationService.GetService][google.cloud.servicedirectory.v1.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.

Inheritance

Object > GetServiceRequest

Namespace

Google.Cloud.ServiceDirectory.V1

Assembly

Google.Cloud.ServiceDirectory.V1.dll

Constructors

GetServiceRequest()

public GetServiceRequest()

GetServiceRequest(GetServiceRequest)

public GetServiceRequest(GetServiceRequest other)
Parameter
NameDescription
otherGetServiceRequest

Properties

Name

public string Name { get; set; }

Required. The name of the service to get.

Property Value
TypeDescription
String

ServiceName

public ServiceName ServiceName { get; set; }

ServiceName-typed view over the Name resource name property.

Property Value
TypeDescription
ServiceName