Service Directory v1 API - Class GetServiceRequest (2.2.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. Instead, use the resolve method as it contains all endpoints and associated annotations.

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