Skip to content

Commit b38c1d1

Browse files
chore: [Many APIs] Update gapic-generator-python to 1.26.2 (googleapis#14335)
- [ ] 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: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFkcy1hZG1hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6ImExZmYwYWU3MmRkY2I2OGEyNTkyMTVkOGM3NzY2MWUyY2RiYjliMDIifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFkcy1tYXJrZXRpbmdwbGF0Zm9ybS1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZTJjZGJiOWIwMiJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFpLWdlbmVyYXRpdmVsYW5ndWFnZS8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZTJjZGJiOWIwMiJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZTJjZGJiOWIwMiJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFuYWx5dGljcy1kYXRhLy5Pd2xCb3QueWFtbCIsImgiOiJhMWZmMGFlNzJkZGNiNjhhMjU5MjE1ZDhjNzc2NjFlMmNkYmI5YjAyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwcHMtY2FyZC8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZTJjZGJiOWIwMi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com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent dc7f80a commit b38c1d1

File tree

161 files changed

+2996
-2994
lines changed

Some content is hidden

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

161 files changed

+2996
-2994
lines changed

packages/google-ads-admanager/google/ads/admanager_v1/services/ad_break_service/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,11 +1010,11 @@ def create_ad_break(
10101010
10111011
An ad break's state is complete when the following occurs:
10121012
1013-
- Full service DAI: after a matching ad break shows in the
1014-
``LiveStreamEvent`` manifest only when the ad break has
1015-
started decisioning.
1016-
- Pod Serving: after the ad break is requested using the ad
1017-
break ID or break sequence.
1013+
- Full service DAI: after a matching ad break shows in the
1014+
``LiveStreamEvent`` manifest only when the ad break has
1015+
started decisioning.
1016+
- Pod Serving: after the ad break is requested using the ad
1017+
break ID or break sequence.
10181018
10191019
.. code-block:: python
10201020

packages/google-ads-admanager/google/ads/admanager_v1/services/order_service/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -946,9 +946,9 @@ def list_orders(
946946
947947
Fields used for literal matching in filter string:
948948
949-
- ``order_id``
950-
- ``display_name``
951-
- ``external_order_id``
949+
- ``order_id``
950+
- ``display_name``
951+
- ``external_order_id``
952952
953953
.. code-block:: python
954954

packages/google-ads-admanager/google/ads/admanager_v1/types/ad_break_messages.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ class AdBreak(proto.Message):
120120
121121
**Examples**
122122
123-
- ``time_signal()``
124-
::
123+
- ``time_signal()``
124+
::
125125
126-
/DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg==
126+
/DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg==
127127
128-
- ``splice_insert()``
129-
::
128+
- ``splice_insert()``
129+
::
130130
131-
/DAvAAAAAAAA///wFAVIAACPf+/+c2nALv4AUsz1AAAAAAAKAAhDVUVJAAABNWLbowo=
131+
/DAvAAAAAAAA///wFAVIAACPf+/+c2nALv4AUsz1AAAAAAAKAAhDVUVJAAABNWLbowo=
132132
133133
This field is a member of `oneof`_ ``_scte_35_cue_out``.
134134
"""

packages/google-ads-admanager/google/ads/admanager_v1/types/report_messages.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4318,27 +4318,27 @@ class ReportDefinition(proto.Message):
43184318
This field is a member of `oneof`_ ``_comparison_date_range``.
43194319
custom_dimension_key_ids (MutableSequence[int]):
43204320
Optional. Custom Dimension keys that represent
4321-
`CUSTOM_DIMENSION_*` dimensions. The index of this repeated
4321+
CUSTOM_DIMENSION\_\* dimensions. The index of this repeated
43224322
field corresponds to the index on each dimension. For
43234323
example, custom_dimension_key_ids[0] describes
43244324
CUSTOM_DIMENSION_0_VALUE_ID and CUSTOM_DIMENSION_0_VALUE.
43254325
line_item_custom_field_ids (MutableSequence[int]):
43264326
Optional. Custom field IDs that represent
4327-
`LINE_ITEM_CUSTOM_FIELD_*` dimensions. The index of this
4327+
LINE_ITEM_CUSTOM_FIELD\_\* dimensions. The index of this
43284328
repeated field corresponds to the index on each dimension.
43294329
For example, line_item_custom_field_ids[0] describes
43304330
LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID and
43314331
LINE_ITEM_CUSTOM_FIELD_0_VALUE.
43324332
order_custom_field_ids (MutableSequence[int]):
43334333
Optional. Custom field IDs that represent
4334-
`ORDER_CUSTOM_FIELD_*` dimensions. The index of this repeated
4335-
field corresponds to the index on each dimension. For
4336-
example, order_custom_field_ids[0] describes
4334+
ORDER_CUSTOM_FIELD\_\* dimensions. The index of this
4335+
repeated field corresponds to the index on each dimension.
4336+
For example, order_custom_field_ids[0] describes
43374337
ORDER_CUSTOM_FIELD_0_OPTION_ID and
43384338
ORDER_CUSTOM_FIELD_0_VALUE.
43394339
creative_custom_field_ids (MutableSequence[int]):
43404340
Optional. Custom field IDs that represent
4341-
`CREATIVE_CUSTOM_FIELD_*` dimensions. The index of this
4341+
CREATIVE_CUSTOM_FIELD\_\* dimensions. The index of this
43424342
repeated field corresponds to the index on each dimension.
43434343
For example, creative_custom_field_ids[0] describes
43444344
CREATIVE_CUSTOM_FIELD_0_OPTION_ID and

packages/google-ads-admanager/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-ads-admanager/scripts/client-post-processing/doc-formatting.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/google-ads-marketingplatform-admin/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-ai-generativelanguage/google/ai/generativelanguage/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.7.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-ai-generativelanguage/google/ai/generativelanguage_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.7.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-ai-generativelanguage/google/ai/generativelanguage_v1/services/generative_service/transports/rest.py

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,13 +1090,13 @@ def __call__(
10901090
candidate in ``finish_reason`` and in
10911091
``safety_ratings``. The API:
10921092
1093-
- Returns either all requested candidates or none of
1094-
them
1095-
- Returns no candidates at all only if there was
1096-
something wrong with the prompt (check
1097-
``prompt_feedback``)
1098-
- Reports feedback on each candidate in
1099-
``finish_reason`` and ``safety_ratings``.
1093+
- Returns either all requested candidates or none of
1094+
them
1095+
- Returns no candidates at all only if there was
1096+
something wrong with the prompt (check
1097+
``prompt_feedback``)
1098+
- Reports feedback on each candidate in
1099+
``finish_reason`` and ``safety_ratings``.
11001100
11011101
"""
11021102

@@ -1263,13 +1263,13 @@ def __call__(
12631263
candidate in ``finish_reason`` and in
12641264
``safety_ratings``. The API:
12651265
1266-
- Returns either all requested candidates or none of
1267-
them
1268-
- Returns no candidates at all only if there was
1269-
something wrong with the prompt (check
1270-
``prompt_feedback``)
1271-
- Reports feedback on each candidate in
1272-
``finish_reason`` and ``safety_ratings``.
1266+
- Returns either all requested candidates or none of
1267+
them
1268+
- Returns no candidates at all only if there was
1269+
something wrong with the prompt (check
1270+
``prompt_feedback``)
1271+
- Reports feedback on each candidate in
1272+
``finish_reason`` and ``safety_ratings``.
12731273
12741274
"""
12751275

@@ -1348,6 +1348,22 @@ def __call__(
13481348
resp, _ = self._interceptor.post_stream_generate_content_with_metadata(
13491349
resp, response_metadata
13501350
)
1351+
if CLIENT_LOGGING_SUPPORTED and _LOGGER.isEnabledFor(
1352+
logging.DEBUG
1353+
): # pragma: NO COVER
1354+
http_response = {
1355+
"headers": dict(response.headers),
1356+
"status": response.status_code,
1357+
}
1358+
_LOGGER.debug(
1359+
"Received response for google.ai.generativelanguage_v1.GenerativeServiceClient.stream_generate_content",
1360+
extra={
1361+
"serviceName": "google.ai.generativelanguage.v1.GenerativeService",
1362+
"rpcName": "StreamGenerateContent",
1363+
"metadata": http_response["headers"],
1364+
"httpResponse": http_response,
1365+
},
1366+
)
13511367
return resp
13521368

13531369
@property

0 commit comments

Comments
 (0)