Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit f97d4ec

Browse files
fix: better support for fallback mode (#683)
- [ ] 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
1 parent 8955737 commit f97d4ec

18 files changed

Lines changed: 218 additions & 176 deletions

samples/generated/v1/language_service.analyze_entities.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document) {
2424
// [START language_v1_generated_LanguageService_AnalyzeEntities_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/language_service.analyze_entity_sentiment.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document) {
2424
// [START language_v1_generated_LanguageService_AnalyzeEntitySentiment_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/language_service.analyze_sentiment.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document) {
2424
// [START language_v1_generated_LanguageService_AnalyzeSentiment_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/language_service.analyze_syntax.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document) {
2424
// [START language_v1_generated_LanguageService_AnalyzeSyntax_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/language_service.annotate_text.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document, features) {
2424
// [START language_v1_generated_LanguageService_AnnotateText_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/language_service.classify_text.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document) {
2424
// [START language_v1_generated_LanguageService_ClassifyText_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/snippet_metadata.google.cloud.language.v1.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"segments": [
2323
{
2424
"start": 25,
25-
"end": 54,
25+
"end": 57,
2626
"type": "FULL"
2727
}
2828
],
@@ -66,7 +66,7 @@
6666
"segments": [
6767
{
6868
"start": 25,
69-
"end": 54,
69+
"end": 57,
7070
"type": "FULL"
7171
}
7272
],
@@ -110,7 +110,7 @@
110110
"segments": [
111111
{
112112
"start": 25,
113-
"end": 54,
113+
"end": 57,
114114
"type": "FULL"
115115
}
116116
],
@@ -154,7 +154,7 @@
154154
"segments": [
155155
{
156156
"start": 25,
157-
"end": 54,
157+
"end": 57,
158158
"type": "FULL"
159159
}
160160
],
@@ -198,7 +198,7 @@
198198
"segments": [
199199
{
200200
"start": 25,
201-
"end": 50,
201+
"end": 53,
202202
"type": "FULL"
203203
}
204204
],
@@ -238,7 +238,7 @@
238238
"segments": [
239239
{
240240
"start": 25,
241-
"end": 59,
241+
"end": 62,
242242
"type": "FULL"
243243
}
244244
],

samples/generated/v1beta2/language_service.analyze_entities.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document) {
2424
// [START language_v1beta2_generated_LanguageService_AnalyzeEntities_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1beta2/language_service.analyze_entity_sentiment.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document) {
2424
// [START language_v1beta2_generated_LanguageService_AnalyzeEntitySentiment_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1beta2/language_service.analyze_sentiment.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(document) {
2424
// [START language_v1beta2_generated_LanguageService_AnalyzeSentiment_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

0 commit comments

Comments
 (0)