Class ReloadDocumentRequest (3.10.0)

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

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

Inheritance

Object > ReloadDocumentRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ReloadDocumentRequest()

public ReloadDocumentRequest()

ReloadDocumentRequest(ReloadDocumentRequest)

public ReloadDocumentRequest(ReloadDocumentRequest other)
Parameter
NameDescription
otherReloadDocumentRequest

Properties

ContentUri

public string ContentUri { get; set; }

Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported.

For documents stored in Google Cloud Storage, these URIs must have the form gs://{bucket-name}/{object-name}.

Property Value
TypeDescription
String

DocumentName

public DocumentName DocumentName { get; set; }

DocumentName-typed view over the Name resource name property.

Property Value
TypeDescription
DocumentName

ImportGcsCustomMetadata

public bool ImportGcsCustomMetadata { get; set; }

Optional. Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.

Property Value
TypeDescription
Boolean

Name

public string Name { get; set; }

Required. The name of the document to reload. Format: projects/{Project ID}/locations/{Location ID>/knowledgeBases/&lt;Knowledge Base ID>/documents/&lt;Document ID>

Property Value
TypeDescription
String

SmartMessagingPartialUpdate

public bool SmartMessagingPartialUpdate { get; set; }

Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.

Property Value
TypeDescription
Boolean

SourceCase

public ReloadDocumentRequest.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
ReloadDocumentRequest.SourceOneofCase