Skip to content

Commit

Permalink
fix!: correct long audio synthesis HTTP binding
Browse files Browse the repository at this point in the history
docs: Deprecate the custom voice usage field

PiperOrigin-RevId: 595159412

Source-Link: googleapis/googleapis@8681efd

Source-Link: googleapis/googleapis-gen@dd92b39
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuVGV4dFRvU3BlZWNoLlYxQmV0YTEvLk93bEJvdC55YW1sIiwiaCI6ImRkOTJiMzk2ZjgyYzNmNTU3MTllZjZiZDI2YWJiYzAyZTFmNmU1OGQifQ==
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed Jan 2, 2024
1 parent 7ca1f6c commit 8e47bc8
Show file tree
Hide file tree
Showing 21 changed files with 103 additions and 84 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,41 +55,41 @@ public static partial class CloudTtsReflection {
"dGExLkF1ZGlvRW5jb2RpbmdCA+BBAhIdCg1zcGVha2luZ19yYXRlGAIgASgB",
"QgbgQQTgQQESFQoFcGl0Y2gYAyABKAFCBuBBBOBBARIeCg52b2x1bWVfZ2Fp",
"bl9kYhgEIAEoAUIG4EEE4EEBEh4KEXNhbXBsZV9yYXRlX2hlcnR6GAUgASgF",
"QgPgQQESIgoSZWZmZWN0c19wcm9maWxlX2lkGAYgAygJQgbgQQTgQQEi9AEK",
"QgPgQQESIgoSZWZmZWN0c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VjaC52MWJldGExLkxpc3RWb2ljZXNSZXNwb25zZSIngtPkkwIREg8vdjFi",
"ZXRhMS92b2ljZXPaQQ1sYW5ndWFnZV9jb2RlEssBChBTeW50aGVzaXplU3Bl",
"ZWNoEjouZ29vZ2xlLmNsb3VkLnRleHR0b3NwZWVjaC52MWJldGExLlN5bnRo",
"ZXNpemVTcGVlY2hSZXF1ZXN0GjsuZ29vZ2xlLmNsb3VkLnRleHR0b3NwZWVj",
"aC52MWJldGExLlN5bnRoZXNpemVTcGVlY2hSZXNwb25zZSI+gtPkkwIdIhgv",
"djFiZXRhMS90ZXh0OnN5bnRoZXNpemU6ASraQRhpbnB1dCx2b2ljZSxhdWRp",
"b19jb25maWcaT8pBG3RleHR0b3NwZWVjaC5nb29nbGVhcGlzLmNvbdJBLmh0",
"dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvY2xvdWQtcGxhdGZvcm1C",
"0QIKJWNvbS5nb29nbGUuY2xvdWQudGV4dHRvc3BlZWNoLnYxYmV0YTFCEVRl",
"eHRUb1NwZWVjaFByb3RvUAFaSWNsb3VkLmdvb2dsZS5jb20vZ28vdGV4dHRv",
"c3BlZWNoL2FwaXYxYmV0YTEvdGV4dHRvc3BlZWNocGI7dGV4dHRvc3BlZWNo",
"cGL4AQGqAiFHb29nbGUuQ2xvdWQuVGV4dFRvU3BlZWNoLlYxQmV0YTHKAiFH",
"b29nbGVcQ2xvdWRcVGV4dFRvU3BlZWNoXFYxYmV0YTHqAiRHb29nbGU6OkNs",
"b3VkOjpUZXh0VG9TcGVlY2g6OlYxYmV0YTHqQVUKG2F1dG9tbC5nb29nbGVh",
"cGlzLmNvbS9Nb2RlbBI2cHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97",
"bG9jYXRpb259L21vZGVscy97bW9kZWx9YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.TextToSpeech.V1Beta1.SsmlVoiceGender), typeof(global::Google.Cloud.TextToSpeech.V1Beta1.AudioEncoding), }, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down Expand Up @@ -142,7 +142,8 @@ public enum SsmlVoiceGender {
/// </summary>
public enum AudioEncoding {
/// <summary>
/// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
/// Not specified. Will return result
/// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
/// </summary>
[pbr::OriginalName("AUDIO_ENCODING_UNSPECIFIED")] Unspecified = 0,
/// <summary>
Expand Down Expand Up @@ -1230,8 +1231,8 @@ public enum TimepointType {
/// <summary>
/// Contains text input to be synthesized. Either `text` or `ssml` must be
/// supplied. Supplying both or neither returns
/// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The input size is limited to 5000
/// bytes.
/// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The
/// input size is limited to 5000 bytes.
/// </summary>
public sealed partial class SynthesisInput : pb::IMessage<SynthesisInput>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down Expand Up @@ -1319,7 +1320,8 @@ public sealed partial class SynthesisInput : pb::IMessage<SynthesisInput>
/// <summary>
/// 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][google.rpc.Code.INVALID_ARGUMENT]. For more information, see
/// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. For
/// more information, see
/// [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Expand Down Expand Up @@ -1583,9 +1585,9 @@ public sealed partial class VoiceSelectionParams : pb::IMessage<VoiceSelectionPa
public const int LanguageCodeFieldNumber = 1;
private string languageCode_ = "";
/// <summary>
/// Required. The language (and potentially also the region) of the voice expressed as a
/// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g.
/// "en-US". This should not include a script tag (e.g. use
/// Required. The language (and potentially also the region) of the voice
/// expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
/// language tag, e.g. "en-US". This should not include a script tag (e.g. use
/// "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred
/// from the input provided in the SynthesisInput. The TTS service
/// will use this parameter to help choose an appropriate voice. Note that
Expand Down Expand Up @@ -2344,8 +2346,9 @@ public sealed partial class CustomVoiceParams : pb::IMessage<CustomVoiceParams>
public const int ReportedUsageFieldNumber = 3;
private global::Google.Cloud.TextToSpeech.V1Beta1.CustomVoiceParams.Types.ReportedUsage reportedUsage_ = global::Google.Cloud.TextToSpeech.V1Beta1.CustomVoiceParams.Types.ReportedUsage.Unspecified;
/// <summary>
/// Optional. The usage of the synthesized audio to be reported.
/// Optional. Deprecated. The usage of the synthesized audio to be reported.
/// </summary>
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Cloud.TextToSpeech.V1Beta1.CustomVoiceParams.Types.ReportedUsage ReportedUsage {
Expand Down Expand Up @@ -2516,9 +2519,8 @@ public sealed partial class CustomVoiceParams : pb::IMessage<CustomVoiceParams>
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
/// <summary>
/// The usage of the synthesized audio. You must report your honest and
/// correct usage of the service as it's regulated by contract and will cause
/// significant difference in billing.
/// Deprecated. The usage of the synthesized audio. Usage does not affect
/// billing.
/// </summary>
public enum ReportedUsage {
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// source: google/cloud/texttospeech/v1beta1/cloud_tts.proto
// </auto-generated>
// Original file comments:
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,26 @@ public static partial class CloudTtsLrsReflection {
"Dm91dHB1dF9nY3NfdXJpGAQgASgJQgPgQQISSwoFdm9pY2UYBSABKAsyNy5n",
"b29nbGUuY2xvdWQudGV4dHRvc3BlZWNoLnYxYmV0YTEuVm9pY2VTZWxlY3Rp",
"b25QYXJhbXNCA+BBAiIdChtTeW50aGVzaXplTG9uZ0F1ZGlvUmVzcG9uc2Ui",
"oAEKG1N5bnRoZXNpemVMb25nQXVkaW9NZXRhZGF0YRIuCgpzdGFydF90aW1l",
"GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI0ChBsYXN0X3Vw",
"ZGF0ZV90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIb",
"ChNwcm9ncmVzc19wZXJjZW50YWdlGAMgASgBMvgCCh9UZXh0VG9TcGVlY2hM",
"b25nQXVkaW9TeW50aGVzaXplEoMCChNTeW50aGVzaXplTG9uZ0F1ZGlvEj0u",
"Z29vZ2xlLmNsb3VkLnRleHR0b3NwZWVjaC52MWJldGExLlN5bnRoZXNpemVM",
"b25nQXVkaW9SZXF1ZXN0Gh0uZ29vZ2xlLmxvbmdydW5uaW5nLk9wZXJhdGlv",
"biKNAYLT5JMCSiJFL3YxYmV0YTEve3BhcmVudD1wcm9qZWN0cy8qL2xvY2F0",
"aW9ucy8qL3ZvaWNlcy8qfTpTeW50aGVzaXplTG9uZ0F1ZGlvOgEqykE6ChtT",
"eW50aGVzaXplTG9uZ0F1ZGlvUmVzcG9uc2USG1N5bnRoZXNpemVMb25nQXVk",
"aW9NZXRhZGF0YRpPykEb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dWRpbzoBKspBfgo9Z29vZ2xl",
"LmNsb3VkLnRleHR0b3NwZWVjaC52MWJldGExLlN5bnRoZXNpemVMb25nQXVk",
"aW9SZXNwb25zZRI9Z29vZ2xlLmNsb3VkLnRleHR0b3NwZWVjaC52MWJldGEx",
"LlN5bnRoZXNpemVMb25nQXVkaW9NZXRhZGF0YRpPykEbdGV4dHRvc3BlZWNo",
"Lmdvb2dsZWFwaXMuY29t0kEuaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20v",
"YXV0aC9jbG91ZC1wbGF0Zm9ybUKLAgolY29tLmdvb2dsZS5jbG91ZC50ZXh0",
"dG9zcGVlY2gudjFiZXRhMUIjVGV4dFRvU3BlZWNoTG9uZ0F1ZGlvU3ludGhl",
"c2lzUHJvdG9QAVpJY2xvdWQuZ29vZ2xlLmNvbS9nby90ZXh0dG9zcGVlY2gv",
"YXBpdjFiZXRhMS90ZXh0dG9zcGVlY2hwYjt0ZXh0dG9zcGVlY2hwYvgBAaoC",
"IUdvb2dsZS5DbG91ZC5UZXh0VG9TcGVlY2guVjFCZXRhMcoCIUdvb2dsZVxD",
"bG91ZFxUZXh0VG9TcGVlY2hcVjFiZXRhMeoCJEdvb2dsZTo6Q2xvdWQ6OlRl",
"eHRUb1NwZWVjaDo6VjFiZXRhMWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Cloud.TextToSpeech.V1Beta1.CloudTtsReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down Expand Up @@ -679,8 +680,9 @@ public sealed partial class SynthesizeLongAudioMetadata : pb::IMessage<Synthesiz
public const int LastUpdateTimeFieldNumber = 2;
private global::Google.Protobuf.WellKnownTypes.Timestamp lastUpdateTime_;
/// <summary>
/// Time of the most recent processing update.
/// Deprecated. Do not use.
/// </summary>
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Timestamp LastUpdateTime {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// source: google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto
// </auto-generated>
// Original file comments:
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,6 +17,7 @@
#pragma warning disable CS8981
using gaxgrpc = Google.Api.Gax.Grpc;
using lro = Google.LongRunning;
using proto = Google.Protobuf;
using gpr = Google.Protobuf.Reflection;
using scg = System.Collections.Generic;

Expand All @@ -27,7 +28,20 @@ internal static class PackageApiMetadata
{
/// <summary>The <see cref="gaxgrpc::ApiMetadata"/> for services in this package.</summary>
internal static gaxgrpc::ApiMetadata ApiMetadata { get; } = new gaxgrpc::ApiMetadata("Google.Cloud.TextToSpeech.V1Beta1", GetFileDescriptors)
.WithRequestNumericEnumJsonEncoding(true);
.WithRequestNumericEnumJsonEncoding(true)
.WithHttpRuleOverrides(new scg::Dictionary<string, proto::ByteString>
{
{
"google.longrunning.Operations.GetOperation",
// { "get": "/v1beta1/{name=projects/*/locations/*/operations/*}" }
proto::ByteString.FromBase64("EjMvdjFiZXRhMS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL29wZXJhdGlvbnMvKn0=")
},
{
"google.longrunning.Operations.ListOperations",
// { "get": "/v1beta1/{name=projects/*/locations/*}/operations" }
proto::ByteString.FromBase64("EjEvdjFiZXRhMS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qfS9vcGVyYXRpb25z")
},
});

private static scg::IEnumerable<gpr::FileDescriptor> GetFileDescriptors()
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -18,6 +18,7 @@
using gaxgrpc = Google.Api.Gax.Grpc;
using gctv = Google.Cloud.TextToSpeech.V1Beta1;
using lro = Google.LongRunning;
using proto = Google.Protobuf;
using gpr = Google.Protobuf.Reflection;
using sys = System;
using scg = System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 8e47bc8

Please sign in to comment.