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

Overview

Request message for Documents.ReloadDocument.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ReloadDocumentRequest

Returns a new instance of GoogleCloudDialogflowV2ReloadDocumentRequest.



10301
10302
10303
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10301

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

Instance Attribute Details

#content_uriString

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

Returns:

  • (String)


10299
10300
10301
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10299

def content_uri
  @content_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10306
10307
10308
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10306

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