Class ProjectsResource.LocationsResource.KnowledgeBasesResource
The "knowledgeBases" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.LocationsResource.KnowledgeBasesResource
Constructors
KnowledgeBasesResource(IClientService)
Constructs a new resource.
Declaration
public KnowledgeBasesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Documents
Gets the Documents resource.
Declaration
public virtual ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource Documents { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource |
Methods
Create(GoogleCloudDialogflowV2beta1KnowledgeBase, string)
Creates a knowledge base. Note: The projects.agent.knowledgeBases
resource is deprecated; only use
projects.knowledgeBases
.
Declaration
public virtual ProjectsResource.LocationsResource.KnowledgeBasesResource.CreateRequest Create(GoogleCloudDialogflowV2beta1KnowledgeBase body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1KnowledgeBase | body | The body of the request. |
string | parent | Required. The project to create a knowledge base for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KnowledgeBasesResource.CreateRequest |
Delete(string)
Deletes the specified knowledge base. Note: The projects.agent.knowledgeBases
resource is
deprecated; only use projects.knowledgeBases
.
Declaration
public virtual ProjectsResource.LocationsResource.KnowledgeBasesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the knowledge base to delete. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KnowledgeBasesResource.DeleteRequest |
Get(string)
Retrieves the specified knowledge base. Note: The projects.agent.knowledgeBases
resource is
deprecated; only use projects.knowledgeBases
.
Declaration
public virtual ProjectsResource.LocationsResource.KnowledgeBasesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the knowledge base to retrieve. Format |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KnowledgeBasesResource.GetRequest |
List(string)
Returns the list of all knowledge bases of the specified agent. Note: The
projects.agent.knowledgeBases
resource is deprecated; only use projects.knowledgeBases
.
Declaration
public virtual ProjectsResource.LocationsResource.KnowledgeBasesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project to list of knowledge bases for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KnowledgeBasesResource.ListRequest |
Patch(GoogleCloudDialogflowV2beta1KnowledgeBase, string)
Updates the specified knowledge base. Note: The projects.agent.knowledgeBases
resource is
deprecated; only use projects.knowledgeBases
.
Declaration
public virtual ProjectsResource.LocationsResource.KnowledgeBasesResource.PatchRequest Patch(GoogleCloudDialogflowV2beta1KnowledgeBase body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1KnowledgeBase | body | The body of the request. |
string | name | The knowledge base resource name. The name must be empty when creating a knowledge base. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KnowledgeBasesResource.PatchRequest |