Skip to content

Commit c832f89

Browse files
feat: Automated regeneration of datamanager v1 client (#24925)
Auto-created at 2025-11-09 10:23:32 +0000 using the toys pull request generator.
1 parent b507afa commit c832f89

File tree

5 files changed

+277
-2
lines changed

5 files changed

+277
-2
lines changed

api_names_out.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156854,6 +156854,11 @@
156854156854
"/datamanager:v1/AudienceMember/mobileData": mobile_data
156855156855
"/datamanager:v1/AudienceMember/pairData": pair_data
156856156856
"/datamanager:v1/AudienceMember/userData": user_data
156857+
"/datamanager:v1/AwsWrappedKeyInfo": aws_wrapped_key_info
156858+
"/datamanager:v1/AwsWrappedKeyInfo/encryptedDek": encrypted_dek
156859+
"/datamanager:v1/AwsWrappedKeyInfo/kekUri": kek_uri
156860+
"/datamanager:v1/AwsWrappedKeyInfo/keyType": key_type
156861+
"/datamanager:v1/AwsWrappedKeyInfo/roleArn": role_arn
156857156862
"/datamanager:v1/CartData": cart_data
156858156863
"/datamanager:v1/CartData/items": items
156859156864
"/datamanager:v1/CartData/items/item": item
@@ -156879,6 +156884,7 @@
156879156884
"/datamanager:v1/DeviceInfo/ipAddress": ip_address
156880156885
"/datamanager:v1/DeviceInfo/userAgent": user_agent
156881156886
"/datamanager:v1/EncryptionInfo": encryption_info
156887+
"/datamanager:v1/EncryptionInfo/awsWrappedKeyInfo": aws_wrapped_key_info
156882156888
"/datamanager:v1/EncryptionInfo/gcpWrappedKeyInfo": gcp_wrapped_key_info
156883156889
"/datamanager:v1/ErrorCount": error_count
156884156890
"/datamanager:v1/ErrorCount/reason": reason
@@ -156888,7 +156894,10 @@
156888156894
"/datamanager:v1/ErrorInfo/errorCounts/error_count": error_count
156889156895
"/datamanager:v1/Event": event
156890156896
"/datamanager:v1/Event/adIdentifiers": ad_identifiers
156897+
"/datamanager:v1/Event/additionalEventParameters": additional_event_parameters
156898+
"/datamanager:v1/Event/additionalEventParameters/additional_event_parameter": additional_event_parameter
156891156899
"/datamanager:v1/Event/cartData": cart_data
156900+
"/datamanager:v1/Event/clientId": client_id
156892156901
"/datamanager:v1/Event/consent": consent
156893156902
"/datamanager:v1/Event/conversionValue": conversion_value
156894156903
"/datamanager:v1/Event/currency": currency
@@ -156897,14 +156906,19 @@
156897156906
"/datamanager:v1/Event/destinationReferences": destination_references
156898156907
"/datamanager:v1/Event/destinationReferences/destination_reference": destination_reference
156899156908
"/datamanager:v1/Event/eventDeviceInfo": event_device_info
156909+
"/datamanager:v1/Event/eventName": event_name
156900156910
"/datamanager:v1/Event/eventSource": event_source
156901156911
"/datamanager:v1/Event/eventTimestamp": event_timestamp
156902156912
"/datamanager:v1/Event/experimentalFields": experimental_fields
156903156913
"/datamanager:v1/Event/experimentalFields/experimental_field": experimental_field
156904156914
"/datamanager:v1/Event/lastUpdatedTimestamp": last_updated_timestamp
156905156915
"/datamanager:v1/Event/transactionId": transaction_id
156906156916
"/datamanager:v1/Event/userData": user_data
156917+
"/datamanager:v1/Event/userId": user_id
156907156918
"/datamanager:v1/Event/userProperties": user_properties
156919+
"/datamanager:v1/EventParameter": event_parameter
156920+
"/datamanager:v1/EventParameter/parameterName": parameter_name
156921+
"/datamanager:v1/EventParameter/value": value
156908156922
"/datamanager:v1/ExperimentalField": experimental_field
156909156923
"/datamanager:v1/ExperimentalField/field": field
156910156924
"/datamanager:v1/ExperimentalField/value": value
@@ -156953,9 +156967,15 @@
156953156967
"/datamanager:v1/IngestUserDataStatus/uploadMatchRateRange": upload_match_rate_range
156954156968
"/datamanager:v1/IngestUserDataStatus/userIdentifierCount": user_identifier_count
156955156969
"/datamanager:v1/Item": item
156970+
"/datamanager:v1/Item/additionalItemParameters": additional_item_parameters
156971+
"/datamanager:v1/Item/additionalItemParameters/additional_item_parameter": additional_item_parameter
156972+
"/datamanager:v1/Item/itemId": item_id
156956156973
"/datamanager:v1/Item/merchantProductId": merchant_product_id
156957156974
"/datamanager:v1/Item/quantity": quantity
156958156975
"/datamanager:v1/Item/unitPrice": unit_price
156976+
"/datamanager:v1/ItemParameter": item_parameter
156977+
"/datamanager:v1/ItemParameter/parameterName": parameter_name
156978+
"/datamanager:v1/ItemParameter/value": value
156959156979
"/datamanager:v1/MobileData": mobile_data
156960156980
"/datamanager:v1/MobileData/mobileIds": mobile_ids
156961156981
"/datamanager:v1/MobileData/mobileIds/mobile_id": mobile_id
@@ -157010,8 +157030,13 @@
157010157030
"/datamanager:v1/UserIdentifier/emailAddress": email_address
157011157031
"/datamanager:v1/UserIdentifier/phoneNumber": phone_number
157012157032
"/datamanager:v1/UserProperties": user_properties
157033+
"/datamanager:v1/UserProperties/additionalUserProperties": additional_user_properties
157034+
"/datamanager:v1/UserProperties/additionalUserProperties/additional_user_property": additional_user_property
157013157035
"/datamanager:v1/UserProperties/customerType": customer_type
157014157036
"/datamanager:v1/UserProperties/customerValueBucket": customer_value_bucket
157037+
"/datamanager:v1/UserProperty": user_property
157038+
"/datamanager:v1/UserProperty/propertyName": property_name
157039+
"/datamanager:v1/UserProperty/value": value
157015157040
"/datamanager:v1/WarningCount": warning_count
157016157041
"/datamanager:v1/WarningCount/reason": reason
157017157042
"/datamanager:v1/WarningCount/recordCount": record_count

generated/google-apis-datamanager_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-datamanager_v1
22

3+
### v0.2.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251105
6+
37
### v0.1.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251006

generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/classes.rb

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,46 @@ def update!(**args)
152152
end
153153
end
154154

155+
# A data encryption key wrapped by an AWS KMS key.
156+
class AwsWrappedKeyInfo
157+
include Google::Apis::Core::Hashable
158+
159+
# Required. The base64 encoded encrypted data encryption key.
160+
# Corresponds to the JSON property `encryptedDek`
161+
# @return [String]
162+
attr_accessor :encrypted_dek
163+
164+
# Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the
165+
# format of "arn:`partition`:kms:`region`:`account_id`:key/`key_id`"
166+
# Corresponds to the JSON property `kekUri`
167+
# @return [String]
168+
attr_accessor :kek_uri
169+
170+
# Required. The type of algorithm used to encrypt the data.
171+
# Corresponds to the JSON property `keyType`
172+
# @return [String]
173+
attr_accessor :key_type
174+
175+
# Required. The Amazon Resource Name of the IAM Role to assume for KMS
176+
# decryption access. Should be in the format of "arn:`partition`:iam::`
177+
# account_id`:role/`role_name`"
178+
# Corresponds to the JSON property `roleArn`
179+
# @return [String]
180+
attr_accessor :role_arn
181+
182+
def initialize(**args)
183+
update!(**args)
184+
end
185+
186+
# Update properties of this object
187+
def update!(**args)
188+
@encrypted_dek = args[:encrypted_dek] if args.key?(:encrypted_dek)
189+
@kek_uri = args[:kek_uri] if args.key?(:kek_uri)
190+
@key_type = args[:key_type] if args.key?(:key_type)
191+
@role_arn = args[:role_arn] if args.key?(:role_arn)
192+
end
193+
end
194+
155195
# The cart data associated with the event.
156196
class CartData
157197
include Google::Apis::Core::Hashable
@@ -340,6 +380,11 @@ def update!(**args)
340380
class EncryptionInfo
341381
include Google::Apis::Core::Hashable
342382

383+
# A data encryption key wrapped by an AWS KMS key.
384+
# Corresponds to the JSON property `awsWrappedKeyInfo`
385+
# @return [Google::Apis::DatamanagerV1::AwsWrappedKeyInfo]
386+
attr_accessor :aws_wrapped_key_info
387+
343388
# Information about the Google Cloud Platform wrapped key.
344389
# Corresponds to the JSON property `gcpWrappedKeyInfo`
345390
# @return [Google::Apis::DatamanagerV1::GcpWrappedKeyInfo]
@@ -351,6 +396,7 @@ def initialize(**args)
351396

352397
# Update properties of this object
353398
def update!(**args)
399+
@aws_wrapped_key_info = args[:aws_wrapped_key_info] if args.key?(:aws_wrapped_key_info)
354400
@gcp_wrapped_key_info = args[:gcp_wrapped_key_info] if args.key?(:gcp_wrapped_key_info)
355401
end
356402
end
@@ -410,11 +456,24 @@ class Event
410456
# @return [Google::Apis::DatamanagerV1::AdIdentifiers]
411457
attr_accessor :ad_identifiers
412458

459+
# Optional. A bucket of any [event parameters](https://developers.google.com/
460+
# analytics/devguides/collection/protocol/ga4/reference/events) to be included
461+
# within the event that were not already specified using other structured fields.
462+
# Corresponds to the JSON property `additionalEventParameters`
463+
# @return [Array<Google::Apis::DatamanagerV1::EventParameter>]
464+
attr_accessor :additional_event_parameters
465+
413466
# The cart data associated with the event.
414467
# Corresponds to the JSON property `cartData`
415468
# @return [Google::Apis::DatamanagerV1::CartData]
416469
attr_accessor :cart_data
417470

471+
# Optional. A unique identifier for the user instance of a web client for this
472+
# GA4 web stream.
473+
# Corresponds to the JSON property `clientId`
474+
# @return [String]
475+
attr_accessor :client_id
476+
418477
# [Digital Markets Act (DMA)](//digital-markets-act.ec.europa.eu/index_en)
419478
# consent settings for the user.
420479
# Corresponds to the JSON property `consent`
@@ -450,6 +509,11 @@ class Event
450509
# @return [Google::Apis::DatamanagerV1::DeviceInfo]
451510
attr_accessor :event_device_info
452511

512+
# Optional. The name of the event. Required for GA4 events.
513+
# Corresponds to the JSON property `eventName`
514+
# @return [String]
515+
attr_accessor :event_name
516+
453517
# Optional. Signal for where the event happened (web, app, in-store, etc.).
454518
# Corresponds to the JSON property `eventSource`
455519
# @return [String]
@@ -482,6 +546,11 @@ class Event
482546
# @return [Google::Apis::DatamanagerV1::UserData]
483547
attr_accessor :user_data
484548

549+
# Optional. A unique identifier for a user, as defined by the advertiser.
550+
# Corresponds to the JSON property `userId`
551+
# @return [String]
552+
attr_accessor :user_id
553+
485554
# Advertiser-assessed information about the user at the time that the event
486555
# happened. See https://support.google.com/google-ads/answer/14007601 for more
487556
# details.
@@ -496,23 +565,52 @@ def initialize(**args)
496565
# Update properties of this object
497566
def update!(**args)
498567
@ad_identifiers = args[:ad_identifiers] if args.key?(:ad_identifiers)
568+
@additional_event_parameters = args[:additional_event_parameters] if args.key?(:additional_event_parameters)
499569
@cart_data = args[:cart_data] if args.key?(:cart_data)
570+
@client_id = args[:client_id] if args.key?(:client_id)
500571
@consent = args[:consent] if args.key?(:consent)
501572
@conversion_value = args[:conversion_value] if args.key?(:conversion_value)
502573
@currency = args[:currency] if args.key?(:currency)
503574
@custom_variables = args[:custom_variables] if args.key?(:custom_variables)
504575
@destination_references = args[:destination_references] if args.key?(:destination_references)
505576
@event_device_info = args[:event_device_info] if args.key?(:event_device_info)
577+
@event_name = args[:event_name] if args.key?(:event_name)
506578
@event_source = args[:event_source] if args.key?(:event_source)
507579
@event_timestamp = args[:event_timestamp] if args.key?(:event_timestamp)
508580
@experimental_fields = args[:experimental_fields] if args.key?(:experimental_fields)
509581
@last_updated_timestamp = args[:last_updated_timestamp] if args.key?(:last_updated_timestamp)
510582
@transaction_id = args[:transaction_id] if args.key?(:transaction_id)
511583
@user_data = args[:user_data] if args.key?(:user_data)
584+
@user_id = args[:user_id] if args.key?(:user_id)
512585
@user_properties = args[:user_properties] if args.key?(:user_properties)
513586
end
514587
end
515588

589+
# Event parameter for GA4 events.
590+
class EventParameter
591+
include Google::Apis::Core::Hashable
592+
593+
# Required. The name of the parameter to use.
594+
# Corresponds to the JSON property `parameterName`
595+
# @return [String]
596+
attr_accessor :parameter_name
597+
598+
# Required. The string representation of the value of the parameter to set.
599+
# Corresponds to the JSON property `value`
600+
# @return [String]
601+
attr_accessor :value
602+
603+
def initialize(**args)
604+
update!(**args)
605+
end
606+
607+
# Update properties of this object
608+
def update!(**args)
609+
@parameter_name = args[:parameter_name] if args.key?(:parameter_name)
610+
@value = args[:value] if args.key?(:value)
611+
end
612+
end
613+
516614
# Experimental field representing unofficial fields.
517615
class ExperimentalField
518616
include Google::Apis::Core::Hashable
@@ -896,6 +994,19 @@ def update!(**args)
896994
class Item
897995
include Google::Apis::Core::Hashable
898996

997+
# Optional. A bucket of any [event parameters related to an item](https://
998+
# developers.google.com/analytics/devguides/collection/protocol/ga4/reference/
999+
# events) to be included within the event that were not already specified using
1000+
# other structured fields.
1001+
# Corresponds to the JSON property `additionalItemParameters`
1002+
# @return [Array<Google::Apis::DatamanagerV1::ItemParameter>]
1003+
attr_accessor :additional_item_parameters
1004+
1005+
# Optional. A unique identifier to reference the item.
1006+
# Corresponds to the JSON property `itemId`
1007+
# @return [String]
1008+
attr_accessor :item_id
1009+
8991010
# Optional. The product ID within the Merchant Center account.
9001011
# Corresponds to the JSON property `merchantProductId`
9011012
# @return [String]
@@ -918,12 +1029,42 @@ def initialize(**args)
9181029

9191030
# Update properties of this object
9201031
def update!(**args)
1032+
@additional_item_parameters = args[:additional_item_parameters] if args.key?(:additional_item_parameters)
1033+
@item_id = args[:item_id] if args.key?(:item_id)
9211034
@merchant_product_id = args[:merchant_product_id] if args.key?(:merchant_product_id)
9221035
@quantity = args[:quantity] if args.key?(:quantity)
9231036
@unit_price = args[:unit_price] if args.key?(:unit_price)
9241037
end
9251038
end
9261039

1040+
# A bucket of any [event parameters related to an item](https://developers.
1041+
# google.com/analytics/devguides/collection/protocol/ga4/reference/events) to be
1042+
# included within the event that were not already specified using other
1043+
# structured fields.
1044+
class ItemParameter
1045+
include Google::Apis::Core::Hashable
1046+
1047+
# Required. The name of the parameter to use.
1048+
# Corresponds to the JSON property `parameterName`
1049+
# @return [String]
1050+
attr_accessor :parameter_name
1051+
1052+
# Required. The string representation of the value of the parameter to set.
1053+
# Corresponds to the JSON property `value`
1054+
# @return [String]
1055+
attr_accessor :value
1056+
1057+
def initialize(**args)
1058+
update!(**args)
1059+
end
1060+
1061+
# Update properties of this object
1062+
def update!(**args)
1063+
@parameter_name = args[:parameter_name] if args.key?(:parameter_name)
1064+
@value = args[:value] if args.key?(:value)
1065+
end
1066+
end
1067+
9271068
# Mobile IDs for the audience. At least one mobile ID is required.
9281069
class MobileData
9291070
include Google::Apis::Core::Hashable
@@ -1341,6 +1482,13 @@ def update!(**args)
13411482
class UserProperties
13421483
include Google::Apis::Core::Hashable
13431484

1485+
# Optional. A bucket of any additional [user properties](https://developers.
1486+
# google.com/analytics/devguides/collection/protocol/ga4/user-properties) for
1487+
# the user associated with this event.
1488+
# Corresponds to the JSON property `additionalUserProperties`
1489+
# @return [Array<Google::Apis::DatamanagerV1::UserProperty>]
1490+
attr_accessor :additional_user_properties
1491+
13441492
# Optional. Type of the customer associated with the event.
13451493
# Corresponds to the JSON property `customerType`
13461494
# @return [String]
@@ -1357,11 +1505,39 @@ def initialize(**args)
13571505

13581506
# Update properties of this object
13591507
def update!(**args)
1508+
@additional_user_properties = args[:additional_user_properties] if args.key?(:additional_user_properties)
13601509
@customer_type = args[:customer_type] if args.key?(:customer_type)
13611510
@customer_value_bucket = args[:customer_value_bucket] if args.key?(:customer_value_bucket)
13621511
end
13631512
end
13641513

1514+
# A bucket of any additional [user properties](https://developers.google.com/
1515+
# analytics/devguides/collection/protocol/ga4/user-properties) for the user
1516+
# associated with this event.
1517+
class UserProperty
1518+
include Google::Apis::Core::Hashable
1519+
1520+
# Required. The name of the user property to use.
1521+
# Corresponds to the JSON property `propertyName`
1522+
# @return [String]
1523+
attr_accessor :property_name
1524+
1525+
# Required. The string representation of the value of the user property to use.
1526+
# Corresponds to the JSON property `value`
1527+
# @return [String]
1528+
attr_accessor :value
1529+
1530+
def initialize(**args)
1531+
update!(**args)
1532+
end
1533+
1534+
# Update properties of this object
1535+
def update!(**args)
1536+
@property_name = args[:property_name] if args.key?(:property_name)
1537+
@value = args[:value] if args.key?(:value)
1538+
end
1539+
end
1540+
13651541
# The warning count for a given warning reason.
13661542
class WarningCount
13671543
include Google::Apis::Core::Hashable

generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DatamanagerV1
1818
# Version of the google-apis-datamanager_v1 gem
19-
GEM_VERSION = "0.1.0"
19+
GEM_VERSION = "0.2.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251006"
25+
REVISION = "20251105"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)