1.0.0 (latest) 1.0.0-beta01

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

Reference documentation and code samples for the Agent Registry v1 API class GetServiceRequest.

Message for getting a Service

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetServiceRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GetServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.GetServiceRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.GetServiceRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GetServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.GetServiceRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AgentRegistry.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.md.txt)

## Assembly

Google.Cloud.AgentRegistry.V1.dll

## Constructors

### GetServiceRequest()

    public GetServiceRequest()

### GetServiceRequest(GetServiceRequest)

    public GetServiceRequest(GetServiceRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GetServiceRequest` |

## Properties

### Name

    public string Name { get; set; }

Required. The name of the Service.
Format: `projects/{project}/locations/{location}/services/{service}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ServiceName

    public ServiceName ServiceName { get; set; }

[ServiceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.ServiceName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.GetServiceRequest.md.txt#Google_Cloud_AgentRegistry_V1_GetServiceRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ServiceName` |   |