public sealed class CreateToolRequest : IMessage<CreateToolRequest>, IEquatable<CreateToolRequest>, IDeepCloneable<CreateToolRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class CreateToolRequest.
Request message of CreateTool.
Implements
IMessageCreateToolRequest, IEquatableCreateToolRequest, IDeepCloneableCreateToolRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
CreateToolRequest()
public CreateToolRequest()CreateToolRequest(CreateToolRequest)
public CreateToolRequest(CreateToolRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateToolRequest |
Properties
Parent
public string Parent { get; set; }Required. The project/location to create tool for. Format:
projects/<Project ID>/locations/<Location ID>
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
Tool
public Tool Tool { get; set; }Required. The tool to create.
| Property Value | |
|---|---|
| Type | Description |
Tool |
|
ToolId
public string ToolId { get; set; }Optional. The ID to use for the tool, which will become the final component of the tool's resource name.
The tool ID must be compliant with the regression formula
[a-zA-Z][a-zA-Z0-9_-]* with the characters length in range of [3,64].
If the field is not provide, an Id will be auto-generated.
If the field is provided, the caller is responsible for
- the uniqueness of the ID, otherwise the request will be rejected.
- the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
| Property Value | |
|---|---|
| Type | Description |
string |
|