-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(samples): include metadata file, add exclusions for samples to h…
…andwritten libraries (#587) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 429395631 Source-Link: googleapis/googleapis@84594b3 Source-Link: googleapis/googleapis-gen@ed74f97 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWQ3NGY5NzBmZDgyOTE0ODc0ZTZiMjdiMDQ3NjNjZmE2NmJhZmU5YiJ9
- Loading branch information
1 parent
2c9193d
commit e6f8cad
Showing
10 changed files
with
332 additions
and
18 deletions.
There are no files selected for viewing
103 changes: 103 additions & 0 deletions
103
...loud-texttospeech/samples/generated/v1/snippet_metadata.google.cloud.texttospeech.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
{ | ||
"clientLibrary": { | ||
"name": "nodejs-texttospeech", | ||
"version": "0.1.0", | ||
"language": "TYPESCRIPT", | ||
"apis": [ | ||
{ | ||
"id": "google.cloud.texttospeech.v1", | ||
"version": "v1" | ||
} | ||
] | ||
}, | ||
"snippets": [ | ||
{ | ||
"regionTag": "texttospeech_v1_generated_TextToSpeech_ListVoices_async", | ||
"title": "TextToSpeech listVoices Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Returns a list of Voice supported for synthesis.", | ||
"canonical": true, | ||
"file": "text_to_speech.list_voices.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 56, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "ListVoices", | ||
"fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "language_code", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.cloud.texttospeech.v1.ListVoicesResponse", | ||
"client": { | ||
"shortName": "TextToSpeechClient", | ||
"fullName": "google.cloud.texttospeech.v1.TextToSpeechClient" | ||
}, | ||
"method": { | ||
"shortName": "ListVoices", | ||
"fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", | ||
"service": { | ||
"shortName": "TextToSpeech", | ||
"fullName": "google.cloud.texttospeech.v1.TextToSpeech" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "texttospeech_v1_generated_TextToSpeech_SynthesizeSpeech_async", | ||
"title": "TextToSpeech synthesizeSpeech Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Synthesizes speech synchronously: receive results after all text input has been processed.", | ||
"canonical": true, | ||
"file": "text_to_speech.synthesize_speech.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 60, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "SynthesizeSpeech", | ||
"fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "input", | ||
"type": ".google.cloud.texttospeech.v1.SynthesisInput" | ||
}, | ||
{ | ||
"name": "voice", | ||
"type": ".google.cloud.texttospeech.v1.VoiceSelectionParams" | ||
}, | ||
{ | ||
"name": "audio_config", | ||
"type": ".google.cloud.texttospeech.v1.AudioConfig" | ||
} | ||
], | ||
"resultType": ".google.cloud.texttospeech.v1.SynthesizeSpeechResponse", | ||
"client": { | ||
"shortName": "TextToSpeechClient", | ||
"fullName": "google.cloud.texttospeech.v1.TextToSpeechClient" | ||
}, | ||
"method": { | ||
"shortName": "SynthesizeSpeech", | ||
"fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", | ||
"service": { | ||
"shortName": "TextToSpeech", | ||
"fullName": "google.cloud.texttospeech.v1.TextToSpeech" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
9 changes: 7 additions & 2 deletions
9
packages/google-cloud-texttospeech/samples/generated/v1/text_to_speech.list_voices.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
packages/google-cloud-texttospeech/samples/generated/v1/text_to_speech.synthesize_speech.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 107 additions & 0 deletions
107
...ospeech/samples/generated/v1beta1/snippet_metadata.google.cloud.texttospeech.v1beta1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"clientLibrary": { | ||
"name": "nodejs-texttospeech", | ||
"version": "0.1.0", | ||
"language": "TYPESCRIPT", | ||
"apis": [ | ||
{ | ||
"id": "google.cloud.texttospeech.v1beta1", | ||
"version": "v1beta1" | ||
} | ||
] | ||
}, | ||
"snippets": [ | ||
{ | ||
"regionTag": "texttospeech_v1beta1_generated_TextToSpeech_ListVoices_async", | ||
"title": "TextToSpeech listVoices Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Returns a list of Voice supported for synthesis.", | ||
"canonical": true, | ||
"file": "text_to_speech.list_voices.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 56, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "ListVoices", | ||
"fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.ListVoices", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "language_code", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.cloud.texttospeech.v1beta1.ListVoicesResponse", | ||
"client": { | ||
"shortName": "TextToSpeechClient", | ||
"fullName": "google.cloud.texttospeech.v1beta1.TextToSpeechClient" | ||
}, | ||
"method": { | ||
"shortName": "ListVoices", | ||
"fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.ListVoices", | ||
"service": { | ||
"shortName": "TextToSpeech", | ||
"fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "texttospeech_v1beta1_generated_TextToSpeech_SynthesizeSpeech_async", | ||
"title": "TextToSpeech synthesizeSpeech Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Synthesizes speech synchronously: receive results after all text input has been processed.", | ||
"canonical": true, | ||
"file": "text_to_speech.synthesize_speech.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 64, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "SynthesizeSpeech", | ||
"fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.SynthesizeSpeech", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "input", | ||
"type": ".google.cloud.texttospeech.v1beta1.SynthesisInput" | ||
}, | ||
{ | ||
"name": "voice", | ||
"type": ".google.cloud.texttospeech.v1beta1.VoiceSelectionParams" | ||
}, | ||
{ | ||
"name": "audio_config", | ||
"type": ".google.cloud.texttospeech.v1beta1.AudioConfig" | ||
}, | ||
{ | ||
"name": "enable_time_pointing", | ||
"type": "TYPE_ENUM[]" | ||
} | ||
], | ||
"resultType": ".google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse", | ||
"client": { | ||
"shortName": "TextToSpeechClient", | ||
"fullName": "google.cloud.texttospeech.v1beta1.TextToSpeechClient" | ||
}, | ||
"method": { | ||
"shortName": "SynthesizeSpeech", | ||
"fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.SynthesizeSpeech", | ||
"service": { | ||
"shortName": "TextToSpeech", | ||
"fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
9 changes: 7 additions & 2 deletions
9
packages/google-cloud-texttospeech/samples/generated/v1beta1/text_to_speech.list_voices.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
...s/google-cloud-texttospeech/samples/generated/v1beta1/text_to_speech.synthesize_speech.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.