Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ReloadDocumentRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ReloadDocumentRequest

Returns a new instance of GoogleCloudDialogflowV2ReloadDocumentRequest.



14608
14609
14610
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14608

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

Instance Attribute Details

#content_uriString

Corresponds to the JSON property contentUri

Returns:

  • (String)


14594
14595
14596
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14594

def content_uri
  @content_uri
end

#import_gcs_custom_metadataBoolean Also known as: import_gcs_custom_metadata?

Corresponds to the JSON property importGcsCustomMetadata

Returns:

  • (Boolean)


14599
14600
14601
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14599

def 
  @import_gcs_custom_metadata
end

#smart_messaging_partial_updateBoolean Also known as: smart_messaging_partial_update?

Corresponds to the JSON property smartMessagingPartialUpdate

Returns:

  • (Boolean)


14605
14606
14607
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14605

def smart_messaging_partial_update
  @smart_messaging_partial_update
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14613
14614
14615
14616
14617
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14613

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