|
4 | 4 | "scopes": {
|
5 | 5 | "https://www.googleapis.com/auth/cloud-platform": {
|
6 | 6 | "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
|
7 |
| - }, |
8 |
| - "https://www.googleapis.com/auth/dialogflow": { |
9 |
| - "description": "View, manage and query your Dialogflow agents" |
10 | 7 | }
|
11 | 8 | }
|
12 | 9 | }
|
|
108 | 105 | },
|
109 | 106 | "protocol": "rest",
|
110 | 107 | "resources": {
|
111 |
| - "projects": { |
112 |
| - "resources": { |
113 |
| - "locations": { |
114 |
| - "resources": { |
115 |
| - "datasets": { |
116 |
| - "methods": { |
117 |
| - "import": { |
118 |
| - "description": "Imports audio+text data for training custom voice.", |
119 |
| - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:import", |
120 |
| - "httpMethod": "POST", |
121 |
| - "id": "texttospeech.projects.locations.datasets.import", |
122 |
| - "parameterOrder": [ |
123 |
| - "name" |
124 |
| - ], |
125 |
| - "parameters": { |
126 |
| - "name": { |
127 |
| - "description": "The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", |
128 |
| - "location": "path", |
129 |
| - "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", |
130 |
| - "required": true, |
131 |
| - "type": "string" |
132 |
| - } |
133 |
| - }, |
134 |
| - "path": "v1/{+name}:import", |
135 |
| - "request": { |
136 |
| - "$ref": "ImportDataRequest" |
137 |
| - }, |
138 |
| - "response": { |
139 |
| - "$ref": "Operation" |
140 |
| - }, |
141 |
| - "scopes": [ |
142 |
| - "https://www.googleapis.com/auth/cloud-platform", |
143 |
| - "https://www.googleapis.com/auth/dialogflow" |
144 |
| - ] |
145 |
| - } |
146 |
| - } |
147 |
| - } |
148 |
| - } |
149 |
| - } |
150 |
| - } |
151 |
| - }, |
152 | 108 | "text": {
|
153 | 109 | "methods": {
|
154 | 110 | "synthesize": {
|
|
197 | 153 | }
|
198 | 154 | }
|
199 | 155 | },
|
200 |
| - "revision": "20211203", |
| 156 | + "revision": "20220103", |
201 | 157 | "rootUrl": "https://texttospeech.googleapis.com/",
|
202 | 158 | "schemas": {
|
203 | 159 | "AudioConfig": {
|
|
254 | 210 | },
|
255 | 211 | "type": "object"
|
256 | 212 | },
|
257 |
| - "ImportDataRequest": { |
258 |
| - "description": "A request to import data.", |
259 |
| - "id": "ImportDataRequest", |
260 |
| - "properties": { |
261 |
| - "csvCloudStorageUri": { |
262 |
| - "description": "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.", |
263 |
| - "type": "string" |
264 |
| - } |
265 |
| - }, |
266 |
| - "type": "object" |
267 |
| - }, |
268 | 213 | "ListVoicesResponse": {
|
269 | 214 | "description": "The message returned to the client by the `ListVoices` method.",
|
270 | 215 | "id": "ListVoicesResponse",
|
|
279 | 224 | },
|
280 | 225 | "type": "object"
|
281 | 226 | },
|
282 |
| - "Operation": { |
283 |
| - "description": "This resource represents a long-running operation that is the result of a network API call.", |
284 |
| - "id": "Operation", |
285 |
| - "properties": { |
286 |
| - "done": { |
287 |
| - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", |
288 |
| - "type": "boolean" |
289 |
| - }, |
290 |
| - "error": { |
291 |
| - "$ref": "Status", |
292 |
| - "description": "The error result of the operation in case of failure or cancellation." |
293 |
| - }, |
294 |
| - "metadata": { |
295 |
| - "additionalProperties": { |
296 |
| - "description": "Properties of the object. Contains field @type with type URL.", |
297 |
| - "type": "any" |
298 |
| - }, |
299 |
| - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", |
300 |
| - "type": "object" |
301 |
| - }, |
302 |
| - "name": { |
303 |
| - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", |
304 |
| - "type": "string" |
305 |
| - }, |
306 |
| - "response": { |
307 |
| - "additionalProperties": { |
308 |
| - "description": "Properties of the object. Contains field @type with type URL.", |
309 |
| - "type": "any" |
310 |
| - }, |
311 |
| - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", |
312 |
| - "type": "object" |
313 |
| - } |
314 |
| - }, |
315 |
| - "type": "object" |
316 |
| - }, |
317 |
| - "Status": { |
318 |
| - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", |
319 |
| - "id": "Status", |
320 |
| - "properties": { |
321 |
| - "code": { |
322 |
| - "description": "The status code, which should be an enum value of google.rpc.Code.", |
323 |
| - "format": "int32", |
324 |
| - "type": "integer" |
325 |
| - }, |
326 |
| - "details": { |
327 |
| - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", |
328 |
| - "items": { |
329 |
| - "additionalProperties": { |
330 |
| - "description": "Properties of the object. Contains field @type with type URL.", |
331 |
| - "type": "any" |
332 |
| - }, |
333 |
| - "type": "object" |
334 |
| - }, |
335 |
| - "type": "array" |
336 |
| - }, |
337 |
| - "message": { |
338 |
| - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", |
339 |
| - "type": "string" |
340 |
| - } |
341 |
| - }, |
342 |
| - "type": "object" |
343 |
| - }, |
344 | 227 | "SynthesisInput": {
|
345 | 228 | "description": "Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 characters.",
|
346 | 229 | "id": "SynthesisInput",
|
|
0 commit comments