Skip to content

Commit 84019c1

Browse files
feat: Automated regeneration of analyticsadmin v1alpha client (googleapis#23795)
Auto-created at 2025-07-27 10:23:29 +0000 using the toys pull request generator.
1 parent 2c2babf commit 84019c1

File tree

6 files changed

+140
-2
lines changed

6 files changed

+140
-2
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28093,6 +28093,13 @@
2809328093
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest/optOut": opt_out
2809428094
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest/property": property
2809528095
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse": google_analytics_admin_v1alpha_set_automated_ga4_configuration_opt_out_response
28096+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest": google_analytics_admin_v1alpha_submit_user_deletion_request
28097+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest/appInstanceId": app_instance_id
28098+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest/clientId": client_id
28099+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest/userId": user_id
28100+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest/userProvidedData": user_provided_data
28101+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse": google_analytics_admin_v1alpha_submit_user_deletion_response
28102+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse/deletionRequestTime": deletion_request_time
2809628103
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubpropertyEventFilter": google_analytics_admin_v1alpha_subproperty_event_filter
2809728104
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubpropertyEventFilter/applyToProperty": apply_to_property
2809828105
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaSubpropertyEventFilter/filterClauses": filter_clauses
@@ -28609,6 +28616,8 @@
2860928616
"/analyticsadmin:v1alpha/analyticsadmin.properties.searchAds360Links.patch/name": name
2861028617
"/analyticsadmin:v1alpha/analyticsadmin.properties.searchAds360Links.patch/updateMask": update_mask
2861128618
"/analyticsadmin:v1alpha/analyticsadmin.properties.setAutomatedGa4ConfigurationOptOut": set_property_automated_ga4_configuration_opt_out
28619+
"/analyticsadmin:v1alpha/analyticsadmin.properties.submitUserDeletion": submit_property_user_deletion
28620+
"/analyticsadmin:v1alpha/analyticsadmin.properties.submitUserDeletion/name": name
2861228621
"/analyticsadmin:v1alpha/analyticsadmin.properties.subpropertyEventFilters.create": create_property_subproperty_event_filter
2861328622
"/analyticsadmin:v1alpha/analyticsadmin.properties.subpropertyEventFilters.create/parent": parent
2861428623
"/analyticsadmin:v1alpha/analyticsadmin.properties.subpropertyEventFilters.delete": delete_property_subproperty_event_filter

generated/google-apis-analyticsadmin_v1alpha/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-analyticsadmin_v1alpha
22

3+
### v0.87.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250723
6+
37
### v0.86.0 (2025-07-20)
48

59
* Regenerated from discovery document revision 20250713

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5554,6 +5554,69 @@ def update!(**args)
55545554
end
55555555
end
55565556

5557+
# Request message for SubmitUserDeletion RPC.
5558+
class GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest
5559+
include Google::Apis::Core::Hashable
5560+
5561+
# Firebase [application instance ID](https://firebase.google.com/docs/reference/
5562+
# android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId).
5563+
# Corresponds to the JSON property `appInstanceId`
5564+
# @return [String]
5565+
attr_accessor :app_instance_id
5566+
5567+
# Google Analytics [client ID](https://support.google.com/analytics/answer/
5568+
# 11593727).
5569+
# Corresponds to the JSON property `clientId`
5570+
# @return [String]
5571+
attr_accessor :client_id
5572+
5573+
# Google Analytics [user ID](https://firebase.google.com/docs/analytics/userid).
5574+
# Corresponds to the JSON property `userId`
5575+
# @return [String]
5576+
attr_accessor :user_id
5577+
5578+
# [User-provided data](https://support.google.com/analytics/answer/14077171).
5579+
# May contain either one email address or one phone number. Email addresses
5580+
# should be normalized as such: * lowercase * remove periods before @ for gmail.
5581+
# com/googlemail.com addresses * remove all spaces Phone numbers should be
5582+
# normalized as such: * remove all non digit characters * add + prefix
5583+
# Corresponds to the JSON property `userProvidedData`
5584+
# @return [String]
5585+
attr_accessor :user_provided_data
5586+
5587+
def initialize(**args)
5588+
update!(**args)
5589+
end
5590+
5591+
# Update properties of this object
5592+
def update!(**args)
5593+
@app_instance_id = args[:app_instance_id] if args.key?(:app_instance_id)
5594+
@client_id = args[:client_id] if args.key?(:client_id)
5595+
@user_id = args[:user_id] if args.key?(:user_id)
5596+
@user_provided_data = args[:user_provided_data] if args.key?(:user_provided_data)
5597+
end
5598+
end
5599+
5600+
# Response message for SubmitUserDeletion RPC.
5601+
class GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse
5602+
include Google::Apis::Core::Hashable
5603+
5604+
# Marks the moment for which all visitor data before this point should be
5605+
# deleted. This is set to the time at which the deletion request was received.
5606+
# Corresponds to the JSON property `deletionRequestTime`
5607+
# @return [String]
5608+
attr_accessor :deletion_request_time
5609+
5610+
def initialize(**args)
5611+
update!(**args)
5612+
end
5613+
5614+
# Update properties of this object
5615+
def update!(**args)
5616+
@deletion_request_time = args[:deletion_request_time] if args.key?(:deletion_request_time)
5617+
end
5618+
end
5619+
55575620
# A resource message representing a Google Analytics subproperty event filter.
55585621
class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
55595622
include Google::Apis::Core::Hashable

generated/google-apis-analyticsadmin_v1alpha/lib/google/apis/analyticsadmin_v1alpha/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 AnalyticsadminV1alpha
1818
# Version of the google-apis-analyticsadmin_v1alpha gem
19-
GEM_VERSION = "0.86.0"
19+
GEM_VERSION = "0.87.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 = "20250713"
25+
REVISION = "20250723"
2626
end
2727
end
2828
end

generated/google-apis-analyticsadmin_v1alpha/lib/google/apis/analyticsadmin_v1alpha/representations.rb

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
928928
include Google::Apis::Core::JsonObjectSupport
929929
end
930930

931+
class GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest
932+
class Representation < Google::Apis::Core::JsonRepresentation; end
933+
934+
include Google::Apis::Core::JsonObjectSupport
935+
end
936+
937+
class GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse
938+
class Representation < Google::Apis::Core::JsonRepresentation; end
939+
940+
include Google::Apis::Core::JsonObjectSupport
941+
end
942+
931943
class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
932944
class Representation < Google::Apis::Core::JsonRepresentation; end
933945

@@ -2551,6 +2563,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
25512563
end
25522564
end
25532565

2566+
class GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest
2567+
# @private
2568+
class Representation < Google::Apis::Core::JsonRepresentation
2569+
property :app_instance_id, as: 'appInstanceId'
2570+
property :client_id, as: 'clientId'
2571+
property :user_id, as: 'userId'
2572+
property :user_provided_data, as: 'userProvidedData'
2573+
end
2574+
end
2575+
2576+
class GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse
2577+
# @private
2578+
class Representation < Google::Apis::Core::JsonRepresentation
2579+
property :deletion_request_time, as: 'deletionRequestTime'
2580+
end
2581+
end
2582+
25542583
class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
25552584
# @private
25562585
class Representation < Google::Apis::Core::JsonRepresentation

generated/google-apis-analyticsadmin_v1alpha/lib/google/apis/analyticsadmin_v1alpha/service.rb

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,39 @@ def run_property_access_report(entity, google_analytics_admin_v1alpha_run_access
11791179
execute_or_queue_command(command, &block)
11801180
end
11811181

1182+
# Submits a request for user deletion for a property.
1183+
# @param [String] name
1184+
# Required. The name of the property to submit user deletion for.
1185+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest] google_analytics_admin_v1alpha_submit_user_deletion_request_object
1186+
# @param [String] fields
1187+
# Selector specifying which fields to include in a partial response.
1188+
# @param [String] quota_user
1189+
# Available to use for quota purposes for server-side applications. Can be any
1190+
# arbitrary string assigned to a user, but should not exceed 40 characters.
1191+
# @param [Google::Apis::RequestOptions] options
1192+
# Request-specific options
1193+
#
1194+
# @yield [result, err] Result & error if block supplied
1195+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse] parsed result object
1196+
# @yieldparam err [StandardError] error object if request failed
1197+
#
1198+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse]
1199+
#
1200+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1201+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1202+
# @raise [Google::Apis::AuthorizationError] Authorization is required
1203+
def submit_property_user_deletion(name, google_analytics_admin_v1alpha_submit_user_deletion_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1204+
command = make_simple_command(:post, 'v1alpha/{+name}:submitUserDeletion', options)
1205+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest::Representation
1206+
command.request_object = google_analytics_admin_v1alpha_submit_user_deletion_request_object
1207+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse::Representation
1208+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse
1209+
command.params['name'] = name unless name.nil?
1210+
command.query['fields'] = fields unless fields.nil?
1211+
command.query['quotaUser'] = quota_user unless quota_user.nil?
1212+
execute_or_queue_command(command, &block)
1213+
end
1214+
11821215
# Updates attribution settings on a property.
11831216
# @param [String] name
11841217
# Output only. Resource name of this attribution settings resource. Format:

0 commit comments

Comments
 (0)