1.0.0-beta10 (latest) 1.0.0-beta09

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class OpenApiTool.

A remote API tool defined by an OpenAPI schema.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OpenApiTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.OpenApiTool), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OpenApiTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.OpenApiTool), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OpenApiTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.OpenApiTool), [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.Ces.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta)

## Assembly

Google.Cloud.Ces.V1Beta.dll

## Constructors

### OpenApiTool()

    public OpenApiTool()

### OpenApiTool(OpenApiTool)

    public OpenApiTool(OpenApiTool other)

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

## Properties

### ApiAuthentication

    public ApiAuthentication ApiAuthentication { get; set; }

Optional. Authentication information required by the API.

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

### Description

    public string Description { get; set; }

Optional. The description of the tool. If not provided, the description of
the tool will be derived from the OpenAPI schema, from
`operation.description` or `operation.summary`.

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

### IgnoreUnknownFields

    public bool IgnoreUnknownFields { get; set; }

Optional. If true, the agent will ignore unknown fields in the API
response.

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

### Name

    public string Name { get; set; }

Optional. The name of the tool. If not provided, the name of the tool will
be derived from the OpenAPI schema, from `operation.operationId`.

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

### OpenApiSchema

    public string OpenApiSchema { get; set; }

Required. The OpenAPI schema in JSON or YAML format.

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

### ServiceDirectoryConfig

    public ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }

Optional. Service Directory configuration.

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

### TlsConfig

    public TlsConfig TlsConfig { get; set; }

Optional. The TLS configuration. Includes the custom server certificates
that the client will trust.

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

### Url

    public string Url { get; set; }

Optional. The server URL of the Open API schema.
This field is only set in tools in the environment dependencies during the
export process if the schema contains a server url. During the import
process, if this url is present in the environment dependencies and the
schema has the $env_var placeholder, it will replace the placeholder in the
schema.

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