Skip to content

Commit a9617b7

Browse files
chore: [Many APIs] Update gapic-generator-python to 1.26.2 (googleapis#14343)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 802200836 Source-Link: googleapis/googleapis@d300b15 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a1ff0ae72ddcb68a259215d8c77661e2cdbb9b02 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2UtdXNhZ2UvLk93bEJvdC55YW1sIiwiaCI6ImExZmYwYWU3MmRkY2I2OGEyNTkyMTVkOGM3NzY2MWUyY2RiYjliMDIifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2VoZWFsdGgvLk93bEJvdC55YW1sIiwiaCI6ImExZmYwYWU3MmRkY2I2OGEyNTkyMTVkOGM3NzY2MWUyY2RiYjliMDIifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNoZWxsLy5Pd2xCb3QueWFtbCIsImgiOiJhMWZmMGFlNzJkZGNiNjhhMjU5MjE1ZDhjNzc2NjFlMmNkYmI5YjAyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNvdXJjZS1jb250ZXh0Ly5Pd2xCb3QueWFtbCIsImgiOiJhMWZmMGFlNzJkZGNiNjhhMjU5MjE1ZDhjNzc2NjFlMmNkYmI5YjAyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZTJjZGJiOWIwMiJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXN0b3JhZ2UtY29udHJvbC8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZTJjZGJiOWIwMiJ9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github.com>
1 parent cc6652a commit a9617b7

File tree

105 files changed

+1984
-1961
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+1984
-1961
lines changed

packages/google-cloud-service-usage/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,10 @@ def docs(session):
365365
"-T", # show full traceback on exception
366366
"-N", # no colors
367367
"-b",
368-
"html",
368+
"html", # builder
369369
"-d",
370-
os.path.join("docs", "_build", "doctrees", ""),
370+
os.path.join("docs", "_build", "doctrees", ""), # cache directory
371+
# paths to build:
371372
os.path.join("docs", ""),
372373
os.path.join("docs", "_build", "html", ""),
373374
)

packages/google-cloud-servicehealth/google/cloud/servicehealth_v1/types/event_resources.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ class DetailedState(proto.Enum):
216216
The incident was automatically closed because of the
217217
following reasons:
218218
219-
- The impact of the incident could not be confirmed.
220-
- The incident was intermittent or resolved itself.
219+
- The impact of the incident could not be confirmed.
220+
- The incident was intermittent or resolved itself.
221221
222222
The incident does not have a resolution because no action or
223223
investigation happened. If it is intermittent, the incident
@@ -477,8 +477,8 @@ class DetailedState(proto.Enum):
477477
The incident was automatically closed because of the
478478
following reasons:
479479
480-
- The impact of the incident could not be confirmed.
481-
- The incident was intermittent or resolved itself.
480+
- The impact of the incident could not be confirmed.
481+
- The incident was intermittent or resolved itself.
482482
483483
The incident does not have a resolution because no action or
484484
investigation happened. If it is intermittent, the incident
@@ -768,11 +768,11 @@ class ListEventsRequest(proto.Message):
768768
Optional. A filter expression that filters resources listed
769769
in the response. The expression takes the following forms:
770770
771-
- field=value for ``category`` and ``state``\
772-
- field <, >, <=, or >= value for ``update_time`` Examples:
773-
``category=INCIDENT``,
774-
``update_time>="2000-01-01T11:30:00-04:00"``,
775-
``event_impacts.product.product_name:"Eventarc"``
771+
- field=value for ``category`` and ``state``\
772+
- field <, >, <=, or >= value for ``update_time`` Examples:
773+
``category=INCIDENT``,
774+
``update_time>="2000-01-01T11:30:00-04:00"``,
775+
``event_impacts.product.product_name:"Eventarc"``
776776
777777
.. raw:: html
778778
@@ -910,8 +910,8 @@ class ListOrganizationEventsRequest(proto.Message):
910910
Optional. A filter expression that filters resources listed
911911
in the response. The expression takes the following forms:
912912
913-
- field=value for ``category`` and ``state``
914-
- field <, >, <=, or >= value for ``update_time``
913+
- field=value for ``category`` and ``state``
914+
- field <, >, <=, or >= value for ``update_time``
915915
916916
Examples: ``category=INCIDENT``,
917917
``update_time>="2000-01-01T11:30:00-04:00"``

packages/google-cloud-servicehealth/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,10 @@ def docs(session):
365365
"-T", # show full traceback on exception
366366
"-N", # no colors
367367
"-b",
368-
"html",
368+
"html", # builder
369369
"-d",
370-
os.path.join("docs", "_build", "doctrees", ""),
370+
os.path.join("docs", "_build", "doctrees", ""), # cache directory
371+
# paths to build:
371372
os.path.join("docs", ""),
372373
os.path.join("docs", "_build", "html", ""),
373374
)

packages/google-cloud-shell/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,10 @@ def docs(session):
365365
"-T", # show full traceback on exception
366366
"-N", # no colors
367367
"-b",
368-
"html",
368+
"html", # builder
369369
"-d",
370-
os.path.join("docs", "_build", "doctrees", ""),
370+
os.path.join("docs", "_build", "doctrees", ""), # cache directory
371+
# paths to build:
371372
os.path.join("docs", ""),
372373
os.path.join("docs", "_build", "html", ""),
373374
)

packages/google-cloud-source-context/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,10 @@ def docs(session):
365365
"-T", # show full traceback on exception
366366
"-N", # no colors
367367
"-b",
368-
"html",
368+
"html", # builder
369369
"-d",
370-
os.path.join("docs", "_build", "doctrees", ""),
370+
os.path.join("docs", "_build", "doctrees", ""), # cache directory
371+
# paths to build:
371372
os.path.join("docs", ""),
372373
os.path.join("docs", "_build", "html", ""),
373374
)

packages/google-cloud-speech/google/cloud/speech_v1/services/speech/async_client.py

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -639,58 +639,62 @@ def request_generator():
639639
are streamed back to the client.
640640
641641
Here's an example of a series of
642-
StreamingRecognizeResponses that might be returned
642+
\`StreamingRecognizeResponse`s that might be returned
643643
while processing audio:
644644
645645
1. results { alternatives { transcript: "tube" }
646646
stability: 0.01 }
647+
647648
2. results { alternatives { transcript: "to be a" }
648649
stability: 0.01 }
650+
649651
3. results { alternatives { transcript: "to be" }
650652
stability: 0.9 } results { alternatives {
651653
transcript: " or not to be" } stability: 0.01 }
654+
652655
4.
653656
654657
results { alternatives { transcript: "to be or not to be"
655-
confidence: 0.92 }
656-
657-
alternatives { transcript: "to bee or not to bee" }
658-
is_final: true }
658+
confidence: 0.92 } alternatives { transcript:
659+
"to bee or not to bee" } is_final: true }
659660
660661
5. results { alternatives { transcript: " that's" }
661662
stability: 0.01 }
663+
662664
6. results { alternatives { transcript: " that is" }
663665
stability: 0.9 } results { alternatives {
664666
transcript: " the question" } stability: 0.01 }
667+
665668
7.
666669
667670
results { alternatives { transcript: " that is the question"
668-
confidence: 0.98 }
669-
670-
alternatives { transcript: " that was the question" }
671-
is_final: true }
671+
confidence: 0.98 } alternatives { transcript: "
672+
that was the question" } is_final: true }
672673
673674
Notes:
674675
675-
- Only two of the above responses #4 and #7 contain
676-
final results; they are indicated by
677-
is_final: true. Concatenating these together
678-
generates the full transcript: "to be or not to be
679-
that is the question".
680-
- The others contain interim results. #3 and #6
681-
contain two interim \`results`: the first portion
682-
has a high stability and is less likely to change;
683-
the second portion has a low stability and is very
684-
likely to change. A UI designer might choose to
685-
show only high stability results.
686-
- The specific stability and confidence values shown
687-
above are only for illustrative purposes. Actual
688-
values may vary.
676+
- Only two of the above responses #4 and #7 contain
677+
final results; they are indicated by is_final:
678+
true. Concatenating these together generates the
679+
full transcript: "to be or not to be that is the
680+
question".
681+
682+
- The others contain interim results. #3 and #6
683+
contain two interim \`results\`: the first portion
684+
has a high stability and is less likely to change;
685+
the second portion has a low stability and is very
686+
likely to change. A UI designer might choose to
687+
show only high stability results.
688+
689+
- The specific stability and confidence values shown
690+
above are only for illustrative purposes. Actual
691+
values may vary.
692+
689693
-
690694
691-
In each response, only one of these fields will be set:
692-
error, speech_event_type, or one or more
693-
(repeated) results.
695+
In each response, only one of these fields will be set:
696+
error, speech_event_type, or one or more
697+
(repeated) results.
694698
695699
"""
696700

packages/google-cloud-speech/google/cloud/speech_v1/services/speech/client.py

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,58 +1078,62 @@ def request_generator():
10781078
are streamed back to the client.
10791079
10801080
Here's an example of a series of
1081-
StreamingRecognizeResponses that might be returned
1081+
\`StreamingRecognizeResponse`s that might be returned
10821082
while processing audio:
10831083
10841084
1. results { alternatives { transcript: "tube" }
10851085
stability: 0.01 }
1086+
10861087
2. results { alternatives { transcript: "to be a" }
10871088
stability: 0.01 }
1089+
10881090
3. results { alternatives { transcript: "to be" }
10891091
stability: 0.9 } results { alternatives {
10901092
transcript: " or not to be" } stability: 0.01 }
1093+
10911094
4.
10921095
10931096
results { alternatives { transcript: "to be or not to be"
1094-
confidence: 0.92 }
1095-
1096-
alternatives { transcript: "to bee or not to bee" }
1097-
is_final: true }
1097+
confidence: 0.92 } alternatives { transcript:
1098+
"to bee or not to bee" } is_final: true }
10981099
10991100
5. results { alternatives { transcript: " that's" }
11001101
stability: 0.01 }
1102+
11011103
6. results { alternatives { transcript: " that is" }
11021104
stability: 0.9 } results { alternatives {
11031105
transcript: " the question" } stability: 0.01 }
1106+
11041107
7.
11051108
11061109
results { alternatives { transcript: " that is the question"
1107-
confidence: 0.98 }
1108-
1109-
alternatives { transcript: " that was the question" }
1110-
is_final: true }
1110+
confidence: 0.98 } alternatives { transcript: "
1111+
that was the question" } is_final: true }
11111112
11121113
Notes:
11131114
1114-
- Only two of the above responses #4 and #7 contain
1115-
final results; they are indicated by
1116-
is_final: true. Concatenating these together
1117-
generates the full transcript: "to be or not to be
1118-
that is the question".
1119-
- The others contain interim results. #3 and #6
1120-
contain two interim \`results`: the first portion
1121-
has a high stability and is less likely to change;
1122-
the second portion has a low stability and is very
1123-
likely to change. A UI designer might choose to
1124-
show only high stability results.
1125-
- The specific stability and confidence values shown
1126-
above are only for illustrative purposes. Actual
1127-
values may vary.
1115+
- Only two of the above responses #4 and #7 contain
1116+
final results; they are indicated by is_final:
1117+
true. Concatenating these together generates the
1118+
full transcript: "to be or not to be that is the
1119+
question".
1120+
1121+
- The others contain interim results. #3 and #6
1122+
contain two interim \`results\`: the first portion
1123+
has a high stability and is less likely to change;
1124+
the second portion has a low stability and is very
1125+
likely to change. A UI designer might choose to
1126+
show only high stability results.
1127+
1128+
- The specific stability and confidence values shown
1129+
above are only for illustrative purposes. Actual
1130+
values may vary.
1131+
11281132
-
11291133
1130-
In each response, only one of these fields will be set:
1131-
error, speech_event_type, or one or more
1132-
(repeated) results.
1134+
In each response, only one of these fields will be set:
1135+
error, speech_event_type, or one or more
1136+
(repeated) results.
11331137
11341138
"""
11351139

packages/google-cloud-speech/google/cloud/speech_v1/types/cloud_speech.py

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ class StreamingRecognitionConfig(proto.Message):
213213
specified models, otherwise an error is thrown. The
214214
``model`` field in [``RecognitionConfig``][] must be set to:
215215
216-
- ``command_and_search``
217-
- ``phone_call`` AND additional field
218-
``useEnhanced``\ =\ ``true``
219-
- The ``model`` field is left undefined. In this case the
220-
API auto-selects a model based on any other parameters
221-
that you set in ``RecognitionConfig``.
216+
- ``command_and_search``
217+
- ``phone_call`` AND additional field
218+
``useEnhanced``\ =\ ``true``
219+
- The ``model`` field is left undefined. In this case the
220+
API auto-selects a model based on any other parameters
221+
that you set in ``RecognitionConfig``.
222222
interim_results (bool):
223223
If ``true``, interim results (tentative hypotheses) may be
224224
returned as they become available (these interim results are
@@ -351,7 +351,7 @@ class RecognitionConfig(proto.Message):
351351
profanity_filter (bool):
352352
If set to ``true``, the server will attempt to filter out
353353
profanities, replacing all but the initial character in each
354-
filtered word with asterisks, e.g. "f***". If set to
354+
filtered word with asterisks, e.g. "f**\*". If set to
355355
``false`` or omitted, profanities won't be filtered out.
356356
adaptation (google.cloud.speech_v1.types.SpeechAdaptation):
357357
Speech adaptation configuration improves the accuracy of
@@ -1176,23 +1176,22 @@ class StreamingRecognizeResponse(proto.Message):
11761176
11771177
Notes:
11781178
1179-
- Only two of the above responses #4 and #7 contain final results;
1180-
they are indicated by ``is_final: true``. Concatenating these
1181-
together generates the full transcript: "to be or not to be that
1182-
is the question".
1179+
- Only two of the above responses #4 and #7 contain final results;
1180+
they are indicated by ``is_final: true``. Concatenating these
1181+
together generates the full transcript: "to be or not to be that
1182+
is the question".
11831183
1184-
- The others contain interim ``results``. #3 and #6 contain two
1185-
interim ``results``: the first portion has a high stability and
1186-
is less likely to change; the second portion has a low stability
1187-
and is very likely to change. A UI designer might choose to show
1188-
only high stability ``results``.
1184+
- The others contain interim ``results``. #3 and #6 contain two
1185+
interim ``results``: the first portion has a high stability and is
1186+
less likely to change; the second portion has a low stability and
1187+
is very likely to change. A UI designer might choose to show only
1188+
high stability ``results``.
11891189
1190-
- The specific ``stability`` and ``confidence`` values shown above
1191-
are only for illustrative purposes. Actual values may vary.
1190+
- The specific ``stability`` and ``confidence`` values shown above
1191+
are only for illustrative purposes. Actual values may vary.
11921192
1193-
- In each response, only one of these fields will be set:
1194-
``error``, ``speech_event_type``, or one or more (repeated)
1195-
``results``.
1193+
- In each response, only one of these fields will be set: ``error``,
1194+
``speech_event_type``, or one or more (repeated) ``results``.
11961195
11971196
Attributes:
11981197
error (google.rpc.status_pb2.Status):

0 commit comments

Comments
 (0)