Show / Hide Table of Contents

Class ProjectsResource.AgentResource.KnowledgeBasesResource

The "knowledgeBases" collection of methods.

Inheritance
System.Object
ProjectsResource.AgentResource.KnowledgeBasesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class 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.AgentResource.KnowledgeBasesResource.DocumentsResource Documents { get; }
Property Value
Type Description
ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource

Methods

Create(GoogleCloudDialogflowV2KnowledgeBase, String)

Creates a knowledge base.

Declaration
public virtual ProjectsResource.AgentResource.KnowledgeBasesResource.CreateRequest Create(GoogleCloudDialogflowV2KnowledgeBase body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2KnowledgeBase body

The body of the request.

System.String parent

Required. The project to create a knowledge base for. Format: projects//locations/.

Returns
Type Description
ProjectsResource.AgentResource.KnowledgeBasesResource.CreateRequest

Delete(String)

Deletes the specified knowledge base.

Declaration
public virtual ProjectsResource.AgentResource.KnowledgeBasesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
System.String name

Required. The name of the knowledge base to delete. Format: projects//locations//knowledgeBases/.

Returns
Type Description
ProjectsResource.AgentResource.KnowledgeBasesResource.DeleteRequest

Get(String)

Retrieves the specified knowledge base.

Declaration
public virtual ProjectsResource.AgentResource.KnowledgeBasesResource.GetRequest Get(string name)
Parameters
Type Name Description
System.String name

Required. The name of the knowledge base to retrieve. Format projects//locations//knowledgeBases/.

Returns
Type Description
ProjectsResource.AgentResource.KnowledgeBasesResource.GetRequest

List(String)

Returns the list of all knowledge bases of the specified agent.

Declaration
public virtual ProjectsResource.AgentResource.KnowledgeBasesResource.ListRequest List(string parent)
Parameters
Type Name Description
System.String parent

Required. The project to list of knowledge bases for. Format: projects//locations/.

Returns
Type Description
ProjectsResource.AgentResource.KnowledgeBasesResource.ListRequest

Patch(GoogleCloudDialogflowV2KnowledgeBase, String)

Updates the specified knowledge base.

Declaration
public virtual ProjectsResource.AgentResource.KnowledgeBasesResource.PatchRequest Patch(GoogleCloudDialogflowV2KnowledgeBase body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowV2KnowledgeBase body

The body of the request.

System.String name

The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.

Returns
Type Description
ProjectsResource.AgentResource.KnowledgeBasesResource.PatchRequest
In This Article
Back to top