@@ -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
0 commit comments