1.0.0-beta25 (latest) 1.0.0-beta24

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

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

Agent Gateway setting, which may be attached to Gemini Enterprise resources
for egress control of Gemini Enterprise agents to agents and tools outside of
Gemini Enterprise.

## Inheritance

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

## 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), [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), [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), [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

### AgentGatewaySetting()

    public AgentGatewaySetting()

### AgentGatewaySetting(AgentGatewaySetting)

    public AgentGatewaySetting(AgentGatewaySetting other)

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

## Properties

### DefaultEgressAgentGateway

    public AgentGatewaySetting.Types.AgentGatewayReference DefaultEgressAgentGateway { get; set; }

Optional. The default egress agent gateway to use, when this setting is
applied to a Gemini Enterprise resource.

The deployment mode must be GOOGLE_MANAGED, and the governed access path
must be AGENT_TO_ANYWHERE.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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` |   |