google-apis-analyticsadmin_v1alpha 0.5.0 → 0.10.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 +21 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +421 -24
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +180 -3
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +1174 -174
- metadata +14 -8
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210622"
|
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
|
|
@@ -112,12 +124,30 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
127
|
+
class GoogleAnalyticsAdminV1alphaConversionEvent
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
115
133
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
116
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
135
|
|
118
136
|
include Google::Apis::Core::JsonObjectSupport
|
119
137
|
end
|
120
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
|
+
|
121
151
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
122
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
153
|
|
@@ -154,6 +184,12 @@ module Google
|
|
154
184
|
include Google::Apis::Core::JsonObjectSupport
|
155
185
|
end
|
156
186
|
|
187
|
+
class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
157
193
|
class GoogleAnalyticsAdminV1alphaIosAppDataStream
|
158
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
195
|
|
@@ -178,6 +214,24 @@ module Google
|
|
178
214
|
include Google::Apis::Core::JsonObjectSupport
|
179
215
|
end
|
180
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
|
+
|
181
235
|
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
182
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
237
|
|
@@ -196,6 +250,12 @@ module Google
|
|
196
250
|
include Google::Apis::Core::JsonObjectSupport
|
197
251
|
end
|
198
252
|
|
253
|
+
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
199
259
|
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
200
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
261
|
|
@@ -214,6 +274,12 @@ module Google
|
|
214
274
|
include Google::Apis::Core::JsonObjectSupport
|
215
275
|
end
|
216
276
|
|
277
|
+
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
217
283
|
class GoogleAnalyticsAdminV1alphaProperty
|
218
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
285
|
|
@@ -309,6 +375,18 @@ module Google
|
|
309
375
|
end
|
310
376
|
end
|
311
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
|
+
|
312
390
|
class GoogleAnalyticsAdminV1alphaAuditUserLink
|
313
391
|
# @private
|
314
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -404,12 +482,22 @@ module Google
|
|
404
482
|
|
405
483
|
property :android_app_data_stream, as: 'androidAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
406
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
|
+
|
407
491
|
property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
408
492
|
|
409
493
|
property :google_ads_link, as: 'googleAdsLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
410
494
|
|
495
|
+
property :google_signals_settings, as: 'googleSignalsSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
496
|
+
|
411
497
|
property :ios_app_data_stream, as: 'iosAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
412
498
|
|
499
|
+
property :measurement_protocol_secret, as: 'measurementProtocolSecret', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
500
|
+
|
413
501
|
property :property, as: 'property', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
414
502
|
|
415
503
|
property :web_data_stream, as: 'webDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
@@ -430,6 +518,17 @@ module Google
|
|
430
518
|
end
|
431
519
|
end
|
432
520
|
|
521
|
+
class GoogleAnalyticsAdminV1alphaConversionEvent
|
522
|
+
# @private
|
523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
property :create_time, as: 'createTime'
|
525
|
+
property :custom, as: 'custom'
|
526
|
+
property :deletable, as: 'deletable'
|
527
|
+
property :event_name, as: 'eventName'
|
528
|
+
property :name, as: 'name'
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
433
532
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
434
533
|
# @private
|
435
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -440,6 +539,30 @@ module Google
|
|
440
539
|
end
|
441
540
|
end
|
442
541
|
|
542
|
+
class GoogleAnalyticsAdminV1alphaCustomDimension
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :description, as: 'description'
|
546
|
+
property :disallow_ads_personalization, as: 'disallowAdsPersonalization'
|
547
|
+
property :display_name, as: 'displayName'
|
548
|
+
property :name, as: 'name'
|
549
|
+
property :parameter_name, as: 'parameterName'
|
550
|
+
property :scope, as: 'scope'
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
554
|
+
class GoogleAnalyticsAdminV1alphaCustomMetric
|
555
|
+
# @private
|
556
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
557
|
+
property :description, as: 'description'
|
558
|
+
property :display_name, as: 'displayName'
|
559
|
+
property :measurement_unit, as: 'measurementUnit'
|
560
|
+
property :name, as: 'name'
|
561
|
+
property :parameter_name, as: 'parameterName'
|
562
|
+
property :scope, as: 'scope'
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
443
566
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
444
567
|
# @private
|
445
568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -481,7 +604,6 @@ module Google
|
|
481
604
|
# @private
|
482
605
|
class Representation < Google::Apis::Core::JsonRepresentation
|
483
606
|
property :create_time, as: 'createTime'
|
484
|
-
property :maximum_user_access, as: 'maximumUserAccess'
|
485
607
|
property :name, as: 'name'
|
486
608
|
property :project, as: 'project'
|
487
609
|
end
|
@@ -501,13 +623,22 @@ module Google
|
|
501
623
|
property :ads_personalization_enabled, as: 'adsPersonalizationEnabled'
|
502
624
|
property :can_manage_clients, as: 'canManageClients'
|
503
625
|
property :create_time, as: 'createTime'
|
626
|
+
property :creator_email_address, as: 'creatorEmailAddress'
|
504
627
|
property :customer_id, as: 'customerId'
|
505
|
-
property :email_address, as: 'emailAddress'
|
506
628
|
property :name, as: 'name'
|
507
629
|
property :update_time, as: 'updateTime'
|
508
630
|
end
|
509
631
|
end
|
510
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
|
+
|
511
642
|
class GoogleAnalyticsAdminV1alphaIosAppDataStream
|
512
643
|
# @private
|
513
644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -547,6 +678,33 @@ module Google
|
|
547
678
|
end
|
548
679
|
end
|
549
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
|
+
|
550
708
|
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
551
709
|
# @private
|
552
710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -574,6 +732,15 @@ module Google
|
|
574
732
|
end
|
575
733
|
end
|
576
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
|
+
|
577
744
|
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
578
745
|
# @private
|
579
746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -601,13 +768,23 @@ module Google
|
|
601
768
|
end
|
602
769
|
end
|
603
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
|
+
|
604
780
|
class GoogleAnalyticsAdminV1alphaProperty
|
605
781
|
# @private
|
606
782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
607
783
|
property :create_time, as: 'createTime'
|
608
784
|
property :currency_code, as: 'currencyCode'
|
609
|
-
property :
|
785
|
+
property :delete_time, as: 'deleteTime'
|
610
786
|
property :display_name, as: 'displayName'
|
787
|
+
property :expire_time, as: 'expireTime'
|
611
788
|
property :industry_category, as: 'industryCategory'
|
612
789
|
property :name, as: 'name'
|
613
790
|
property :parent, as: 'parent'
|
@@ -658,7 +658,7 @@ module Google
|
|
658
658
|
|
659
659
|
# Updates a user link on an account or property.
|
660
660
|
# @param [String] name
|
661
|
-
# Example format: properties/1234/userLinks/5678
|
661
|
+
# Output only. Example format: properties/1234/userLinks/5678
|
662
662
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
663
663
|
# @param [String] fields
|
664
664
|
# Selector specifying which fields to include in a partial response.
|
@@ -738,18 +738,18 @@ module Google
|
|
738
738
|
# Request-specific options
|
739
739
|
#
|
740
740
|
# @yield [result, err] Result & error if block supplied
|
741
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
741
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] parsed result object
|
742
742
|
# @yieldparam err [StandardError] error object if request failed
|
743
743
|
#
|
744
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
744
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
|
745
745
|
#
|
746
746
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
747
747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
748
748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
749
749
|
def delete_property(name, fields: nil, quota_user: nil, options: nil, &block)
|
750
750
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
751
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
752
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
751
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
752
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty
|
753
753
|
command.params['name'] = name unless name.nil?
|
754
754
|
command.query['fields'] = fields unless fields.nil?
|
755
755
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -787,6 +787,37 @@ module Google
|
|
787
787
|
execute_or_queue_command(command, &block)
|
788
788
|
end
|
789
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
|
+
|
790
821
|
# Returns child Properties under the specified parent Account. Only "GA4"
|
791
822
|
# properties will be returned. Properties will be excluded if the caller does
|
792
823
|
# not have access. Soft-deleted (ie: "trashed") properties are excluded by
|
@@ -881,16 +912,15 @@ module Google
|
|
881
912
|
execute_or_queue_command(command, &block)
|
882
913
|
end
|
883
914
|
|
884
|
-
#
|
885
|
-
#
|
886
|
-
#
|
887
|
-
#
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
893
|
-
# @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.
|
894
924
|
# @param [String] fields
|
895
925
|
# Selector specifying which fields to include in a partial response.
|
896
926
|
# @param [String] quota_user
|
@@ -900,21 +930,22 @@ module Google
|
|
900
930
|
# Request-specific options
|
901
931
|
#
|
902
932
|
# @yield [result, err] Result & error if block supplied
|
903
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
933
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] parsed result object
|
904
934
|
# @yieldparam err [StandardError] error object if request failed
|
905
935
|
#
|
906
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
936
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
|
907
937
|
#
|
908
938
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
909
939
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
910
940
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
911
|
-
def
|
912
|
-
command = make_simple_command(:
|
913
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
914
|
-
command.request_object =
|
915
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
916
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
917
|
-
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?
|
918
949
|
command.query['fields'] = fields unless fields.nil?
|
919
950
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
920
951
|
execute_or_queue_command(command, &block)
|
@@ -1067,10 +1098,12 @@ module Google
|
|
1067
1098
|
execute_or_queue_command(command, &block)
|
1068
1099
|
end
|
1069
1100
|
|
1070
|
-
# Creates a
|
1101
|
+
# Creates a measurement protocol secret.
|
1071
1102
|
# @param [String] parent
|
1072
|
-
# Required.
|
1073
|
-
#
|
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
|
1074
1107
|
# @param [String] fields
|
1075
1108
|
# Selector specifying which fields to include in a partial response.
|
1076
1109
|
# @param [String] quota_user
|
@@ -1080,30 +1113,32 @@ module Google
|
|
1080
1113
|
# Request-specific options
|
1081
1114
|
#
|
1082
1115
|
# @yield [result, err] Result & error if block supplied
|
1083
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1116
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1084
1117
|
# @yieldparam err [StandardError] error object if request failed
|
1085
1118
|
#
|
1086
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1119
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1087
1120
|
#
|
1088
1121
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1089
1122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1090
1123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1091
|
-
def
|
1092
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
1093
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1094
|
-
command.request_object =
|
1095
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1096
|
-
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
|
1097
1130
|
command.params['parent'] = parent unless parent.nil?
|
1098
1131
|
command.query['fields'] = fields unless fields.nil?
|
1099
1132
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1100
1133
|
execute_or_queue_command(command, &block)
|
1101
1134
|
end
|
1102
1135
|
|
1103
|
-
# Deletes
|
1136
|
+
# Deletes target MeasurementProtocolSecret.
|
1104
1137
|
# @param [String] name
|
1105
|
-
# Required. Format:
|
1106
|
-
#
|
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.
|
1107
1142
|
# @param [String] fields
|
1108
1143
|
# Selector specifying which fields to include in a partial response.
|
1109
1144
|
# @param [String] quota_user
|
@@ -1121,7 +1156,7 @@ module Google
|
|
1121
1156
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1122
1157
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1123
1158
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1124
|
-
def
|
1159
|
+
def delete_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1125
1160
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1126
1161
|
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1127
1162
|
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
@@ -1131,19 +1166,54 @@ module Google
|
|
1131
1166
|
execute_or_queue_command(command, &block)
|
1132
1167
|
end
|
1133
1168
|
|
1134
|
-
#
|
1135
|
-
#
|
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.
|
1136
1203
|
# @param [String] parent
|
1137
|
-
# 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
|
1138
1208
|
# @param [Fixnum] page_size
|
1139
|
-
# The maximum number of resources to return.
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
# 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.
|
1143
1212
|
# @param [String] page_token
|
1144
|
-
# A page token, received from a previous `
|
1145
|
-
# to retrieve the subsequent page. When paginating, all other
|
1146
|
-
# 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.
|
1147
1217
|
# @param [String] fields
|
1148
1218
|
# Selector specifying which fields to include in a partial response.
|
1149
1219
|
# @param [String] quota_user
|
@@ -1153,18 +1223,18 @@ module Google
|
|
1153
1223
|
# Request-specific options
|
1154
1224
|
#
|
1155
1225
|
# @yield [result, err] Result & error if block supplied
|
1156
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1226
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
1157
1227
|
# @yieldparam err [StandardError] error object if request failed
|
1158
1228
|
#
|
1159
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1229
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
1160
1230
|
#
|
1161
1231
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1162
1232
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1163
1233
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1164
|
-
def
|
1165
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1166
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1167
|
-
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
|
1168
1238
|
command.params['parent'] = parent unless parent.nil?
|
1169
1239
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1170
1240
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1173,14 +1243,14 @@ module Google
|
|
1173
1243
|
execute_or_queue_command(command, &block)
|
1174
1244
|
end
|
1175
1245
|
|
1176
|
-
# Updates a
|
1246
|
+
# Updates a measurement protocol secret.
|
1177
1247
|
# @param [String] name
|
1178
|
-
# Output only.
|
1179
|
-
#
|
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
|
1180
1252
|
# @param [String] update_mask
|
1181
|
-
#
|
1182
|
-
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
1183
|
-
# entire entity, use one path with the string "*" to match all fields.
|
1253
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1184
1254
|
# @param [String] fields
|
1185
1255
|
# Selector specifying which fields to include in a partial response.
|
1186
1256
|
# @param [String] quota_user
|
@@ -1190,20 +1260,20 @@ module Google
|
|
1190
1260
|
# Request-specific options
|
1191
1261
|
#
|
1192
1262
|
# @yield [result, err] Result & error if block supplied
|
1193
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1263
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1194
1264
|
# @yieldparam err [StandardError] error object if request failed
|
1195
1265
|
#
|
1196
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1266
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1197
1267
|
#
|
1198
1268
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1199
1269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1200
1270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1201
|
-
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)
|
1202
1272
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
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::
|
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
|
1207
1277
|
command.params['name'] = name unless name.nil?
|
1208
1278
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1209
1279
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1211,10 +1281,184 @@ module Google
|
|
1211
1281
|
execute_or_queue_command(command, &block)
|
1212
1282
|
end
|
1213
1283
|
|
1214
|
-
# Creates a
|
1284
|
+
# Creates a conversion event with the specified attributes.
|
1285
|
+
# @param [String] parent
|
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
|
1289
|
+
# @param [String] fields
|
1290
|
+
# Selector specifying which fields to include in a partial response.
|
1291
|
+
# @param [String] quota_user
|
1292
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1293
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1294
|
+
# @param [Google::Apis::RequestOptions] options
|
1295
|
+
# Request-specific options
|
1296
|
+
#
|
1297
|
+
# @yield [result, err] Result & error if block supplied
|
1298
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
|
1299
|
+
# @yieldparam err [StandardError] error object if request failed
|
1300
|
+
#
|
1301
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
|
1302
|
+
#
|
1303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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
|
1312
|
+
command.params['parent'] = parent unless parent.nil?
|
1313
|
+
command.query['fields'] = fields unless fields.nil?
|
1314
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1315
|
+
execute_or_queue_command(command, &block)
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# Deletes a conversion event in a property.
|
1319
|
+
# @param [String] name
|
1320
|
+
# Required. The resource name of the conversion event to delete. Format:
|
1321
|
+
# properties/`property`/conversionEvents/`conversion_event` Example: "properties/
|
1322
|
+
# 123/conversionEvents/456"
|
1323
|
+
# @param [String] fields
|
1324
|
+
# Selector specifying which fields to include in a partial response.
|
1325
|
+
# @param [String] quota_user
|
1326
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1327
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1328
|
+
# @param [Google::Apis::RequestOptions] options
|
1329
|
+
# Request-specific options
|
1330
|
+
#
|
1331
|
+
# @yield [result, err] Result & error if block supplied
|
1332
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1333
|
+
# @yieldparam err [StandardError] error object if request failed
|
1334
|
+
#
|
1335
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1336
|
+
#
|
1337
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1338
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1339
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1340
|
+
def delete_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1341
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1342
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1343
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1344
|
+
command.params['name'] = name unless name.nil?
|
1345
|
+
command.query['fields'] = fields unless fields.nil?
|
1346
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1347
|
+
execute_or_queue_command(command, &block)
|
1348
|
+
end
|
1349
|
+
|
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.
|
1384
|
+
# @param [String] parent
|
1385
|
+
# Required. The resource name of the parent property. Example: 'properties/123'
|
1386
|
+
# @param [Fixnum] page_size
|
1387
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1388
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
1389
|
+
# coerced to the maximum)
|
1390
|
+
# @param [String] page_token
|
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
|
1394
|
+
# token.
|
1395
|
+
# @param [String] fields
|
1396
|
+
# Selector specifying which fields to include in a partial response.
|
1397
|
+
# @param [String] quota_user
|
1398
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1399
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1400
|
+
# @param [Google::Apis::RequestOptions] options
|
1401
|
+
# Request-specific options
|
1402
|
+
#
|
1403
|
+
# @yield [result, err] Result & error if block supplied
|
1404
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse] parsed result object
|
1405
|
+
# @yieldparam err [StandardError] error object if request failed
|
1406
|
+
#
|
1407
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse]
|
1408
|
+
#
|
1409
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1410
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1411
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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
|
1416
|
+
command.params['parent'] = parent unless parent.nil?
|
1417
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1418
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1419
|
+
command.query['fields'] = fields unless fields.nil?
|
1420
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1421
|
+
execute_or_queue_command(command, &block)
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
# Archives a CustomDimension on a property.
|
1425
|
+
# @param [String] name
|
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
|
1429
|
+
# @param [String] fields
|
1430
|
+
# Selector specifying which fields to include in a partial response.
|
1431
|
+
# @param [String] quota_user
|
1432
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1433
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1434
|
+
# @param [Google::Apis::RequestOptions] options
|
1435
|
+
# Request-specific options
|
1436
|
+
#
|
1437
|
+
# @yield [result, err] Result & error if block supplied
|
1438
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1439
|
+
# @yieldparam err [StandardError] error object if request failed
|
1440
|
+
#
|
1441
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1442
|
+
#
|
1443
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1444
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1445
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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
|
1452
|
+
command.params['name'] = name unless name.nil?
|
1453
|
+
command.query['fields'] = fields unless fields.nil?
|
1454
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1455
|
+
execute_or_queue_command(command, &block)
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
# Creates a CustomDimension.
|
1215
1459
|
# @param [String] parent
|
1216
1460
|
# Required. Example format: properties/1234
|
1217
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::
|
1461
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
|
1218
1462
|
# @param [String] fields
|
1219
1463
|
# Selector specifying which fields to include in a partial response.
|
1220
1464
|
# @param [String] quota_user
|
@@ -1224,29 +1468,601 @@ module Google
|
|
1224
1468
|
# Request-specific options
|
1225
1469
|
#
|
1226
1470
|
# @yield [result, err] Result & error if block supplied
|
1227
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1471
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1228
1472
|
# @yieldparam err [StandardError] error object if request failed
|
1229
1473
|
#
|
1230
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1474
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1231
1475
|
#
|
1232
1476
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1233
1477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1234
1478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1235
|
-
def
|
1236
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
1237
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1238
|
-
command.request_object =
|
1239
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1240
|
-
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
|
1241
1485
|
command.params['parent'] = parent unless parent.nil?
|
1242
1486
|
command.query['fields'] = fields unless fields.nil?
|
1243
1487
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1244
1488
|
execute_or_queue_command(command, &block)
|
1245
1489
|
end
|
1246
1490
|
|
1247
|
-
#
|
1491
|
+
# Lookup for a single CustomDimension.
|
1492
|
+
# @param [String] name
|
1493
|
+
# Required. The name of the CustomDimension to get. Example format: properties/
|
1494
|
+
# 1234/customDimensions/5678
|
1495
|
+
# @param [String] fields
|
1496
|
+
# Selector specifying which fields to include in a partial response.
|
1497
|
+
# @param [String] quota_user
|
1498
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1499
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1500
|
+
# @param [Google::Apis::RequestOptions] options
|
1501
|
+
# Request-specific options
|
1502
|
+
#
|
1503
|
+
# @yield [result, err] Result & error if block supplied
|
1504
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1505
|
+
# @yieldparam err [StandardError] error object if request failed
|
1506
|
+
#
|
1507
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1508
|
+
#
|
1509
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1510
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1511
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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
|
1516
|
+
command.params['name'] = name unless name.nil?
|
1517
|
+
command.query['fields'] = fields unless fields.nil?
|
1518
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1519
|
+
execute_or_queue_command(command, &block)
|
1520
|
+
end
|
1521
|
+
|
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.
|
1534
|
+
# @param [String] fields
|
1535
|
+
# Selector specifying which fields to include in a partial response.
|
1536
|
+
# @param [String] quota_user
|
1537
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1538
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1539
|
+
# @param [Google::Apis::RequestOptions] options
|
1540
|
+
# Request-specific options
|
1541
|
+
#
|
1542
|
+
# @yield [result, err] Result & error if block supplied
|
1543
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse] parsed result object
|
1544
|
+
# @yieldparam err [StandardError] error object if request failed
|
1545
|
+
#
|
1546
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse]
|
1547
|
+
#
|
1548
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1549
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1550
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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
|
+
# Creates a GoogleAdsLink.
|
1887
|
+
# @param [String] parent
|
1888
|
+
# Required. Example format: properties/1234
|
1889
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
|
1890
|
+
# @param [String] fields
|
1891
|
+
# Selector specifying which fields to include in a partial response.
|
1892
|
+
# @param [String] quota_user
|
1893
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1894
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1895
|
+
# @param [Google::Apis::RequestOptions] options
|
1896
|
+
# Request-specific options
|
1897
|
+
#
|
1898
|
+
# @yield [result, err] Result & error if block supplied
|
1899
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
|
1900
|
+
# @yieldparam err [StandardError] error object if request failed
|
1901
|
+
#
|
1902
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
1903
|
+
#
|
1904
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1905
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1906
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1907
|
+
def create_property_google_ads_link(parent, google_analytics_admin_v1alpha_google_ads_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1908
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/googleAdsLinks', options)
|
1909
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
1910
|
+
command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
|
1911
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
1912
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
1913
|
+
command.params['parent'] = parent unless parent.nil?
|
1914
|
+
command.query['fields'] = fields unless fields.nil?
|
1915
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1916
|
+
execute_or_queue_command(command, &block)
|
1917
|
+
end
|
1918
|
+
|
1919
|
+
# Deletes a GoogleAdsLink on a property
|
1920
|
+
# @param [String] name
|
1921
|
+
# Required. Example format: properties/1234/googleAdsLinks/5678
|
1922
|
+
# @param [String] fields
|
1923
|
+
# Selector specifying which fields to include in a partial response.
|
1924
|
+
# @param [String] quota_user
|
1925
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1926
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1927
|
+
# @param [Google::Apis::RequestOptions] options
|
1928
|
+
# Request-specific options
|
1929
|
+
#
|
1930
|
+
# @yield [result, err] Result & error if block supplied
|
1931
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1932
|
+
# @yieldparam err [StandardError] error object if request failed
|
1933
|
+
#
|
1934
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1935
|
+
#
|
1936
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1937
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1938
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1939
|
+
def delete_property_google_ads_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
1940
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1941
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1942
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1943
|
+
command.params['name'] = name unless name.nil?
|
1944
|
+
command.query['fields'] = fields unless fields.nil?
|
1945
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1946
|
+
execute_or_queue_command(command, &block)
|
1947
|
+
end
|
1948
|
+
|
1949
|
+
# Lists GoogleAdsLinks on a property.
|
1950
|
+
# @param [String] parent
|
1951
|
+
# Required. Example format: properties/1234
|
1952
|
+
# @param [Fixnum] page_size
|
1953
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1954
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1955
|
+
# coerced to the maximum).
|
1956
|
+
# @param [String] page_token
|
1957
|
+
# A page token, received from a previous `ListGoogleAdsLinks` call. Provide this
|
1958
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
1959
|
+
# provided to `ListGoogleAdsLinks` must match the call that provided the page
|
1960
|
+
# token.
|
1961
|
+
# @param [String] fields
|
1962
|
+
# Selector specifying which fields to include in a partial response.
|
1963
|
+
# @param [String] quota_user
|
1964
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1965
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1966
|
+
# @param [Google::Apis::RequestOptions] options
|
1967
|
+
# Request-specific options
|
1968
|
+
#
|
1969
|
+
# @yield [result, err] Result & error if block supplied
|
1970
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse] parsed result object
|
1971
|
+
# @yieldparam err [StandardError] error object if request failed
|
1972
|
+
#
|
1973
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse]
|
1974
|
+
#
|
1975
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1976
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1977
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1978
|
+
def list_property_google_ads_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1979
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/googleAdsLinks', options)
|
1980
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse::Representation
|
1981
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
|
1982
|
+
command.params['parent'] = parent unless parent.nil?
|
1983
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1984
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1985
|
+
command.query['fields'] = fields unless fields.nil?
|
1986
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1987
|
+
execute_or_queue_command(command, &block)
|
1988
|
+
end
|
1989
|
+
|
1990
|
+
# Updates a GoogleAdsLink on a property
|
1991
|
+
# @param [String] name
|
1992
|
+
# Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
|
1993
|
+
# Note: googleAdsLinkId is not the Google Ads customer ID.
|
1994
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
|
1995
|
+
# @param [String] update_mask
|
1996
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
1997
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
1998
|
+
# entire entity, use one path with the string "*" to match all fields.
|
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::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
|
2009
|
+
# @yieldparam err [StandardError] error object if request failed
|
2010
|
+
#
|
2011
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
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 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)
|
2017
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2018
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
2019
|
+
command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
|
2020
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
2021
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
2022
|
+
command.params['name'] = name unless name.nil?
|
2023
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2024
|
+
command.query['fields'] = fields unless fields.nil?
|
2025
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2026
|
+
execute_or_queue_command(command, &block)
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
# Deletes an iOS app stream on a property.
|
2030
|
+
# @param [String] name
|
2031
|
+
# Required. The name of the iOS app data stream to delete. Format: properties/`
|
2032
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2033
|
+
# iosAppDataStreams/456"
|
2034
|
+
# @param [String] fields
|
2035
|
+
# Selector specifying which fields to include in a partial response.
|
2036
|
+
# @param [String] quota_user
|
2037
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2038
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2039
|
+
# @param [Google::Apis::RequestOptions] options
|
2040
|
+
# Request-specific options
|
2041
|
+
#
|
2042
|
+
# @yield [result, err] Result & error if block supplied
|
2043
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2044
|
+
# @yieldparam err [StandardError] error object if request failed
|
2045
|
+
#
|
2046
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2047
|
+
#
|
2048
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2049
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2050
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2051
|
+
def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2052
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2053
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2054
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2055
|
+
command.params['name'] = name unless name.nil?
|
2056
|
+
command.query['fields'] = fields unless fields.nil?
|
2057
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2058
|
+
execute_or_queue_command(command, &block)
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
# Lookup for a single IosAppDataStream
|
1248
2062
|
# @param [String] name
|
1249
|
-
# Required.
|
2063
|
+
# Required. The name of the iOS app data stream to lookup. Format: properties/`
|
2064
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2065
|
+
# iosAppDataStreams/456"
|
1250
2066
|
# @param [String] fields
|
1251
2067
|
# Selector specifying which fields to include in a partial response.
|
1252
2068
|
# @param [String] quota_user
|
@@ -1256,35 +2072,38 @@ module Google
|
|
1256
2072
|
# Request-specific options
|
1257
2073
|
#
|
1258
2074
|
# @yield [result, err] Result & error if block supplied
|
1259
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2075
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
1260
2076
|
# @yieldparam err [StandardError] error object if request failed
|
1261
2077
|
#
|
1262
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2078
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
1263
2079
|
#
|
1264
2080
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1265
2081
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1266
2082
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1267
|
-
def
|
1268
|
-
command = make_simple_command(:
|
1269
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1270
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2083
|
+
def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2084
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2085
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2086
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
1271
2087
|
command.params['name'] = name unless name.nil?
|
1272
2088
|
command.query['fields'] = fields unless fields.nil?
|
1273
2089
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1274
2090
|
execute_or_queue_command(command, &block)
|
1275
2091
|
end
|
1276
2092
|
|
1277
|
-
#
|
2093
|
+
# Returns child iOS app data streams under the specified parent property. iOS
|
2094
|
+
# app data streams will be excluded if the caller does not have access. Returns
|
2095
|
+
# an empty list if no relevant iOS app data streams are found.
|
1278
2096
|
# @param [String] parent
|
1279
|
-
# Required.
|
2097
|
+
# Required. The name of the parent property. For example, to list results of app
|
2098
|
+
# streams under the property with Id 123: "properties/123"
|
1280
2099
|
# @param [Fixnum] page_size
|
1281
2100
|
# The maximum number of resources to return. If unspecified, at most 50
|
1282
|
-
# resources will be returned. The maximum value is 200 (higher values will be
|
1283
|
-
# coerced to the maximum)
|
2101
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
2102
|
+
# coerced to the maximum)
|
1284
2103
|
# @param [String] page_token
|
1285
|
-
# A page token, received from a previous `
|
1286
|
-
# to retrieve the subsequent page. When paginating, all other parameters
|
1287
|
-
# provided to `
|
2104
|
+
# A page token, received from a previous `ListIosAppDataStreams` call. Provide
|
2105
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
2106
|
+
# provided to `ListIosAppDataStreams` must match the call that provided the page
|
1288
2107
|
# token.
|
1289
2108
|
# @param [String] fields
|
1290
2109
|
# Selector specifying which fields to include in a partial response.
|
@@ -1295,18 +2114,18 @@ module Google
|
|
1295
2114
|
# Request-specific options
|
1296
2115
|
#
|
1297
2116
|
# @yield [result, err] Result & error if block supplied
|
1298
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2117
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse] parsed result object
|
1299
2118
|
# @yieldparam err [StandardError] error object if request failed
|
1300
2119
|
#
|
1301
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2120
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse]
|
1302
2121
|
#
|
1303
2122
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1304
2123
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1305
2124
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1306
|
-
def
|
1307
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1308
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1309
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2125
|
+
def list_property_ios_app_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2126
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/iosAppDataStreams', options)
|
2127
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse::Representation
|
2128
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
|
1310
2129
|
command.params['parent'] = parent unless parent.nil?
|
1311
2130
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1312
2131
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1315,11 +2134,12 @@ module Google
|
|
1315
2134
|
execute_or_queue_command(command, &block)
|
1316
2135
|
end
|
1317
2136
|
|
1318
|
-
# Updates
|
2137
|
+
# Updates an iOS app stream on a property.
|
1319
2138
|
# @param [String] name
|
1320
|
-
# Output only. Format: properties/`
|
1321
|
-
#
|
1322
|
-
#
|
2139
|
+
# Output only. Resource name of this Data Stream. Format: properties/`
|
2140
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
|
2141
|
+
# iosAppDataStreams/2000"
|
2142
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1323
2143
|
# @param [String] update_mask
|
1324
2144
|
# Required. The list of fields to be updated. Field names must be in snake case (
|
1325
2145
|
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
@@ -1333,20 +2153,20 @@ module Google
|
|
1333
2153
|
# Request-specific options
|
1334
2154
|
#
|
1335
2155
|
# @yield [result, err] Result & error if block supplied
|
1336
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2156
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
1337
2157
|
# @yieldparam err [StandardError] error object if request failed
|
1338
2158
|
#
|
1339
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2159
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
1340
2160
|
#
|
1341
2161
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1342
2162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1343
2163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1344
|
-
def
|
2164
|
+
def patch_property_ios_app_data_stream(name, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1345
2165
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1346
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1347
|
-
command.request_object =
|
1348
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1349
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2166
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2167
|
+
command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
|
2168
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2169
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
1350
2170
|
command.params['name'] = name unless name.nil?
|
1351
2171
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1352
2172
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1354,15 +2174,12 @@ module Google
|
|
1354
2174
|
execute_or_queue_command(command, &block)
|
1355
2175
|
end
|
1356
2176
|
|
1357
|
-
# Creates
|
1358
|
-
# that an iOS app stream must be linked to a Firebase app to receive traffic. To
|
1359
|
-
# create a working app stream, make sure your property is linked to a Firebase
|
1360
|
-
# project. Then, use the Firebase API to create a Firebase app, which will also
|
1361
|
-
# create an appropriate data stream in Analytics (may take up to 24 hours).
|
2177
|
+
# Creates a measurement protocol secret.
|
1362
2178
|
# @param [String] parent
|
1363
|
-
# Required. The parent resource where this
|
1364
|
-
#
|
1365
|
-
#
|
2179
|
+
# Required. The parent resource where this secret will be created. Any type of
|
2180
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2181
|
+
# Format: properties/`property`/webDataStreams/`webDataStream`
|
2182
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1366
2183
|
# @param [String] fields
|
1367
2184
|
# Selector specifying which fields to include in a partial response.
|
1368
2185
|
# @param [String] quota_user
|
@@ -1372,31 +2189,32 @@ module Google
|
|
1372
2189
|
# Request-specific options
|
1373
2190
|
#
|
1374
2191
|
# @yield [result, err] Result & error if block supplied
|
1375
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2192
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1376
2193
|
# @yieldparam err [StandardError] error object if request failed
|
1377
2194
|
#
|
1378
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2195
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1379
2196
|
#
|
1380
2197
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1381
2198
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1382
2199
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1383
|
-
def
|
1384
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
1385
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1386
|
-
command.request_object =
|
1387
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1388
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2200
|
+
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)
|
2201
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2202
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2203
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2204
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2205
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1389
2206
|
command.params['parent'] = parent unless parent.nil?
|
1390
2207
|
command.query['fields'] = fields unless fields.nil?
|
1391
2208
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1392
2209
|
execute_or_queue_command(command, &block)
|
1393
2210
|
end
|
1394
2211
|
|
1395
|
-
# Deletes
|
2212
|
+
# Deletes target MeasurementProtocolSecret.
|
1396
2213
|
# @param [String] name
|
1397
|
-
# Required. The name of the
|
1398
|
-
#
|
1399
|
-
#
|
2214
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
2215
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2216
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2217
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1400
2218
|
# @param [String] fields
|
1401
2219
|
# Selector specifying which fields to include in a partial response.
|
1402
2220
|
# @param [String] quota_user
|
@@ -1414,7 +2232,7 @@ module Google
|
|
1414
2232
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1415
2233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1416
2234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1417
|
-
def
|
2235
|
+
def delete_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1418
2236
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1419
2237
|
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1420
2238
|
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
@@ -1424,11 +2242,12 @@ module Google
|
|
1424
2242
|
execute_or_queue_command(command, &block)
|
1425
2243
|
end
|
1426
2244
|
|
1427
|
-
# Lookup for a single
|
2245
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
1428
2246
|
# @param [String] name
|
1429
|
-
# Required. The name of the
|
1430
|
-
#
|
1431
|
-
#
|
2247
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
2248
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2249
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2250
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1432
2251
|
# @param [String] fields
|
1433
2252
|
# Selector specifying which fields to include in a partial response.
|
1434
2253
|
# @param [String] quota_user
|
@@ -1438,39 +2257,39 @@ module Google
|
|
1438
2257
|
# Request-specific options
|
1439
2258
|
#
|
1440
2259
|
# @yield [result, err] Result & error if block supplied
|
1441
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2260
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1442
2261
|
# @yieldparam err [StandardError] error object if request failed
|
1443
2262
|
#
|
1444
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2263
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1445
2264
|
#
|
1446
2265
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1447
2266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1448
2267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1449
|
-
def
|
2268
|
+
def get_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1450
2269
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1451
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1452
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2270
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2271
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1453
2272
|
command.params['name'] = name unless name.nil?
|
1454
2273
|
command.query['fields'] = fields unless fields.nil?
|
1455
2274
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1456
2275
|
execute_or_queue_command(command, &block)
|
1457
2276
|
end
|
1458
2277
|
|
1459
|
-
# Returns child
|
1460
|
-
# app data streams will be excluded if the caller does not have access. Returns
|
1461
|
-
# an empty list if no relevant iOS app data streams are found.
|
2278
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
1462
2279
|
# @param [String] parent
|
1463
|
-
# Required. The name of the parent
|
1464
|
-
#
|
2280
|
+
# Required. The resource name of the parent stream. Any type of stream (
|
2281
|
+
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
2282
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2283
|
+
# measurementProtocolSecrets
|
1465
2284
|
# @param [Fixnum] page_size
|
1466
|
-
# The maximum number of resources to return. If unspecified, at most
|
1467
|
-
# resources will be returned. The maximum value is
|
1468
|
-
# coerced to the maximum
|
2285
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
2286
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
2287
|
+
# coerced to the maximum.
|
1469
2288
|
# @param [String] page_token
|
1470
|
-
# A page token, received from a previous `
|
1471
|
-
# this to retrieve the subsequent page. When paginating, all other
|
1472
|
-
# provided to `
|
1473
|
-
# token.
|
2289
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
2290
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
2291
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
2292
|
+
# that provided the page token.
|
1474
2293
|
# @param [String] fields
|
1475
2294
|
# Selector specifying which fields to include in a partial response.
|
1476
2295
|
# @param [String] quota_user
|
@@ -1480,18 +2299,18 @@ module Google
|
|
1480
2299
|
# Request-specific options
|
1481
2300
|
#
|
1482
2301
|
# @yield [result, err] Result & error if block supplied
|
1483
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2302
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
1484
2303
|
# @yieldparam err [StandardError] error object if request failed
|
1485
2304
|
#
|
1486
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2305
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
1487
2306
|
#
|
1488
2307
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1489
2308
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1490
2309
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1491
|
-
def
|
1492
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1493
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1494
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2310
|
+
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)
|
2311
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2312
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
2313
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
1495
2314
|
command.params['parent'] = parent unless parent.nil?
|
1496
2315
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1497
2316
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1500,16 +2319,14 @@ module Google
|
|
1500
2319
|
execute_or_queue_command(command, &block)
|
1501
2320
|
end
|
1502
2321
|
|
1503
|
-
# Updates
|
2322
|
+
# Updates a measurement protocol secret.
|
1504
2323
|
# @param [String] name
|
1505
|
-
# Output only. Resource name of this
|
1506
|
-
#
|
1507
|
-
#
|
1508
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::
|
2324
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
2325
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
2326
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
2327
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1509
2328
|
# @param [String] update_mask
|
1510
|
-
#
|
1511
|
-
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
1512
|
-
# entire entity, use one path with the string "*" to match all fields.
|
2329
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1513
2330
|
# @param [String] fields
|
1514
2331
|
# Selector specifying which fields to include in a partial response.
|
1515
2332
|
# @param [String] quota_user
|
@@ -1519,20 +2336,20 @@ module Google
|
|
1519
2336
|
# Request-specific options
|
1520
2337
|
#
|
1521
2338
|
# @yield [result, err] Result & error if block supplied
|
1522
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2339
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1523
2340
|
# @yieldparam err [StandardError] error object if request failed
|
1524
2341
|
#
|
1525
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2342
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1526
2343
|
#
|
1527
2344
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1528
2345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1529
2346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1530
|
-
def
|
2347
|
+
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)
|
1531
2348
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1532
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1533
|
-
command.request_object =
|
1534
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1535
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2349
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2350
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2351
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2352
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1536
2353
|
command.params['name'] = name unless name.nil?
|
1537
2354
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1538
2355
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1864,7 +2681,7 @@ module Google
|
|
1864
2681
|
|
1865
2682
|
# Updates a user link on an account or property.
|
1866
2683
|
# @param [String] name
|
1867
|
-
# Example format: properties/1234/userLinks/5678
|
2684
|
+
# Output only. Example format: properties/1234/userLinks/5678
|
1868
2685
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
1869
2686
|
# @param [String] fields
|
1870
2687
|
# Selector specifying which fields to include in a partial response.
|
@@ -2186,6 +3003,189 @@ module Google
|
|
2186
3003
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2187
3004
|
execute_or_queue_command(command, &block)
|
2188
3005
|
end
|
3006
|
+
|
3007
|
+
# Creates a measurement protocol secret.
|
3008
|
+
# @param [String] parent
|
3009
|
+
# Required. The parent resource where this secret will be created. Any type of
|
3010
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3011
|
+
# Format: properties/`property`/webDataStreams/`webDataStream`
|
3012
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3013
|
+
# @param [String] fields
|
3014
|
+
# Selector specifying which fields to include in a partial response.
|
3015
|
+
# @param [String] quota_user
|
3016
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3017
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3018
|
+
# @param [Google::Apis::RequestOptions] options
|
3019
|
+
# Request-specific options
|
3020
|
+
#
|
3021
|
+
# @yield [result, err] Result & error if block supplied
|
3022
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3023
|
+
# @yieldparam err [StandardError] error object if request failed
|
3024
|
+
#
|
3025
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3026
|
+
#
|
3027
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3028
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3029
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3030
|
+
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)
|
3031
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3032
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3033
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3034
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3035
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3036
|
+
command.params['parent'] = parent unless parent.nil?
|
3037
|
+
command.query['fields'] = fields unless fields.nil?
|
3038
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3039
|
+
execute_or_queue_command(command, &block)
|
3040
|
+
end
|
3041
|
+
|
3042
|
+
# Deletes target MeasurementProtocolSecret.
|
3043
|
+
# @param [String] name
|
3044
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
3045
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3046
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3047
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3048
|
+
# @param [String] fields
|
3049
|
+
# Selector specifying which fields to include in a partial response.
|
3050
|
+
# @param [String] quota_user
|
3051
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3052
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3053
|
+
# @param [Google::Apis::RequestOptions] options
|
3054
|
+
# Request-specific options
|
3055
|
+
#
|
3056
|
+
# @yield [result, err] Result & error if block supplied
|
3057
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3058
|
+
# @yieldparam err [StandardError] error object if request failed
|
3059
|
+
#
|
3060
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3061
|
+
#
|
3062
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3063
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3064
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3065
|
+
def delete_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3066
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
3067
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
3068
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
3069
|
+
command.params['name'] = name unless name.nil?
|
3070
|
+
command.query['fields'] = fields unless fields.nil?
|
3071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3072
|
+
execute_or_queue_command(command, &block)
|
3073
|
+
end
|
3074
|
+
|
3075
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
3076
|
+
# @param [String] name
|
3077
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
3078
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3079
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3080
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3081
|
+
# @param [String] fields
|
3082
|
+
# Selector specifying which fields to include in a partial response.
|
3083
|
+
# @param [String] quota_user
|
3084
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3085
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3086
|
+
# @param [Google::Apis::RequestOptions] options
|
3087
|
+
# Request-specific options
|
3088
|
+
#
|
3089
|
+
# @yield [result, err] Result & error if block supplied
|
3090
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3091
|
+
# @yieldparam err [StandardError] error object if request failed
|
3092
|
+
#
|
3093
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3094
|
+
#
|
3095
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3096
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3097
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3098
|
+
def get_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3099
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3100
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3101
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3102
|
+
command.params['name'] = name unless name.nil?
|
3103
|
+
command.query['fields'] = fields unless fields.nil?
|
3104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3105
|
+
execute_or_queue_command(command, &block)
|
3106
|
+
end
|
3107
|
+
|
3108
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
3109
|
+
# @param [String] parent
|
3110
|
+
# Required. The resource name of the parent stream. Any type of stream (
|
3111
|
+
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
3112
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3113
|
+
# measurementProtocolSecrets
|
3114
|
+
# @param [Fixnum] page_size
|
3115
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
3116
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
3117
|
+
# coerced to the maximum.
|
3118
|
+
# @param [String] page_token
|
3119
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
3120
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
3121
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
3122
|
+
# that provided the page token.
|
3123
|
+
# @param [String] fields
|
3124
|
+
# Selector specifying which fields to include in a partial response.
|
3125
|
+
# @param [String] quota_user
|
3126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3128
|
+
# @param [Google::Apis::RequestOptions] options
|
3129
|
+
# Request-specific options
|
3130
|
+
#
|
3131
|
+
# @yield [result, err] Result & error if block supplied
|
3132
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
3133
|
+
# @yieldparam err [StandardError] error object if request failed
|
3134
|
+
#
|
3135
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
3136
|
+
#
|
3137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3140
|
+
def list_property_web_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3141
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3142
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
3143
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
3144
|
+
command.params['parent'] = parent unless parent.nil?
|
3145
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3146
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3147
|
+
command.query['fields'] = fields unless fields.nil?
|
3148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3149
|
+
execute_or_queue_command(command, &block)
|
3150
|
+
end
|
3151
|
+
|
3152
|
+
# Updates a measurement protocol secret.
|
3153
|
+
# @param [String] name
|
3154
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
3155
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
3156
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
3157
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3158
|
+
# @param [String] update_mask
|
3159
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
3160
|
+
# @param [String] fields
|
3161
|
+
# Selector specifying which fields to include in a partial response.
|
3162
|
+
# @param [String] quota_user
|
3163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3165
|
+
# @param [Google::Apis::RequestOptions] options
|
3166
|
+
# Request-specific options
|
3167
|
+
#
|
3168
|
+
# @yield [result, err] Result & error if block supplied
|
3169
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3170
|
+
# @yieldparam err [StandardError] error object if request failed
|
3171
|
+
#
|
3172
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3173
|
+
#
|
3174
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3175
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3176
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3177
|
+
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)
|
3178
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3179
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3180
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3181
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3182
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3183
|
+
command.params['name'] = name unless name.nil?
|
3184
|
+
command.query['updateMask'] = update_mask unless update_mask.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
|
2189
3189
|
|
2190
3190
|
protected
|
2191
3191
|
|