Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Request message for Documents.ReloadDocument.
Instance Attribute Summary collapse
-
#gcs_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSource
Google Cloud Storage location for single input.
-
#import_gcs_custom_metadata ⇒ Boolean
(also: #import_gcs_custom_metadata?)
Whether to import custom metadata from Google Cloud Storage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ReloadDocumentRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1ReloadDocumentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ReloadDocumentRequest
Returns a new instance of GoogleCloudDialogflowV2beta1ReloadDocumentRequest.
18233 18234 18235 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSource
Google Cloud Storage location for single input.
Corresponds to the JSON property gcsSource
18224 18225 18226 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18224 def gcs_source @gcs_source end |
#import_gcs_custom_metadata ⇒ Boolean Also known as: import_gcs_custom_metadata?
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
18230 18231 18232 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18230 def @import_gcs_custom_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18238 18239 18240 18241 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18238 def update!(**args) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) @import_gcs_custom_metadata = args[:import_gcs_custom_metadata] if args.key?(:import_gcs_custom_metadata) end |