google-apis-analyticsadmin_v1alpha 0.2.0 → 0.7.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 +22 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +655 -15
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +276 -1
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +1241 -169
- metadata +5 -5
@@ -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.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,18 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class GoogleAnalyticsAdminV1alphaAuditUserLink
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
@@ -94,12 +106,48 @@ module Google
|
|
94
106
|
include Google::Apis::Core::JsonObjectSupport
|
95
107
|
end
|
96
108
|
|
109
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChange
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleAnalyticsAdminV1alphaConversionEvent
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
97
133
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
98
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
135
|
|
100
136
|
include Google::Apis::Core::JsonObjectSupport
|
101
137
|
end
|
102
138
|
|
139
|
+
class GoogleAnalyticsAdminV1alphaCustomDimension
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleAnalyticsAdminV1alphaCustomMetric
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
103
151
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
104
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
153
|
|
@@ -136,6 +184,12 @@ module Google
|
|
136
184
|
include Google::Apis::Core::JsonObjectSupport
|
137
185
|
end
|
138
186
|
|
187
|
+
class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
139
193
|
class GoogleAnalyticsAdminV1alphaIosAppDataStream
|
140
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
195
|
|
@@ -160,6 +214,24 @@ module Google
|
|
160
214
|
include Google::Apis::Core::JsonObjectSupport
|
161
215
|
end
|
162
216
|
|
217
|
+
class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
163
235
|
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
164
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
237
|
|
@@ -178,6 +250,12 @@ module Google
|
|
178
250
|
include Google::Apis::Core::JsonObjectSupport
|
179
251
|
end
|
180
252
|
|
253
|
+
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
181
259
|
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
182
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
261
|
|
@@ -196,6 +274,12 @@ module Google
|
|
196
274
|
include Google::Apis::Core::JsonObjectSupport
|
197
275
|
end
|
198
276
|
|
277
|
+
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
199
283
|
class GoogleAnalyticsAdminV1alphaProperty
|
200
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
285
|
|
@@ -220,6 +304,18 @@ module Google
|
|
220
304
|
include Google::Apis::Core::JsonObjectSupport
|
221
305
|
end
|
222
306
|
|
307
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
223
319
|
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
|
224
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
321
|
|
@@ -279,6 +375,18 @@ module Google
|
|
279
375
|
end
|
280
376
|
end
|
281
377
|
|
378
|
+
class GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest
|
379
|
+
# @private
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
class GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
282
390
|
class GoogleAnalyticsAdminV1alphaAuditUserLink
|
283
391
|
# @private
|
284
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -355,6 +463,71 @@ module Google
|
|
355
463
|
end
|
356
464
|
end
|
357
465
|
|
466
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChange
|
467
|
+
# @private
|
468
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
469
|
+
property :action, as: 'action'
|
470
|
+
property :resource, as: 'resource'
|
471
|
+
property :resource_after_change, as: 'resourceAfterChange', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource::Representation
|
472
|
+
|
473
|
+
property :resource_before_change, as: 'resourceBeforeChange', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource::Representation
|
474
|
+
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
|
479
|
+
# @private
|
480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
481
|
+
property :account, as: 'account', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
|
482
|
+
|
483
|
+
property :android_app_data_stream, as: 'androidAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
484
|
+
|
485
|
+
property :conversion_event, as: 'conversionEvent', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
486
|
+
|
487
|
+
property :custom_dimension, as: 'customDimension', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
488
|
+
|
489
|
+
property :custom_metric, as: 'customMetric', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
490
|
+
|
491
|
+
property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
492
|
+
|
493
|
+
property :google_ads_link, as: 'googleAdsLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
494
|
+
|
495
|
+
property :google_signals_settings, as: 'googleSignalsSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
496
|
+
|
497
|
+
property :ios_app_data_stream, as: 'iosAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
498
|
+
|
499
|
+
property :measurement_protocol_secret, as: 'measurementProtocolSecret', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
500
|
+
|
501
|
+
property :property, as: 'property', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
502
|
+
|
503
|
+
property :web_data_stream, as: 'webDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
504
|
+
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
|
509
|
+
# @private
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
+
property :actor_type, as: 'actorType'
|
512
|
+
property :change_time, as: 'changeTime'
|
513
|
+
collection :changes, as: 'changes', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange::Representation
|
514
|
+
|
515
|
+
property :changes_filtered, as: 'changesFiltered'
|
516
|
+
property :id, as: 'id'
|
517
|
+
property :user_actor_email, as: 'userActorEmail'
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
class GoogleAnalyticsAdminV1alphaConversionEvent
|
522
|
+
# @private
|
523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
property :create_time, as: 'createTime'
|
525
|
+
property :event_name, as: 'eventName'
|
526
|
+
property :is_deletable, as: 'isDeletable'
|
527
|
+
property :name, as: 'name'
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
358
531
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
359
532
|
# @private
|
360
533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -365,6 +538,30 @@ module Google
|
|
365
538
|
end
|
366
539
|
end
|
367
540
|
|
541
|
+
class GoogleAnalyticsAdminV1alphaCustomDimension
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :description, as: 'description'
|
545
|
+
property :disallow_ads_personalization, as: 'disallowAdsPersonalization'
|
546
|
+
property :display_name, as: 'displayName'
|
547
|
+
property :name, as: 'name'
|
548
|
+
property :parameter_name, as: 'parameterName'
|
549
|
+
property :scope, as: 'scope'
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
class GoogleAnalyticsAdminV1alphaCustomMetric
|
554
|
+
# @private
|
555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
556
|
+
property :description, as: 'description'
|
557
|
+
property :display_name, as: 'displayName'
|
558
|
+
property :measurement_unit, as: 'measurementUnit'
|
559
|
+
property :name, as: 'name'
|
560
|
+
property :parameter_name, as: 'parameterName'
|
561
|
+
property :scope, as: 'scope'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
368
565
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
369
566
|
# @private
|
370
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -433,6 +630,15 @@ module Google
|
|
433
630
|
end
|
434
631
|
end
|
435
632
|
|
633
|
+
class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :consent, as: 'consent'
|
637
|
+
property :name, as: 'name'
|
638
|
+
property :state, as: 'state'
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
436
642
|
class GoogleAnalyticsAdminV1alphaIosAppDataStream
|
437
643
|
# @private
|
438
644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -472,6 +678,33 @@ module Google
|
|
472
678
|
end
|
473
679
|
end
|
474
680
|
|
681
|
+
class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
682
|
+
# @private
|
683
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
684
|
+
collection :conversion_events, as: 'conversionEvents', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
685
|
+
|
686
|
+
property :next_page_token, as: 'nextPageToken'
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
690
|
+
class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
691
|
+
# @private
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
693
|
+
collection :custom_dimensions, as: 'customDimensions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
694
|
+
|
695
|
+
property :next_page_token, as: 'nextPageToken'
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
700
|
+
# @private
|
701
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
702
|
+
collection :custom_metrics, as: 'customMetrics', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
703
|
+
|
704
|
+
property :next_page_token, as: 'nextPageToken'
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
475
708
|
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
476
709
|
# @private
|
477
710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -499,6 +732,15 @@ module Google
|
|
499
732
|
end
|
500
733
|
end
|
501
734
|
|
735
|
+
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
736
|
+
# @private
|
737
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
738
|
+
collection :measurement_protocol_secrets, as: 'measurementProtocolSecrets', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
739
|
+
|
740
|
+
property :next_page_token, as: 'nextPageToken'
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
502
744
|
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
503
745
|
# @private
|
504
746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -526,13 +768,23 @@ module Google
|
|
526
768
|
end
|
527
769
|
end
|
528
770
|
|
771
|
+
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
772
|
+
# @private
|
773
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
774
|
+
property :display_name, as: 'displayName'
|
775
|
+
property :name, as: 'name'
|
776
|
+
property :secret_value, as: 'secretValue'
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
529
780
|
class GoogleAnalyticsAdminV1alphaProperty
|
530
781
|
# @private
|
531
782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
532
783
|
property :create_time, as: 'createTime'
|
533
784
|
property :currency_code, as: 'currencyCode'
|
534
|
-
property :
|
785
|
+
property :delete_time, as: 'deleteTime'
|
535
786
|
property :display_name, as: 'displayName'
|
787
|
+
property :expire_time, as: 'expireTime'
|
536
788
|
property :industry_category, as: 'industryCategory'
|
537
789
|
property :name, as: 'name'
|
538
790
|
property :parent, as: 'parent'
|
@@ -565,6 +817,29 @@ module Google
|
|
565
817
|
end
|
566
818
|
end
|
567
819
|
|
820
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
821
|
+
# @private
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
+
collection :action, as: 'action'
|
824
|
+
collection :actor_email, as: 'actorEmail'
|
825
|
+
property :earliest_change_time, as: 'earliestChangeTime'
|
826
|
+
property :latest_change_time, as: 'latestChangeTime'
|
827
|
+
property :page_size, as: 'pageSize'
|
828
|
+
property :page_token, as: 'pageToken'
|
829
|
+
property :property, as: 'property'
|
830
|
+
collection :resource_type, as: 'resourceType'
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
834
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
|
835
|
+
# @private
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
837
|
+
collection :change_history_events, as: 'changeHistoryEvents', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent::Representation
|
838
|
+
|
839
|
+
property :next_page_token, as: 'nextPageToken'
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
568
843
|
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
|
569
844
|
# @private
|
570
845
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -237,9 +237,9 @@ module Google
|
|
237
237
|
# "accounts/100"
|
238
238
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount] google_analytics_admin_v1alpha_account_object
|
239
239
|
# @param [String] update_mask
|
240
|
-
# Required. The list of fields to be updated.
|
241
|
-
#
|
242
|
-
# fields.
|
240
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
241
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
242
|
+
# entire entity, use one path with the string "*" to match all fields.
|
243
243
|
# @param [String] fields
|
244
244
|
# Selector specifying which fields to include in a partial response.
|
245
245
|
# @param [String] quota_user
|
@@ -300,6 +300,40 @@ module Google
|
|
300
300
|
execute_or_queue_command(command, &block)
|
301
301
|
end
|
302
302
|
|
303
|
+
# Searches through all changes to an account or its children given the specified
|
304
|
+
# set of filters.
|
305
|
+
# @param [String] account
|
306
|
+
# Required. The account resource for which to return change history resources.
|
307
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest] google_analytics_admin_v1alpha_search_change_history_events_request_object
|
308
|
+
# @param [String] fields
|
309
|
+
# Selector specifying which fields to include in a partial response.
|
310
|
+
# @param [String] quota_user
|
311
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
312
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
313
|
+
# @param [Google::Apis::RequestOptions] options
|
314
|
+
# Request-specific options
|
315
|
+
#
|
316
|
+
# @yield [result, err] Result & error if block supplied
|
317
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse] parsed result object
|
318
|
+
# @yieldparam err [StandardError] error object if request failed
|
319
|
+
#
|
320
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse]
|
321
|
+
#
|
322
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
323
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
324
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
325
|
+
def search_account_change_history_events(account, google_analytics_admin_v1alpha_search_change_history_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
326
|
+
command = make_simple_command(:post, 'v1alpha/{+account}:searchChangeHistoryEvents', options)
|
327
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest::Representation
|
328
|
+
command.request_object = google_analytics_admin_v1alpha_search_change_history_events_request_object
|
329
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse::Representation
|
330
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
|
331
|
+
command.params['account'] = account unless account.nil?
|
332
|
+
command.query['fields'] = fields unless fields.nil?
|
333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
334
|
+
execute_or_queue_command(command, &block)
|
335
|
+
end
|
336
|
+
|
303
337
|
# Lists all user links on an account or property, including implicit ones that
|
304
338
|
# come from effective permissions granted by groups or organization admin roles.
|
305
339
|
# If a returned user link does not have direct permissions, they cannot be
|
@@ -624,7 +658,7 @@ module Google
|
|
624
658
|
|
625
659
|
# Updates a user link on an account or property.
|
626
660
|
# @param [String] name
|
627
|
-
# Example format: properties/1234/userLinks/5678
|
661
|
+
# Output only. Example format: properties/1234/userLinks/5678
|
628
662
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
629
663
|
# @param [String] fields
|
630
664
|
# Selector specifying which fields to include in a partial response.
|
@@ -704,18 +738,18 @@ module Google
|
|
704
738
|
# Request-specific options
|
705
739
|
#
|
706
740
|
# @yield [result, err] Result & error if block supplied
|
707
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
741
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] parsed result object
|
708
742
|
# @yieldparam err [StandardError] error object if request failed
|
709
743
|
#
|
710
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
744
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
|
711
745
|
#
|
712
746
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
713
747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
714
748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
715
749
|
def delete_property(name, fields: nil, quota_user: nil, options: nil, &block)
|
716
750
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
717
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
718
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
751
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
752
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty
|
719
753
|
command.params['name'] = name unless name.nil?
|
720
754
|
command.query['fields'] = fields unless fields.nil?
|
721
755
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -753,6 +787,37 @@ module Google
|
|
753
787
|
execute_or_queue_command(command, &block)
|
754
788
|
end
|
755
789
|
|
790
|
+
# Lookup for Google Signals settings for a property.
|
791
|
+
# @param [String] name
|
792
|
+
# Required. The name of the google signals settings to retrieve. Format:
|
793
|
+
# properties/`property`/googleSignalsSettings
|
794
|
+
# @param [String] fields
|
795
|
+
# Selector specifying which fields to include in a partial response.
|
796
|
+
# @param [String] quota_user
|
797
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
798
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
799
|
+
# @param [Google::Apis::RequestOptions] options
|
800
|
+
# Request-specific options
|
801
|
+
#
|
802
|
+
# @yield [result, err] Result & error if block supplied
|
803
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] parsed result object
|
804
|
+
# @yieldparam err [StandardError] error object if request failed
|
805
|
+
#
|
806
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
|
807
|
+
#
|
808
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
809
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
810
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
811
|
+
def get_property_google_signals_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
812
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
813
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
814
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
815
|
+
command.params['name'] = name unless name.nil?
|
816
|
+
command.query['fields'] = fields unless fields.nil?
|
817
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
818
|
+
execute_or_queue_command(command, &block)
|
819
|
+
end
|
820
|
+
|
756
821
|
# Returns child Properties under the specified parent Account. Only "GA4"
|
757
822
|
# properties will be returned. Properties will be excluded if the caller does
|
758
823
|
# not have access. Soft-deleted (ie: "trashed") properties are excluded by
|
@@ -814,9 +879,9 @@ module Google
|
|
814
879
|
# Example: "properties/1000"
|
815
880
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
|
816
881
|
# @param [String] update_mask
|
817
|
-
# Required. The list of fields to be updated.
|
818
|
-
#
|
819
|
-
# fields.
|
882
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
883
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
884
|
+
# entire entity, use one path with the string "*" to match all fields.
|
820
885
|
# @param [String] fields
|
821
886
|
# Selector specifying which fields to include in a partial response.
|
822
887
|
# @param [String] quota_user
|
@@ -847,16 +912,15 @@ module Google
|
|
847
912
|
execute_or_queue_command(command, &block)
|
848
913
|
end
|
849
914
|
|
850
|
-
#
|
851
|
-
#
|
852
|
-
#
|
853
|
-
#
|
854
|
-
#
|
855
|
-
#
|
856
|
-
#
|
857
|
-
#
|
858
|
-
#
|
859
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] google_analytics_admin_v1alpha_android_app_data_stream_object
|
915
|
+
# Updates Google Signals settings for a property.
|
916
|
+
# @param [String] name
|
917
|
+
# Output only. Resource name of this setting. Format: properties/`property_id`/
|
918
|
+
# googleSignalsSettings Example: "properties/1000/googleSignalsSettings"
|
919
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] google_analytics_admin_v1alpha_google_signals_settings_object
|
920
|
+
# @param [String] update_mask
|
921
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
922
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
923
|
+
# entire entity, use one path with the string "*" to match all fields.
|
860
924
|
# @param [String] fields
|
861
925
|
# Selector specifying which fields to include in a partial response.
|
862
926
|
# @param [String] quota_user
|
@@ -866,21 +930,22 @@ module Google
|
|
866
930
|
# Request-specific options
|
867
931
|
#
|
868
932
|
# @yield [result, err] Result & error if block supplied
|
869
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
933
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] parsed result object
|
870
934
|
# @yieldparam err [StandardError] error object if request failed
|
871
935
|
#
|
872
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
936
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
|
873
937
|
#
|
874
938
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
875
939
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
876
940
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
877
|
-
def
|
878
|
-
command = make_simple_command(:
|
879
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
880
|
-
command.request_object =
|
881
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
882
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
883
|
-
command.params['
|
941
|
+
def update_property_google_signals_settings(name, google_analytics_admin_v1alpha_google_signals_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
942
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
943
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
944
|
+
command.request_object = google_analytics_admin_v1alpha_google_signals_settings_object
|
945
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
946
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
947
|
+
command.params['name'] = name unless name.nil?
|
948
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
884
949
|
command.query['fields'] = fields unless fields.nil?
|
885
950
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
886
951
|
execute_or_queue_command(command, &block)
|
@@ -1000,9 +1065,9 @@ module Google
|
|
1000
1065
|
# androidAppDataStreams/2000"
|
1001
1066
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] google_analytics_admin_v1alpha_android_app_data_stream_object
|
1002
1067
|
# @param [String] update_mask
|
1003
|
-
# Required. The list of fields to be updated.
|
1004
|
-
#
|
1005
|
-
# fields.
|
1068
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
1069
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
1070
|
+
# entire entity, use one path with the string "*" to match all fields.
|
1006
1071
|
# @param [String] fields
|
1007
1072
|
# Selector specifying which fields to include in a partial response.
|
1008
1073
|
# @param [String] quota_user
|
@@ -1033,10 +1098,12 @@ module Google
|
|
1033
1098
|
execute_or_queue_command(command, &block)
|
1034
1099
|
end
|
1035
1100
|
|
1036
|
-
# Creates a
|
1101
|
+
# Creates a measurement protocol secret.
|
1037
1102
|
# @param [String] parent
|
1038
|
-
# Required.
|
1039
|
-
#
|
1103
|
+
# Required. The parent resource where this secret will be created. Any type of
|
1104
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1105
|
+
# Format: properties/`property`/webDataStreams/`webDataStream`
|
1106
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1040
1107
|
# @param [String] fields
|
1041
1108
|
# Selector specifying which fields to include in a partial response.
|
1042
1109
|
# @param [String] quota_user
|
@@ -1046,30 +1113,32 @@ module Google
|
|
1046
1113
|
# Request-specific options
|
1047
1114
|
#
|
1048
1115
|
# @yield [result, err] Result & error if block supplied
|
1049
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1116
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1050
1117
|
# @yieldparam err [StandardError] error object if request failed
|
1051
1118
|
#
|
1052
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1119
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1053
1120
|
#
|
1054
1121
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1055
1122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1056
1123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1057
|
-
def
|
1058
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
1059
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1060
|
-
command.request_object =
|
1061
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1062
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1124
|
+
def create_property_android_app_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1125
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1126
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1127
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1128
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1129
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1063
1130
|
command.params['parent'] = parent unless parent.nil?
|
1064
1131
|
command.query['fields'] = fields unless fields.nil?
|
1065
1132
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1066
1133
|
execute_or_queue_command(command, &block)
|
1067
1134
|
end
|
1068
1135
|
|
1069
|
-
# Deletes
|
1136
|
+
# Deletes target MeasurementProtocolSecret.
|
1070
1137
|
# @param [String] name
|
1071
|
-
# Required. Format:
|
1072
|
-
#
|
1138
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
1139
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
1140
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
1141
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1073
1142
|
# @param [String] fields
|
1074
1143
|
# Selector specifying which fields to include in a partial response.
|
1075
1144
|
# @param [String] quota_user
|
@@ -1087,7 +1156,7 @@ module Google
|
|
1087
1156
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1088
1157
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1089
1158
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1090
|
-
def
|
1159
|
+
def delete_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1091
1160
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1092
1161
|
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1093
1162
|
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
@@ -1097,19 +1166,54 @@ module Google
|
|
1097
1166
|
execute_or_queue_command(command, &block)
|
1098
1167
|
end
|
1099
1168
|
|
1100
|
-
#
|
1101
|
-
#
|
1169
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
1170
|
+
# @param [String] name
|
1171
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
1172
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
1173
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
1174
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1175
|
+
# @param [String] fields
|
1176
|
+
# Selector specifying which fields to include in a partial response.
|
1177
|
+
# @param [String] quota_user
|
1178
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1179
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1180
|
+
# @param [Google::Apis::RequestOptions] options
|
1181
|
+
# Request-specific options
|
1182
|
+
#
|
1183
|
+
# @yield [result, err] Result & error if block supplied
|
1184
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1185
|
+
# @yieldparam err [StandardError] error object if request failed
|
1186
|
+
#
|
1187
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1188
|
+
#
|
1189
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1190
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1191
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1192
|
+
def get_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1193
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1194
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1195
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1196
|
+
command.params['name'] = name unless name.nil?
|
1197
|
+
command.query['fields'] = fields unless fields.nil?
|
1198
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1199
|
+
execute_or_queue_command(command, &block)
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
1102
1203
|
# @param [String] parent
|
1103
|
-
# Required.
|
1204
|
+
# Required. The resource name of the parent stream. Any type of stream (
|
1205
|
+
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
1206
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
1207
|
+
# measurementProtocolSecrets
|
1104
1208
|
# @param [Fixnum] page_size
|
1105
|
-
# The maximum number of resources to return.
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
# coerced to the maximum)
|
1209
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
1210
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
1211
|
+
# coerced to the maximum.
|
1109
1212
|
# @param [String] page_token
|
1110
|
-
# A page token, received from a previous `
|
1111
|
-
# to retrieve the subsequent page. When paginating, all other
|
1112
|
-
# provided to `
|
1213
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
1214
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
1215
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
1216
|
+
# that provided the page token.
|
1113
1217
|
# @param [String] fields
|
1114
1218
|
# Selector specifying which fields to include in a partial response.
|
1115
1219
|
# @param [String] quota_user
|
@@ -1119,18 +1223,18 @@ module Google
|
|
1119
1223
|
# Request-specific options
|
1120
1224
|
#
|
1121
1225
|
# @yield [result, err] Result & error if block supplied
|
1122
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1226
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
1123
1227
|
# @yieldparam err [StandardError] error object if request failed
|
1124
1228
|
#
|
1125
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1229
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
1126
1230
|
#
|
1127
1231
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1128
1232
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1129
1233
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1130
|
-
def
|
1131
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1132
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1133
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1234
|
+
def list_property_android_app_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1235
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1236
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
1237
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
1134
1238
|
command.params['parent'] = parent unless parent.nil?
|
1135
1239
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1136
1240
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1139,14 +1243,14 @@ module Google
|
|
1139
1243
|
execute_or_queue_command(command, &block)
|
1140
1244
|
end
|
1141
1245
|
|
1142
|
-
# Updates a
|
1246
|
+
# Updates a measurement protocol secret.
|
1143
1247
|
# @param [String] name
|
1144
|
-
# Output only.
|
1145
|
-
#
|
1248
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
1249
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
1250
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
1251
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1146
1252
|
# @param [String] update_mask
|
1147
|
-
#
|
1148
|
-
# To replace the entire entity, use one path with the string "*" to match all
|
1149
|
-
# fields.
|
1253
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1150
1254
|
# @param [String] fields
|
1151
1255
|
# Selector specifying which fields to include in a partial response.
|
1152
1256
|
# @param [String] quota_user
|
@@ -1156,20 +1260,20 @@ module Google
|
|
1156
1260
|
# Request-specific options
|
1157
1261
|
#
|
1158
1262
|
# @yield [result, err] Result & error if block supplied
|
1159
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1263
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1160
1264
|
# @yieldparam err [StandardError] error object if request failed
|
1161
1265
|
#
|
1162
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1266
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1163
1267
|
#
|
1164
1268
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1165
1269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1166
1270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1167
|
-
def
|
1271
|
+
def patch_property_android_app_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1168
1272
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1169
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1170
|
-
command.request_object =
|
1171
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1172
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1273
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1274
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1275
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1276
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1173
1277
|
command.params['name'] = name unless name.nil?
|
1174
1278
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1175
1279
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1177,10 +1281,11 @@ module Google
|
|
1177
1281
|
execute_or_queue_command(command, &block)
|
1178
1282
|
end
|
1179
1283
|
|
1180
|
-
# Creates a
|
1284
|
+
# Creates a conversion event with the specified attributes.
|
1181
1285
|
# @param [String] parent
|
1182
|
-
# Required.
|
1183
|
-
#
|
1286
|
+
# Required. The resource name of the parent property where this conversion event
|
1287
|
+
# will be created. Format: properties/123
|
1288
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] google_analytics_admin_v1alpha_conversion_event_object
|
1184
1289
|
# @param [String] fields
|
1185
1290
|
# Selector specifying which fields to include in a partial response.
|
1186
1291
|
# @param [String] quota_user
|
@@ -1190,29 +1295,31 @@ module Google
|
|
1190
1295
|
# Request-specific options
|
1191
1296
|
#
|
1192
1297
|
# @yield [result, err] Result & error if block supplied
|
1193
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1298
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
|
1194
1299
|
# @yieldparam err [StandardError] error object if request failed
|
1195
1300
|
#
|
1196
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1301
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
|
1197
1302
|
#
|
1198
1303
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1199
1304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1200
1305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1201
|
-
def
|
1202
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
1203
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1204
|
-
command.request_object =
|
1205
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1206
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1306
|
+
def create_property_conversion_event(parent, google_analytics_admin_v1alpha_conversion_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1307
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/conversionEvents', options)
|
1308
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1309
|
+
command.request_object = google_analytics_admin_v1alpha_conversion_event_object
|
1310
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1311
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
|
1207
1312
|
command.params['parent'] = parent unless parent.nil?
|
1208
1313
|
command.query['fields'] = fields unless fields.nil?
|
1209
1314
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1210
1315
|
execute_or_queue_command(command, &block)
|
1211
1316
|
end
|
1212
1317
|
|
1213
|
-
# Deletes a
|
1318
|
+
# Deletes a conversion event in a property.
|
1214
1319
|
# @param [String] name
|
1215
|
-
# Required.
|
1320
|
+
# Required. The resource name of the conversion event to delete. Format:
|
1321
|
+
# properties/`property`/conversionEvents/`conversion_event` Example: "properties/
|
1322
|
+
# 123/conversionEvents/456"
|
1216
1323
|
# @param [String] fields
|
1217
1324
|
# Selector specifying which fields to include in a partial response.
|
1218
1325
|
# @param [String] quota_user
|
@@ -1230,7 +1337,7 @@ module Google
|
|
1230
1337
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1231
1338
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1232
1339
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1233
|
-
def
|
1340
|
+
def delete_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1234
1341
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1235
1342
|
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1236
1343
|
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
@@ -1240,17 +1347,50 @@ module Google
|
|
1240
1347
|
execute_or_queue_command(command, &block)
|
1241
1348
|
end
|
1242
1349
|
|
1243
|
-
#
|
1350
|
+
# Retrieve a single conversion event.
|
1351
|
+
# @param [String] name
|
1352
|
+
# Required. The resource name of the conversion event to retrieve. Format:
|
1353
|
+
# properties/`property`/conversionEvents/`conversion_event` Example: "properties/
|
1354
|
+
# 123/conversionEvents/456"
|
1355
|
+
# @param [String] fields
|
1356
|
+
# Selector specifying which fields to include in a partial response.
|
1357
|
+
# @param [String] quota_user
|
1358
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1359
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1360
|
+
# @param [Google::Apis::RequestOptions] options
|
1361
|
+
# Request-specific options
|
1362
|
+
#
|
1363
|
+
# @yield [result, err] Result & error if block supplied
|
1364
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
|
1365
|
+
# @yieldparam err [StandardError] error object if request failed
|
1366
|
+
#
|
1367
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
|
1368
|
+
#
|
1369
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1370
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1371
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1372
|
+
def get_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1373
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1374
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1375
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
|
1376
|
+
command.params['name'] = name unless name.nil?
|
1377
|
+
command.query['fields'] = fields unless fields.nil?
|
1378
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1379
|
+
execute_or_queue_command(command, &block)
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
# Returns a list of conversion events in the specified parent property. Returns
|
1383
|
+
# an empty list if no conversion events are found.
|
1244
1384
|
# @param [String] parent
|
1245
|
-
# Required. Example
|
1385
|
+
# Required. The resource name of the parent property. Example: 'properties/123'
|
1246
1386
|
# @param [Fixnum] page_size
|
1247
1387
|
# The maximum number of resources to return. If unspecified, at most 50
|
1248
|
-
# resources will be returned. The maximum value is 200 (higher values will be
|
1249
|
-
# coerced to the maximum)
|
1388
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
1389
|
+
# coerced to the maximum)
|
1250
1390
|
# @param [String] page_token
|
1251
|
-
# A page token, received from a previous `
|
1252
|
-
# to retrieve the subsequent page. When paginating, all other parameters
|
1253
|
-
# provided to `
|
1391
|
+
# A page token, received from a previous `ListConversionEvents` call. Provide
|
1392
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
1393
|
+
# provided to `ListConversionEvents` must match the call that provided the page
|
1254
1394
|
# token.
|
1255
1395
|
# @param [String] fields
|
1256
1396
|
# Selector specifying which fields to include in a partial response.
|
@@ -1261,18 +1401,18 @@ module Google
|
|
1261
1401
|
# Request-specific options
|
1262
1402
|
#
|
1263
1403
|
# @yield [result, err] Result & error if block supplied
|
1264
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1404
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse] parsed result object
|
1265
1405
|
# @yieldparam err [StandardError] error object if request failed
|
1266
1406
|
#
|
1267
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1407
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse]
|
1268
1408
|
#
|
1269
1409
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1270
1410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1271
1411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1272
|
-
def
|
1273
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1274
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1275
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1412
|
+
def list_property_conversion_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1413
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/conversionEvents', options)
|
1414
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse::Representation
|
1415
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
1276
1416
|
command.params['parent'] = parent unless parent.nil?
|
1277
1417
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1278
1418
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1281,15 +1421,11 @@ module Google
|
|
1281
1421
|
execute_or_queue_command(command, &block)
|
1282
1422
|
end
|
1283
1423
|
|
1284
|
-
#
|
1424
|
+
# Archives a CustomDimension on a property.
|
1285
1425
|
# @param [String] name
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::
|
1289
|
-
# @param [String] update_mask
|
1290
|
-
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1291
|
-
# To replace the entire entity, use one path with the string "*" to match all
|
1292
|
-
# fields.
|
1426
|
+
# Required. The name of the CustomDimension to archive. Example format:
|
1427
|
+
# properties/1234/customDimensions/5678
|
1428
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest] google_analytics_admin_v1alpha_archive_custom_dimension_request_object
|
1293
1429
|
# @param [String] fields
|
1294
1430
|
# Selector specifying which fields to include in a partial response.
|
1295
1431
|
# @param [String] quota_user
|
@@ -1299,36 +1435,30 @@ module Google
|
|
1299
1435
|
# Request-specific options
|
1300
1436
|
#
|
1301
1437
|
# @yield [result, err] Result & error if block supplied
|
1302
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1438
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1303
1439
|
# @yieldparam err [StandardError] error object if request failed
|
1304
1440
|
#
|
1305
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1441
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1306
1442
|
#
|
1307
1443
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1308
1444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1309
1445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1310
|
-
def
|
1311
|
-
command = make_simple_command(:
|
1312
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1313
|
-
command.request_object =
|
1314
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1315
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1446
|
+
def archive_property_custom_dimension(name, google_analytics_admin_v1alpha_archive_custom_dimension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1447
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
1448
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest::Representation
|
1449
|
+
command.request_object = google_analytics_admin_v1alpha_archive_custom_dimension_request_object
|
1450
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1451
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1316
1452
|
command.params['name'] = name unless name.nil?
|
1317
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1318
1453
|
command.query['fields'] = fields unless fields.nil?
|
1319
1454
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1320
1455
|
execute_or_queue_command(command, &block)
|
1321
1456
|
end
|
1322
1457
|
|
1323
|
-
# Creates
|
1324
|
-
# that an iOS app stream must be linked to a Firebase app to receive traffic. To
|
1325
|
-
# create a working app stream, make sure your property is linked to a Firebase
|
1326
|
-
# project. Then, use the Firebase API to create a Firebase app, which will also
|
1327
|
-
# create an appropriate data stream in Analytics (may take up to 24 hours).
|
1458
|
+
# Creates a CustomDimension.
|
1328
1459
|
# @param [String] parent
|
1329
|
-
# Required.
|
1330
|
-
#
|
1331
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1460
|
+
# Required. Example format: properties/1234
|
1461
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
|
1332
1462
|
# @param [String] fields
|
1333
1463
|
# Selector specifying which fields to include in a partial response.
|
1334
1464
|
# @param [String] quota_user
|
@@ -1338,31 +1468,30 @@ module Google
|
|
1338
1468
|
# Request-specific options
|
1339
1469
|
#
|
1340
1470
|
# @yield [result, err] Result & error if block supplied
|
1341
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1471
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1342
1472
|
# @yieldparam err [StandardError] error object if request failed
|
1343
1473
|
#
|
1344
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1474
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1345
1475
|
#
|
1346
1476
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1347
1477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1348
1478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1349
|
-
def
|
1350
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
1351
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1352
|
-
command.request_object =
|
1353
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1354
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1479
|
+
def create_property_custom_dimension(parent, google_analytics_admin_v1alpha_custom_dimension_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1480
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/customDimensions', options)
|
1481
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1482
|
+
command.request_object = google_analytics_admin_v1alpha_custom_dimension_object
|
1483
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1484
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1355
1485
|
command.params['parent'] = parent unless parent.nil?
|
1356
1486
|
command.query['fields'] = fields unless fields.nil?
|
1357
1487
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1358
1488
|
execute_or_queue_command(command, &block)
|
1359
1489
|
end
|
1360
1490
|
|
1361
|
-
#
|
1491
|
+
# Lookup for a single CustomDimension.
|
1362
1492
|
# @param [String] name
|
1363
|
-
# Required. The name of the
|
1364
|
-
#
|
1365
|
-
# iosAppDataStreams/456"
|
1493
|
+
# Required. The name of the CustomDimension to get. Example format: properties/
|
1494
|
+
# 1234/customDimensions/5678
|
1366
1495
|
# @param [String] fields
|
1367
1496
|
# Selector specifying which fields to include in a partial response.
|
1368
1497
|
# @param [String] quota_user
|
@@ -1372,29 +1501,36 @@ module Google
|
|
1372
1501
|
# Request-specific options
|
1373
1502
|
#
|
1374
1503
|
# @yield [result, err] Result & error if block supplied
|
1375
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1504
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1376
1505
|
# @yieldparam err [StandardError] error object if request failed
|
1377
1506
|
#
|
1378
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1507
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1379
1508
|
#
|
1380
1509
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1381
1510
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1382
1511
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1383
|
-
def
|
1384
|
-
command = make_simple_command(:
|
1385
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1386
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1512
|
+
def get_property_custom_dimension(name, fields: nil, quota_user: nil, options: nil, &block)
|
1513
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1514
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1515
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1387
1516
|
command.params['name'] = name unless name.nil?
|
1388
1517
|
command.query['fields'] = fields unless fields.nil?
|
1389
1518
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1390
1519
|
execute_or_queue_command(command, &block)
|
1391
1520
|
end
|
1392
1521
|
|
1393
|
-
#
|
1394
|
-
# @param [String]
|
1395
|
-
# Required.
|
1396
|
-
#
|
1397
|
-
#
|
1522
|
+
# Lists CustomDimensions on a property.
|
1523
|
+
# @param [String] parent
|
1524
|
+
# Required. Example format: properties/1234
|
1525
|
+
# @param [Fixnum] page_size
|
1526
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1527
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1528
|
+
# coerced to the maximum).
|
1529
|
+
# @param [String] page_token
|
1530
|
+
# A page token, received from a previous `ListCustomDimensions` call. Provide
|
1531
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
1532
|
+
# provided to `ListCustomDimensions` must match the call that provided the page
|
1533
|
+
# token.
|
1398
1534
|
# @param [String] fields
|
1399
1535
|
# Selector specifying which fields to include in a partial response.
|
1400
1536
|
# @param [String] quota_user
|
@@ -1404,19 +1540,589 @@ module Google
|
|
1404
1540
|
# Request-specific options
|
1405
1541
|
#
|
1406
1542
|
# @yield [result, err] Result & error if block supplied
|
1407
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1543
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse] parsed result object
|
1408
1544
|
# @yieldparam err [StandardError] error object if request failed
|
1409
1545
|
#
|
1410
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1546
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse]
|
1411
1547
|
#
|
1412
1548
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1413
1549
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1414
1550
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1415
|
-
def
|
1416
|
-
command = make_simple_command(:get, 'v1alpha/{+
|
1417
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1418
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1419
|
-
command.params['
|
1551
|
+
def list_property_custom_dimensions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1552
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/customDimensions', options)
|
1553
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse::Representation
|
1554
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
1555
|
+
command.params['parent'] = parent unless parent.nil?
|
1556
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1557
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1558
|
+
command.query['fields'] = fields unless fields.nil?
|
1559
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1560
|
+
execute_or_queue_command(command, &block)
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
# Updates a CustomDimension on a property.
|
1564
|
+
# @param [String] name
|
1565
|
+
# Output only. Resource name for this CustomDimension resource. Format:
|
1566
|
+
# properties/`property`/customDimensions/`customDimension`
|
1567
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
|
1568
|
+
# @param [String] update_mask
|
1569
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1570
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
1571
|
+
# fields.
|
1572
|
+
# @param [String] fields
|
1573
|
+
# Selector specifying which fields to include in a partial response.
|
1574
|
+
# @param [String] quota_user
|
1575
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1576
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1577
|
+
# @param [Google::Apis::RequestOptions] options
|
1578
|
+
# Request-specific options
|
1579
|
+
#
|
1580
|
+
# @yield [result, err] Result & error if block supplied
|
1581
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1582
|
+
# @yieldparam err [StandardError] error object if request failed
|
1583
|
+
#
|
1584
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1585
|
+
#
|
1586
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1587
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1588
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1589
|
+
def patch_property_custom_dimension(name, google_analytics_admin_v1alpha_custom_dimension_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1590
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1591
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1592
|
+
command.request_object = google_analytics_admin_v1alpha_custom_dimension_object
|
1593
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1594
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1595
|
+
command.params['name'] = name unless name.nil?
|
1596
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1597
|
+
command.query['fields'] = fields unless fields.nil?
|
1598
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1599
|
+
execute_or_queue_command(command, &block)
|
1600
|
+
end
|
1601
|
+
|
1602
|
+
# Archives a CustomMetric on a property.
|
1603
|
+
# @param [String] name
|
1604
|
+
# Required. The name of the CustomMetric to archive. Example format: properties/
|
1605
|
+
# 1234/customMetrics/5678
|
1606
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest] google_analytics_admin_v1alpha_archive_custom_metric_request_object
|
1607
|
+
# @param [String] fields
|
1608
|
+
# Selector specifying which fields to include in a partial response.
|
1609
|
+
# @param [String] quota_user
|
1610
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1611
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1612
|
+
# @param [Google::Apis::RequestOptions] options
|
1613
|
+
# Request-specific options
|
1614
|
+
#
|
1615
|
+
# @yield [result, err] Result & error if block supplied
|
1616
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1617
|
+
# @yieldparam err [StandardError] error object if request failed
|
1618
|
+
#
|
1619
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1620
|
+
#
|
1621
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1622
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1623
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1624
|
+
def archive_property_custom_metric(name, google_analytics_admin_v1alpha_archive_custom_metric_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1625
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
1626
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest::Representation
|
1627
|
+
command.request_object = google_analytics_admin_v1alpha_archive_custom_metric_request_object
|
1628
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1629
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1630
|
+
command.params['name'] = name unless name.nil?
|
1631
|
+
command.query['fields'] = fields unless fields.nil?
|
1632
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1633
|
+
execute_or_queue_command(command, &block)
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
# Creates a CustomMetric.
|
1637
|
+
# @param [String] parent
|
1638
|
+
# Required. Example format: properties/1234
|
1639
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
|
1640
|
+
# @param [String] fields
|
1641
|
+
# Selector specifying which fields to include in a partial response.
|
1642
|
+
# @param [String] quota_user
|
1643
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1644
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1645
|
+
# @param [Google::Apis::RequestOptions] options
|
1646
|
+
# Request-specific options
|
1647
|
+
#
|
1648
|
+
# @yield [result, err] Result & error if block supplied
|
1649
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1650
|
+
# @yieldparam err [StandardError] error object if request failed
|
1651
|
+
#
|
1652
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1653
|
+
#
|
1654
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1655
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1656
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1657
|
+
def create_property_custom_metric(parent, google_analytics_admin_v1alpha_custom_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1658
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/customMetrics', options)
|
1659
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1660
|
+
command.request_object = google_analytics_admin_v1alpha_custom_metric_object
|
1661
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1662
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1663
|
+
command.params['parent'] = parent unless parent.nil?
|
1664
|
+
command.query['fields'] = fields unless fields.nil?
|
1665
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1666
|
+
execute_or_queue_command(command, &block)
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
# Lookup for a single CustomMetric.
|
1670
|
+
# @param [String] name
|
1671
|
+
# Required. The name of the CustomMetric to get. Example format: properties/1234/
|
1672
|
+
# customMetrics/5678
|
1673
|
+
# @param [String] fields
|
1674
|
+
# Selector specifying which fields to include in a partial response.
|
1675
|
+
# @param [String] quota_user
|
1676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1678
|
+
# @param [Google::Apis::RequestOptions] options
|
1679
|
+
# Request-specific options
|
1680
|
+
#
|
1681
|
+
# @yield [result, err] Result & error if block supplied
|
1682
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1683
|
+
# @yieldparam err [StandardError] error object if request failed
|
1684
|
+
#
|
1685
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1686
|
+
#
|
1687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1690
|
+
def get_property_custom_metric(name, fields: nil, quota_user: nil, options: nil, &block)
|
1691
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1692
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1693
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1694
|
+
command.params['name'] = name unless name.nil?
|
1695
|
+
command.query['fields'] = fields unless fields.nil?
|
1696
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1697
|
+
execute_or_queue_command(command, &block)
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
# Lists CustomMetrics on a property.
|
1701
|
+
# @param [String] parent
|
1702
|
+
# Required. Example format: properties/1234
|
1703
|
+
# @param [Fixnum] page_size
|
1704
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1705
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1706
|
+
# coerced to the maximum).
|
1707
|
+
# @param [String] page_token
|
1708
|
+
# A page token, received from a previous `ListCustomMetrics` call. Provide this
|
1709
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
1710
|
+
# provided to `ListCustomMetrics` must match the call that provided the page
|
1711
|
+
# token.
|
1712
|
+
# @param [String] fields
|
1713
|
+
# Selector specifying which fields to include in a partial response.
|
1714
|
+
# @param [String] quota_user
|
1715
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1716
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1717
|
+
# @param [Google::Apis::RequestOptions] options
|
1718
|
+
# Request-specific options
|
1719
|
+
#
|
1720
|
+
# @yield [result, err] Result & error if block supplied
|
1721
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse] parsed result object
|
1722
|
+
# @yieldparam err [StandardError] error object if request failed
|
1723
|
+
#
|
1724
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse]
|
1725
|
+
#
|
1726
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1727
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1728
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1729
|
+
def list_property_custom_metrics(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1730
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/customMetrics', options)
|
1731
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse::Representation
|
1732
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
1733
|
+
command.params['parent'] = parent unless parent.nil?
|
1734
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1735
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1736
|
+
command.query['fields'] = fields unless fields.nil?
|
1737
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1738
|
+
execute_or_queue_command(command, &block)
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# Updates a CustomMetric on a property.
|
1742
|
+
# @param [String] name
|
1743
|
+
# Output only. Resource name for this CustomMetric resource. Format: properties/`
|
1744
|
+
# property`/customMetrics/`customMetric`
|
1745
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
|
1746
|
+
# @param [String] update_mask
|
1747
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1748
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
1749
|
+
# fields.
|
1750
|
+
# @param [String] fields
|
1751
|
+
# Selector specifying which fields to include in a partial response.
|
1752
|
+
# @param [String] quota_user
|
1753
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1754
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1755
|
+
# @param [Google::Apis::RequestOptions] options
|
1756
|
+
# Request-specific options
|
1757
|
+
#
|
1758
|
+
# @yield [result, err] Result & error if block supplied
|
1759
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1760
|
+
# @yieldparam err [StandardError] error object if request failed
|
1761
|
+
#
|
1762
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1763
|
+
#
|
1764
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1765
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1766
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1767
|
+
def patch_property_custom_metric(name, google_analytics_admin_v1alpha_custom_metric_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1768
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1769
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1770
|
+
command.request_object = google_analytics_admin_v1alpha_custom_metric_object
|
1771
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1772
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1773
|
+
command.params['name'] = name unless name.nil?
|
1774
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1775
|
+
command.query['fields'] = fields unless fields.nil?
|
1776
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1777
|
+
execute_or_queue_command(command, &block)
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
# Creates a FirebaseLink. Properties can have at most one FirebaseLink.
|
1781
|
+
# @param [String] parent
|
1782
|
+
# Required. Format: properties/`property_id` Example: properties/1234
|
1783
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
|
1784
|
+
# @param [String] fields
|
1785
|
+
# Selector specifying which fields to include in a partial response.
|
1786
|
+
# @param [String] quota_user
|
1787
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1788
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1789
|
+
# @param [Google::Apis::RequestOptions] options
|
1790
|
+
# Request-specific options
|
1791
|
+
#
|
1792
|
+
# @yield [result, err] Result & error if block supplied
|
1793
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
|
1794
|
+
# @yieldparam err [StandardError] error object if request failed
|
1795
|
+
#
|
1796
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
|
1797
|
+
#
|
1798
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1799
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1800
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1801
|
+
def create_property_firebase_link(parent, google_analytics_admin_v1alpha_firebase_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1802
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/firebaseLinks', options)
|
1803
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1804
|
+
command.request_object = google_analytics_admin_v1alpha_firebase_link_object
|
1805
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1806
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
|
1807
|
+
command.params['parent'] = parent unless parent.nil?
|
1808
|
+
command.query['fields'] = fields unless fields.nil?
|
1809
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1810
|
+
execute_or_queue_command(command, &block)
|
1811
|
+
end
|
1812
|
+
|
1813
|
+
# Deletes a FirebaseLink on a property
|
1814
|
+
# @param [String] name
|
1815
|
+
# Required. Format: properties/`property_id`/firebaseLinks/`firebase_link_id`
|
1816
|
+
# Example: properties/1234/firebaseLinks/5678
|
1817
|
+
# @param [String] fields
|
1818
|
+
# Selector specifying which fields to include in a partial response.
|
1819
|
+
# @param [String] quota_user
|
1820
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1821
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1822
|
+
# @param [Google::Apis::RequestOptions] options
|
1823
|
+
# Request-specific options
|
1824
|
+
#
|
1825
|
+
# @yield [result, err] Result & error if block supplied
|
1826
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1827
|
+
# @yieldparam err [StandardError] error object if request failed
|
1828
|
+
#
|
1829
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1830
|
+
#
|
1831
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1832
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1833
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1834
|
+
def delete_property_firebase_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
1835
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1836
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1837
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1838
|
+
command.params['name'] = name unless name.nil?
|
1839
|
+
command.query['fields'] = fields unless fields.nil?
|
1840
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1841
|
+
execute_or_queue_command(command, &block)
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
# Lists FirebaseLinks on a property. Properties can have at most one
|
1845
|
+
# FirebaseLink.
|
1846
|
+
# @param [String] parent
|
1847
|
+
# Required. Format: properties/`property_id` Example: properties/1234
|
1848
|
+
# @param [Fixnum] page_size
|
1849
|
+
# The maximum number of resources to return. The service may return fewer than
|
1850
|
+
# this value, even if there are additional pages. If unspecified, at most 50
|
1851
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
1852
|
+
# coerced to the maximum)
|
1853
|
+
# @param [String] page_token
|
1854
|
+
# A page token, received from a previous `ListFirebaseLinks` call. Provide this
|
1855
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
1856
|
+
# provided to `ListProperties` must match the call that provided the page token.
|
1857
|
+
# @param [String] fields
|
1858
|
+
# Selector specifying which fields to include in a partial response.
|
1859
|
+
# @param [String] quota_user
|
1860
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1861
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1862
|
+
# @param [Google::Apis::RequestOptions] options
|
1863
|
+
# Request-specific options
|
1864
|
+
#
|
1865
|
+
# @yield [result, err] Result & error if block supplied
|
1866
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse] parsed result object
|
1867
|
+
# @yieldparam err [StandardError] error object if request failed
|
1868
|
+
#
|
1869
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse]
|
1870
|
+
#
|
1871
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1872
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1873
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1874
|
+
def list_property_firebase_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1875
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/firebaseLinks', options)
|
1876
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse::Representation
|
1877
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
1878
|
+
command.params['parent'] = parent unless parent.nil?
|
1879
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1880
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1881
|
+
command.query['fields'] = fields unless fields.nil?
|
1882
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1883
|
+
execute_or_queue_command(command, &block)
|
1884
|
+
end
|
1885
|
+
|
1886
|
+
# Updates a FirebaseLink on a property
|
1887
|
+
# @param [String] name
|
1888
|
+
# Output only. Example format: properties/1234/firebaseLinks/5678
|
1889
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
|
1890
|
+
# @param [String] update_mask
|
1891
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
1892
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
1893
|
+
# entire entity, use one path with the string "*" to match all fields.
|
1894
|
+
# @param [String] fields
|
1895
|
+
# Selector specifying which fields to include in a partial response.
|
1896
|
+
# @param [String] quota_user
|
1897
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1898
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1899
|
+
# @param [Google::Apis::RequestOptions] options
|
1900
|
+
# Request-specific options
|
1901
|
+
#
|
1902
|
+
# @yield [result, err] Result & error if block supplied
|
1903
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
|
1904
|
+
# @yieldparam err [StandardError] error object if request failed
|
1905
|
+
#
|
1906
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
|
1907
|
+
#
|
1908
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1909
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1910
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1911
|
+
def patch_property_firebase_link(name, google_analytics_admin_v1alpha_firebase_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1912
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1913
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1914
|
+
command.request_object = google_analytics_admin_v1alpha_firebase_link_object
|
1915
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1916
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
|
1917
|
+
command.params['name'] = name unless name.nil?
|
1918
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1919
|
+
command.query['fields'] = fields unless fields.nil?
|
1920
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1921
|
+
execute_or_queue_command(command, &block)
|
1922
|
+
end
|
1923
|
+
|
1924
|
+
# Creates a GoogleAdsLink.
|
1925
|
+
# @param [String] parent
|
1926
|
+
# Required. Example format: properties/1234
|
1927
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
|
1928
|
+
# @param [String] fields
|
1929
|
+
# Selector specifying which fields to include in a partial response.
|
1930
|
+
# @param [String] quota_user
|
1931
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1932
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1933
|
+
# @param [Google::Apis::RequestOptions] options
|
1934
|
+
# Request-specific options
|
1935
|
+
#
|
1936
|
+
# @yield [result, err] Result & error if block supplied
|
1937
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
|
1938
|
+
# @yieldparam err [StandardError] error object if request failed
|
1939
|
+
#
|
1940
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
1941
|
+
#
|
1942
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1943
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1944
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1945
|
+
def create_property_google_ads_link(parent, google_analytics_admin_v1alpha_google_ads_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1946
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/googleAdsLinks', options)
|
1947
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
1948
|
+
command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
|
1949
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
1950
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
1951
|
+
command.params['parent'] = parent unless parent.nil?
|
1952
|
+
command.query['fields'] = fields unless fields.nil?
|
1953
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1954
|
+
execute_or_queue_command(command, &block)
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# Deletes a GoogleAdsLink on a property
|
1958
|
+
# @param [String] name
|
1959
|
+
# Required. Example format: properties/1234/googleAdsLinks/5678
|
1960
|
+
# @param [String] fields
|
1961
|
+
# Selector specifying which fields to include in a partial response.
|
1962
|
+
# @param [String] quota_user
|
1963
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1964
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1965
|
+
# @param [Google::Apis::RequestOptions] options
|
1966
|
+
# Request-specific options
|
1967
|
+
#
|
1968
|
+
# @yield [result, err] Result & error if block supplied
|
1969
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1970
|
+
# @yieldparam err [StandardError] error object if request failed
|
1971
|
+
#
|
1972
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1973
|
+
#
|
1974
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1975
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1976
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1977
|
+
def delete_property_google_ads_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
1978
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1979
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1980
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1981
|
+
command.params['name'] = name unless name.nil?
|
1982
|
+
command.query['fields'] = fields unless fields.nil?
|
1983
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1984
|
+
execute_or_queue_command(command, &block)
|
1985
|
+
end
|
1986
|
+
|
1987
|
+
# Lists GoogleAdsLinks on a property.
|
1988
|
+
# @param [String] parent
|
1989
|
+
# Required. Example format: properties/1234
|
1990
|
+
# @param [Fixnum] page_size
|
1991
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1992
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1993
|
+
# coerced to the maximum).
|
1994
|
+
# @param [String] page_token
|
1995
|
+
# A page token, received from a previous `ListGoogleAdsLinks` call. Provide this
|
1996
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
1997
|
+
# provided to `ListGoogleAdsLinks` must match the call that provided the page
|
1998
|
+
# token.
|
1999
|
+
# @param [String] fields
|
2000
|
+
# Selector specifying which fields to include in a partial response.
|
2001
|
+
# @param [String] quota_user
|
2002
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2003
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2004
|
+
# @param [Google::Apis::RequestOptions] options
|
2005
|
+
# Request-specific options
|
2006
|
+
#
|
2007
|
+
# @yield [result, err] Result & error if block supplied
|
2008
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse] parsed result object
|
2009
|
+
# @yieldparam err [StandardError] error object if request failed
|
2010
|
+
#
|
2011
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse]
|
2012
|
+
#
|
2013
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2014
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2015
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2016
|
+
def list_property_google_ads_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2017
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/googleAdsLinks', options)
|
2018
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse::Representation
|
2019
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
|
2020
|
+
command.params['parent'] = parent unless parent.nil?
|
2021
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2022
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2023
|
+
command.query['fields'] = fields unless fields.nil?
|
2024
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2025
|
+
execute_or_queue_command(command, &block)
|
2026
|
+
end
|
2027
|
+
|
2028
|
+
# Updates a GoogleAdsLink on a property
|
2029
|
+
# @param [String] name
|
2030
|
+
# Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
|
2031
|
+
# Note: googleAdsLinkId is not the Google Ads customer ID.
|
2032
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
|
2033
|
+
# @param [String] update_mask
|
2034
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
2035
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
2036
|
+
# entire entity, use one path with the string "*" to match all fields.
|
2037
|
+
# @param [String] fields
|
2038
|
+
# Selector specifying which fields to include in a partial response.
|
2039
|
+
# @param [String] quota_user
|
2040
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2041
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2042
|
+
# @param [Google::Apis::RequestOptions] options
|
2043
|
+
# Request-specific options
|
2044
|
+
#
|
2045
|
+
# @yield [result, err] Result & error if block supplied
|
2046
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
|
2047
|
+
# @yieldparam err [StandardError] error object if request failed
|
2048
|
+
#
|
2049
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
2050
|
+
#
|
2051
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2052
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2053
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2054
|
+
def patch_property_google_ads_link(name, google_analytics_admin_v1alpha_google_ads_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2055
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2056
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
2057
|
+
command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
|
2058
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
2059
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
2060
|
+
command.params['name'] = name unless name.nil?
|
2061
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2062
|
+
command.query['fields'] = fields unless fields.nil?
|
2063
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2064
|
+
execute_or_queue_command(command, &block)
|
2065
|
+
end
|
2066
|
+
|
2067
|
+
# Deletes an iOS app stream on a property.
|
2068
|
+
# @param [String] name
|
2069
|
+
# Required. The name of the iOS app data stream to delete. Format: properties/`
|
2070
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2071
|
+
# iosAppDataStreams/456"
|
2072
|
+
# @param [String] fields
|
2073
|
+
# Selector specifying which fields to include in a partial response.
|
2074
|
+
# @param [String] quota_user
|
2075
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2076
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2077
|
+
# @param [Google::Apis::RequestOptions] options
|
2078
|
+
# Request-specific options
|
2079
|
+
#
|
2080
|
+
# @yield [result, err] Result & error if block supplied
|
2081
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2082
|
+
# @yieldparam err [StandardError] error object if request failed
|
2083
|
+
#
|
2084
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2085
|
+
#
|
2086
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2087
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2088
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2089
|
+
def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2090
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2091
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2092
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2093
|
+
command.params['name'] = name unless name.nil?
|
2094
|
+
command.query['fields'] = fields unless fields.nil?
|
2095
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2096
|
+
execute_or_queue_command(command, &block)
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
# Lookup for a single IosAppDataStream
|
2100
|
+
# @param [String] name
|
2101
|
+
# Required. The name of the iOS app data stream to lookup. Format: properties/`
|
2102
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2103
|
+
# iosAppDataStreams/456"
|
2104
|
+
# @param [String] fields
|
2105
|
+
# Selector specifying which fields to include in a partial response.
|
2106
|
+
# @param [String] quota_user
|
2107
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2108
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2109
|
+
# @param [Google::Apis::RequestOptions] options
|
2110
|
+
# Request-specific options
|
2111
|
+
#
|
2112
|
+
# @yield [result, err] Result & error if block supplied
|
2113
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
2114
|
+
# @yieldparam err [StandardError] error object if request failed
|
2115
|
+
#
|
2116
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
2117
|
+
#
|
2118
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2119
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2120
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2121
|
+
def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2122
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2123
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2124
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
2125
|
+
command.params['name'] = name unless name.nil?
|
1420
2126
|
command.query['fields'] = fields unless fields.nil?
|
1421
2127
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1422
2128
|
execute_or_queue_command(command, &block)
|
@@ -1473,9 +2179,9 @@ module Google
|
|
1473
2179
|
# iosAppDataStreams/2000"
|
1474
2180
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1475
2181
|
# @param [String] update_mask
|
1476
|
-
# Required. The list of fields to be updated.
|
1477
|
-
#
|
1478
|
-
# fields.
|
2182
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
2183
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
2184
|
+
# entire entity, use one path with the string "*" to match all fields.
|
1479
2185
|
# @param [String] fields
|
1480
2186
|
# Selector specifying which fields to include in a partial response.
|
1481
2187
|
# @param [String] quota_user
|
@@ -1506,6 +2212,189 @@ module Google
|
|
1506
2212
|
execute_or_queue_command(command, &block)
|
1507
2213
|
end
|
1508
2214
|
|
2215
|
+
# Creates a measurement protocol secret.
|
2216
|
+
# @param [String] parent
|
2217
|
+
# Required. The parent resource where this secret will be created. Any type of
|
2218
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2219
|
+
# Format: properties/`property`/webDataStreams/`webDataStream`
|
2220
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2221
|
+
# @param [String] fields
|
2222
|
+
# Selector specifying which fields to include in a partial response.
|
2223
|
+
# @param [String] quota_user
|
2224
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2225
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2226
|
+
# @param [Google::Apis::RequestOptions] options
|
2227
|
+
# Request-specific options
|
2228
|
+
#
|
2229
|
+
# @yield [result, err] Result & error if block supplied
|
2230
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2231
|
+
# @yieldparam err [StandardError] error object if request failed
|
2232
|
+
#
|
2233
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2234
|
+
#
|
2235
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2236
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2237
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2238
|
+
def create_property_ios_app_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2239
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2240
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2241
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2242
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2243
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2244
|
+
command.params['parent'] = parent unless parent.nil?
|
2245
|
+
command.query['fields'] = fields unless fields.nil?
|
2246
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2247
|
+
execute_or_queue_command(command, &block)
|
2248
|
+
end
|
2249
|
+
|
2250
|
+
# Deletes target MeasurementProtocolSecret.
|
2251
|
+
# @param [String] name
|
2252
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
2253
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2254
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2255
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2256
|
+
# @param [String] fields
|
2257
|
+
# Selector specifying which fields to include in a partial response.
|
2258
|
+
# @param [String] quota_user
|
2259
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2260
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2261
|
+
# @param [Google::Apis::RequestOptions] options
|
2262
|
+
# Request-specific options
|
2263
|
+
#
|
2264
|
+
# @yield [result, err] Result & error if block supplied
|
2265
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2266
|
+
# @yieldparam err [StandardError] error object if request failed
|
2267
|
+
#
|
2268
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2269
|
+
#
|
2270
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2271
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2272
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2273
|
+
def delete_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
2274
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2275
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2276
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2277
|
+
command.params['name'] = name unless name.nil?
|
2278
|
+
command.query['fields'] = fields unless fields.nil?
|
2279
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2280
|
+
execute_or_queue_command(command, &block)
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
2284
|
+
# @param [String] name
|
2285
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
2286
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2287
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2288
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2289
|
+
# @param [String] fields
|
2290
|
+
# Selector specifying which fields to include in a partial response.
|
2291
|
+
# @param [String] quota_user
|
2292
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2293
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2294
|
+
# @param [Google::Apis::RequestOptions] options
|
2295
|
+
# Request-specific options
|
2296
|
+
#
|
2297
|
+
# @yield [result, err] Result & error if block supplied
|
2298
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2299
|
+
# @yieldparam err [StandardError] error object if request failed
|
2300
|
+
#
|
2301
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2302
|
+
#
|
2303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2306
|
+
def get_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
2307
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2308
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2309
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2310
|
+
command.params['name'] = name unless name.nil?
|
2311
|
+
command.query['fields'] = fields unless fields.nil?
|
2312
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2313
|
+
execute_or_queue_command(command, &block)
|
2314
|
+
end
|
2315
|
+
|
2316
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
2317
|
+
# @param [String] parent
|
2318
|
+
# Required. The resource name of the parent stream. Any type of stream (
|
2319
|
+
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
2320
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2321
|
+
# measurementProtocolSecrets
|
2322
|
+
# @param [Fixnum] page_size
|
2323
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
2324
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
2325
|
+
# coerced to the maximum.
|
2326
|
+
# @param [String] page_token
|
2327
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
2328
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
2329
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
2330
|
+
# that provided the page token.
|
2331
|
+
# @param [String] fields
|
2332
|
+
# Selector specifying which fields to include in a partial response.
|
2333
|
+
# @param [String] quota_user
|
2334
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2335
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2336
|
+
# @param [Google::Apis::RequestOptions] options
|
2337
|
+
# Request-specific options
|
2338
|
+
#
|
2339
|
+
# @yield [result, err] Result & error if block supplied
|
2340
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
2341
|
+
# @yieldparam err [StandardError] error object if request failed
|
2342
|
+
#
|
2343
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
2344
|
+
#
|
2345
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2346
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2347
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2348
|
+
def list_property_ios_app_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2349
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2350
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
2351
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
2352
|
+
command.params['parent'] = parent unless parent.nil?
|
2353
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2354
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2355
|
+
command.query['fields'] = fields unless fields.nil?
|
2356
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2357
|
+
execute_or_queue_command(command, &block)
|
2358
|
+
end
|
2359
|
+
|
2360
|
+
# Updates a measurement protocol secret.
|
2361
|
+
# @param [String] name
|
2362
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
2363
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
2364
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
2365
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2366
|
+
# @param [String] update_mask
|
2367
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
2368
|
+
# @param [String] fields
|
2369
|
+
# Selector specifying which fields to include in a partial response.
|
2370
|
+
# @param [String] quota_user
|
2371
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2372
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2373
|
+
# @param [Google::Apis::RequestOptions] options
|
2374
|
+
# Request-specific options
|
2375
|
+
#
|
2376
|
+
# @yield [result, err] Result & error if block supplied
|
2377
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2378
|
+
# @yieldparam err [StandardError] error object if request failed
|
2379
|
+
#
|
2380
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2381
|
+
#
|
2382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2385
|
+
def patch_property_ios_app_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2386
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2387
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2388
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2389
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2390
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2391
|
+
command.params['name'] = name unless name.nil?
|
2392
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2393
|
+
command.query['fields'] = fields unless fields.nil?
|
2394
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2395
|
+
execute_or_queue_command(command, &block)
|
2396
|
+
end
|
2397
|
+
|
1509
2398
|
# Lists all user links on an account or property, including implicit ones that
|
1510
2399
|
# come from effective permissions granted by groups or organization admin roles.
|
1511
2400
|
# If a returned user link does not have direct permissions, they cannot be
|
@@ -1830,7 +2719,7 @@ module Google
|
|
1830
2719
|
|
1831
2720
|
# Updates a user link on an account or property.
|
1832
2721
|
# @param [String] name
|
1833
|
-
# Example format: properties/1234/userLinks/5678
|
2722
|
+
# Output only. Example format: properties/1234/userLinks/5678
|
1834
2723
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
1835
2724
|
# @param [String] fields
|
1836
2725
|
# Selector specifying which fields to include in a partial response.
|
@@ -2078,9 +2967,9 @@ module Google
|
|
2078
2967
|
# webDataStreams/2000"
|
2079
2968
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] google_analytics_admin_v1alpha_web_data_stream_object
|
2080
2969
|
# @param [String] update_mask
|
2081
|
-
# Required. The list of fields to be updated.
|
2082
|
-
#
|
2083
|
-
# fields.
|
2970
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
2971
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
2972
|
+
# entire entity, use one path with the string "*" to match all fields.
|
2084
2973
|
# @param [String] fields
|
2085
2974
|
# Selector specifying which fields to include in a partial response.
|
2086
2975
|
# @param [String] quota_user
|
@@ -2120,9 +3009,9 @@ module Google
|
|
2120
3009
|
# properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
|
2121
3010
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] google_analytics_admin_v1alpha_enhanced_measurement_settings_object
|
2122
3011
|
# @param [String] update_mask
|
2123
|
-
# Required. The list of fields to be updated.
|
2124
|
-
#
|
2125
|
-
# fields.
|
3012
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
3013
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
3014
|
+
# entire entity, use one path with the string "*" to match all fields.
|
2126
3015
|
# @param [String] fields
|
2127
3016
|
# Selector specifying which fields to include in a partial response.
|
2128
3017
|
# @param [String] quota_user
|
@@ -2152,6 +3041,189 @@ module Google
|
|
2152
3041
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2153
3042
|
execute_or_queue_command(command, &block)
|
2154
3043
|
end
|
3044
|
+
|
3045
|
+
# Creates a measurement protocol secret.
|
3046
|
+
# @param [String] parent
|
3047
|
+
# Required. The parent resource where this secret will be created. Any type of
|
3048
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3049
|
+
# Format: properties/`property`/webDataStreams/`webDataStream`
|
3050
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3051
|
+
# @param [String] fields
|
3052
|
+
# Selector specifying which fields to include in a partial response.
|
3053
|
+
# @param [String] quota_user
|
3054
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3055
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3056
|
+
# @param [Google::Apis::RequestOptions] options
|
3057
|
+
# Request-specific options
|
3058
|
+
#
|
3059
|
+
# @yield [result, err] Result & error if block supplied
|
3060
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3061
|
+
# @yieldparam err [StandardError] error object if request failed
|
3062
|
+
#
|
3063
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3064
|
+
#
|
3065
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3066
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3067
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3068
|
+
def create_property_web_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3069
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3070
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3071
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3072
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3073
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3074
|
+
command.params['parent'] = parent unless parent.nil?
|
3075
|
+
command.query['fields'] = fields unless fields.nil?
|
3076
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3077
|
+
execute_or_queue_command(command, &block)
|
3078
|
+
end
|
3079
|
+
|
3080
|
+
# Deletes target MeasurementProtocolSecret.
|
3081
|
+
# @param [String] name
|
3082
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
3083
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3084
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3085
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3086
|
+
# @param [String] fields
|
3087
|
+
# Selector specifying which fields to include in a partial response.
|
3088
|
+
# @param [String] quota_user
|
3089
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3090
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3091
|
+
# @param [Google::Apis::RequestOptions] options
|
3092
|
+
# Request-specific options
|
3093
|
+
#
|
3094
|
+
# @yield [result, err] Result & error if block supplied
|
3095
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3096
|
+
# @yieldparam err [StandardError] error object if request failed
|
3097
|
+
#
|
3098
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3099
|
+
#
|
3100
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3101
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3102
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3103
|
+
def delete_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3104
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
3105
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
3106
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
3107
|
+
command.params['name'] = name unless name.nil?
|
3108
|
+
command.query['fields'] = fields unless fields.nil?
|
3109
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3110
|
+
execute_or_queue_command(command, &block)
|
3111
|
+
end
|
3112
|
+
|
3113
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
3114
|
+
# @param [String] name
|
3115
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
3116
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3117
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3118
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3119
|
+
# @param [String] fields
|
3120
|
+
# Selector specifying which fields to include in a partial response.
|
3121
|
+
# @param [String] quota_user
|
3122
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3123
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3124
|
+
# @param [Google::Apis::RequestOptions] options
|
3125
|
+
# Request-specific options
|
3126
|
+
#
|
3127
|
+
# @yield [result, err] Result & error if block supplied
|
3128
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3129
|
+
# @yieldparam err [StandardError] error object if request failed
|
3130
|
+
#
|
3131
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3132
|
+
#
|
3133
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3134
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3135
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3136
|
+
def get_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3137
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3138
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3139
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3140
|
+
command.params['name'] = name unless name.nil?
|
3141
|
+
command.query['fields'] = fields unless fields.nil?
|
3142
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3143
|
+
execute_or_queue_command(command, &block)
|
3144
|
+
end
|
3145
|
+
|
3146
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
3147
|
+
# @param [String] parent
|
3148
|
+
# Required. The resource name of the parent stream. Any type of stream (
|
3149
|
+
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
3150
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3151
|
+
# measurementProtocolSecrets
|
3152
|
+
# @param [Fixnum] page_size
|
3153
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
3154
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
3155
|
+
# coerced to the maximum.
|
3156
|
+
# @param [String] page_token
|
3157
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
3158
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
3159
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
3160
|
+
# that provided the page token.
|
3161
|
+
# @param [String] fields
|
3162
|
+
# Selector specifying which fields to include in a partial response.
|
3163
|
+
# @param [String] quota_user
|
3164
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3165
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3166
|
+
# @param [Google::Apis::RequestOptions] options
|
3167
|
+
# Request-specific options
|
3168
|
+
#
|
3169
|
+
# @yield [result, err] Result & error if block supplied
|
3170
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
3171
|
+
# @yieldparam err [StandardError] error object if request failed
|
3172
|
+
#
|
3173
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
3174
|
+
#
|
3175
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3176
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3177
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3178
|
+
def list_property_web_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3179
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3180
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
3181
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
3182
|
+
command.params['parent'] = parent unless parent.nil?
|
3183
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3184
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3185
|
+
command.query['fields'] = fields unless fields.nil?
|
3186
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3187
|
+
execute_or_queue_command(command, &block)
|
3188
|
+
end
|
3189
|
+
|
3190
|
+
# Updates a measurement protocol secret.
|
3191
|
+
# @param [String] name
|
3192
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
3193
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
3194
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
3195
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3196
|
+
# @param [String] update_mask
|
3197
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
3198
|
+
# @param [String] fields
|
3199
|
+
# Selector specifying which fields to include in a partial response.
|
3200
|
+
# @param [String] quota_user
|
3201
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3202
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3203
|
+
# @param [Google::Apis::RequestOptions] options
|
3204
|
+
# Request-specific options
|
3205
|
+
#
|
3206
|
+
# @yield [result, err] Result & error if block supplied
|
3207
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3208
|
+
# @yieldparam err [StandardError] error object if request failed
|
3209
|
+
#
|
3210
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3211
|
+
#
|
3212
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3213
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3214
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3215
|
+
def patch_property_web_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3216
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3217
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3218
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3219
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3220
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3221
|
+
command.params['name'] = name unless name.nil?
|
3222
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3223
|
+
command.query['fields'] = fields unless fields.nil?
|
3224
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3225
|
+
execute_or_queue_command(command, &block)
|
3226
|
+
end
|
2155
3227
|
|
2156
3228
|
protected
|
2157
3229
|
|