1.1.0 (latest) 1.0.0

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class RetrieveToolSchemaRequest.

Request message for
\[ToolService.RetrieveToolSchema\]\[google.cloud.ces.v1.ToolService.RetrieveToolSchema\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### RetrieveToolSchemaRequest()

    public RetrieveToolSchemaRequest()

### RetrieveToolSchemaRequest(RetrieveToolSchemaRequest)

    public RetrieveToolSchemaRequest(RetrieveToolSchemaRequest other)

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

## Properties

### HasTool

    public bool HasTool { get; }

Gets whether the "tool" field is set

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

### Parent

    public string Parent { get; set; }

Required. The resource name of the app which the tool/toolset belongs to.
Format: `projects/{project}/locations/{location}/apps/{app}`

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

### ParentAsAppName

    public AppName ParentAsAppName { get; set; }

[AppName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AppName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RetrieveToolSchemaRequest.md.txt#Google_Cloud_Ces_V1_RetrieveToolSchemaRequest_Parent) resource name property.

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

### Tool

    public string Tool { get; set; }

Optional. The name of the tool to retrieve the schema for.
Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}

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

### ToolAsToolName

    public ToolName ToolAsToolName { get; set; }

[ToolName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.ToolName.md.txt)-typed view over the [Tool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RetrieveToolSchemaRequest.md.txt#Google_Cloud_Ces_V1_RetrieveToolSchemaRequest_Tool) resource name property.

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

### ToolIdentifierCase

    public RetrieveToolSchemaRequest.ToolIdentifierOneofCase ToolIdentifierCase { get; }

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

### ToolsetTool

    public ToolsetTool ToolsetTool { get; set; }

Optional. The toolset tool to retrieve the schema for. Only one tool
should match the predicate from the toolset. Otherwise, an error will be
returned.

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