Class CreateDocumentRequest (3.4.0)

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

Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2.Documents.CreateDocument].

Inheritance

Object > CreateDocumentRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

CreateDocumentRequest()

public CreateDocumentRequest()

CreateDocumentRequest(CreateDocumentRequest)

public CreateDocumentRequest(CreateDocumentRequest other)
Parameter
NameDescription
otherCreateDocumentRequest

Properties

Document

public Document Document { get; set; }

Required. The document to create.

Property Value
TypeDescription
Document

Parent

public string Parent { get; set; }

Required. The knowledge base to create a document for. Format: projects/{Project ID}/locations/{Location ID>/knowledgeBases/&lt;Knowledge Base ID>.

Property Value
TypeDescription
String

ParentAsKnowledgeBaseName

public KnowledgeBaseName ParentAsKnowledgeBaseName { get; set; }

KnowledgeBaseName-typed view over the Parent resource name property.

Property Value
TypeDescription
KnowledgeBaseName