Skip to content

Commit c04f892

Browse files
authored
chore: update googleapis and regenerate (#17313)
Update googleapis to the latest commit and regenerate all client libraries.
1 parent 1c2e24f commit c04f892

252 files changed

Lines changed: 97625 additions & 13414 deletions

File tree

Some content is hidden

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

librarian.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ version: v0.15.1-0.20260528141105-567c9bf1faa7
1616
repo: googleapis/google-cloud-python
1717
sources:
1818
googleapis:
19-
commit: 43731d5d22f8e3526ba7aa708da9d5de26043d0f
20-
sha256: d146cfa257ffa00fc298ec7b6f73f9c7395a5a5ba050dcc553cfd78d6705bc3b
19+
commit: dae2a496666e372c1ebf56ceb54fe7f467a2c10e
20+
sha256: 867490e3ce7818a2011475a888ce5d77c68cb7a13764f47d9aec8cf3038320e0
2121
default:
2222
output: packages
2323
tag_format: '{name}-v{version}'

packages/google-ads-datamanager/google/ads/datamanager/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
from google.ads.datamanager_v1.types.age_range import AgeRange
5858
from google.ads.datamanager_v1.types.audience import (
5959
AudienceMember,
60+
CompositeData,
61+
IpData,
6062
MobileData,
6163
PairData,
6264
PpidData,
@@ -70,6 +72,7 @@
7072
ProductAccount,
7173
)
7274
from google.ads.datamanager_v1.types.device_info import DeviceInfo
75+
from google.ads.datamanager_v1.types.encrypted_user_id import EncryptedUserId
7376
from google.ads.datamanager_v1.types.encryption_info import (
7477
AwsWrappedKeyInfo,
7578
EncryptionInfo,
@@ -212,6 +215,8 @@
212215
"UserListServiceAsyncClient",
213216
"AgeRange",
214217
"AudienceMember",
218+
"CompositeData",
219+
"IpData",
215220
"MobileData",
216221
"PairData",
217222
"PpidData",
@@ -225,6 +230,7 @@
225230
"ProductAccount",
226231
"Product",
227232
"DeviceInfo",
233+
"EncryptedUserId",
228234
"AwsWrappedKeyInfo",
229235
"EncryptionInfo",
230236
"GcpWrappedKeyInfo",

packages/google-ads-datamanager/google/ads/datamanager_v1/__init__.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,20 @@
4848
UserListServiceClient,
4949
)
5050
from .types.age_range import AgeRange
51-
from .types.audience import AudienceMember, MobileData, PairData, PpidData, UserIdData
51+
from .types.audience import (
52+
AudienceMember,
53+
CompositeData,
54+
IpData,
55+
MobileData,
56+
PairData,
57+
PpidData,
58+
UserIdData,
59+
)
5260
from .types.cart_data import CartData, Item, ItemCustomVariable
5361
from .types.consent import Consent, ConsentStatus
5462
from .types.destination import Destination, Product, ProductAccount
5563
from .types.device_info import DeviceInfo
64+
from .types.encrypted_user_id import EncryptedUserId
5665
from .types.encryption_info import AwsWrappedKeyInfo, EncryptionInfo, GcpWrappedKeyInfo
5766
from .types.error import ErrorReason
5867
from .types.event import (
@@ -254,6 +263,7 @@ def _get_version(dependency_name):
254263
"AwsWrappedKeyInfo",
255264
"Baseline",
256265
"CartData",
266+
"CompositeData",
257267
"Consent",
258268
"ConsentStatus",
259269
"ContactIdInfo",
@@ -270,6 +280,7 @@ def _get_version(dependency_name):
270280
"Destination",
271281
"DeviceInfo",
272282
"Encoding",
283+
"EncryptedUserId",
273284
"EncryptionInfo",
274285
"ErrorCount",
275286
"ErrorInfo",
@@ -290,6 +301,7 @@ def _get_version(dependency_name):
290301
"IngestEventsResponse",
291302
"IngestedUserListInfo",
292303
"IngestionServiceClient",
304+
"IpData",
293305
"Item",
294306
"ItemCustomVariable",
295307
"ItemParameter",

packages/google-ads-datamanager/google/ads/datamanager_v1/types/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
)
1919
from .audience import (
2020
AudienceMember,
21+
CompositeData,
22+
IpData,
2123
MobileData,
2224
PairData,
2325
PpidData,
@@ -40,6 +42,9 @@
4042
from .device_info import (
4143
DeviceInfo,
4244
)
45+
from .encrypted_user_id import (
46+
EncryptedUserId,
47+
)
4348
from .encryption_info import (
4449
AwsWrappedKeyInfo,
4550
EncryptionInfo,
@@ -180,6 +185,8 @@
180185
__all__ = (
181186
"AgeRange",
182187
"AudienceMember",
188+
"CompositeData",
189+
"IpData",
183190
"MobileData",
184191
"PairData",
185192
"PpidData",
@@ -193,6 +200,7 @@
193200
"ProductAccount",
194201
"Product",
195202
"DeviceInfo",
203+
"EncryptedUserId",
196204
"AwsWrappedKeyInfo",
197205
"EncryptionInfo",
198206
"GcpWrappedKeyInfo",

packages/google-ads-datamanager/google/ads/datamanager_v1/types/audience.py

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
from typing import MutableMapping, MutableSequence
1919

20+
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
2021
import proto # type: ignore
2122

2223
from google.ads.datamanager_v1.types import consent as gad_consent
@@ -30,6 +31,8 @@
3031
"MobileData",
3132
"UserIdData",
3233
"PpidData",
34+
"CompositeData",
35+
"IpData",
3336
},
3437
)
3538

@@ -74,6 +77,10 @@ class AudienceMember(proto.Message):
7477
identifiers.
7578
This feature is only available to data partners.
7679
80+
This field is a member of `oneof`_ ``data``.
81+
composite_data (google.ads.datamanager_v1.types.CompositeData):
82+
Group of multiple identifier types.
83+
7784
This field is a member of `oneof`_ ``data``.
7885
consent (google.ads.datamanager_v1.types.Consent):
7986
Optional. The consent setting for the user.
@@ -113,6 +120,12 @@ class AudienceMember(proto.Message):
113120
oneof="data",
114121
message="PpidData",
115122
)
123+
composite_data: "CompositeData" = proto.Field(
124+
proto.MESSAGE,
125+
number=8,
126+
oneof="data",
127+
message="CompositeData",
128+
)
116129
consent: gad_consent.Consent = proto.Field(
117130
proto.MESSAGE,
118131
number=3,
@@ -194,4 +207,63 @@ class PpidData(proto.Message):
194207
)
195208

196209

210+
class CompositeData(proto.Message):
211+
r"""Composite data holding identifiers and associated data for a user.
212+
At least one of ``user_data`` or ``ip_data`` is required.
213+
214+
Attributes:
215+
user_data (google.ads.datamanager_v1.types.UserData):
216+
Optional. User-provided data that identifies
217+
the user.
218+
ip_data (MutableSequence[google.ads.datamanager_v1.types.IpData]):
219+
Optional. IP address data representing
220+
customer interaction used to build the audience.
221+
"""
222+
223+
user_data: gad_user_data.UserData = proto.Field(
224+
proto.MESSAGE,
225+
number=1,
226+
message=gad_user_data.UserData,
227+
)
228+
ip_data: MutableSequence["IpData"] = proto.RepeatedField(
229+
proto.MESSAGE,
230+
number=2,
231+
message="IpData",
232+
)
233+
234+
235+
class IpData(proto.Message):
236+
r"""IP address information for a user. We recommend including
237+
observe_start_time and observe_end_time to help improve Customer
238+
Match match rates.
239+
240+
Attributes:
241+
ip_address (str):
242+
Required. IP address captured at the time of
243+
customer interaction. Accepts standard string
244+
formats for both IPv4 and IPv6.
245+
observe_start_time (google.protobuf.timestamp_pb2.Timestamp):
246+
Optional. First recorded interaction time
247+
from this IP address in a session.
248+
observe_end_time (google.protobuf.timestamp_pb2.Timestamp):
249+
Optional. Last recorded interaction time from
250+
this IP address in a session.
251+
"""
252+
253+
ip_address: str = proto.Field(
254+
proto.STRING,
255+
number=1,
256+
)
257+
observe_start_time: timestamp_pb2.Timestamp = proto.Field(
258+
proto.MESSAGE,
259+
number=2,
260+
message=timestamp_pb2.Timestamp,
261+
)
262+
observe_end_time: timestamp_pb2.Timestamp = proto.Field(
263+
proto.MESSAGE,
264+
number=3,
265+
message=timestamp_pb2.Timestamp,
266+
)
267+
268+
197269
__all__ = tuple(sorted(__protobuf__.manifest))

packages/google-ads-datamanager/google/ads/datamanager_v1/types/destination.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ class AccountType(proto.Enum):
156156
Google Analytics.
157157
GOOGLE_AD_MANAGER_AUDIENCE_LINK (6):
158158
Google Ad Manager audience link.
159+
FLOODLIGHT_CONFIG (7):
160+
Floodlight configuration.
159161
"""
160162

161163
ACCOUNT_TYPE_UNSPECIFIED = 0
@@ -165,6 +167,7 @@ class AccountType(proto.Enum):
165167
DATA_PARTNER = 4
166168
GOOGLE_ANALYTICS_PROPERTY = 5
167169
GOOGLE_AD_MANAGER_AUDIENCE_LINK = 6
170+
FLOODLIGHT_CONFIG = 7
168171

169172
product: "Product" = proto.Field(
170173
proto.ENUM,
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2026 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from __future__ import annotations
17+
18+
from typing import MutableMapping, MutableSequence
19+
20+
import proto # type: ignore
21+
22+
__protobuf__ = proto.module(
23+
package="google.ads.datamanager.v1",
24+
manifest={
25+
"EncryptedUserId",
26+
},
27+
)
28+
29+
30+
class EncryptedUserId(proto.Message):
31+
r"""A user identifier issued to be used for attribution. All
32+
fields are required if this is used.
33+
34+
Attributes:
35+
encrypted_id (str):
36+
Required. The alphanumeric encrypted id.
37+
entity_type (google.ads.datamanager_v1.types.EncryptedUserId.EncryptionEntityType):
38+
Required. The encryption entity type. This
39+
should match the encryption configuration for ad
40+
serving or Data Transfer.
41+
entity_id (int):
42+
Required. The encryption entity ID. This
43+
should match the encryption configuration for ad
44+
serving or Data Transfer.
45+
source (google.ads.datamanager_v1.types.EncryptedUserId.EncryptionSource):
46+
Required. Describes whether the encrypted
47+
cookie was received from ad serving (the %m
48+
macro) or from Data Transfer.
49+
"""
50+
51+
class EncryptionEntityType(proto.Enum):
52+
r"""The encryption entity type.
53+
54+
Values:
55+
ENCRYPTION_ENTITY_TYPE_UNSPECIFIED (0):
56+
Unspecified encryption entity type.
57+
CAMPAIGN_MANAGER_ACCOUNT (1):
58+
Campaign Manager 360 account.
59+
CAMPAIGN_MANAGER_ADVERTISER (2):
60+
Campaign Manager 360 advertiser.
61+
DISPLAY_VIDEO_PARTNER (3):
62+
Display & Video 360 partner.
63+
DISPLAY_VIDEO_ADVERTISER (4):
64+
Display & Video 360 advertiser.
65+
GOOGLE_ADS_CUSTOMER (5):
66+
Google Ads customer.
67+
GOOGLE_AD_MANAGER_NETWORK_CODE (6):
68+
Google Ad Manager network code.
69+
"""
70+
71+
ENCRYPTION_ENTITY_TYPE_UNSPECIFIED = 0
72+
CAMPAIGN_MANAGER_ACCOUNT = 1
73+
CAMPAIGN_MANAGER_ADVERTISER = 2
74+
DISPLAY_VIDEO_PARTNER = 3
75+
DISPLAY_VIDEO_ADVERTISER = 4
76+
GOOGLE_ADS_CUSTOMER = 5
77+
GOOGLE_AD_MANAGER_NETWORK_CODE = 6
78+
79+
class EncryptionSource(proto.Enum):
80+
r"""The encryption source.
81+
82+
Values:
83+
ENCRYPTION_SOURCE_UNSPECIFIED (0):
84+
Unspecified encryption source.
85+
AD_SERVING (1):
86+
Ad serving encryption source.
87+
DATA_TRANSFER (2):
88+
Data transfer encryption source.
89+
"""
90+
91+
ENCRYPTION_SOURCE_UNSPECIFIED = 0
92+
AD_SERVING = 1
93+
DATA_TRANSFER = 2
94+
95+
encrypted_id: str = proto.Field(
96+
proto.STRING,
97+
number=1,
98+
)
99+
entity_type: EncryptionEntityType = proto.Field(
100+
proto.ENUM,
101+
number=2,
102+
enum=EncryptionEntityType,
103+
)
104+
entity_id: int = proto.Field(
105+
proto.INT64,
106+
number=3,
107+
)
108+
source: EncryptionSource = proto.Field(
109+
proto.ENUM,
110+
number=4,
111+
enum=EncryptionSource,
112+
)
113+
114+
115+
__all__ = tuple(sorted(__protobuf__.manifest))

0 commit comments

Comments
 (0)