Skip to content

Commit

Permalink
feat(texttospeech): update the API
Browse files Browse the repository at this point in the history
#### texttospeech:v1beta1

The following keys were added:
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.description
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.id
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.properties.progressPercentage.description
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.properties.progressPercentage.format
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.properties.progressPercentage.type
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.properties.startTime.description
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.properties.startTime.format
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.properties.startTime.type
- schemas.GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.type
- schemas.SynthesizeLongAudioMetadata.description
- schemas.SynthesizeLongAudioMetadata.id
- schemas.SynthesizeLongAudioMetadata.properties.progressPercentage.description
- schemas.SynthesizeLongAudioMetadata.properties.progressPercentage.format
- schemas.SynthesizeLongAudioMetadata.properties.progressPercentage.type
- schemas.SynthesizeLongAudioMetadata.properties.startTime.description
- schemas.SynthesizeLongAudioMetadata.properties.startTime.format
- schemas.SynthesizeLongAudioMetadata.properties.startTime.type
- schemas.SynthesizeLongAudioMetadata.type

#### texttospeech:v1

The following keys were added:
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.description
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.id
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.properties.progressPercentage.description
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.properties.progressPercentage.format
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.properties.progressPercentage.type
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.properties.startTime.description
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.properties.startTime.format
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.properties.startTime.type
- schemas.GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.type
- schemas.SynthesizeLongAudioMetadata.description
- schemas.SynthesizeLongAudioMetadata.id
- schemas.SynthesizeLongAudioMetadata.properties.progressPercentage.description
- schemas.SynthesizeLongAudioMetadata.properties.progressPercentage.format
- schemas.SynthesizeLongAudioMetadata.properties.progressPercentage.type
- schemas.SynthesizeLongAudioMetadata.properties.startTime.description
- schemas.SynthesizeLongAudioMetadata.properties.startTime.format
- schemas.SynthesizeLongAudioMetadata.properties.startTime.type
- schemas.SynthesizeLongAudioMetadata.type
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent f7aa8c8 commit c772fc1
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 2 deletions.
36 changes: 35 additions & 1 deletion discovery/texttospeech-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
}
}
},
"revision": "20221219",
"revision": "20230126",
"rootUrl": "https://texttospeech.googleapis.com/",
"schemas": {
"AudioConfig": {
Expand Down Expand Up @@ -412,6 +412,23 @@
"properties": {},
"type": "object"
},
"GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata": {
"description": "Metadata for response returned by the `SynthesizeLongAudio` method.",
"id": "GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata",
"properties": {
"progressPercentage": {
"description": "The progress of the most recent processing update in percentage, ie. 70.0%.",
"format": "double",
"type": "number"
},
"startTime": {
"description": "Time when the request was received.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"ListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "ListOperationsResponse",
Expand Down Expand Up @@ -521,6 +538,23 @@
},
"type": "object"
},
"SynthesizeLongAudioMetadata": {
"description": "Metadata for response returned by the `SynthesizeLongAudio` method.",
"id": "SynthesizeLongAudioMetadata",
"properties": {
"progressPercentage": {
"description": "The progress of the most recent processing update in percentage, ie. 70.0%.",
"format": "double",
"type": "number"
},
"startTime": {
"description": "Time when the request was received.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"SynthesizeLongAudioRequest": {
"description": "The top-level message sent by the client for the `SynthesizeLongAudio` method.",
"id": "SynthesizeLongAudioRequest",
Expand Down
36 changes: 35 additions & 1 deletion discovery/texttospeech-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
}
}
},
"revision": "20221219",
"revision": "20230126",
"rootUrl": "https://texttospeech.googleapis.com/",
"schemas": {
"AudioConfig": {
Expand Down Expand Up @@ -345,6 +345,23 @@
},
"type": "object"
},
"GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata": {
"description": "Metadata for response returned by the `SynthesizeLongAudio` method.",
"id": "GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata",
"properties": {
"progressPercentage": {
"description": "The progress of the most recent processing update in percentage, ie. 70.0%.",
"format": "double",
"type": "number"
},
"startTime": {
"description": "Time when the request was received.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"ListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "ListOperationsResponse",
Expand Down Expand Up @@ -454,6 +471,23 @@
},
"type": "object"
},
"SynthesizeLongAudioMetadata": {
"description": "Metadata for response returned by the `SynthesizeLongAudio` method.",
"id": "SynthesizeLongAudioMetadata",
"properties": {
"progressPercentage": {
"description": "The progress of the most recent processing update in percentage, ie. 70.0%.",
"format": "double",
"type": "number"
},
"startTime": {
"description": "Time when the request was received.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"SynthesizeLongAudioRequest": {
"description": "The top-level message sent by the client for the `SynthesizeLongAudio` method.",
"id": "SynthesizeLongAudioRequest",
Expand Down
26 changes: 26 additions & 0 deletions src/apis/texttospeech/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,19 @@ export namespace texttospeech_v1 {
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
*/
export interface Schema$Empty {}
/**
* Metadata for response returned by the `SynthesizeLongAudio` method.
*/
export interface Schema$GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata {
/**
* The progress of the most recent processing update in percentage, ie. 70.0%.
*/
progressPercentage?: number | null;
/**
* Time when the request was received.
*/
startTime?: string | null;
}
/**
* The response message for Operations.ListOperations.
*/
Expand Down Expand Up @@ -257,6 +270,19 @@ export namespace texttospeech_v1 {
*/
text?: string | null;
}
/**
* Metadata for response returned by the `SynthesizeLongAudio` method.
*/
export interface Schema$SynthesizeLongAudioMetadata {
/**
* The progress of the most recent processing update in percentage, ie. 70.0%.
*/
progressPercentage?: number | null;
/**
* Time when the request was received.
*/
startTime?: string | null;
}
/**
* The top-level message sent by the client for the `SynthesizeLongAudio` method.
*/
Expand Down
26 changes: 26 additions & 0 deletions src/apis/texttospeech/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,19 @@ export namespace texttospeech_v1beta1 {
*/
reportedUsage?: string | null;
}
/**
* Metadata for response returned by the `SynthesizeLongAudio` method.
*/
export interface Schema$GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata {
/**
* The progress of the most recent processing update in percentage, ie. 70.0%.
*/
progressPercentage?: number | null;
/**
* Time when the request was received.
*/
startTime?: string | null;
}
/**
* The response message for Operations.ListOperations.
*/
Expand Down Expand Up @@ -247,6 +260,19 @@ export namespace texttospeech_v1beta1 {
*/
text?: string | null;
}
/**
* Metadata for response returned by the `SynthesizeLongAudio` method.
*/
export interface Schema$SynthesizeLongAudioMetadata {
/**
* The progress of the most recent processing update in percentage, ie. 70.0%.
*/
progressPercentage?: number | null;
/**
* Time when the request was received.
*/
startTime?: string | null;
}
/**
* The top-level message sent by the client for the `SynthesizeLongAudio` method.
*/
Expand Down

0 comments on commit c772fc1

Please sign in to comment.