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.



9622
9623
9624
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9622

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)


9620
9621
9622
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9620

def content_uri
  @content_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9627
9628
9629
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9627

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