Skip to content

Commit 4690156

Browse files
feat(texttospeech): update the api
#### texttospeech:v1 The following keys were deleted: - resources.projects.resources.locations.resources.datasets.methods.import (Total Keys: 12) - schemas.ImportDataRequest (Total Keys: 3) - schemas.Operation (Total Keys: 9) - schemas.Status (Total Keys: 8)
1 parent 54a05e7 commit 4690156

File tree

3 files changed

+2
-124
lines changed

3 files changed

+2
-124
lines changed

docs/dyn/texttospeech_v1.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@
7474

7575
<h1><a href="texttospeech_v1.html">Cloud Text-to-Speech API</a></h1>
7676
<h2>Instance Methods</h2>
77-
<p class="toc_element">
78-
<code><a href="texttospeech_v1.projects.html">projects()</a></code>
79-
</p>
80-
<p class="firstline">Returns the projects Resource.</p>
81-
8277
<p class="toc_element">
8378
<code><a href="texttospeech_v1.text.html">text()</a></code>
8479
</p>

googleapiclient/discovery_cache/documents/texttospeech.v1.json

Lines changed: 1 addition & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"scopes": {
55
"https://www.googleapis.com/auth/cloud-platform": {
66
"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"
107
}
118
}
129
}
@@ -108,47 +105,6 @@
108105
},
109106
"protocol": "rest",
110107
"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-
},
152108
"text": {
153109
"methods": {
154110
"synthesize": {
@@ -197,7 +153,7 @@
197153
}
198154
}
199155
},
200-
"revision": "20211203",
156+
"revision": "20220103",
201157
"rootUrl": "https://texttospeech.googleapis.com/",
202158
"schemas": {
203159
"AudioConfig": {
@@ -254,17 +210,6 @@
254210
},
255211
"type": "object"
256212
},
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-
},
268213
"ListVoicesResponse": {
269214
"description": "The message returned to the client by the `ListVoices` method.",
270215
"id": "ListVoicesResponse",
@@ -279,68 +224,6 @@
279224
},
280225
"type": "object"
281226
},
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-
},
344227
"SynthesisInput": {
345228
"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.",
346229
"id": "SynthesisInput",

googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
}
154154
}
155155
},
156-
"revision": "20211203",
156+
"revision": "20220103",
157157
"rootUrl": "https://texttospeech.googleapis.com/",
158158
"schemas": {
159159
"AudioConfig": {

0 commit comments

Comments
 (0)