Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportDocumentRequest

Inherits:
Object
  • Object
show all
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.ExportDocument.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ExportDocumentRequest

Returns a new instance of GoogleCloudDialogflowV2ExportDocumentRequest.



10416
10417
10418
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10416

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

Instance Attribute Details

#export_full_contentBoolean Also known as: export_full_content?

When enabled, export the full content of the document including empirical probability. Corresponds to the JSON property exportFullContent

Returns:

  • (Boolean)


10402
10403
10404
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10402

def export_full_content
  @export_full_content
end

#gcs_destinationGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsDestination

Google Cloud Storage location for the output. Corresponds to the JSON property gcsDestination



10408
10409
10410
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10408

def gcs_destination
  @gcs_destination
end

#smart_messaging_partial_updateBoolean Also known as: smart_messaging_partial_update?

When enabled, export the smart messaging allowlist document for partial update. Corresponds to the JSON property smartMessagingPartialUpdate

Returns:

  • (Boolean)


10413
10414
10415
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10413

def smart_messaging_partial_update
  @smart_messaging_partial_update
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10421
10422
10423
10424
10425
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10421

def update!(**args)
  @export_full_content = args[:export_full_content] if args.key?(:export_full_content)
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
  @smart_messaging_partial_update = args[:smart_messaging_partial_update] if args.key?(:smart_messaging_partial_update)
end