Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v2beta1/classes.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb

Overview

Request message for Documents.ReloadDocument.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ReloadDocumentRequest

Returns a new instance of GoogleCloudDialogflowV2beta1ReloadDocumentRequest.



10368
10369
10370
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 10368

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcs_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSource

Google Cloud Storage location for single input. Corresponds to the JSON property gcsSource



10359
10360
10361
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 10359

def gcs_source
  @gcs_source
end

#import_gcs_custom_metadataBoolean 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

Returns:

  • (Boolean)


10365
10366
10367
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 10365

def 
  @import_gcs_custom_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10373
10374
10375
10376
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 10373

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