diff --git a/api_names_out.yaml b/api_names_out.yaml index 9432dbc325b..06a7cd1f6e8 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -156651,6 +156651,11 @@ "/datamanager:v1/AudienceMember/mobileData": mobile_data "/datamanager:v1/AudienceMember/pairData": pair_data "/datamanager:v1/AudienceMember/userData": user_data +"/datamanager:v1/AwsWrappedKeyInfo": aws_wrapped_key_info +"/datamanager:v1/AwsWrappedKeyInfo/encryptedDek": encrypted_dek +"/datamanager:v1/AwsWrappedKeyInfo/kekUri": kek_uri +"/datamanager:v1/AwsWrappedKeyInfo/keyType": key_type +"/datamanager:v1/AwsWrappedKeyInfo/roleArn": role_arn "/datamanager:v1/CartData": cart_data "/datamanager:v1/CartData/items": items "/datamanager:v1/CartData/items/item": item @@ -156676,6 +156681,7 @@ "/datamanager:v1/DeviceInfo/ipAddress": ip_address "/datamanager:v1/DeviceInfo/userAgent": user_agent "/datamanager:v1/EncryptionInfo": encryption_info +"/datamanager:v1/EncryptionInfo/awsWrappedKeyInfo": aws_wrapped_key_info "/datamanager:v1/EncryptionInfo/gcpWrappedKeyInfo": gcp_wrapped_key_info "/datamanager:v1/ErrorCount": error_count "/datamanager:v1/ErrorCount/reason": reason @@ -156685,7 +156691,10 @@ "/datamanager:v1/ErrorInfo/errorCounts/error_count": error_count "/datamanager:v1/Event": event "/datamanager:v1/Event/adIdentifiers": ad_identifiers +"/datamanager:v1/Event/additionalEventParameters": additional_event_parameters +"/datamanager:v1/Event/additionalEventParameters/additional_event_parameter": additional_event_parameter "/datamanager:v1/Event/cartData": cart_data +"/datamanager:v1/Event/clientId": client_id "/datamanager:v1/Event/consent": consent "/datamanager:v1/Event/conversionValue": conversion_value "/datamanager:v1/Event/currency": currency @@ -156694,6 +156703,7 @@ "/datamanager:v1/Event/destinationReferences": destination_references "/datamanager:v1/Event/destinationReferences/destination_reference": destination_reference "/datamanager:v1/Event/eventDeviceInfo": event_device_info +"/datamanager:v1/Event/eventName": event_name "/datamanager:v1/Event/eventSource": event_source "/datamanager:v1/Event/eventTimestamp": event_timestamp "/datamanager:v1/Event/experimentalFields": experimental_fields @@ -156701,7 +156711,11 @@ "/datamanager:v1/Event/lastUpdatedTimestamp": last_updated_timestamp "/datamanager:v1/Event/transactionId": transaction_id "/datamanager:v1/Event/userData": user_data +"/datamanager:v1/Event/userId": user_id "/datamanager:v1/Event/userProperties": user_properties +"/datamanager:v1/EventParameter": event_parameter +"/datamanager:v1/EventParameter/parameterName": parameter_name +"/datamanager:v1/EventParameter/value": value "/datamanager:v1/ExperimentalField": experimental_field "/datamanager:v1/ExperimentalField/field": field "/datamanager:v1/ExperimentalField/value": value @@ -156750,9 +156764,15 @@ "/datamanager:v1/IngestUserDataStatus/uploadMatchRateRange": upload_match_rate_range "/datamanager:v1/IngestUserDataStatus/userIdentifierCount": user_identifier_count "/datamanager:v1/Item": item +"/datamanager:v1/Item/additionalItemParameters": additional_item_parameters +"/datamanager:v1/Item/additionalItemParameters/additional_item_parameter": additional_item_parameter +"/datamanager:v1/Item/itemId": item_id "/datamanager:v1/Item/merchantProductId": merchant_product_id "/datamanager:v1/Item/quantity": quantity "/datamanager:v1/Item/unitPrice": unit_price +"/datamanager:v1/ItemParameter": item_parameter +"/datamanager:v1/ItemParameter/parameterName": parameter_name +"/datamanager:v1/ItemParameter/value": value "/datamanager:v1/MobileData": mobile_data "/datamanager:v1/MobileData/mobileIds": mobile_ids "/datamanager:v1/MobileData/mobileIds/mobile_id": mobile_id @@ -156807,8 +156827,13 @@ "/datamanager:v1/UserIdentifier/emailAddress": email_address "/datamanager:v1/UserIdentifier/phoneNumber": phone_number "/datamanager:v1/UserProperties": user_properties +"/datamanager:v1/UserProperties/additionalUserProperties": additional_user_properties +"/datamanager:v1/UserProperties/additionalUserProperties/additional_user_property": additional_user_property "/datamanager:v1/UserProperties/customerType": customer_type "/datamanager:v1/UserProperties/customerValueBucket": customer_value_bucket +"/datamanager:v1/UserProperty": user_property +"/datamanager:v1/UserProperty/propertyName": property_name +"/datamanager:v1/UserProperty/value": value "/datamanager:v1/WarningCount": warning_count "/datamanager:v1/WarningCount/reason": reason "/datamanager:v1/WarningCount/recordCount": record_count diff --git a/generated/google-apis-datamanager_v1/CHANGELOG.md b/generated/google-apis-datamanager_v1/CHANGELOG.md index 7f71751c7c5..cfd9b6381c6 100644 --- a/generated/google-apis-datamanager_v1/CHANGELOG.md +++ b/generated/google-apis-datamanager_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-datamanager_v1 +### v0.2.0 (2025-11-09) + +* Regenerated from discovery document revision 20251105 + ### v0.1.0 (2025-10-12) * Regenerated from discovery document revision 20251006 diff --git a/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/classes.rb b/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/classes.rb index 370ea816191..0d6189e5587 100644 --- a/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/classes.rb +++ b/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/classes.rb @@ -152,6 +152,46 @@ def update!(**args) end end + # A data encryption key wrapped by an AWS KMS key. + class AwsWrappedKeyInfo + include Google::Apis::Core::Hashable + + # Required. The base64 encoded encrypted data encryption key. + # Corresponds to the JSON property `encryptedDek` + # @return [String] + attr_accessor :encrypted_dek + + # Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the + # format of "arn:`partition`:kms:`region`:`account_id`:key/`key_id`" + # Corresponds to the JSON property `kekUri` + # @return [String] + attr_accessor :kek_uri + + # Required. The type of algorithm used to encrypt the data. + # Corresponds to the JSON property `keyType` + # @return [String] + attr_accessor :key_type + + # Required. The Amazon Resource Name of the IAM Role to assume for KMS + # decryption access. Should be in the format of "arn:`partition`:iam::` + # account_id`:role/`role_name`" + # Corresponds to the JSON property `roleArn` + # @return [String] + attr_accessor :role_arn + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @encrypted_dek = args[:encrypted_dek] if args.key?(:encrypted_dek) + @kek_uri = args[:kek_uri] if args.key?(:kek_uri) + @key_type = args[:key_type] if args.key?(:key_type) + @role_arn = args[:role_arn] if args.key?(:role_arn) + end + end + # The cart data associated with the event. class CartData include Google::Apis::Core::Hashable @@ -340,6 +380,11 @@ def update!(**args) class EncryptionInfo include Google::Apis::Core::Hashable + # A data encryption key wrapped by an AWS KMS key. + # Corresponds to the JSON property `awsWrappedKeyInfo` + # @return [Google::Apis::DatamanagerV1::AwsWrappedKeyInfo] + attr_accessor :aws_wrapped_key_info + # Information about the Google Cloud Platform wrapped key. # Corresponds to the JSON property `gcpWrappedKeyInfo` # @return [Google::Apis::DatamanagerV1::GcpWrappedKeyInfo] @@ -351,6 +396,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @aws_wrapped_key_info = args[:aws_wrapped_key_info] if args.key?(:aws_wrapped_key_info) @gcp_wrapped_key_info = args[:gcp_wrapped_key_info] if args.key?(:gcp_wrapped_key_info) end end @@ -410,11 +456,24 @@ class Event # @return [Google::Apis::DatamanagerV1::AdIdentifiers] attr_accessor :ad_identifiers + # Optional. A bucket of any [event parameters](https://developers.google.com/ + # analytics/devguides/collection/protocol/ga4/reference/events) to be included + # within the event that were not already specified using other structured fields. + # Corresponds to the JSON property `additionalEventParameters` + # @return [Array] + attr_accessor :additional_event_parameters + # The cart data associated with the event. # Corresponds to the JSON property `cartData` # @return [Google::Apis::DatamanagerV1::CartData] attr_accessor :cart_data + # Optional. A unique identifier for the user instance of a web client for this + # GA4 web stream. + # Corresponds to the JSON property `clientId` + # @return [String] + attr_accessor :client_id + # [Digital Markets Act (DMA)](//digital-markets-act.ec.europa.eu/index_en) # consent settings for the user. # Corresponds to the JSON property `consent` @@ -450,6 +509,11 @@ class Event # @return [Google::Apis::DatamanagerV1::DeviceInfo] attr_accessor :event_device_info + # Optional. The name of the event. Required for GA4 events. + # Corresponds to the JSON property `eventName` + # @return [String] + attr_accessor :event_name + # Optional. Signal for where the event happened (web, app, in-store, etc.). # Corresponds to the JSON property `eventSource` # @return [String] @@ -482,6 +546,11 @@ class Event # @return [Google::Apis::DatamanagerV1::UserData] attr_accessor :user_data + # Optional. A unique identifier for a user, as defined by the advertiser. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + # Advertiser-assessed information about the user at the time that the event # happened. See https://support.google.com/google-ads/answer/14007601 for more # details. @@ -496,23 +565,52 @@ def initialize(**args) # Update properties of this object def update!(**args) @ad_identifiers = args[:ad_identifiers] if args.key?(:ad_identifiers) + @additional_event_parameters = args[:additional_event_parameters] if args.key?(:additional_event_parameters) @cart_data = args[:cart_data] if args.key?(:cart_data) + @client_id = args[:client_id] if args.key?(:client_id) @consent = args[:consent] if args.key?(:consent) @conversion_value = args[:conversion_value] if args.key?(:conversion_value) @currency = args[:currency] if args.key?(:currency) @custom_variables = args[:custom_variables] if args.key?(:custom_variables) @destination_references = args[:destination_references] if args.key?(:destination_references) @event_device_info = args[:event_device_info] if args.key?(:event_device_info) + @event_name = args[:event_name] if args.key?(:event_name) @event_source = args[:event_source] if args.key?(:event_source) @event_timestamp = args[:event_timestamp] if args.key?(:event_timestamp) @experimental_fields = args[:experimental_fields] if args.key?(:experimental_fields) @last_updated_timestamp = args[:last_updated_timestamp] if args.key?(:last_updated_timestamp) @transaction_id = args[:transaction_id] if args.key?(:transaction_id) @user_data = args[:user_data] if args.key?(:user_data) + @user_id = args[:user_id] if args.key?(:user_id) @user_properties = args[:user_properties] if args.key?(:user_properties) end end + # Event parameter for GA4 events. + class EventParameter + include Google::Apis::Core::Hashable + + # Required. The name of the parameter to use. + # Corresponds to the JSON property `parameterName` + # @return [String] + attr_accessor :parameter_name + + # Required. The string representation of the value of the parameter to set. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameter_name = args[:parameter_name] if args.key?(:parameter_name) + @value = args[:value] if args.key?(:value) + end + end + # Experimental field representing unofficial fields. class ExperimentalField include Google::Apis::Core::Hashable @@ -896,6 +994,19 @@ def update!(**args) class Item include Google::Apis::Core::Hashable + # Optional. A bucket of any [event parameters related to an item](https:// + # developers.google.com/analytics/devguides/collection/protocol/ga4/reference/ + # events) to be included within the event that were not already specified using + # other structured fields. + # Corresponds to the JSON property `additionalItemParameters` + # @return [Array] + attr_accessor :additional_item_parameters + + # Optional. A unique identifier to reference the item. + # Corresponds to the JSON property `itemId` + # @return [String] + attr_accessor :item_id + # Optional. The product ID within the Merchant Center account. # Corresponds to the JSON property `merchantProductId` # @return [String] @@ -918,12 +1029,42 @@ def initialize(**args) # Update properties of this object def update!(**args) + @additional_item_parameters = args[:additional_item_parameters] if args.key?(:additional_item_parameters) + @item_id = args[:item_id] if args.key?(:item_id) @merchant_product_id = args[:merchant_product_id] if args.key?(:merchant_product_id) @quantity = args[:quantity] if args.key?(:quantity) @unit_price = args[:unit_price] if args.key?(:unit_price) end end + # A bucket of any [event parameters related to an item](https://developers. + # google.com/analytics/devguides/collection/protocol/ga4/reference/events) to be + # included within the event that were not already specified using other + # structured fields. + class ItemParameter + include Google::Apis::Core::Hashable + + # Required. The name of the parameter to use. + # Corresponds to the JSON property `parameterName` + # @return [String] + attr_accessor :parameter_name + + # Required. The string representation of the value of the parameter to set. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameter_name = args[:parameter_name] if args.key?(:parameter_name) + @value = args[:value] if args.key?(:value) + end + end + # Mobile IDs for the audience. At least one mobile ID is required. class MobileData include Google::Apis::Core::Hashable @@ -1341,6 +1482,13 @@ def update!(**args) class UserProperties include Google::Apis::Core::Hashable + # Optional. A bucket of any additional [user properties](https://developers. + # google.com/analytics/devguides/collection/protocol/ga4/user-properties) for + # the user associated with this event. + # Corresponds to the JSON property `additionalUserProperties` + # @return [Array] + attr_accessor :additional_user_properties + # Optional. Type of the customer associated with the event. # Corresponds to the JSON property `customerType` # @return [String] @@ -1357,11 +1505,39 @@ def initialize(**args) # Update properties of this object def update!(**args) + @additional_user_properties = args[:additional_user_properties] if args.key?(:additional_user_properties) @customer_type = args[:customer_type] if args.key?(:customer_type) @customer_value_bucket = args[:customer_value_bucket] if args.key?(:customer_value_bucket) end end + # A bucket of any additional [user properties](https://developers.google.com/ + # analytics/devguides/collection/protocol/ga4/user-properties) for the user + # associated with this event. + class UserProperty + include Google::Apis::Core::Hashable + + # Required. The name of the user property to use. + # Corresponds to the JSON property `propertyName` + # @return [String] + attr_accessor :property_name + + # Required. The string representation of the value of the user property to use. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_name = args[:property_name] if args.key?(:property_name) + @value = args[:value] if args.key?(:value) + end + end + # The warning count for a given warning reason. class WarningCount include Google::Apis::Core::Hashable diff --git a/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/gem_version.rb b/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/gem_version.rb index 59e304e7d8f..d2a3ee5644f 100644 --- a/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/gem_version.rb +++ b/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DatamanagerV1 # Version of the google-apis-datamanager_v1 gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251006" + REVISION = "20251105" end end end diff --git a/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/representations.rb b/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/representations.rb index 24852cad0f2..9803fe89e60 100644 --- a/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/representations.rb +++ b/generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/representations.rb @@ -40,6 +40,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AwsWrappedKeyInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CartData class Representation < Google::Apis::Core::JsonRepresentation; end @@ -94,6 +100,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class EventParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ExperimentalField class Representation < Google::Apis::Core::JsonRepresentation; end @@ -166,6 +178,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ItemParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MobileData class Representation < Google::Apis::Core::JsonRepresentation; end @@ -256,6 +274,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class UserProperty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class WarningCount class Representation < Google::Apis::Core::JsonRepresentation; end @@ -305,6 +329,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class AwsWrappedKeyInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :encrypted_dek, as: 'encryptedDek' + property :kek_uri, as: 'kekUri' + property :key_type, as: 'keyType' + property :role_arn, as: 'roleArn' + end + end + class CartData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -359,6 +393,8 @@ class Representation < Google::Apis::Core::JsonRepresentation class EncryptionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation + property :aws_wrapped_key_info, as: 'awsWrappedKeyInfo', class: Google::Apis::DatamanagerV1::AwsWrappedKeyInfo, decorator: Google::Apis::DatamanagerV1::AwsWrappedKeyInfo::Representation + property :gcp_wrapped_key_info, as: 'gcpWrappedKeyInfo', class: Google::Apis::DatamanagerV1::GcpWrappedKeyInfo, decorator: Google::Apis::DatamanagerV1::GcpWrappedKeyInfo::Representation end @@ -385,8 +421,11 @@ class Event class Representation < Google::Apis::Core::JsonRepresentation property :ad_identifiers, as: 'adIdentifiers', class: Google::Apis::DatamanagerV1::AdIdentifiers, decorator: Google::Apis::DatamanagerV1::AdIdentifiers::Representation + collection :additional_event_parameters, as: 'additionalEventParameters', class: Google::Apis::DatamanagerV1::EventParameter, decorator: Google::Apis::DatamanagerV1::EventParameter::Representation + property :cart_data, as: 'cartData', class: Google::Apis::DatamanagerV1::CartData, decorator: Google::Apis::DatamanagerV1::CartData::Representation + property :client_id, as: 'clientId' property :consent, as: 'consent', class: Google::Apis::DatamanagerV1::Consent, decorator: Google::Apis::DatamanagerV1::Consent::Representation property :conversion_value, as: 'conversionValue' @@ -396,6 +435,7 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :destination_references, as: 'destinationReferences' property :event_device_info, as: 'eventDeviceInfo', class: Google::Apis::DatamanagerV1::DeviceInfo, decorator: Google::Apis::DatamanagerV1::DeviceInfo::Representation + property :event_name, as: 'eventName' property :event_source, as: 'eventSource' property :event_timestamp, as: 'eventTimestamp' collection :experimental_fields, as: 'experimentalFields', class: Google::Apis::DatamanagerV1::ExperimentalField, decorator: Google::Apis::DatamanagerV1::ExperimentalField::Representation @@ -404,11 +444,20 @@ class Representation < Google::Apis::Core::JsonRepresentation property :transaction_id, as: 'transactionId' property :user_data, as: 'userData', class: Google::Apis::DatamanagerV1::UserData, decorator: Google::Apis::DatamanagerV1::UserData::Representation + property :user_id, as: 'userId' property :user_properties, as: 'userProperties', class: Google::Apis::DatamanagerV1::UserProperties, decorator: Google::Apis::DatamanagerV1::UserProperties::Representation end end + class EventParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parameter_name, as: 'parameterName' + property :value, as: 'value' + end + end + class ExperimentalField # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -522,12 +571,23 @@ class Representation < Google::Apis::Core::JsonRepresentation class Item # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_item_parameters, as: 'additionalItemParameters', class: Google::Apis::DatamanagerV1::ItemParameter, decorator: Google::Apis::DatamanagerV1::ItemParameter::Representation + + property :item_id, as: 'itemId' property :merchant_product_id, as: 'merchantProductId' property :quantity, :numeric_string => true, as: 'quantity' property :unit_price, as: 'unitPrice' end end + class ItemParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parameter_name, as: 'parameterName' + property :value, as: 'value' + end + end + class MobileData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -663,11 +723,21 @@ class Representation < Google::Apis::Core::JsonRepresentation class UserProperties # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_user_properties, as: 'additionalUserProperties', class: Google::Apis::DatamanagerV1::UserProperty, decorator: Google::Apis::DatamanagerV1::UserProperty::Representation + property :customer_type, as: 'customerType' property :customer_value_bucket, as: 'customerValueBucket' end end + class UserProperty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property_name, as: 'propertyName' + property :value, as: 'value' + end + end + class WarningCount # @private class Representation < Google::Apis::Core::JsonRepresentation