google-api-python-client 2.147.0__py2.py3-none-any.whl → 2.149.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/RECORD +144 -143
  3. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +7 -2
  4. googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json +5 -5
  5. googleapiclient/discovery_cache/documents/admin.directory_v1.json +3 -3
  6. googleapiclient/discovery_cache/documents/admin.directoryv1.json +3 -3
  7. googleapiclient/discovery_cache/documents/aiplatform.v1.json +17 -4
  8. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +5 -5
  9. googleapiclient/discovery_cache/documents/alloydb.v1.json +59 -48
  10. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +59 -48
  11. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +59 -48
  12. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +2 -2
  13. googleapiclient/discovery_cache/documents/analyticshub.v1.json +2 -2
  14. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +69 -7
  15. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +1 -16
  16. googleapiclient/discovery_cache/documents/apigee.v1.json +324 -3
  17. googleapiclient/discovery_cache/documents/artifactregistry.v1.json +575 -10
  18. googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +2 -2
  19. googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +2 -2
  20. googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +292 -1
  21. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json +5 -5
  22. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json +6 -6
  23. googleapiclient/discovery_cache/documents/backupdr.v1.json +71 -8
  24. googleapiclient/discovery_cache/documents/batch.v1.json +4 -4
  25. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +721 -27
  26. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +46 -93
  27. googleapiclient/discovery_cache/documents/bigquery.v2.json +74 -5
  28. googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +51 -1
  29. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +53 -3
  30. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +19 -2
  31. googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +9 -9
  32. googleapiclient/discovery_cache/documents/calendar.v3.json +2 -2
  33. googleapiclient/discovery_cache/documents/chat.v1.json +95 -22
  34. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +6 -4
  35. googleapiclient/discovery_cache/documents/chromepolicy.v1.json +3 -3
  36. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +5 -3
  37. googleapiclient/discovery_cache/documents/clouddeploy.v1.json +862 -17
  38. googleapiclient/discovery_cache/documents/cloudidentity.v1.json +5 -5
  39. googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +12 -12
  40. googleapiclient/discovery_cache/documents/cloudkms.v1.json +2 -2
  41. googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +215 -1
  42. googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +45 -1
  43. googleapiclient/discovery_cache/documents/connectors.v1.json +9 -1
  44. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +3 -4
  45. googleapiclient/discovery_cache/documents/container.v1.json +75 -3
  46. googleapiclient/discovery_cache/documents/container.v1beta1.json +75 -3
  47. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +5 -3
  48. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +5 -3
  49. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +5 -3
  50. googleapiclient/discovery_cache/documents/datamigration.v1.json +113 -1
  51. googleapiclient/discovery_cache/documents/dataplex.v1.json +2 -2
  52. googleapiclient/discovery_cache/documents/dataproc.v1.json +8950 -3781
  53. googleapiclient/discovery_cache/documents/developerconnect.v1.json +213 -2
  54. googleapiclient/discovery_cache/documents/dfareporting.v4.json +295 -7
  55. googleapiclient/discovery_cache/documents/dialogflow.v2.json +45 -13
  56. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +35 -13
  57. googleapiclient/discovery_cache/documents/dialogflow.v3.json +24 -8
  58. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +66 -10
  59. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +248 -8
  60. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +248 -8
  61. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +315 -1
  62. googleapiclient/discovery_cache/documents/displayvideo.v2.json +5 -5
  63. googleapiclient/discovery_cache/documents/displayvideo.v3.json +6 -6
  64. googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json +6 -14
  65. googleapiclient/discovery_cache/documents/firebaseappcheck.v1.json +9 -9
  66. googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +8 -8
  67. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +52 -2
  68. googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json +1831 -0
  69. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +55 -5
  70. googleapiclient/discovery_cache/documents/gkehub.v1.json +15 -3
  71. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +15 -3
  72. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +15 -3
  73. googleapiclient/discovery_cache/documents/iam.v1.json +2 -2
  74. googleapiclient/discovery_cache/documents/integrations.v1.json +880 -13
  75. googleapiclient/discovery_cache/documents/language.v1.json +27 -1
  76. googleapiclient/discovery_cache/documents/language.v1beta2.json +27 -1
  77. googleapiclient/discovery_cache/documents/language.v2.json +38 -1
  78. googleapiclient/discovery_cache/documents/memcache.v1.json +389 -1
  79. googleapiclient/discovery_cache/documents/memcache.v1beta2.json +389 -1
  80. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +21 -34
  81. googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json +2 -2
  82. googleapiclient/discovery_cache/documents/merchantapi.notifications_v1beta.json +2 -2
  83. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +4 -4
  84. googleapiclient/discovery_cache/documents/migrationcenter.v1.json +4 -3
  85. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +8 -7
  86. googleapiclient/discovery_cache/documents/monitoring.v1.json +8 -6
  87. googleapiclient/discovery_cache/documents/monitoring.v3.json +153 -1
  88. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +5 -5
  89. googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json +5 -5
  90. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +48 -8
  91. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +17 -5
  92. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +9 -5
  93. googleapiclient/discovery_cache/documents/networksecurity.v1.json +24 -3
  94. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +38 -17
  95. googleapiclient/discovery_cache/documents/networkservices.v1.json +7 -94
  96. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +11 -266
  97. googleapiclient/discovery_cache/documents/notebooks.v1.json +3 -3
  98. googleapiclient/discovery_cache/documents/notebooks.v2.json +2 -2
  99. googleapiclient/discovery_cache/documents/oracledatabase.v1.json +73 -73
  100. googleapiclient/discovery_cache/documents/osconfig.v1.json +5 -5
  101. googleapiclient/discovery_cache/documents/osconfig.v1beta.json +5 -5
  102. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +3 -3
  103. googleapiclient/discovery_cache/documents/places.v1.json +6 -2
  104. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +10 -6
  105. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +10 -6
  106. googleapiclient/discovery_cache/documents/privateca.v1.json +3 -3
  107. googleapiclient/discovery_cache/documents/pubsub.v1.json +112 -1
  108. googleapiclient/discovery_cache/documents/realtimebidding.v1.json +3 -3
  109. googleapiclient/discovery_cache/documents/redis.v1.json +29 -4
  110. googleapiclient/discovery_cache/documents/redis.v1beta1.json +29 -4
  111. googleapiclient/discovery_cache/documents/retail.v2.json +275 -1
  112. googleapiclient/discovery_cache/documents/retail.v2alpha.json +275 -1
  113. googleapiclient/discovery_cache/documents/retail.v2beta.json +275 -1
  114. googleapiclient/discovery_cache/documents/run.v1.json +6 -4
  115. googleapiclient/discovery_cache/documents/run.v2.json +10 -4
  116. googleapiclient/discovery_cache/documents/searchads360.v0.json +98 -4
  117. googleapiclient/discovery_cache/documents/secretmanager.v1.json +3 -3
  118. googleapiclient/discovery_cache/documents/securitycenter.v1.json +24 -208
  119. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +24 -1
  120. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +81 -1
  121. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +20 -2
  122. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +20 -2
  123. googleapiclient/discovery_cache/documents/servicemanagement.v1.json +20 -2
  124. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +2 -2
  125. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +2 -2
  126. googleapiclient/discovery_cache/documents/serviceusage.v1.json +20 -2
  127. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +20 -2
  128. googleapiclient/discovery_cache/documents/sheets.v4.json +2 -2
  129. googleapiclient/discovery_cache/documents/spanner.v1.json +22 -2
  130. googleapiclient/discovery_cache/documents/speech.v1.json +5 -3
  131. googleapiclient/discovery_cache/documents/speech.v1p1beta1.json +5 -3
  132. googleapiclient/discovery_cache/documents/sqladmin.v1.json +50 -1
  133. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +50 -1
  134. googleapiclient/discovery_cache/documents/storage.v1.json +58 -2
  135. googleapiclient/discovery_cache/documents/storagetransfer.v1.json +7 -7
  136. googleapiclient/discovery_cache/documents/texttospeech.v1.json +178 -1
  137. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +180 -1
  138. googleapiclient/discovery_cache/documents/walletobjects.v1.json +142 -1
  139. googleapiclient/discovery_cache/documents/workflows.v1.json +2 -2
  140. googleapiclient/discovery_cache/documents/youtube.v3.json +1 -5
  141. googleapiclient/version.py +1 -1
  142. {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/LICENSE +0 -0
  143. {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/WHEEL +0 -0
  144. {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/top_level.txt +0 -0
@@ -93,7 +93,7 @@
93
93
  "location": "us-west4"
94
94
  }
95
95
  ],
96
- "etag": "\"38303531353337323634333935393838333734\"",
96
+ "etag": "\"3133363239393031373133303332303839383336\"",
97
97
  "icons": {
98
98
  "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
99
99
  "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -1079,6 +1079,34 @@
1079
1079
  "https://www.googleapis.com/auth/devstorage.full_control"
1080
1080
  ]
1081
1081
  },
1082
+ "relocate": {
1083
+ "description": "Initiates a long-running Relocate Bucket operation on the specified bucket.",
1084
+ "httpMethod": "POST",
1085
+ "id": "storage.buckets.relocate",
1086
+ "parameterOrder": [
1087
+ "bucket"
1088
+ ],
1089
+ "parameters": {
1090
+ "bucket": {
1091
+ "description": "Name of the bucket to be moved.",
1092
+ "location": "path",
1093
+ "required": true,
1094
+ "type": "string"
1095
+ }
1096
+ },
1097
+ "path": "b/{bucket}/relocate",
1098
+ "request": {
1099
+ "$ref": "RelocateBucketRequest"
1100
+ },
1101
+ "response": {
1102
+ "$ref": "GoogleLongrunningOperation"
1103
+ },
1104
+ "scopes": [
1105
+ "https://www.googleapis.com/auth/cloud-platform",
1106
+ "https://www.googleapis.com/auth/devstorage.full_control",
1107
+ "https://www.googleapis.com/auth/devstorage.read_write"
1108
+ ]
1109
+ },
1082
1110
  "restore": {
1083
1111
  "description": "Restores a soft-deleted bucket.",
1084
1112
  "httpMethod": "POST",
@@ -4196,7 +4224,7 @@
4196
4224
  }
4197
4225
  }
4198
4226
  },
4199
- "revision": "20240916",
4227
+ "revision": "20240924",
4200
4228
  "rootUrl": "https://storage.googleapis.com/",
4201
4229
  "schemas": {
4202
4230
  "AnywhereCache": {
@@ -5929,6 +5957,34 @@
5929
5957
  },
5930
5958
  "type": "object"
5931
5959
  },
5960
+ "RelocateBucketRequest": {
5961
+ "description": "A Relocate Bucket request.",
5962
+ "id": "RelocateBucketRequest",
5963
+ "properties": {
5964
+ "destinationCustomPlacementConfig": {
5965
+ "description": "The bucket's new custom placement configuration if relocating to a Custom Dual Region.",
5966
+ "properties": {
5967
+ "dataLocations": {
5968
+ "description": "The list of regional locations in which data is placed.",
5969
+ "items": {
5970
+ "type": "string"
5971
+ },
5972
+ "type": "array"
5973
+ }
5974
+ },
5975
+ "type": "object"
5976
+ },
5977
+ "destinationLocation": {
5978
+ "description": "The new location the bucket will be relocated to.",
5979
+ "type": "string"
5980
+ },
5981
+ "validateOnly": {
5982
+ "description": "If true, validate the operation, but do not actually relocate the bucket.",
5983
+ "type": "boolean"
5984
+ }
5985
+ },
5986
+ "type": "object"
5987
+ },
5932
5988
  "RewriteResponse": {
5933
5989
  "description": "A rewrite response.",
5934
5990
  "id": "RewriteResponse",
@@ -392,7 +392,7 @@
392
392
  ],
393
393
  "parameters": {
394
394
  "filter": {
395
- "description": "Required. A list of query parameters specified as JSON text in the form of: `{\"projectId\":\"my_project_id\", \"jobNames\":[\"jobid1\",\"jobid2\",...], \"jobStatuses\":[\"status1\",\"status2\",...]}` Since `jobNames` and `jobStatuses` support multiple values, their values must be specified with array notation. `projectId` is required. `jobNames` and `jobStatuses` are optional. The valid values for `jobStatuses` are case-insensitive: ENABLED, DISABLED, and DELETED.",
395
+ "description": "Required. A list of query parameters specified as JSON text in the form of: ``` { \"projectId\":\"my_project_id\", \"jobNames\":[\"jobid1\",\"jobid2\",...], \"jobStatuses\":[\"status1\",\"status2\",...], \"dataBackend\":\"QUERY_REPLICATION_CONFIGS\", \"sourceBucket\":\"source-bucket-name\", \"sinkBucket\":\"sink-bucket-name\", } ``` The JSON formatting in the example is for display only; provide the query parameters without spaces or line breaks. * `projectId` is required. * Since `jobNames` and `jobStatuses` support multiple values, their values must be specified with array notation. `jobNames` and `jobStatuses` are optional. Valid values are case-insensitive: * ENABLED * DISABLED * DELETED * Specify `\"dataBackend\":\"QUERY_REPLICATION_CONFIGS\"` to return a list of cross-bucket replication jobs. * Limit the results to jobs from a particular bucket with `sourceBucket` and/or to a particular bucket with `sinkBucket`.",
396
396
  "location": "query",
397
397
  "required": true,
398
398
  "type": "string"
@@ -632,7 +632,7 @@
632
632
  }
633
633
  }
634
634
  },
635
- "revision": "20240705",
635
+ "revision": "20240928",
636
636
  "rootUrl": "https://storagetransfer.googleapis.com/",
637
637
  "schemas": {
638
638
  "AgentPool": {
@@ -1368,24 +1368,24 @@
1368
1368
  "type": "object"
1369
1369
  },
1370
1370
  "ReplicationSpec": {
1371
- "description": "Specifies the configuration for running a replication job.",
1371
+ "description": "Specifies the configuration for a cross-bucket replication job. Cross-bucket replication copies new or updated objects from a source Cloud Storage bucket to a destination Cloud Storage bucket. Existing objects in the source bucket are not copied by a new cross-bucket replication job.",
1372
1372
  "id": "ReplicationSpec",
1373
1373
  "properties": {
1374
1374
  "gcsDataSink": {
1375
1375
  "$ref": "GcsData",
1376
- "description": "Specifies cloud Storage data sink."
1376
+ "description": "The Cloud Storage bucket to which to replicate objects."
1377
1377
  },
1378
1378
  "gcsDataSource": {
1379
1379
  "$ref": "GcsData",
1380
- "description": "Specifies cloud Storage data source."
1380
+ "description": "The Cloud Storage bucket from which to replicate objects."
1381
1381
  },
1382
1382
  "objectConditions": {
1383
1383
  "$ref": "ObjectConditions",
1384
- "description": "Specifies the object conditions to only include objects that satisfy these conditions in the set of data source objects. Object conditions based on objects' \"last modification time\" do not exclude objects in a data sink."
1384
+ "description": "Object conditions that determine which objects are transferred. For replication jobs, only `include_prefixes` and `exclude_prefixes` are supported."
1385
1385
  },
1386
1386
  "transferOptions": {
1387
1387
  "$ref": "TransferOptions",
1388
- "description": "Specifies the actions to be performed on the object during replication. Delete options are not supported for replication and when specified, the request fails with an INVALID_ARGUMENT error."
1388
+ "description": "Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error."
1389
1389
  }
1390
1390
  },
1391
1391
  "type": "object"
@@ -294,6 +294,24 @@
294
294
  },
295
295
  "voices": {
296
296
  "methods": {
297
+ "generateVoiceCloningKey": {
298
+ "description": "Generates voice clone key given a short voice prompt. This method validates the voice prompts with a series of checks against the voice talent statement to verify the voice clone is safe to generate.",
299
+ "flatPath": "v1/voices:generateVoiceCloningKey",
300
+ "httpMethod": "POST",
301
+ "id": "texttospeech.voices.generateVoiceCloningKey",
302
+ "parameterOrder": [],
303
+ "parameters": {},
304
+ "path": "v1/voices:generateVoiceCloningKey",
305
+ "request": {
306
+ "$ref": "GenerateVoiceCloningKeyRequest"
307
+ },
308
+ "response": {
309
+ "$ref": "GenerateVoiceCloningKeyResponse"
310
+ },
311
+ "scopes": [
312
+ "https://www.googleapis.com/auth/cloud-platform"
313
+ ]
314
+ },
297
315
  "list": {
298
316
  "description": "Returns a list of Voice supported for synthesis.",
299
317
  "flatPath": "v1/voices",
@@ -318,9 +336,20 @@
318
336
  }
319
337
  }
320
338
  },
321
- "revision": "20240815",
339
+ "revision": "20241001",
322
340
  "rootUrl": "https://texttospeech.googleapis.com/",
323
341
  "schemas": {
342
+ "AdvancedVoiceOptions": {
343
+ "description": "Used for advanced voice options.",
344
+ "id": "AdvancedVoiceOptions",
345
+ "properties": {
346
+ "lowLatencyJourneySynthesis": {
347
+ "description": "Only for Jounrney voices. If false, the synthesis will be context aware and have higher latency.",
348
+ "type": "boolean"
349
+ }
350
+ },
351
+ "type": "object"
352
+ },
324
353
  "AudioConfig": {
325
354
  "description": "Description of audio data to be synthesized.",
326
355
  "id": "AudioConfig",
@@ -381,6 +410,49 @@
381
410
  "properties": {},
382
411
  "type": "object"
383
412
  },
413
+ "CustomPronunciationParams": {
414
+ "description": "Pronunciation customization for a phrase.",
415
+ "id": "CustomPronunciationParams",
416
+ "properties": {
417
+ "phoneticEncoding": {
418
+ "description": "The phonetic encoding of the phrase.",
419
+ "enum": [
420
+ "PHONETIC_ENCODING_UNSPECIFIED",
421
+ "PHONETIC_ENCODING_IPA",
422
+ "PHONETIC_ENCODING_X_SAMPA"
423
+ ],
424
+ "enumDescriptions": [
425
+ "Not specified.",
426
+ "IPA. (e.g. apple -> \u02c8\u00e6p\u0259l ) https://en.wikipedia.org/wiki/International_Phonetic_Alphabet",
427
+ "X-SAMPA (e.g. apple -> \"{p@l\" ) https://en.wikipedia.org/wiki/X-SAMPA"
428
+ ],
429
+ "type": "string"
430
+ },
431
+ "phrase": {
432
+ "description": "The phrase to which the customization will be applied. The phrase can be multiple words (in the case of proper nouns etc), but should not span to a whole sentence.",
433
+ "type": "string"
434
+ },
435
+ "pronunciation": {
436
+ "description": "The pronunciation of the phrase. This must be in the phonetic encoding specified above.",
437
+ "type": "string"
438
+ }
439
+ },
440
+ "type": "object"
441
+ },
442
+ "CustomPronunciations": {
443
+ "description": "A collection of pronunciation customizations.",
444
+ "id": "CustomPronunciations",
445
+ "properties": {
446
+ "pronunciations": {
447
+ "description": "The pronunciation customizations to be applied.",
448
+ "items": {
449
+ "$ref": "CustomPronunciationParams"
450
+ },
451
+ "type": "array"
452
+ }
453
+ },
454
+ "type": "object"
455
+ },
384
456
  "CustomVoiceParams": {
385
457
  "description": "Description of the custom voice to be synthesized.",
386
458
  "id": "CustomVoiceParams",
@@ -413,6 +485,40 @@
413
485
  "properties": {},
414
486
  "type": "object"
415
487
  },
488
+ "GenerateVoiceCloningKeyRequest": {
489
+ "description": "Request message for the `GenerateVoiceCloningKey` method.",
490
+ "id": "GenerateVoiceCloningKeyRequest",
491
+ "properties": {
492
+ "consentScript": {
493
+ "description": "Required. The script used for the voice talent statement. The script will be provided to the caller through other channels. It must be returned unchanged in this field.",
494
+ "type": "string"
495
+ },
496
+ "languageCode": {
497
+ "description": "Required. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\". See [Language Support](https://cloud.google.com/speech-to-text/docs/languages) for a list of the currently supported language codes.",
498
+ "type": "string"
499
+ },
500
+ "referenceAudio": {
501
+ "$ref": "InputAudio",
502
+ "description": "Required. The training audio used to create voice clone. This is currently limited to LINEAR16 PCM WAV files mono audio with 24khz sample rate. This needs to be specified in [InputAudio.audio_config], other values will be explicitly rejected."
503
+ },
504
+ "voiceTalentConsent": {
505
+ "$ref": "InputAudio",
506
+ "description": "Required. The voice talent audio used to verify consent to voice clone."
507
+ }
508
+ },
509
+ "type": "object"
510
+ },
511
+ "GenerateVoiceCloningKeyResponse": {
512
+ "description": "Response message for the `GenerateVoiceCloningKey` method.",
513
+ "id": "GenerateVoiceCloningKeyResponse",
514
+ "properties": {
515
+ "voiceCloningKey": {
516
+ "description": "The voice clone key. Use it in the SynthesizeSpeechRequest by setting [voice.voice_clone.voice_cloning_key].",
517
+ "type": "string"
518
+ }
519
+ },
520
+ "type": "object"
521
+ },
416
522
  "GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata": {
417
523
  "description": "Metadata for response returned by the `SynthesizeLongAudio` method.",
418
524
  "id": "GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata",
@@ -436,6 +542,54 @@
436
542
  },
437
543
  "type": "object"
438
544
  },
545
+ "InputAudio": {
546
+ "description": "Holds audio content and config.",
547
+ "id": "InputAudio",
548
+ "properties": {
549
+ "audioConfig": {
550
+ "$ref": "InputAudioConfig",
551
+ "description": "Required. Provides information that specifies how to process content."
552
+ },
553
+ "content": {
554
+ "description": "Required. The audio data bytes encoded as specified in `InputAudioConfig`. Note: as with all bytes fields, proto buffers use a pure binary representation, whereas JSON representations use base64. Audio samples should be between 5-25 seconds in length.",
555
+ "format": "byte",
556
+ "type": "string"
557
+ }
558
+ },
559
+ "type": "object"
560
+ },
561
+ "InputAudioConfig": {
562
+ "description": "Description of inputted audio data.",
563
+ "id": "InputAudioConfig",
564
+ "properties": {
565
+ "audioEncoding": {
566
+ "description": "Required. The format of the audio byte stream.",
567
+ "enum": [
568
+ "AUDIO_ENCODING_UNSPECIFIED",
569
+ "LINEAR16",
570
+ "MP3",
571
+ "OGG_OPUS",
572
+ "MULAW",
573
+ "ALAW"
574
+ ],
575
+ "enumDescriptions": [
576
+ "Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT.",
577
+ "Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.",
578
+ "MP3 audio at 32kbps.",
579
+ "Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.",
580
+ "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. Audio content returned as MULAW also contains a WAV header.",
581
+ "8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. Audio content returned as ALAW also contains a WAV header."
582
+ ],
583
+ "type": "string"
584
+ },
585
+ "sampleRateHertz": {
586
+ "description": "Required. The sample rate (in hertz) for this audio.",
587
+ "format": "int32",
588
+ "type": "integer"
589
+ }
590
+ },
591
+ "type": "object"
592
+ },
439
593
  "ListOperationsResponse": {
440
594
  "description": "The response message for Operations.ListOperations.",
441
595
  "id": "ListOperationsResponse",
@@ -534,6 +688,10 @@
534
688
  "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 bytes.",
535
689
  "id": "SynthesisInput",
536
690
  "properties": {
691
+ "customPronunciations": {
692
+ "$ref": "CustomPronunciations",
693
+ "description": "Optional. The pronunciation customizations to be applied to the input. If this is set, the input will be synthesized using the given pronunciation customizations. The initial support will be for EFIGS (English, French, Italian, German, Spanish) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices are not supported yet. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag (entirely or partially)."
694
+ },
537
695
  "ssml": {
538
696
  "description": "The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).",
539
697
  "type": "string"
@@ -595,6 +753,10 @@
595
753
  "description": "The top-level message sent by the client for the `SynthesizeSpeech` method.",
596
754
  "id": "SynthesizeSpeechRequest",
597
755
  "properties": {
756
+ "advancedVoiceOptions": {
757
+ "$ref": "AdvancedVoiceOptions",
758
+ "description": "Adnanced voice options."
759
+ },
598
760
  "audioConfig": {
599
761
  "$ref": "AudioConfig",
600
762
  "description": "Required. The configuration of the synthesized audio."
@@ -661,6 +823,17 @@
661
823
  },
662
824
  "type": "object"
663
825
  },
826
+ "VoiceCloneParams": {
827
+ "description": "The configuration of Voice Clone feature.",
828
+ "id": "VoiceCloneParams",
829
+ "properties": {
830
+ "voiceCloningKey": {
831
+ "description": "Required. Created by GenerateVoiceCloningKey.",
832
+ "type": "string"
833
+ }
834
+ },
835
+ "type": "object"
836
+ },
664
837
  "VoiceSelectionParams": {
665
838
  "description": "Description of which voice to use for a synthesis request.",
666
839
  "id": "VoiceSelectionParams",
@@ -692,6 +865,10 @@
692
865
  "A gender-neutral voice. This voice is not yet supported."
693
866
  ],
694
867
  "type": "string"
868
+ },
869
+ "voiceClone": {
870
+ "$ref": "VoiceCloneParams",
871
+ "description": "Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service will choose the voice clone matching the specified configuration."
695
872
  }
696
873
  },
697
874
  "type": "object"
@@ -237,6 +237,24 @@
237
237
  },
238
238
  "voices": {
239
239
  "methods": {
240
+ "generateVoiceCloningKey": {
241
+ "description": "Generates voice clone key given a short voice prompt. This method validates the voice prompts with a series of checks against the voice talent statement to verify the voice clone is safe to generate.",
242
+ "flatPath": "v1beta1/voices:generateVoiceCloningKey",
243
+ "httpMethod": "POST",
244
+ "id": "texttospeech.voices.generateVoiceCloningKey",
245
+ "parameterOrder": [],
246
+ "parameters": {},
247
+ "path": "v1beta1/voices:generateVoiceCloningKey",
248
+ "request": {
249
+ "$ref": "GenerateVoiceCloningKeyRequest"
250
+ },
251
+ "response": {
252
+ "$ref": "GenerateVoiceCloningKeyResponse"
253
+ },
254
+ "scopes": [
255
+ "https://www.googleapis.com/auth/cloud-platform"
256
+ ]
257
+ },
240
258
  "list": {
241
259
  "description": "Returns a list of Voice supported for synthesis.",
242
260
  "flatPath": "v1beta1/voices",
@@ -261,9 +279,20 @@
261
279
  }
262
280
  }
263
281
  },
264
- "revision": "20240815",
282
+ "revision": "20241001",
265
283
  "rootUrl": "https://texttospeech.googleapis.com/",
266
284
  "schemas": {
285
+ "AdvancedVoiceOptions": {
286
+ "description": "Used for advanced voice options.",
287
+ "id": "AdvancedVoiceOptions",
288
+ "properties": {
289
+ "lowLatencyJourneySynthesis": {
290
+ "description": "Only for Jounrney voices. If false, the synthesis will be context aware and have higher latency.",
291
+ "type": "boolean"
292
+ }
293
+ },
294
+ "type": "object"
295
+ },
267
296
  "AudioConfig": {
268
297
  "description": "Description of audio data to be synthesized.",
269
298
  "id": "AudioConfig",
@@ -320,6 +349,49 @@
320
349
  },
321
350
  "type": "object"
322
351
  },
352
+ "CustomPronunciationParams": {
353
+ "description": "Pronunciation customization for a phrase.",
354
+ "id": "CustomPronunciationParams",
355
+ "properties": {
356
+ "phoneticEncoding": {
357
+ "description": "The phonetic encoding of the phrase.",
358
+ "enum": [
359
+ "PHONETIC_ENCODING_UNSPECIFIED",
360
+ "PHONETIC_ENCODING_IPA",
361
+ "PHONETIC_ENCODING_X_SAMPA"
362
+ ],
363
+ "enumDescriptions": [
364
+ "Not specified.",
365
+ "IPA. (e.g. apple -> \u02c8\u00e6p\u0259l ) https://en.wikipedia.org/wiki/International_Phonetic_Alphabet",
366
+ "X-SAMPA (e.g. apple -> \"{p@l\" ) https://en.wikipedia.org/wiki/X-SAMPA"
367
+ ],
368
+ "type": "string"
369
+ },
370
+ "phrase": {
371
+ "description": "The phrase to which the customization will be applied. The phrase can be multiple words (in the case of proper nouns etc), but should not span to a whole sentence.",
372
+ "type": "string"
373
+ },
374
+ "pronunciation": {
375
+ "description": "The pronunciation of the phrase. This must be in the phonetic encoding specified above.",
376
+ "type": "string"
377
+ }
378
+ },
379
+ "type": "object"
380
+ },
381
+ "CustomPronunciations": {
382
+ "description": "A collection of pronunciation customizations.",
383
+ "id": "CustomPronunciations",
384
+ "properties": {
385
+ "pronunciations": {
386
+ "description": "The pronunciation customizations to be applied.",
387
+ "items": {
388
+ "$ref": "CustomPronunciationParams"
389
+ },
390
+ "type": "array"
391
+ }
392
+ },
393
+ "type": "object"
394
+ },
323
395
  "CustomVoiceParams": {
324
396
  "description": "Description of the custom voice to be synthesized.",
325
397
  "id": "CustomVoiceParams",
@@ -346,6 +418,40 @@
346
418
  },
347
419
  "type": "object"
348
420
  },
421
+ "GenerateVoiceCloningKeyRequest": {
422
+ "description": "Request message for the `GenerateVoiceCloningKey` method.",
423
+ "id": "GenerateVoiceCloningKeyRequest",
424
+ "properties": {
425
+ "consentScript": {
426
+ "description": "Required. The script used for the voice talent statement. The script will be provided to the caller through other channels. It must be returned unchanged in this field.",
427
+ "type": "string"
428
+ },
429
+ "languageCode": {
430
+ "description": "Required. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\". See [Language Support](https://cloud.google.com/speech-to-text/docs/languages) for a list of the currently supported language codes.",
431
+ "type": "string"
432
+ },
433
+ "referenceAudio": {
434
+ "$ref": "InputAudio",
435
+ "description": "Required. The training audio used to create voice clone. This is currently limited to LINEAR16 PCM WAV files mono audio with 24khz sample rate. This needs to be specified in [InputAudio.audio_config], other values will be explicitly rejected."
436
+ },
437
+ "voiceTalentConsent": {
438
+ "$ref": "InputAudio",
439
+ "description": "Required. The voice talent audio used to verify consent to voice clone."
440
+ }
441
+ },
442
+ "type": "object"
443
+ },
444
+ "GenerateVoiceCloningKeyResponse": {
445
+ "description": "Response message for the `GenerateVoiceCloningKey` method.",
446
+ "id": "GenerateVoiceCloningKeyResponse",
447
+ "properties": {
448
+ "voiceCloningKey": {
449
+ "description": "The voice clone key. Use it in the SynthesizeSpeechRequest by setting [voice.voice_clone.voice_cloning_key].",
450
+ "type": "string"
451
+ }
452
+ },
453
+ "type": "object"
454
+ },
349
455
  "GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata": {
350
456
  "description": "Metadata for response returned by the `SynthesizeLongAudio` method.",
351
457
  "id": "GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata",
@@ -369,6 +475,56 @@
369
475
  },
370
476
  "type": "object"
371
477
  },
478
+ "InputAudio": {
479
+ "description": "Holds audio content and config.",
480
+ "id": "InputAudio",
481
+ "properties": {
482
+ "audioConfig": {
483
+ "$ref": "InputAudioConfig",
484
+ "description": "Required. Provides information that specifies how to process content."
485
+ },
486
+ "content": {
487
+ "description": "Required. The audio data bytes encoded as specified in `InputAudioConfig`. Note: as with all bytes fields, proto buffers use a pure binary representation, whereas JSON representations use base64. Audio samples should be between 5-25 seconds in length.",
488
+ "format": "byte",
489
+ "type": "string"
490
+ }
491
+ },
492
+ "type": "object"
493
+ },
494
+ "InputAudioConfig": {
495
+ "description": "Description of inputted audio data.",
496
+ "id": "InputAudioConfig",
497
+ "properties": {
498
+ "audioEncoding": {
499
+ "description": "Required. The format of the audio byte stream.",
500
+ "enum": [
501
+ "AUDIO_ENCODING_UNSPECIFIED",
502
+ "LINEAR16",
503
+ "MP3",
504
+ "MP3_64_KBPS",
505
+ "OGG_OPUS",
506
+ "MULAW",
507
+ "ALAW"
508
+ ],
509
+ "enumDescriptions": [
510
+ "Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT.",
511
+ "Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.",
512
+ "MP3 audio at 32kbps.",
513
+ "MP3 at 64kbps.",
514
+ "Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.",
515
+ "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. Audio content returned as MULAW also contains a WAV header.",
516
+ "8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. Audio content returned as ALAW also contains a WAV header."
517
+ ],
518
+ "type": "string"
519
+ },
520
+ "sampleRateHertz": {
521
+ "description": "Required. The sample rate (in hertz) for this audio.",
522
+ "format": "int32",
523
+ "type": "integer"
524
+ }
525
+ },
526
+ "type": "object"
527
+ },
372
528
  "ListOperationsResponse": {
373
529
  "description": "The response message for Operations.ListOperations.",
374
530
  "id": "ListOperationsResponse",
@@ -467,6 +623,10 @@
467
623
  "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 bytes.",
468
624
  "id": "SynthesisInput",
469
625
  "properties": {
626
+ "customPronunciations": {
627
+ "$ref": "CustomPronunciations",
628
+ "description": "Optional. The pronunciation customizations to be applied to the input. If this is set, the input will be synthesized using the given pronunciation customizations. The initial support will be for EFIGS (English, French, Italian, German, Spanish) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices are not supported yet. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag (entirely or partially)."
629
+ },
470
630
  "ssml": {
471
631
  "description": "The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).",
472
632
  "type": "string"
@@ -528,6 +688,10 @@
528
688
  "description": "The top-level message sent by the client for the `SynthesizeSpeech` method.",
529
689
  "id": "SynthesizeSpeechRequest",
530
690
  "properties": {
691
+ "advancedVoiceOptions": {
692
+ "$ref": "AdvancedVoiceOptions",
693
+ "description": "Adnanced voice options."
694
+ },
531
695
  "audioConfig": {
532
696
  "$ref": "AudioConfig",
533
697
  "description": "Required. The configuration of the synthesized audio."
@@ -636,6 +800,17 @@
636
800
  },
637
801
  "type": "object"
638
802
  },
803
+ "VoiceCloneParams": {
804
+ "description": "The configuration of Voice Clone feature.",
805
+ "id": "VoiceCloneParams",
806
+ "properties": {
807
+ "voiceCloningKey": {
808
+ "description": "Required. Created by GenerateVoiceCloningKey.",
809
+ "type": "string"
810
+ }
811
+ },
812
+ "type": "object"
813
+ },
639
814
  "VoiceSelectionParams": {
640
815
  "description": "Description of which voice to use for a synthesis request.",
641
816
  "id": "VoiceSelectionParams",
@@ -667,6 +842,10 @@
667
842
  "A gender-neutral voice. This voice is not yet supported."
668
843
  ],
669
844
  "type": "string"
845
+ },
846
+ "voiceClone": {
847
+ "$ref": "VoiceCloneParams",
848
+ "description": "Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service will choose the voice clone matching the specified configuration."
670
849
  }
671
850
  },
672
851
  "type": "object"