Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
fix: better support for fallback mode (#809)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 468790263

Source-Link: googleapis/googleapis@873ab45

Source-Link: https://github.com/googleapis/googleapis-gen/commit/cb6f37aeff2a3472e40a7bbace8c67d75e24bee5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2I2ZjM3YWVmZjJhMzQ3MmU0MGE3YmJhY2U4YzY3ZDc1ZTI0YmVlNSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 23, 2022
1 parent 9a7ae85 commit 1a90646
Show file tree
Hide file tree
Showing 26 changed files with 267 additions and 202 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"segments": [
{
"start": 25,
"end": 115,
"end": 118,
"type": "FULL"
}
],
Expand Down Expand Up @@ -90,7 +90,7 @@
"segments": [
{
"start": 25,
"end": 85,
"end": 88,
"type": "FULL"
}
],
Expand Down Expand Up @@ -146,7 +146,7 @@
"segments": [
{
"start": 25,
"end": 75,
"end": 78,
"type": "FULL"
}
],
Expand Down Expand Up @@ -194,7 +194,7 @@
"segments": [
{
"start": 25,
"end": 112,
"end": 115,
"type": "FULL"
}
],
Expand Down Expand Up @@ -262,7 +262,7 @@
"segments": [
{
"start": 25,
"end": 109,
"end": 112,
"type": "FULL"
}
],
Expand Down Expand Up @@ -330,7 +330,7 @@
"segments": [
{
"start": 25,
"end": 112,
"end": 115,
"type": "FULL"
}
],
Expand Down Expand Up @@ -398,7 +398,7 @@
"segments": [
{
"start": 25,
"end": 56,
"end": 59,
"type": "FULL"
}
],
Expand Down Expand Up @@ -442,7 +442,7 @@
"segments": [
{
"start": 25,
"end": 83,
"end": 86,
"type": "FULL"
}
],
Expand Down Expand Up @@ -494,7 +494,7 @@
"segments": [
{
"start": 25,
"end": 50,
"end": 53,
"type": "FULL"
}
],
Expand Down Expand Up @@ -534,7 +534,7 @@
"segments": [
{
"start": 25,
"end": 51,
"end": 54,
"type": "FULL"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, sourceLanguageCode, targetLanguageCodes, inputConfigs, outputConfig) {
// [START translate_v3_generated_TranslationService_BatchTranslateDocument_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, sourceLanguageCode, targetLanguageCodes, inputConfigs, outputConfig) {
// [START translate_v3_generated_TranslationService_BatchTranslateText_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v3/translation_service.create_glossary.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, glossary) {
// [START translate_v3_generated_TranslationService_CreateGlossary_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v3/translation_service.delete_glossary.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START translate_v3_generated_TranslationService_DeleteGlossary_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v3/translation_service.detect_language.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START translate_v3_generated_TranslationService_DetectLanguage_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v3/translation_service.get_glossary.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START translate_v3_generated_TranslationService_GetGlossary_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START translate_v3_generated_TranslationService_GetSupportedLanguages_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v3/translation_service.list_glossaries.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START translate_v3_generated_TranslationService_ListGlossaries_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, targetLanguageCode, documentInputConfig) {
// [START translate_v3_generated_TranslationService_TranslateDocument_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v3/translation_service.translate_text.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(contents, targetLanguageCode, parent) {
// [START translate_v3_generated_TranslationService_TranslateText_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"segments": [
{
"start": 25,
"end": 114,
"end": 117,
"type": "FULL"
}
],
Expand Down Expand Up @@ -90,7 +90,7 @@
"segments": [
{
"start": 25,
"end": 84,
"end": 87,
"type": "FULL"
}
],
Expand Down Expand Up @@ -146,7 +146,7 @@
"segments": [
{
"start": 25,
"end": 75,
"end": 78,
"type": "FULL"
}
],
Expand Down Expand Up @@ -194,7 +194,7 @@
"segments": [
{
"start": 25,
"end": 111,
"end": 114,
"type": "FULL"
}
],
Expand Down Expand Up @@ -262,7 +262,7 @@
"segments": [
{
"start": 25,
"end": 108,
"end": 111,
"type": "FULL"
}
],
Expand Down Expand Up @@ -330,7 +330,7 @@
"segments": [
{
"start": 25,
"end": 112,
"end": 115,
"type": "FULL"
}
],
Expand Down Expand Up @@ -398,7 +398,7 @@
"segments": [
{
"start": 25,
"end": 56,
"end": 59,
"type": "FULL"
}
],
Expand Down Expand Up @@ -442,7 +442,7 @@
"segments": [
{
"start": 25,
"end": 83,
"end": 86,
"type": "FULL"
}
],
Expand Down Expand Up @@ -494,7 +494,7 @@
"segments": [
{
"start": 25,
"end": 50,
"end": 53,
"type": "FULL"
}
],
Expand Down Expand Up @@ -534,7 +534,7 @@
"segments": [
{
"start": 25,
"end": 51,
"end": 54,
"type": "FULL"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, sourceLanguageCode, targetLanguageCodes, inputConfigs, outputConfig) {
// [START translate_v3beta1_generated_TranslationService_BatchTranslateDocument_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, sourceLanguageCode, targetLanguageCodes, inputConfigs, outputConfig) {
// [START translate_v3beta1_generated_TranslationService_BatchTranslateText_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, glossary) {
// [START translate_v3beta1_generated_TranslationService_CreateGlossary_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START translate_v3beta1_generated_TranslationService_DeleteGlossary_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START translate_v3beta1_generated_TranslationService_DetectLanguage_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v3beta1/translation_service.get_glossary.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START translate_v3beta1_generated_TranslationService_GetGlossary_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START translate_v3beta1_generated_TranslationService_GetSupportedLanguages_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START translate_v3beta1_generated_TranslationService_ListGlossaries_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, targetLanguageCode, documentInputConfig) {
// [START translate_v3beta1_generated_TranslationService_TranslateDocument_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(contents, targetLanguageCode, parent) {
// [START translate_v3beta1_generated_TranslationService_TranslateText_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Loading

0 comments on commit 1a90646

Please sign in to comment.