Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ReloadDocumentRequest (v0.17.1)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ReloadDocumentRequest.

Request message for Documents.ReloadDocument.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content_uri

def content_uri() -> ::String
Returns
  • (::String) — 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>.

#content_uri=

def content_uri=(value) -> ::String
Parameter
  • value (::String) — 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>.

Returns
  • (::String) — 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>.

#import_gcs_custom_metadata

def import_gcs_custom_metadata() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.

#import_gcs_custom_metadata=

def import_gcs_custom_metadata=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
Returns
  • (::Boolean) — Optional. Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the document to reload. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the document to reload. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>
Returns
  • (::String) — Required. The name of the document to reload. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>

#smart_messaging_partial_update

def smart_messaging_partial_update() -> ::Boolean
Returns
  • (::Boolean) — Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.

#smart_messaging_partial_update=

def smart_messaging_partial_update=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.
Returns
  • (::Boolean) — Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.