@@ -93,26 +93,6 @@ def update!(**args)
9393 end
9494 end
9595
96- # A request to import data.
97- class ImportDataRequest
98- include Google ::Apis ::Core ::Hashable
99-
100- # Customer provide a Cloud Storage link which point to a .csv file which stores
101- # all the truth text and Cloud Storage link of audio data.
102- # Corresponds to the JSON property `csvCloudStorageUri`
103- # @return [String]
104- attr_accessor :csv_cloud_storage_uri
105-
106- def initialize ( **args )
107- update! ( **args )
108- end
109-
110- # Update properties of this object
111- def update! ( **args )
112- @csv_cloud_storage_uri = args [ :csv_cloud_storage_uri ] if args . key? ( :csv_cloud_storage_uri )
113- end
114- end
115-
11696 # The message returned to the client by the `ListVoices` method.
11797 class ListVoicesResponse
11898 include Google ::Apis ::Core ::Hashable
@@ -132,107 +112,6 @@ def update!(**args)
132112 end
133113 end
134114
135- # This resource represents a long-running operation that is the result of a
136- # network API call.
137- class Operation
138- include Google ::Apis ::Core ::Hashable
139-
140- # If the value is `false`, it means the operation is still in progress. If `true`
141- # , the operation is completed, and either `error` or `response` is available.
142- # Corresponds to the JSON property `done`
143- # @return [Boolean]
144- attr_accessor :done
145- alias_method :done? , :done
146-
147- # The `Status` type defines a logical error model that is suitable for different
148- # programming environments, including REST APIs and RPC APIs. It is used by [
149- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
150- # data: error code, error message, and error details. You can find out more
151- # about this error model and how to work with it in the [API Design Guide](https:
152- # //cloud.google.com/apis/design/errors).
153- # Corresponds to the JSON property `error`
154- # @return [Google::Apis::TexttospeechV1::Status]
155- attr_accessor :error
156-
157- # Service-specific metadata associated with the operation. It typically contains
158- # progress information and common metadata such as create time. Some services
159- # might not provide such metadata. Any method that returns a long-running
160- # operation should document the metadata type, if any.
161- # Corresponds to the JSON property `metadata`
162- # @return [Hash<String,Object>]
163- attr_accessor :metadata
164-
165- # The server-assigned name, which is only unique within the same service that
166- # originally returns it. If you use the default HTTP mapping, the `name` should
167- # be a resource name ending with `operations/`unique_id``.
168- # Corresponds to the JSON property `name`
169- # @return [String]
170- attr_accessor :name
171-
172- # The normal response of the operation in case of success. If the original
173- # method returns no data on success, such as `Delete`, the response is `google.
174- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
175- # the response should be the resource. For other methods, the response should
176- # have the type `XxxResponse`, where `Xxx` is the original method name. For
177- # example, if the original method name is `TakeSnapshot()`, the inferred
178- # response type is `TakeSnapshotResponse`.
179- # Corresponds to the JSON property `response`
180- # @return [Hash<String,Object>]
181- attr_accessor :response
182-
183- def initialize ( **args )
184- update! ( **args )
185- end
186-
187- # Update properties of this object
188- def update! ( **args )
189- @done = args [ :done ] if args . key? ( :done )
190- @error = args [ :error ] if args . key? ( :error )
191- @metadata = args [ :metadata ] if args . key? ( :metadata )
192- @name = args [ :name ] if args . key? ( :name )
193- @response = args [ :response ] if args . key? ( :response )
194- end
195- end
196-
197- # The `Status` type defines a logical error model that is suitable for different
198- # programming environments, including REST APIs and RPC APIs. It is used by [
199- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
200- # data: error code, error message, and error details. You can find out more
201- # about this error model and how to work with it in the [API Design Guide](https:
202- # //cloud.google.com/apis/design/errors).
203- class Status
204- include Google ::Apis ::Core ::Hashable
205-
206- # The status code, which should be an enum value of google.rpc.Code.
207- # Corresponds to the JSON property `code`
208- # @return [Fixnum]
209- attr_accessor :code
210-
211- # A list of messages that carry the error details. There is a common set of
212- # message types for APIs to use.
213- # Corresponds to the JSON property `details`
214- # @return [Array<Hash<String,Object>>]
215- attr_accessor :details
216-
217- # A developer-facing error message, which should be in English. Any user-facing
218- # error message should be localized and sent in the google.rpc.Status.details
219- # field, or localized by the client.
220- # Corresponds to the JSON property `message`
221- # @return [String]
222- attr_accessor :message
223-
224- def initialize ( **args )
225- update! ( **args )
226- end
227-
228- # Update properties of this object
229- def update! ( **args )
230- @code = args [ :code ] if args . key? ( :code )
231- @details = args [ :details ] if args . key? ( :details )
232- @message = args [ :message ] if args . key? ( :message )
233- end
234- end
235-
236115 # Contains text input to be synthesized. Either `text` or `ssml` must be
237116 # supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT.
238117 # The input size is limited to 5000 characters.
0 commit comments