Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ReloadDocumentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ReloadDocumentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Request message for Documents.ReloadDocument.
Instance Attribute Summary collapse
-
#content_uri ⇒ String
Optional.
-
#import_gcs_custom_metadata ⇒ Boolean
(also: #import_gcs_custom_metadata?)
Optional.
-
#smart_messaging_partial_update ⇒ Boolean
(also: #smart_messaging_partial_update?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ReloadDocumentRequest
constructor
A new instance of GoogleCloudDialogflowV2ReloadDocumentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ReloadDocumentRequest
Returns a new instance of GoogleCloudDialogflowV2ReloadDocumentRequest.
14728 14729 14730 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14728 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_uri ⇒ 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:///
.
Corresponds to the JSON property contentUri
14712 14713 14714 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14712 def content_uri @content_uri end |
#import_gcs_custom_metadata ⇒ Boolean Also known as: import_gcs_custom_metadata?
Optional. Whether to import custom metadata from Google Cloud Storage. Only
valid when the document source is Google Cloud Storage URI.
Corresponds to the JSON property importGcsCustomMetadata
14718 14719 14720 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14718 def @import_gcs_custom_metadata end |
#smart_messaging_partial_update ⇒ Boolean Also known as: smart_messaging_partial_update?
Optional. When enabled, the reload request is to apply partial update to the
smart messaging allowlist.
Corresponds to the JSON property smartMessagingPartialUpdate
14725 14726 14727 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14725 def smart_messaging_partial_update @smart_messaging_partial_update end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14733 14734 14735 14736 14737 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14733 def update!(**args) @content_uri = args[:content_uri] if args.key?(:content_uri) @import_gcs_custom_metadata = args[:import_gcs_custom_metadata] if args.key?(:import_gcs_custom_metadata) @smart_messaging_partial_update = args[:smart_messaging_partial_update] if args.key?(:smart_messaging_partial_update) end |