google-apis-analyticsadmin_v1alpha 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +297 -10
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +129 -1
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +502 -83
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3941f02ee945ddaee8185daca1a3dd705f446b676d9f004cf17fcb1ad08e5e79
|
4
|
+
data.tar.gz: e44dd1a8a3338fd40df026f4423c8f850fce0195691f5a7e916c3e52301f63b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef1d0e7a2d637155ffd4bb20708499714c15c40587a0efba5c70c938fc062edeced84ab4ea89a9f30feafa47fa028bc482141ed048a38c174f27cf7a761b05ba
|
7
|
+
data.tar.gz: 5f2a1877b848cc64d7bd6b4c4daeb53a37d3dba25e74a71a7268bb1d8841128a8b856d74d2c119bd8d7cce24d4a715709ee0831191fc0c831b86434078bc99d0
|
data/CHANGELOG.md
CHANGED
@@ -168,6 +168,32 @@ module Google
|
|
168
168
|
end
|
169
169
|
end
|
170
170
|
|
171
|
+
# Request message for ArchiveCustomDimension RPC.
|
172
|
+
class GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest
|
173
|
+
include Google::Apis::Core::Hashable
|
174
|
+
|
175
|
+
def initialize(**args)
|
176
|
+
update!(**args)
|
177
|
+
end
|
178
|
+
|
179
|
+
# Update properties of this object
|
180
|
+
def update!(**args)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# Request message for ArchiveCustomMetric RPC.
|
185
|
+
class GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest
|
186
|
+
include Google::Apis::Core::Hashable
|
187
|
+
|
188
|
+
def initialize(**args)
|
189
|
+
update!(**args)
|
190
|
+
end
|
191
|
+
|
192
|
+
# Update properties of this object
|
193
|
+
def update!(**args)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
171
197
|
# Read-only resource used to summarize a principal's effective roles.
|
172
198
|
class GoogleAnalyticsAdminV1alphaAuditUserLink
|
173
199
|
include Google::Apis::Core::Hashable
|
@@ -445,6 +471,21 @@ module Google
|
|
445
471
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
|
446
472
|
attr_accessor :android_app_data_stream
|
447
473
|
|
474
|
+
# A conversion event in a Google Analytics property.
|
475
|
+
# Corresponds to the JSON property `conversionEvent`
|
476
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
|
477
|
+
attr_accessor :conversion_event
|
478
|
+
|
479
|
+
# A definition for a CustomDimension.
|
480
|
+
# Corresponds to the JSON property `customDimension`
|
481
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
482
|
+
attr_accessor :custom_dimension
|
483
|
+
|
484
|
+
# A definition for a custom metric.
|
485
|
+
# Corresponds to the JSON property `customMetric`
|
486
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
487
|
+
attr_accessor :custom_metric
|
488
|
+
|
448
489
|
# A link between an GA4 property and a Firebase project.
|
449
490
|
# Corresponds to the JSON property `firebaseLink`
|
450
491
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
|
@@ -478,6 +519,9 @@ module Google
|
|
478
519
|
def update!(**args)
|
479
520
|
@account = args[:account] if args.key?(:account)
|
480
521
|
@android_app_data_stream = args[:android_app_data_stream] if args.key?(:android_app_data_stream)
|
522
|
+
@conversion_event = args[:conversion_event] if args.key?(:conversion_event)
|
523
|
+
@custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
|
524
|
+
@custom_metric = args[:custom_metric] if args.key?(:custom_metric)
|
481
525
|
@firebase_link = args[:firebase_link] if args.key?(:firebase_link)
|
482
526
|
@google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
|
483
527
|
@ios_app_data_stream = args[:ios_app_data_stream] if args.key?(:ios_app_data_stream)
|
@@ -543,6 +587,47 @@ module Google
|
|
543
587
|
end
|
544
588
|
end
|
545
589
|
|
590
|
+
# A conversion event in a Google Analytics property.
|
591
|
+
class GoogleAnalyticsAdminV1alphaConversionEvent
|
592
|
+
include Google::Apis::Core::Hashable
|
593
|
+
|
594
|
+
# Output only. Time when this conversion event was created in the property.
|
595
|
+
# Corresponds to the JSON property `createTime`
|
596
|
+
# @return [String]
|
597
|
+
attr_accessor :create_time
|
598
|
+
|
599
|
+
# Immutable. The event name for this conversion event. Examples: 'click', '
|
600
|
+
# purchase'
|
601
|
+
# Corresponds to the JSON property `eventName`
|
602
|
+
# @return [String]
|
603
|
+
attr_accessor :event_name
|
604
|
+
|
605
|
+
# Output only. If set, this event can currently be deleted via
|
606
|
+
# DeleteConversionEvent.
|
607
|
+
# Corresponds to the JSON property `isDeletable`
|
608
|
+
# @return [Boolean]
|
609
|
+
attr_accessor :is_deletable
|
610
|
+
alias_method :is_deletable?, :is_deletable
|
611
|
+
|
612
|
+
# Output only. Resource name of this conversion event. Format: properties/`
|
613
|
+
# property`/conversionEvents/`conversion_event`
|
614
|
+
# Corresponds to the JSON property `name`
|
615
|
+
# @return [String]
|
616
|
+
attr_accessor :name
|
617
|
+
|
618
|
+
def initialize(**args)
|
619
|
+
update!(**args)
|
620
|
+
end
|
621
|
+
|
622
|
+
# Update properties of this object
|
623
|
+
def update!(**args)
|
624
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
625
|
+
@event_name = args[:event_name] if args.key?(:event_name)
|
626
|
+
@is_deletable = args[:is_deletable] if args.key?(:is_deletable)
|
627
|
+
@name = args[:name] if args.key?(:name)
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
546
631
|
# Request message for CreateUserLink RPC. Users can have multiple email
|
547
632
|
# addresses associated with their Google account, and one of these email
|
548
633
|
# addresses is the "primary" email address. Any of the email addresses
|
@@ -582,6 +667,123 @@ module Google
|
|
582
667
|
end
|
583
668
|
end
|
584
669
|
|
670
|
+
# A definition for a CustomDimension.
|
671
|
+
class GoogleAnalyticsAdminV1alphaCustomDimension
|
672
|
+
include Google::Apis::Core::Hashable
|
673
|
+
|
674
|
+
# Optional. Description for this custom dimension. Max length of 150 characters.
|
675
|
+
# Corresponds to the JSON property `description`
|
676
|
+
# @return [String]
|
677
|
+
attr_accessor :description
|
678
|
+
|
679
|
+
# Optional. If set to true, sets this dimension as NPA and excludes it from ads
|
680
|
+
# personalization. This is currently only supported by user-scoped custom
|
681
|
+
# dimensions.
|
682
|
+
# Corresponds to the JSON property `disallowAdsPersonalization`
|
683
|
+
# @return [Boolean]
|
684
|
+
attr_accessor :disallow_ads_personalization
|
685
|
+
alias_method :disallow_ads_personalization?, :disallow_ads_personalization
|
686
|
+
|
687
|
+
# Required. Display name for this custom dimension as shown in the Analytics UI.
|
688
|
+
# Max length of 82 characters, alphanumeric plus space and underscore starting
|
689
|
+
# with a letter. Legacy system-generated display names may contain square
|
690
|
+
# brackets, but updates to this field will never permit square brackets.
|
691
|
+
# Corresponds to the JSON property `displayName`
|
692
|
+
# @return [String]
|
693
|
+
attr_accessor :display_name
|
694
|
+
|
695
|
+
# Output only. Resource name for this CustomDimension resource. Format:
|
696
|
+
# properties/`property`/customDimensions/`customDimension`
|
697
|
+
# Corresponds to the JSON property `name`
|
698
|
+
# @return [String]
|
699
|
+
attr_accessor :name
|
700
|
+
|
701
|
+
# Required. Immutable. Tagging parameter name for this custom dimension. If this
|
702
|
+
# is a user-scoped dimension, then this is the user property name. If this is an
|
703
|
+
# event-scoped dimension, then this is the event parameter name. May only
|
704
|
+
# contain alphanumeric and underscore characters, starting with a letter. Max
|
705
|
+
# length of 24 characters for user-scoped dimensions, 40 characters for event-
|
706
|
+
# scoped dimensions.
|
707
|
+
# Corresponds to the JSON property `parameterName`
|
708
|
+
# @return [String]
|
709
|
+
attr_accessor :parameter_name
|
710
|
+
|
711
|
+
# Required. Immutable. The scope of this dimension.
|
712
|
+
# Corresponds to the JSON property `scope`
|
713
|
+
# @return [String]
|
714
|
+
attr_accessor :scope
|
715
|
+
|
716
|
+
def initialize(**args)
|
717
|
+
update!(**args)
|
718
|
+
end
|
719
|
+
|
720
|
+
# Update properties of this object
|
721
|
+
def update!(**args)
|
722
|
+
@description = args[:description] if args.key?(:description)
|
723
|
+
@disallow_ads_personalization = args[:disallow_ads_personalization] if args.key?(:disallow_ads_personalization)
|
724
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
725
|
+
@name = args[:name] if args.key?(:name)
|
726
|
+
@parameter_name = args[:parameter_name] if args.key?(:parameter_name)
|
727
|
+
@scope = args[:scope] if args.key?(:scope)
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
731
|
+
# A definition for a custom metric.
|
732
|
+
class GoogleAnalyticsAdminV1alphaCustomMetric
|
733
|
+
include Google::Apis::Core::Hashable
|
734
|
+
|
735
|
+
# Optional. Description for this custom dimension. Max length of 150 characters.
|
736
|
+
# Corresponds to the JSON property `description`
|
737
|
+
# @return [String]
|
738
|
+
attr_accessor :description
|
739
|
+
|
740
|
+
# Required. Display name for this custom metric as shown in the Analytics UI.
|
741
|
+
# Max length of 82 characters, alphanumeric plus space and underscore starting
|
742
|
+
# with a letter. Legacy system-generated display names may contain square
|
743
|
+
# brackets, but updates to this field will never permit square brackets.
|
744
|
+
# Corresponds to the JSON property `displayName`
|
745
|
+
# @return [String]
|
746
|
+
attr_accessor :display_name
|
747
|
+
|
748
|
+
# Required. Immutable. The type for the custom metric's value.
|
749
|
+
# Corresponds to the JSON property `measurementUnit`
|
750
|
+
# @return [String]
|
751
|
+
attr_accessor :measurement_unit
|
752
|
+
|
753
|
+
# Output only. Resource name for this CustomMetric resource. Format: properties/`
|
754
|
+
# property`/customMetrics/`customMetric`
|
755
|
+
# Corresponds to the JSON property `name`
|
756
|
+
# @return [String]
|
757
|
+
attr_accessor :name
|
758
|
+
|
759
|
+
# Required. Immutable. Tagging name for this custom metric. If this is an event-
|
760
|
+
# scoped metric, then this is the event parameter name. May only contain
|
761
|
+
# alphanumeric and underscore charactes, starting with a letter. Max length of
|
762
|
+
# 40 characters for event-scoped metrics.
|
763
|
+
# Corresponds to the JSON property `parameterName`
|
764
|
+
# @return [String]
|
765
|
+
attr_accessor :parameter_name
|
766
|
+
|
767
|
+
# Required. Immutable. The scope of this custom metric.
|
768
|
+
# Corresponds to the JSON property `scope`
|
769
|
+
# @return [String]
|
770
|
+
attr_accessor :scope
|
771
|
+
|
772
|
+
def initialize(**args)
|
773
|
+
update!(**args)
|
774
|
+
end
|
775
|
+
|
776
|
+
# Update properties of this object
|
777
|
+
def update!(**args)
|
778
|
+
@description = args[:description] if args.key?(:description)
|
779
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
780
|
+
@measurement_unit = args[:measurement_unit] if args.key?(:measurement_unit)
|
781
|
+
@name = args[:name] if args.key?(:name)
|
782
|
+
@parameter_name = args[:parameter_name] if args.key?(:parameter_name)
|
783
|
+
@scope = args[:scope] if args.key?(:scope)
|
784
|
+
end
|
785
|
+
end
|
786
|
+
|
585
787
|
# A resource message representing data sharing settings of a Google Analytics
|
586
788
|
# account.
|
587
789
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
@@ -844,7 +1046,7 @@ module Google
|
|
844
1046
|
# Enable personalized advertising features with this integration. Automatically
|
845
1047
|
# publish my Google Analytics audience lists and Google Analytics remarketing
|
846
1048
|
# events/parameters to the linked Google Ads account. If this field is not set
|
847
|
-
# on create/update it will be defaulted to true.
|
1049
|
+
# on create/update, it will be defaulted to true.
|
848
1050
|
# Corresponds to the JSON property `adsPersonalizationEnabled`
|
849
1051
|
# @return [Boolean]
|
850
1052
|
attr_accessor :ads_personalization_enabled
|
@@ -1031,6 +1233,84 @@ module Google
|
|
1031
1233
|
end
|
1032
1234
|
end
|
1033
1235
|
|
1236
|
+
# Response message for ListConversionEvents RPC.
|
1237
|
+
class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
1238
|
+
include Google::Apis::Core::Hashable
|
1239
|
+
|
1240
|
+
# The requested conversion events
|
1241
|
+
# Corresponds to the JSON property `conversionEvents`
|
1242
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent>]
|
1243
|
+
attr_accessor :conversion_events
|
1244
|
+
|
1245
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1246
|
+
# field is omitted, there are no subsequent pages.
|
1247
|
+
# Corresponds to the JSON property `nextPageToken`
|
1248
|
+
# @return [String]
|
1249
|
+
attr_accessor :next_page_token
|
1250
|
+
|
1251
|
+
def initialize(**args)
|
1252
|
+
update!(**args)
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
# Update properties of this object
|
1256
|
+
def update!(**args)
|
1257
|
+
@conversion_events = args[:conversion_events] if args.key?(:conversion_events)
|
1258
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1259
|
+
end
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
# Response message for ListCustomDimensions RPC.
|
1263
|
+
class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
1264
|
+
include Google::Apis::Core::Hashable
|
1265
|
+
|
1266
|
+
# List of CustomDimensions.
|
1267
|
+
# Corresponds to the JSON property `customDimensions`
|
1268
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension>]
|
1269
|
+
attr_accessor :custom_dimensions
|
1270
|
+
|
1271
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1272
|
+
# field is omitted, there are no subsequent pages.
|
1273
|
+
# Corresponds to the JSON property `nextPageToken`
|
1274
|
+
# @return [String]
|
1275
|
+
attr_accessor :next_page_token
|
1276
|
+
|
1277
|
+
def initialize(**args)
|
1278
|
+
update!(**args)
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# Update properties of this object
|
1282
|
+
def update!(**args)
|
1283
|
+
@custom_dimensions = args[:custom_dimensions] if args.key?(:custom_dimensions)
|
1284
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1285
|
+
end
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
# Response message for ListCustomMetrics RPC.
|
1289
|
+
class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
1290
|
+
include Google::Apis::Core::Hashable
|
1291
|
+
|
1292
|
+
# List of CustomMetrics.
|
1293
|
+
# Corresponds to the JSON property `customMetrics`
|
1294
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric>]
|
1295
|
+
attr_accessor :custom_metrics
|
1296
|
+
|
1297
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1298
|
+
# field is omitted, there are no subsequent pages.
|
1299
|
+
# Corresponds to the JSON property `nextPageToken`
|
1300
|
+
# @return [String]
|
1301
|
+
attr_accessor :next_page_token
|
1302
|
+
|
1303
|
+
def initialize(**args)
|
1304
|
+
update!(**args)
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
# Update properties of this object
|
1308
|
+
def update!(**args)
|
1309
|
+
@custom_metrics = args[:custom_metrics] if args.key?(:custom_metrics)
|
1310
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1311
|
+
end
|
1312
|
+
end
|
1313
|
+
|
1034
1314
|
# Response message for ListFirebaseLinks RPC
|
1035
1315
|
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
1036
1316
|
include Google::Apis::Core::Hashable
|
@@ -1203,12 +1483,11 @@ module Google
|
|
1203
1483
|
# @return [String]
|
1204
1484
|
attr_accessor :currency_code
|
1205
1485
|
|
1206
|
-
# Output only.
|
1207
|
-
#
|
1208
|
-
# Corresponds to the JSON property `
|
1209
|
-
# @return [
|
1210
|
-
attr_accessor :
|
1211
|
-
alias_method :deleted?, :deleted
|
1486
|
+
# Output only. If set, the time at which this property was trashed. If not set,
|
1487
|
+
# then this property is not currently in the trash can.
|
1488
|
+
# Corresponds to the JSON property `deleteTime`
|
1489
|
+
# @return [String]
|
1490
|
+
attr_accessor :delete_time
|
1212
1491
|
|
1213
1492
|
# Required. Human-readable display name for this property. The max allowed
|
1214
1493
|
# display name length is 100 UTF-16 code units.
|
@@ -1216,6 +1495,13 @@ module Google
|
|
1216
1495
|
# @return [String]
|
1217
1496
|
attr_accessor :display_name
|
1218
1497
|
|
1498
|
+
# Output only. If set, the time at which this trashed property will be
|
1499
|
+
# permanently deleted. If not set, then this property is not currently in the
|
1500
|
+
# trash can and is not slated to be deleted.
|
1501
|
+
# Corresponds to the JSON property `expireTime`
|
1502
|
+
# @return [String]
|
1503
|
+
attr_accessor :expire_time
|
1504
|
+
|
1219
1505
|
# Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
|
1220
1506
|
# Corresponds to the JSON property `industryCategory`
|
1221
1507
|
# @return [String]
|
@@ -1256,8 +1542,9 @@ module Google
|
|
1256
1542
|
def update!(**args)
|
1257
1543
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1258
1544
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1259
|
-
@
|
1545
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1260
1546
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1547
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
1261
1548
|
@industry_category = args[:industry_category] if args.key?(:industry_category)
|
1262
1549
|
@name = args[:name] if args.key?(:name)
|
1263
1550
|
@parent = args[:parent] if args.key?(:parent)
|
@@ -1467,12 +1754,12 @@ module Google
|
|
1467
1754
|
# @return [Array<String>]
|
1468
1755
|
attr_accessor :direct_roles
|
1469
1756
|
|
1470
|
-
# Email address of the user to link
|
1757
|
+
# Immutable. Email address of the user to link
|
1471
1758
|
# Corresponds to the JSON property `emailAddress`
|
1472
1759
|
# @return [String]
|
1473
1760
|
attr_accessor :email_address
|
1474
1761
|
|
1475
|
-
# Example format: properties/1234/userLinks/5678
|
1762
|
+
# Output only. Example format: properties/1234/userLinks/5678
|
1476
1763
|
# Corresponds to the JSON property `name`
|
1477
1764
|
# @return [String]
|
1478
1765
|
attr_accessor :name
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210508"
|
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
|
|
@@ -178,6 +208,24 @@ module Google
|
|
178
208
|
include Google::Apis::Core::JsonObjectSupport
|
179
209
|
end
|
180
210
|
|
211
|
+
class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
181
229
|
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
182
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
231
|
|
@@ -309,6 +357,18 @@ module Google
|
|
309
357
|
end
|
310
358
|
end
|
311
359
|
|
360
|
+
class GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
class GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest
|
367
|
+
# @private
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
312
372
|
class GoogleAnalyticsAdminV1alphaAuditUserLink
|
313
373
|
# @private
|
314
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -404,6 +464,12 @@ module Google
|
|
404
464
|
|
405
465
|
property :android_app_data_stream, as: 'androidAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
406
466
|
|
467
|
+
property :conversion_event, as: 'conversionEvent', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
468
|
+
|
469
|
+
property :custom_dimension, as: 'customDimension', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
470
|
+
|
471
|
+
property :custom_metric, as: 'customMetric', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
472
|
+
|
407
473
|
property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
408
474
|
|
409
475
|
property :google_ads_link, as: 'googleAdsLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
@@ -430,6 +496,16 @@ module Google
|
|
430
496
|
end
|
431
497
|
end
|
432
498
|
|
499
|
+
class GoogleAnalyticsAdminV1alphaConversionEvent
|
500
|
+
# @private
|
501
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
502
|
+
property :create_time, as: 'createTime'
|
503
|
+
property :event_name, as: 'eventName'
|
504
|
+
property :is_deletable, as: 'isDeletable'
|
505
|
+
property :name, as: 'name'
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
433
509
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
434
510
|
# @private
|
435
511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -440,6 +516,30 @@ module Google
|
|
440
516
|
end
|
441
517
|
end
|
442
518
|
|
519
|
+
class GoogleAnalyticsAdminV1alphaCustomDimension
|
520
|
+
# @private
|
521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
522
|
+
property :description, as: 'description'
|
523
|
+
property :disallow_ads_personalization, as: 'disallowAdsPersonalization'
|
524
|
+
property :display_name, as: 'displayName'
|
525
|
+
property :name, as: 'name'
|
526
|
+
property :parameter_name, as: 'parameterName'
|
527
|
+
property :scope, as: 'scope'
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
class GoogleAnalyticsAdminV1alphaCustomMetric
|
532
|
+
# @private
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
534
|
+
property :description, as: 'description'
|
535
|
+
property :display_name, as: 'displayName'
|
536
|
+
property :measurement_unit, as: 'measurementUnit'
|
537
|
+
property :name, as: 'name'
|
538
|
+
property :parameter_name, as: 'parameterName'
|
539
|
+
property :scope, as: 'scope'
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
443
543
|
class GoogleAnalyticsAdminV1alphaDataSharingSettings
|
444
544
|
# @private
|
445
545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -547,6 +647,33 @@ module Google
|
|
547
647
|
end
|
548
648
|
end
|
549
649
|
|
650
|
+
class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
collection :conversion_events, as: 'conversionEvents', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
654
|
+
|
655
|
+
property :next_page_token, as: 'nextPageToken'
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
660
|
+
# @private
|
661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
662
|
+
collection :custom_dimensions, as: 'customDimensions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
663
|
+
|
664
|
+
property :next_page_token, as: 'nextPageToken'
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
668
|
+
class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
669
|
+
# @private
|
670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
671
|
+
collection :custom_metrics, as: 'customMetrics', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
672
|
+
|
673
|
+
property :next_page_token, as: 'nextPageToken'
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
550
677
|
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
551
678
|
# @private
|
552
679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -606,8 +733,9 @@ module Google
|
|
606
733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
607
734
|
property :create_time, as: 'createTime'
|
608
735
|
property :currency_code, as: 'currencyCode'
|
609
|
-
property :
|
736
|
+
property :delete_time, as: 'deleteTime'
|
610
737
|
property :display_name, as: 'displayName'
|
738
|
+
property :expire_time, as: 'expireTime'
|
611
739
|
property :industry_category, as: 'industryCategory'
|
612
740
|
property :name, as: 'name'
|
613
741
|
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?
|
@@ -881,45 +881,6 @@ module Google
|
|
881
881
|
execute_or_queue_command(command, &block)
|
882
882
|
end
|
883
883
|
|
884
|
-
# Creates an Android app stream with the specified location and attributes. Note
|
885
|
-
# that an Android app stream must be linked to a Firebase app to receive traffic.
|
886
|
-
# To create a working app stream, make sure your property is linked to a
|
887
|
-
# Firebase project. Then, use the Firebase API to create a Firebase app, which
|
888
|
-
# will also create an appropriate data stream in Analytics (may take up to 24
|
889
|
-
# hours).
|
890
|
-
# @param [String] parent
|
891
|
-
# Required. The parent resource where this android app data stream will be
|
892
|
-
# created. Format: properties/123
|
893
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] google_analytics_admin_v1alpha_android_app_data_stream_object
|
894
|
-
# @param [String] fields
|
895
|
-
# Selector specifying which fields to include in a partial response.
|
896
|
-
# @param [String] quota_user
|
897
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
898
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
899
|
-
# @param [Google::Apis::RequestOptions] options
|
900
|
-
# Request-specific options
|
901
|
-
#
|
902
|
-
# @yield [result, err] Result & error if block supplied
|
903
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] parsed result object
|
904
|
-
# @yieldparam err [StandardError] error object if request failed
|
905
|
-
#
|
906
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
|
907
|
-
#
|
908
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
909
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
910
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
911
|
-
def create_property_android_app_data_stream(parent, google_analytics_admin_v1alpha_android_app_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
912
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/androidAppDataStreams', options)
|
913
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
914
|
-
command.request_object = google_analytics_admin_v1alpha_android_app_data_stream_object
|
915
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
916
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
917
|
-
command.params['parent'] = parent unless parent.nil?
|
918
|
-
command.query['fields'] = fields unless fields.nil?
|
919
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
920
|
-
execute_or_queue_command(command, &block)
|
921
|
-
end
|
922
|
-
|
923
884
|
# Deletes an android app stream on a property.
|
924
885
|
# @param [String] name
|
925
886
|
# Required. The name of the android app data stream to delete. Format:
|
@@ -1067,6 +1028,502 @@ module Google
|
|
1067
1028
|
execute_or_queue_command(command, &block)
|
1068
1029
|
end
|
1069
1030
|
|
1031
|
+
# Creates a conversion event with the specified attributes.
|
1032
|
+
# @param [String] parent
|
1033
|
+
# Required. The resource name of the parent property where this conversion event
|
1034
|
+
# will be created. Format: properties/123
|
1035
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] google_analytics_admin_v1alpha_conversion_event_object
|
1036
|
+
# @param [String] fields
|
1037
|
+
# Selector specifying which fields to include in a partial response.
|
1038
|
+
# @param [String] quota_user
|
1039
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1040
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1041
|
+
# @param [Google::Apis::RequestOptions] options
|
1042
|
+
# Request-specific options
|
1043
|
+
#
|
1044
|
+
# @yield [result, err] Result & error if block supplied
|
1045
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
|
1046
|
+
# @yieldparam err [StandardError] error object if request failed
|
1047
|
+
#
|
1048
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
|
1049
|
+
#
|
1050
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1051
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1052
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1053
|
+
def create_property_conversion_event(parent, google_analytics_admin_v1alpha_conversion_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1054
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/conversionEvents', options)
|
1055
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1056
|
+
command.request_object = google_analytics_admin_v1alpha_conversion_event_object
|
1057
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1058
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
|
1059
|
+
command.params['parent'] = parent unless parent.nil?
|
1060
|
+
command.query['fields'] = fields unless fields.nil?
|
1061
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1062
|
+
execute_or_queue_command(command, &block)
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# Deletes a conversion event in a property.
|
1066
|
+
# @param [String] name
|
1067
|
+
# Required. The resource name of the conversion event to delete. Format:
|
1068
|
+
# properties/`property`/conversionEvents/`conversion_event` Example: "properties/
|
1069
|
+
# 123/conversionEvents/456"
|
1070
|
+
# @param [String] fields
|
1071
|
+
# Selector specifying which fields to include in a partial response.
|
1072
|
+
# @param [String] quota_user
|
1073
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1074
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1075
|
+
# @param [Google::Apis::RequestOptions] options
|
1076
|
+
# Request-specific options
|
1077
|
+
#
|
1078
|
+
# @yield [result, err] Result & error if block supplied
|
1079
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1080
|
+
# @yieldparam err [StandardError] error object if request failed
|
1081
|
+
#
|
1082
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1083
|
+
#
|
1084
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1085
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1086
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1087
|
+
def delete_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1088
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1089
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1090
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1091
|
+
command.params['name'] = name unless name.nil?
|
1092
|
+
command.query['fields'] = fields unless fields.nil?
|
1093
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1094
|
+
execute_or_queue_command(command, &block)
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
# Retrieve a single conversion event.
|
1098
|
+
# @param [String] name
|
1099
|
+
# Required. The resource name of the conversion event to retrieve. Format:
|
1100
|
+
# properties/`property`/conversionEvents/`conversion_event` Example: "properties/
|
1101
|
+
# 123/conversionEvents/456"
|
1102
|
+
# @param [String] fields
|
1103
|
+
# Selector specifying which fields to include in a partial response.
|
1104
|
+
# @param [String] quota_user
|
1105
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1106
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1107
|
+
# @param [Google::Apis::RequestOptions] options
|
1108
|
+
# Request-specific options
|
1109
|
+
#
|
1110
|
+
# @yield [result, err] Result & error if block supplied
|
1111
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
|
1112
|
+
# @yieldparam err [StandardError] error object if request failed
|
1113
|
+
#
|
1114
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
|
1115
|
+
#
|
1116
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1117
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1118
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1119
|
+
def get_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1120
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1121
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1122
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
|
1123
|
+
command.params['name'] = name unless name.nil?
|
1124
|
+
command.query['fields'] = fields unless fields.nil?
|
1125
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1126
|
+
execute_or_queue_command(command, &block)
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
# Returns a list of conversion events in the specified parent property. Returns
|
1130
|
+
# an empty list if no conversion events are found.
|
1131
|
+
# @param [String] parent
|
1132
|
+
# Required. The resource name of the parent property. Example: 'properties/123'
|
1133
|
+
# @param [Fixnum] page_size
|
1134
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1135
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
1136
|
+
# coerced to the maximum)
|
1137
|
+
# @param [String] page_token
|
1138
|
+
# A page token, received from a previous `ListConversionEvents` call. Provide
|
1139
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
1140
|
+
# provided to `ListConversionEvents` must match the call that provided the page
|
1141
|
+
# token.
|
1142
|
+
# @param [String] fields
|
1143
|
+
# Selector specifying which fields to include in a partial response.
|
1144
|
+
# @param [String] quota_user
|
1145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1147
|
+
# @param [Google::Apis::RequestOptions] options
|
1148
|
+
# Request-specific options
|
1149
|
+
#
|
1150
|
+
# @yield [result, err] Result & error if block supplied
|
1151
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse] parsed result object
|
1152
|
+
# @yieldparam err [StandardError] error object if request failed
|
1153
|
+
#
|
1154
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse]
|
1155
|
+
#
|
1156
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1157
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1158
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1159
|
+
def list_property_conversion_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1160
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/conversionEvents', options)
|
1161
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse::Representation
|
1162
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
1163
|
+
command.params['parent'] = parent unless parent.nil?
|
1164
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1165
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1166
|
+
command.query['fields'] = fields unless fields.nil?
|
1167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1168
|
+
execute_or_queue_command(command, &block)
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# Archives a CustomDimension on a property.
|
1172
|
+
# @param [String] name
|
1173
|
+
# Required. The name of the CustomDimension to archive. Example format:
|
1174
|
+
# properties/1234/customDimensions/5678
|
1175
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest] google_analytics_admin_v1alpha_archive_custom_dimension_request_object
|
1176
|
+
# @param [String] fields
|
1177
|
+
# Selector specifying which fields to include in a partial response.
|
1178
|
+
# @param [String] quota_user
|
1179
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1180
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1181
|
+
# @param [Google::Apis::RequestOptions] options
|
1182
|
+
# Request-specific options
|
1183
|
+
#
|
1184
|
+
# @yield [result, err] Result & error if block supplied
|
1185
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1186
|
+
# @yieldparam err [StandardError] error object if request failed
|
1187
|
+
#
|
1188
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1189
|
+
#
|
1190
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1191
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1192
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1193
|
+
def archive_property_custom_dimension(name, google_analytics_admin_v1alpha_archive_custom_dimension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1194
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
1195
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest::Representation
|
1196
|
+
command.request_object = google_analytics_admin_v1alpha_archive_custom_dimension_request_object
|
1197
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1198
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1199
|
+
command.params['name'] = name unless name.nil?
|
1200
|
+
command.query['fields'] = fields unless fields.nil?
|
1201
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1202
|
+
execute_or_queue_command(command, &block)
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
# Creates a CustomDimension.
|
1206
|
+
# @param [String] parent
|
1207
|
+
# Required. Example format: properties/1234
|
1208
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
|
1209
|
+
# @param [String] fields
|
1210
|
+
# Selector specifying which fields to include in a partial response.
|
1211
|
+
# @param [String] quota_user
|
1212
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1213
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1214
|
+
# @param [Google::Apis::RequestOptions] options
|
1215
|
+
# Request-specific options
|
1216
|
+
#
|
1217
|
+
# @yield [result, err] Result & error if block supplied
|
1218
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1219
|
+
# @yieldparam err [StandardError] error object if request failed
|
1220
|
+
#
|
1221
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1222
|
+
#
|
1223
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1224
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1225
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1226
|
+
def create_property_custom_dimension(parent, google_analytics_admin_v1alpha_custom_dimension_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1227
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/customDimensions', options)
|
1228
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1229
|
+
command.request_object = google_analytics_admin_v1alpha_custom_dimension_object
|
1230
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1231
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1232
|
+
command.params['parent'] = parent unless parent.nil?
|
1233
|
+
command.query['fields'] = fields unless fields.nil?
|
1234
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1235
|
+
execute_or_queue_command(command, &block)
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# Lookup for a single CustomDimension.
|
1239
|
+
# @param [String] name
|
1240
|
+
# Required. The name of the CustomDimension to get. Example format: properties/
|
1241
|
+
# 1234/customDimensions/5678
|
1242
|
+
# @param [String] fields
|
1243
|
+
# Selector specifying which fields to include in a partial response.
|
1244
|
+
# @param [String] quota_user
|
1245
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1246
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1247
|
+
# @param [Google::Apis::RequestOptions] options
|
1248
|
+
# Request-specific options
|
1249
|
+
#
|
1250
|
+
# @yield [result, err] Result & error if block supplied
|
1251
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1252
|
+
# @yieldparam err [StandardError] error object if request failed
|
1253
|
+
#
|
1254
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1255
|
+
#
|
1256
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1257
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1258
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1259
|
+
def get_property_custom_dimension(name, fields: nil, quota_user: nil, options: nil, &block)
|
1260
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1261
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1262
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1263
|
+
command.params['name'] = name unless name.nil?
|
1264
|
+
command.query['fields'] = fields unless fields.nil?
|
1265
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1266
|
+
execute_or_queue_command(command, &block)
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# Lists CustomDimensions on a property.
|
1270
|
+
# @param [String] parent
|
1271
|
+
# Required. Example format: properties/1234
|
1272
|
+
# @param [Fixnum] page_size
|
1273
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1274
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1275
|
+
# coerced to the maximum).
|
1276
|
+
# @param [String] page_token
|
1277
|
+
# A page token, received from a previous `ListCustomDimensions` call. Provide
|
1278
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
1279
|
+
# provided to `ListCustomDimensions` must match the call that provided the page
|
1280
|
+
# token.
|
1281
|
+
# @param [String] fields
|
1282
|
+
# Selector specifying which fields to include in a partial response.
|
1283
|
+
# @param [String] quota_user
|
1284
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1285
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1286
|
+
# @param [Google::Apis::RequestOptions] options
|
1287
|
+
# Request-specific options
|
1288
|
+
#
|
1289
|
+
# @yield [result, err] Result & error if block supplied
|
1290
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse] parsed result object
|
1291
|
+
# @yieldparam err [StandardError] error object if request failed
|
1292
|
+
#
|
1293
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse]
|
1294
|
+
#
|
1295
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1296
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1297
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1298
|
+
def list_property_custom_dimensions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1299
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/customDimensions', options)
|
1300
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse::Representation
|
1301
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
1302
|
+
command.params['parent'] = parent unless parent.nil?
|
1303
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1304
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1305
|
+
command.query['fields'] = fields unless fields.nil?
|
1306
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1307
|
+
execute_or_queue_command(command, &block)
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
# Updates a CustomDimension on a property.
|
1311
|
+
# @param [String] name
|
1312
|
+
# Output only. Resource name for this CustomDimension resource. Format:
|
1313
|
+
# properties/`property`/customDimensions/`customDimension`
|
1314
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
|
1315
|
+
# @param [String] update_mask
|
1316
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1317
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
1318
|
+
# fields.
|
1319
|
+
# @param [String] fields
|
1320
|
+
# Selector specifying which fields to include in a partial response.
|
1321
|
+
# @param [String] quota_user
|
1322
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1323
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1324
|
+
# @param [Google::Apis::RequestOptions] options
|
1325
|
+
# Request-specific options
|
1326
|
+
#
|
1327
|
+
# @yield [result, err] Result & error if block supplied
|
1328
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1329
|
+
# @yieldparam err [StandardError] error object if request failed
|
1330
|
+
#
|
1331
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1332
|
+
#
|
1333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1336
|
+
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)
|
1337
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1338
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1339
|
+
command.request_object = google_analytics_admin_v1alpha_custom_dimension_object
|
1340
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1341
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1342
|
+
command.params['name'] = name unless name.nil?
|
1343
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1344
|
+
command.query['fields'] = fields unless fields.nil?
|
1345
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1346
|
+
execute_or_queue_command(command, &block)
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# Archives a CustomMetric on a property.
|
1350
|
+
# @param [String] name
|
1351
|
+
# Required. The name of the CustomMetric to archive. Example format: properties/
|
1352
|
+
# 1234/customMetrics/5678
|
1353
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest] google_analytics_admin_v1alpha_archive_custom_metric_request_object
|
1354
|
+
# @param [String] fields
|
1355
|
+
# Selector specifying which fields to include in a partial response.
|
1356
|
+
# @param [String] quota_user
|
1357
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1358
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1359
|
+
# @param [Google::Apis::RequestOptions] options
|
1360
|
+
# Request-specific options
|
1361
|
+
#
|
1362
|
+
# @yield [result, err] Result & error if block supplied
|
1363
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1364
|
+
# @yieldparam err [StandardError] error object if request failed
|
1365
|
+
#
|
1366
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1367
|
+
#
|
1368
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1369
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1370
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1371
|
+
def archive_property_custom_metric(name, google_analytics_admin_v1alpha_archive_custom_metric_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1372
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
1373
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest::Representation
|
1374
|
+
command.request_object = google_analytics_admin_v1alpha_archive_custom_metric_request_object
|
1375
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1376
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1377
|
+
command.params['name'] = name unless name.nil?
|
1378
|
+
command.query['fields'] = fields unless fields.nil?
|
1379
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1380
|
+
execute_or_queue_command(command, &block)
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
# Creates a CustomMetric.
|
1384
|
+
# @param [String] parent
|
1385
|
+
# Required. Example format: properties/1234
|
1386
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
|
1387
|
+
# @param [String] fields
|
1388
|
+
# Selector specifying which fields to include in a partial response.
|
1389
|
+
# @param [String] quota_user
|
1390
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1391
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1392
|
+
# @param [Google::Apis::RequestOptions] options
|
1393
|
+
# Request-specific options
|
1394
|
+
#
|
1395
|
+
# @yield [result, err] Result & error if block supplied
|
1396
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1397
|
+
# @yieldparam err [StandardError] error object if request failed
|
1398
|
+
#
|
1399
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1400
|
+
#
|
1401
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1402
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1403
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1404
|
+
def create_property_custom_metric(parent, google_analytics_admin_v1alpha_custom_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1405
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/customMetrics', options)
|
1406
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1407
|
+
command.request_object = google_analytics_admin_v1alpha_custom_metric_object
|
1408
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1409
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1410
|
+
command.params['parent'] = parent unless parent.nil?
|
1411
|
+
command.query['fields'] = fields unless fields.nil?
|
1412
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1413
|
+
execute_or_queue_command(command, &block)
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
# Lookup for a single CustomMetric.
|
1417
|
+
# @param [String] name
|
1418
|
+
# Required. The name of the CustomMetric to get. Example format: properties/1234/
|
1419
|
+
# customMetrics/5678
|
1420
|
+
# @param [String] fields
|
1421
|
+
# Selector specifying which fields to include in a partial response.
|
1422
|
+
# @param [String] quota_user
|
1423
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1424
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1425
|
+
# @param [Google::Apis::RequestOptions] options
|
1426
|
+
# Request-specific options
|
1427
|
+
#
|
1428
|
+
# @yield [result, err] Result & error if block supplied
|
1429
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1430
|
+
# @yieldparam err [StandardError] error object if request failed
|
1431
|
+
#
|
1432
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1433
|
+
#
|
1434
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1435
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1436
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1437
|
+
def get_property_custom_metric(name, fields: nil, quota_user: nil, options: nil, &block)
|
1438
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1439
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1440
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1441
|
+
command.params['name'] = name unless name.nil?
|
1442
|
+
command.query['fields'] = fields unless fields.nil?
|
1443
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1444
|
+
execute_or_queue_command(command, &block)
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
# Lists CustomMetrics on a property.
|
1448
|
+
# @param [String] parent
|
1449
|
+
# Required. Example format: properties/1234
|
1450
|
+
# @param [Fixnum] page_size
|
1451
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1452
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1453
|
+
# coerced to the maximum).
|
1454
|
+
# @param [String] page_token
|
1455
|
+
# A page token, received from a previous `ListCustomMetrics` call. Provide this
|
1456
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
1457
|
+
# provided to `ListCustomMetrics` must match the call that provided the page
|
1458
|
+
# token.
|
1459
|
+
# @param [String] fields
|
1460
|
+
# Selector specifying which fields to include in a partial response.
|
1461
|
+
# @param [String] quota_user
|
1462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1464
|
+
# @param [Google::Apis::RequestOptions] options
|
1465
|
+
# Request-specific options
|
1466
|
+
#
|
1467
|
+
# @yield [result, err] Result & error if block supplied
|
1468
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse] parsed result object
|
1469
|
+
# @yieldparam err [StandardError] error object if request failed
|
1470
|
+
#
|
1471
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse]
|
1472
|
+
#
|
1473
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1474
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1475
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1476
|
+
def list_property_custom_metrics(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1477
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/customMetrics', options)
|
1478
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse::Representation
|
1479
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
1480
|
+
command.params['parent'] = parent unless parent.nil?
|
1481
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1482
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1483
|
+
command.query['fields'] = fields unless fields.nil?
|
1484
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1485
|
+
execute_or_queue_command(command, &block)
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
# Updates a CustomMetric on a property.
|
1489
|
+
# @param [String] name
|
1490
|
+
# Output only. Resource name for this CustomMetric resource. Format: properties/`
|
1491
|
+
# property`/customMetrics/`customMetric`
|
1492
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
|
1493
|
+
# @param [String] update_mask
|
1494
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1495
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
1496
|
+
# fields.
|
1497
|
+
# @param [String] fields
|
1498
|
+
# Selector specifying which fields to include in a partial response.
|
1499
|
+
# @param [String] quota_user
|
1500
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1501
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1502
|
+
# @param [Google::Apis::RequestOptions] options
|
1503
|
+
# Request-specific options
|
1504
|
+
#
|
1505
|
+
# @yield [result, err] Result & error if block supplied
|
1506
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1507
|
+
# @yieldparam err [StandardError] error object if request failed
|
1508
|
+
#
|
1509
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1510
|
+
#
|
1511
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1512
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1513
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1514
|
+
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)
|
1515
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1516
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1517
|
+
command.request_object = google_analytics_admin_v1alpha_custom_metric_object
|
1518
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1519
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1520
|
+
command.params['name'] = name unless name.nil?
|
1521
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1522
|
+
command.query['fields'] = fields unless fields.nil?
|
1523
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1524
|
+
execute_or_queue_command(command, &block)
|
1525
|
+
end
|
1526
|
+
|
1070
1527
|
# Creates a FirebaseLink. Properties can have at most one FirebaseLink.
|
1071
1528
|
# @param [String] parent
|
1072
1529
|
# Required. Format: properties/`property_id` Example: properties/1234
|
@@ -1354,44 +1811,6 @@ module Google
|
|
1354
1811
|
execute_or_queue_command(command, &block)
|
1355
1812
|
end
|
1356
1813
|
|
1357
|
-
# Creates an iOS app stream with the specified location and attributes. Note
|
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).
|
1362
|
-
# @param [String] parent
|
1363
|
-
# Required. The parent resource where this ios app data stream will be created.
|
1364
|
-
# Format: properties/123
|
1365
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1366
|
-
# @param [String] fields
|
1367
|
-
# Selector specifying which fields to include in a partial response.
|
1368
|
-
# @param [String] quota_user
|
1369
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1370
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1371
|
-
# @param [Google::Apis::RequestOptions] options
|
1372
|
-
# Request-specific options
|
1373
|
-
#
|
1374
|
-
# @yield [result, err] Result & error if block supplied
|
1375
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
1376
|
-
# @yieldparam err [StandardError] error object if request failed
|
1377
|
-
#
|
1378
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
1379
|
-
#
|
1380
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1381
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1382
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1383
|
-
def create_property_ios_app_data_stream(parent, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1384
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/iosAppDataStreams', options)
|
1385
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
1386
|
-
command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1387
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
1388
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
1389
|
-
command.params['parent'] = parent unless parent.nil?
|
1390
|
-
command.query['fields'] = fields unless fields.nil?
|
1391
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1392
|
-
execute_or_queue_command(command, &block)
|
1393
|
-
end
|
1394
|
-
|
1395
1814
|
# Deletes an iOS app stream on a property.
|
1396
1815
|
# @param [String] name
|
1397
1816
|
# Required. The name of the iOS app data stream to delete. Format: properties/`
|
@@ -1864,7 +2283,7 @@ module Google
|
|
1864
2283
|
|
1865
2284
|
# Updates a user link on an account or property.
|
1866
2285
|
# @param [String] name
|
1867
|
-
# Example format: properties/1234/userLinks/5678
|
2286
|
+
# Output only. Example format: properties/1234/userLinks/5678
|
1868
2287
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
1869
2288
|
# @param [String] fields
|
1870
2289
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticsadmin_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Google Analytics Admin API V1alpha
|