Class GetServiceRequest (1.0.0)

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

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

System.Object > GetServiceRequest

Implements

Google.Protobuf.IMessage<GetServiceRequest>, System.IEquatable<GetServiceRequest>, Google.Protobuf.IDeepCloneable<GetServiceRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
System.String

ServiceName

public ServiceName ServiceName { get; set; }

ServiceName-typed view over the Name resource name property.

Property Value
TypeDescription
ServiceName