google-apis-analyticsadmin_v1alpha 0.86.0 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +63 -0
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +29 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +33 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55a576a4ed0ebb4cc36aac3e01f599d869779e8c0ea336b5c80adda154300bd9
|
4
|
+
data.tar.gz: 120bc91d7fe30cb3547947a0501081566fa8b19b8d7de5f2b3e4d345aecd9e97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e41eee02a71a2b7faaf8291ef83936c88cb827a69e0b8e838e396515d0ed09dcb673299d21d9ea721c4f987e44b4be39d82af99de49614652e1ca4966d62419a
|
7
|
+
data.tar.gz: ab649be9ab83fa1051b1a2079e364fb91f0b4658ea0bda534c38dd7e16383ffd29057466a0bdc7fcfb29d23754da37b03fac036edebd5b8615da85b99f9fd999
|
data/CHANGELOG.md
CHANGED
@@ -5554,6 +5554,69 @@ module Google
|
|
5554
5554
|
end
|
5555
5555
|
end
|
5556
5556
|
|
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
|
+
|
5557
5620
|
# A resource message representing a Google Analytics subproperty event filter.
|
5558
5621
|
class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
|
5559
5622
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AnalyticsadminV1alpha
|
18
18
|
# Version of the google-apis-analyticsadmin_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.87.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250723"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -928,6 +928,18 @@ module Google
|
|
928
928
|
include Google::Apis::Core::JsonObjectSupport
|
929
929
|
end
|
930
930
|
|
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
|
+
|
931
943
|
class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
|
932
944
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
933
945
|
|
@@ -2551,6 +2563,23 @@ module Google
|
|
2551
2563
|
end
|
2552
2564
|
end
|
2553
2565
|
|
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
|
+
|
2554
2583
|
class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
|
2555
2584
|
# @private
|
2556
2585
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1179,6 +1179,39 @@ module Google
|
|
1179
1179
|
execute_or_queue_command(command, &block)
|
1180
1180
|
end
|
1181
1181
|
|
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
|
+
|
1182
1215
|
# Updates attribution settings on a property.
|
1183
1216
|
# @param [String] name
|
1184
1217
|
# Output only. Resource name of this attribution settings resource. Format:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticsadmin_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.87.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.87.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|