google-apis-analyticsadmin_v1alpha 0.13.0 → 0.17.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 +16 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +91 -6
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +43 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +105 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bcbf276bbbb98e5259e87065bd0a299e007088d9158fdfb339503f1a11b4e13
|
4
|
+
data.tar.gz: 369b8bb9dc4f0954715e3941dad8fce3e38f34bbb18f26f2f446332ea5d04011
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9257b7c64a02a3b28bd989544f60bbf939220330e27842deff37540831f354179ce6b6d1a7bb40c1431ab9c56f54eb5756be7aa238787a49b42ba12a05dc0716
|
7
|
+
data.tar.gz: 4faaa69db909ffb1328c462e3b0bcf5448ef797196727acd78550b18673835efa7e8ca8c811f269df6b00083d06c61fa345ffd509334d6b0af156ba5fcbe8262
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
2
2
|
|
3
|
+
### v0.17.0 (2021-10-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211005
|
6
|
+
|
7
|
+
### v0.16.0 (2021-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210922
|
10
|
+
|
11
|
+
### v0.15.0 (2021-09-17)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210916
|
14
|
+
|
15
|
+
### v0.14.0 (2021-08-24)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210822
|
18
|
+
|
3
19
|
### v0.13.0 (2021-07-21)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210720
|
@@ -114,6 +114,43 @@ module Google
|
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
117
|
+
# Request message for AcknowledgeUserDataCollection RPC.
|
118
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
|
119
|
+
include Google::Apis::Core::Hashable
|
120
|
+
|
121
|
+
# Required. An acknowledgement that the caller of this method understands the
|
122
|
+
# terms of user data collection. This field must contain the exact value: "I
|
123
|
+
# acknowledge that I have the necessary privacy disclosures and rights from my
|
124
|
+
# end users for the collection and processing of their data, including the
|
125
|
+
# association of such data with the visitation information Google Analytics
|
126
|
+
# collects from my site and/or app property."
|
127
|
+
# Corresponds to the JSON property `acknowledgement`
|
128
|
+
# @return [String]
|
129
|
+
attr_accessor :acknowledgement
|
130
|
+
|
131
|
+
def initialize(**args)
|
132
|
+
update!(**args)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Update properties of this object
|
136
|
+
def update!(**args)
|
137
|
+
@acknowledgement = args[:acknowledgement] if args.key?(:acknowledgement)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Response message for AcknowledgeUserDataCollection RPC.
|
142
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
|
143
|
+
include Google::Apis::Core::Hashable
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
117
154
|
# A resource message representing a Google Analytics Android app stream.
|
118
155
|
class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
119
156
|
include Google::Apis::Core::Hashable
|
@@ -231,7 +268,7 @@ module Google
|
|
231
268
|
include Google::Apis::Core::Hashable
|
232
269
|
|
233
270
|
# Roles directly assigned to this user for this entity. Format: predefinedRoles/
|
234
|
-
#
|
271
|
+
# viewer Excludes roles that are inherited from an account (if this is for a
|
235
272
|
# property), group, or organization admin role.
|
236
273
|
# Corresponds to the JSON property `directRoles`
|
237
274
|
# @return [Array<String>]
|
@@ -239,7 +276,7 @@ module Google
|
|
239
276
|
|
240
277
|
# Union of all permissions a user has at this account or property (includes
|
241
278
|
# direct permissions, group-inherited permissions, etc.). Format:
|
242
|
-
# predefinedRoles/
|
279
|
+
# predefinedRoles/viewer
|
243
280
|
# Corresponds to the JSON property `effectiveRoles`
|
244
281
|
# @return [Array<String>]
|
245
282
|
attr_accessor :effective_roles
|
@@ -531,6 +568,11 @@ module Google
|
|
531
568
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
532
569
|
attr_accessor :custom_metric
|
533
570
|
|
571
|
+
# Settings values for data retention. This is a singleton resource.
|
572
|
+
# Corresponds to the JSON property `dataRetentionSettings`
|
573
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings]
|
574
|
+
attr_accessor :data_retention_settings
|
575
|
+
|
534
576
|
# A link between a GA4 property and a Display & Video 360 advertiser.
|
535
577
|
# Corresponds to the JSON property `displayVideo360AdvertiserLink`
|
536
578
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]
|
@@ -590,6 +632,7 @@ module Google
|
|
590
632
|
@conversion_event = args[:conversion_event] if args.key?(:conversion_event)
|
591
633
|
@custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
|
592
634
|
@custom_metric = args[:custom_metric] if args.key?(:custom_metric)
|
635
|
+
@data_retention_settings = args[:data_retention_settings] if args.key?(:data_retention_settings)
|
593
636
|
@display_video360_advertiser_link = args[:display_video360_advertiser_link] if args.key?(:display_video360_advertiser_link)
|
594
637
|
@display_video360_advertiser_link_proposal = args[:display_video360_advertiser_link_proposal] if args.key?(:display_video360_advertiser_link_proposal)
|
595
638
|
@firebase_link = args[:firebase_link] if args.key?(:firebase_link)
|
@@ -868,6 +911,40 @@ module Google
|
|
868
911
|
end
|
869
912
|
end
|
870
913
|
|
914
|
+
# Settings values for data retention. This is a singleton resource.
|
915
|
+
class GoogleAnalyticsAdminV1alphaDataRetentionSettings
|
916
|
+
include Google::Apis::Core::Hashable
|
917
|
+
|
918
|
+
# The length of time that event-level data is retained.
|
919
|
+
# Corresponds to the JSON property `eventDataRetention`
|
920
|
+
# @return [String]
|
921
|
+
attr_accessor :event_data_retention
|
922
|
+
|
923
|
+
# Output only. Resource name for this DataRetentionSetting resource. Format:
|
924
|
+
# properties/`property`/dataRetentionSettings
|
925
|
+
# Corresponds to the JSON property `name`
|
926
|
+
# @return [String]
|
927
|
+
attr_accessor :name
|
928
|
+
|
929
|
+
# If true, reset the retention period for the user identifier with every event
|
930
|
+
# from that user.
|
931
|
+
# Corresponds to the JSON property `resetUserDataOnNewActivity`
|
932
|
+
# @return [Boolean]
|
933
|
+
attr_accessor :reset_user_data_on_new_activity
|
934
|
+
alias_method :reset_user_data_on_new_activity?, :reset_user_data_on_new_activity
|
935
|
+
|
936
|
+
def initialize(**args)
|
937
|
+
update!(**args)
|
938
|
+
end
|
939
|
+
|
940
|
+
# Update properties of this object
|
941
|
+
def update!(**args)
|
942
|
+
@event_data_retention = args[:event_data_retention] if args.key?(:event_data_retention)
|
943
|
+
@name = args[:name] if args.key?(:name)
|
944
|
+
@reset_user_data_on_new_activity = args[:reset_user_data_on_new_activity] if args.key?(:reset_user_data_on_new_activity)
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
871
948
|
# A resource message representing data sharing settings of a Google Analytics
|
872
949
|
# account.
|
873
950
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
@@ -1867,6 +1944,12 @@ module Google
|
|
1867
1944
|
class GoogleAnalyticsAdminV1alphaProperty
|
1868
1945
|
include Google::Apis::Core::Hashable
|
1869
1946
|
|
1947
|
+
# Immutable. The resource name of the parent account Format: accounts/`
|
1948
|
+
# account_id` Example: "accounts/123"
|
1949
|
+
# Corresponds to the JSON property `account`
|
1950
|
+
# @return [String]
|
1951
|
+
attr_accessor :account
|
1952
|
+
|
1870
1953
|
# Output only. Time when the entity was originally created.
|
1871
1954
|
# Corresponds to the JSON property `createTime`
|
1872
1955
|
# @return [String]
|
@@ -1940,6 +2023,7 @@ module Google
|
|
1940
2023
|
|
1941
2024
|
# Update properties of this object
|
1942
2025
|
def update!(**args)
|
2026
|
+
@account = args[:account] if args.key?(:account)
|
1943
2027
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1944
2028
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1945
2029
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
@@ -2147,10 +2231,11 @@ module Google
|
|
2147
2231
|
include Google::Apis::Core::Hashable
|
2148
2232
|
|
2149
2233
|
# Roles directly assigned to this user for this account or property. Valid
|
2150
|
-
# values: predefinedRoles/
|
2151
|
-
# predefinedRoles/
|
2152
|
-
#
|
2153
|
-
# have an empty list of
|
2234
|
+
# values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor
|
2235
|
+
# predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-
|
2236
|
+
# data Excludes roles that are inherited from a higher-level entity, group, or
|
2237
|
+
# organization admin role. A UserLink that is updated to have an empty list of
|
2238
|
+
# direct_roles will be deleted.
|
2154
2239
|
# Corresponds to the JSON property `directRoles`
|
2155
2240
|
# @return [Array<String>]
|
2156
2241
|
attr_accessor :direct_roles
|
@@ -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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211005"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -166,6 +178,12 @@ module Google
|
|
166
178
|
include Google::Apis::Core::JsonObjectSupport
|
167
179
|
end
|
168
180
|
|
181
|
+
class GoogleAnalyticsAdminV1alphaDataRetentionSettings
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
169
187
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
170
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
189
|
|
@@ -411,6 +429,19 @@ module Google
|
|
411
429
|
end
|
412
430
|
end
|
413
431
|
|
432
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
|
433
|
+
# @private
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
435
|
+
property :acknowledgement, as: 'acknowledgement'
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
414
445
|
class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
415
446
|
# @private
|
416
447
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -556,6 +587,8 @@ module Google
|
|
556
587
|
|
557
588
|
property :custom_metric, as: 'customMetric', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
558
589
|
|
590
|
+
property :data_retention_settings, as: 'dataRetentionSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings::Representation
|
591
|
+
|
559
592
|
property :display_video360_advertiser_link, as: 'displayVideo360AdvertiserLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink::Representation
|
560
593
|
|
561
594
|
property :display_video360_advertiser_link_proposal, as: 'displayVideo360AdvertiserLinkProposal', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
|
@@ -635,6 +668,15 @@ module Google
|
|
635
668
|
end
|
636
669
|
end
|
637
670
|
|
671
|
+
class GoogleAnalyticsAdminV1alphaDataRetentionSettings
|
672
|
+
# @private
|
673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
674
|
+
property :event_data_retention, as: 'eventDataRetention'
|
675
|
+
property :name, as: 'name'
|
676
|
+
property :reset_user_data_on_new_activity, as: 'resetUserDataOnNewActivity'
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
638
680
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
639
681
|
# @private
|
640
682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -906,6 +948,7 @@ module Google
|
|
906
948
|
class GoogleAnalyticsAdminV1alphaProperty
|
907
949
|
# @private
|
908
950
|
class Representation < Google::Apis::Core::JsonRepresentation
|
951
|
+
property :account, as: 'account'
|
909
952
|
property :create_time, as: 'createTime'
|
910
953
|
property :currency_code, as: 'currencyCode'
|
911
954
|
property :delete_time, as: 'deleteTime'
|
@@ -689,6 +689,41 @@ module Google
|
|
689
689
|
execute_or_queue_command(command, &block)
|
690
690
|
end
|
691
691
|
|
692
|
+
# Acknowledges the terms of user data collection for the specified property.
|
693
|
+
# This acknowledgement must be completed (either in the Google Analytics UI or
|
694
|
+
# via this API) before MeasurementProtocolSecret resources may be created.
|
695
|
+
# @param [String] property
|
696
|
+
# Required. The property for which to acknowledge user data collection.
|
697
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest] google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
|
698
|
+
# @param [String] fields
|
699
|
+
# Selector specifying which fields to include in a partial response.
|
700
|
+
# @param [String] quota_user
|
701
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
702
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
703
|
+
# @param [Google::Apis::RequestOptions] options
|
704
|
+
# Request-specific options
|
705
|
+
#
|
706
|
+
# @yield [result, err] Result & error if block supplied
|
707
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse] parsed result object
|
708
|
+
# @yieldparam err [StandardError] error object if request failed
|
709
|
+
#
|
710
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse]
|
711
|
+
#
|
712
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
713
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
714
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
715
|
+
def acknowledge_property_user_data_collection(property, google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
716
|
+
command = make_simple_command(:post, 'v1alpha/{+property}:acknowledgeUserDataCollection', options)
|
717
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest::Representation
|
718
|
+
command.request_object = google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
|
719
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse::Representation
|
720
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
|
721
|
+
command.params['property'] = property unless property.nil?
|
722
|
+
command.query['fields'] = fields unless fields.nil?
|
723
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
724
|
+
execute_or_queue_command(command, &block)
|
725
|
+
end
|
726
|
+
|
692
727
|
# Creates an "GA4" property with the specified location and attributes.
|
693
728
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
|
694
729
|
# @param [String] fields
|
@@ -787,6 +822,37 @@ module Google
|
|
787
822
|
execute_or_queue_command(command, &block)
|
788
823
|
end
|
789
824
|
|
825
|
+
# Returns the singleton data retention settings for this property.
|
826
|
+
# @param [String] name
|
827
|
+
# Required. The name of the settings to lookup. Format: properties/`property`/
|
828
|
+
# dataRetentionSettings Example: "properties/1000/dataRetentionSettings"
|
829
|
+
# @param [String] fields
|
830
|
+
# Selector specifying which fields to include in a partial response.
|
831
|
+
# @param [String] quota_user
|
832
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
833
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
834
|
+
# @param [Google::Apis::RequestOptions] options
|
835
|
+
# Request-specific options
|
836
|
+
#
|
837
|
+
# @yield [result, err] Result & error if block supplied
|
838
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings] parsed result object
|
839
|
+
# @yieldparam err [StandardError] error object if request failed
|
840
|
+
#
|
841
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings]
|
842
|
+
#
|
843
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
844
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
845
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
846
|
+
def get_property_data_retention_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
847
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
848
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings::Representation
|
849
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings
|
850
|
+
command.params['name'] = name unless name.nil?
|
851
|
+
command.query['fields'] = fields unless fields.nil?
|
852
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
853
|
+
execute_or_queue_command(command, &block)
|
854
|
+
end
|
855
|
+
|
790
856
|
# Lookup for Google Signals settings for a property.
|
791
857
|
# @param [String] name
|
792
858
|
# Required. The name of the google signals settings to retrieve. Format:
|
@@ -912,6 +978,45 @@ module Google
|
|
912
978
|
execute_or_queue_command(command, &block)
|
913
979
|
end
|
914
980
|
|
981
|
+
# Updates the singleton data retention settings for this property.
|
982
|
+
# @param [String] name
|
983
|
+
# Output only. Resource name for this DataRetentionSetting resource. Format:
|
984
|
+
# properties/`property`/dataRetentionSettings
|
985
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings] google_analytics_admin_v1alpha_data_retention_settings_object
|
986
|
+
# @param [String] update_mask
|
987
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
988
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
989
|
+
# entire entity, use one path with the string "*" to match all fields.
|
990
|
+
# @param [String] fields
|
991
|
+
# Selector specifying which fields to include in a partial response.
|
992
|
+
# @param [String] quota_user
|
993
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
994
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
995
|
+
# @param [Google::Apis::RequestOptions] options
|
996
|
+
# Request-specific options
|
997
|
+
#
|
998
|
+
# @yield [result, err] Result & error if block supplied
|
999
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings] parsed result object
|
1000
|
+
# @yieldparam err [StandardError] error object if request failed
|
1001
|
+
#
|
1002
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings]
|
1003
|
+
#
|
1004
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1005
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1006
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1007
|
+
def update_property_data_retention_settings(name, google_analytics_admin_v1alpha_data_retention_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1008
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1009
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings::Representation
|
1010
|
+
command.request_object = google_analytics_admin_v1alpha_data_retention_settings_object
|
1011
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings::Representation
|
1012
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings
|
1013
|
+
command.params['name'] = name unless name.nil?
|
1014
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1015
|
+
command.query['fields'] = fields unless fields.nil?
|
1016
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1017
|
+
execute_or_queue_command(command, &block)
|
1018
|
+
end
|
1019
|
+
|
915
1020
|
# Updates Google Signals settings for a property.
|
916
1021
|
# @param [String] name
|
917
1022
|
# Output only. Resource name of this setting. Format: properties/`property_id`/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.17.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|