Service Directory v1beta1 API - Class GetServiceRequest (2.0.0-beta04)

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

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

The request message for [RegistrationService.GetService][google.cloud.servicedirectory.v1beta1.RegistrationService.GetService]. This should not be used for looking up a service. Instead, use the resolve method as it contains all endpoints and associated metadata.

Inheritance

object > GetServiceRequest

Namespace

Google.Cloud.ServiceDirectory.V1Beta1

Assembly

Google.Cloud.ServiceDirectory.V1Beta1.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