1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class AgentGatewaySetting.Types.AgentGatewayReference : IMessage<AgentGatewaySetting.Types.AgentGatewayReference>, IEquatable<AgentGatewaySetting.Types.AgentGatewayReference>, IDeepCloneable<AgentGatewaySetting.Types.AgentGatewayReference>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class AgentGatewaySetting.Types.AgentGatewayReference.

Reference to an Agent Gateway resource.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AgentGatewaySetting](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types)[AgentGatewayReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AgentGatewaySetting](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types)[AgentGatewayReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AgentGatewaySetting](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types)[AgentGatewayReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### AgentGatewayReference()

    public AgentGatewayReference()

### AgentGatewayReference(AgentGatewayReference)

    public AgentGatewayReference(AgentGatewaySetting.Types.AgentGatewayReference other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySettinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference` |

## Properties

### AgentGatewayName

    public AgentGatewayName AgentGatewayName { get; set; }

[AgentGatewayName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewayName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference#Google_Cloud_DiscoveryEngine_V1Beta_AgentGatewaySetting_Types_AgentGatewayReference_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewayName` |   |

### Name

    public string Name { get; set; }

Required. Immutable. The resource name of the agent gateway.

Expected format:
`projects/{project_number}/locations/{location}/agentGateways/{agent_gateway}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |