public sealed class ToolAnnotations : IMessage<ToolAnnotations>, IEquatable<ToolAnnotations>, IDeepCloneable<ToolAnnotations>, IBufferMessage, IMessageReference documentation and code samples for the API hub v1 API class ToolAnnotations.
Annotations for a Tool.
Implements
IMessageToolAnnotations, IEquatableToolAnnotations, IDeepCloneableToolAnnotations, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
ToolAnnotations()
public ToolAnnotations()ToolAnnotations(ToolAnnotations)
public ToolAnnotations(ToolAnnotations other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolAnnotations |
Properties
AdditionalHints
public MapField<string, string> AdditionalHints { get; }Optional. Additional hints which may help tools and not covered in defaults.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
DestructiveHint
public bool DestructiveHint { get; set; }Optional. Hint indicating if the tool may have destructive side effects.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasDestructiveHint
public bool HasDestructiveHint { get; }Gets whether the "destructive_hint" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasIdempotentHint
public bool HasIdempotentHint { get; }Gets whether the "idempotent_hint" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasOpenWorldHint
public bool HasOpenWorldHint { get; }Gets whether the "open_world_hint" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasReadOnlyHint
public bool HasReadOnlyHint { get; }Gets whether the "read_only_hint" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
IdempotentHint
public bool IdempotentHint { get; set; }Optional. Hint indicating if the tool is idempotent.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
OpenWorldHint
public bool OpenWorldHint { get; set; }Optional. Hint indicating if the tool interacts with the open world (e.g., internet).
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ReadOnlyHint
public bool ReadOnlyHint { get; set; }Optional. Hint indicating if the tool is read-only.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Title
public string Title { get; set; }Optional. A human-readable title for the tool (if different from Tool.title).
| Property Value | |
|---|---|
| Type | Description |
string |
|