Class: Google::Apis::TexttospeechV1::ImportDataRequest

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

Overview

A request to import data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportDataRequest

Returns a new instance of ImportDataRequest.



106
107
108
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 106

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

Instance Attribute Details

#csv_cloud_storage_uriString

Customer provide a Cloud Storage link which point to a .csv file which stores all the truth text and Cloud Storage link of audio data. Corresponds to the JSON property csvCloudStorageUri

Returns:

  • (String)


104
105
106
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 104

def csv_cloud_storage_uri
  @csv_cloud_storage_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



111
112
113
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 111

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