google-apis-analyticsadmin_v1alpha 0.17.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bcbf276bbbb98e5259e87065bd0a299e007088d9158fdfb339503f1a11b4e13
4
- data.tar.gz: 369b8bb9dc4f0954715e3941dad8fce3e38f34bbb18f26f2f446332ea5d04011
3
+ metadata.gz: 87b6e06445437e1c228c1cb26c3397dccef093f136988acfa7a4d8d95f0fe81e
4
+ data.tar.gz: cc8d21fffbc102bd0f672093871c3078a06bc393b553179edd27ea23b60297e8
5
5
  SHA512:
6
- metadata.gz: 9257b7c64a02a3b28bd989544f60bbf939220330e27842deff37540831f354179ce6b6d1a7bb40c1431ab9c56f54eb5756be7aa238787a49b42ba12a05dc0716
7
- data.tar.gz: 4faaa69db909ffb1328c462e3b0bcf5448ef797196727acd78550b18673835efa7e8ca8c811f269df6b00083d06c61fa345ffd509334d6b0af156ba5fcbe8262
6
+ metadata.gz: 9f3d1220bfd22fe48ac86601ed5c99746114c26bd85dc6ee7716387e06fe2c6fb7c461c352cc6aae976459903e4fae5ef537520bc194dd8e60ec22992b284926
7
+ data.tar.gz: dd8371e67dca0ad9fce710a406dbc1f17fb8d468bbc6f9ea81cf3a38bd8477eac2682a08beb8b2c5eaf69d3c81af58e347edf653be13db71a8ee0f003e223be1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.21.0 (2022-01-07)
4
+
5
+ * Regenerated from discovery document revision 20220105
6
+
7
+ ### v0.20.0 (2021-12-02)
8
+
9
+ * Regenerated from discovery document revision 20211201
10
+
11
+ ### v0.19.0 (2021-11-03)
12
+
13
+ * Regenerated from discovery document revision 20211102
14
+
15
+ ### v0.18.0 (2021-10-22)
16
+
17
+ * Regenerated from discovery document revision 20211021
18
+
3
19
  ### v0.17.0 (2021-10-06)
4
20
 
5
21
  * Regenerated from discovery document revision 20211005
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/analyticsadmin_v1alpha"
51
51
  client = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Analyticsadmin service in particular.)
67
67
 
@@ -548,11 +548,6 @@ module Google
548
548
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
549
549
  attr_accessor :account
550
550
 
551
- # A resource message representing a Google Analytics Android app stream.
552
- # Corresponds to the JSON property `androidAppDataStream`
553
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
554
- attr_accessor :android_app_data_stream
555
-
556
551
  # A conversion event in a Google Analytics property.
557
552
  # Corresponds to the JSON property `conversionEvent`
558
553
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
@@ -573,12 +568,17 @@ module Google
573
568
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings]
574
569
  attr_accessor :data_retention_settings
575
570
 
571
+ # A resource message representing a data stream.
572
+ # Corresponds to the JSON property `dataStream`
573
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
574
+ attr_accessor :data_stream
575
+
576
576
  # A link between a GA4 property and a Display & Video 360 advertiser.
577
577
  # Corresponds to the JSON property `displayVideo360AdvertiserLink`
578
578
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]
579
579
  attr_accessor :display_video360_advertiser_link
580
580
 
581
- # A proposal for a link between an GA4 property and a Display & Video 360
581
+ # A proposal for a link between a GA4 property and a Display & Video 360
582
582
  # advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once
583
583
  # approved. Google Analytics admins approve inbound proposals while Display &
584
584
  # Video 360 admins approve outbound proposals.
@@ -586,12 +586,12 @@ module Google
586
586
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
587
587
  attr_accessor :display_video360_advertiser_link_proposal
588
588
 
589
- # A link between an GA4 property and a Firebase project.
589
+ # A link between a GA4 property and a Firebase project.
590
590
  # Corresponds to the JSON property `firebaseLink`
591
591
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
592
592
  attr_accessor :firebase_link
593
593
 
594
- # A link between an GA4 property and a Google Ads account.
594
+ # A link between a GA4 property and a Google Ads account.
595
595
  # Corresponds to the JSON property `googleAdsLink`
596
596
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
597
597
  attr_accessor :google_ads_link
@@ -601,11 +601,6 @@ module Google
601
601
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
602
602
  attr_accessor :google_signals_settings
603
603
 
604
- # A resource message representing a Google Analytics IOS app stream.
605
- # Corresponds to the JSON property `iosAppDataStream`
606
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
607
- attr_accessor :ios_app_data_stream
608
-
609
604
  # A secret value used for sending hits to Measurement Protocol.
610
605
  # Corresponds to the JSON property `measurementProtocolSecret`
611
606
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
@@ -616,11 +611,6 @@ module Google
616
611
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
617
612
  attr_accessor :property
618
613
 
619
- # A resource message representing a Google Analytics web stream.
620
- # Corresponds to the JSON property `webDataStream`
621
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
622
- attr_accessor :web_data_stream
623
-
624
614
  def initialize(**args)
625
615
  update!(**args)
626
616
  end
@@ -628,20 +618,18 @@ module Google
628
618
  # Update properties of this object
629
619
  def update!(**args)
630
620
  @account = args[:account] if args.key?(:account)
631
- @android_app_data_stream = args[:android_app_data_stream] if args.key?(:android_app_data_stream)
632
621
  @conversion_event = args[:conversion_event] if args.key?(:conversion_event)
633
622
  @custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
634
623
  @custom_metric = args[:custom_metric] if args.key?(:custom_metric)
635
624
  @data_retention_settings = args[:data_retention_settings] if args.key?(:data_retention_settings)
625
+ @data_stream = args[:data_stream] if args.key?(:data_stream)
636
626
  @display_video360_advertiser_link = args[:display_video360_advertiser_link] if args.key?(:display_video360_advertiser_link)
637
627
  @display_video360_advertiser_link_proposal = args[:display_video360_advertiser_link_proposal] if args.key?(:display_video360_advertiser_link_proposal)
638
628
  @firebase_link = args[:firebase_link] if args.key?(:firebase_link)
639
629
  @google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
640
630
  @google_signals_settings = args[:google_signals_settings] if args.key?(:google_signals_settings)
641
- @ios_app_data_stream = args[:ios_app_data_stream] if args.key?(:ios_app_data_stream)
642
631
  @measurement_protocol_secret = args[:measurement_protocol_secret] if args.key?(:measurement_protocol_secret)
643
632
  @property = args[:property] if args.key?(:property)
644
- @web_data_stream = args[:web_data_stream] if args.key?(:web_data_stream)
645
633
  end
646
634
  end
647
635
 
@@ -891,6 +879,13 @@ module Google
891
879
  # @return [String]
892
880
  attr_accessor :parameter_name
893
881
 
882
+ # Optional. Types of restricted data that this metric may contain. Required for
883
+ # metrics with CURRENCY measurement unit. Must be empty for metrics with a non-
884
+ # CURRENCY measurement unit.
885
+ # Corresponds to the JSON property `restrictedMetricType`
886
+ # @return [Array<String>]
887
+ attr_accessor :restricted_metric_type
888
+
894
889
  # Required. Immutable. The scope of this custom metric.
895
890
  # Corresponds to the JSON property `scope`
896
891
  # @return [String]
@@ -907,6 +902,7 @@ module Google
907
902
  @measurement_unit = args[:measurement_unit] if args.key?(:measurement_unit)
908
903
  @name = args[:name] if args.key?(:name)
909
904
  @parameter_name = args[:parameter_name] if args.key?(:parameter_name)
905
+ @restricted_metric_type = args[:restricted_metric_type] if args.key?(:restricted_metric_type)
910
906
  @scope = args[:scope] if args.key?(:scope)
911
907
  end
912
908
  end
@@ -1004,6 +1000,158 @@ module Google
1004
1000
  end
1005
1001
  end
1006
1002
 
1003
+ # A resource message representing a data stream.
1004
+ class GoogleAnalyticsAdminV1alphaDataStream
1005
+ include Google::Apis::Core::Hashable
1006
+
1007
+ # Data specific to Android app streams.
1008
+ # Corresponds to the JSON property `androidAppStreamData`
1009
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData]
1010
+ attr_accessor :android_app_stream_data
1011
+
1012
+ # Output only. Time when this stream was originally created.
1013
+ # Corresponds to the JSON property `createTime`
1014
+ # @return [String]
1015
+ attr_accessor :create_time
1016
+
1017
+ # Human-readable display name for the Data Stream. Required for web data streams.
1018
+ # The max allowed display name length is 255 UTF-16 code units.
1019
+ # Corresponds to the JSON property `displayName`
1020
+ # @return [String]
1021
+ attr_accessor :display_name
1022
+
1023
+ # Data specific to iOS app streams.
1024
+ # Corresponds to the JSON property `iosAppStreamData`
1025
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData]
1026
+ attr_accessor :ios_app_stream_data
1027
+
1028
+ # Output only. Resource name of this Data Stream. Format: properties/`
1029
+ # property_id`/dataStreams/`stream_id` Example: "properties/1000/dataStreams/
1030
+ # 2000"
1031
+ # Corresponds to the JSON property `name`
1032
+ # @return [String]
1033
+ attr_accessor :name
1034
+
1035
+ # Required. Immutable. The type of this DataStream resource.
1036
+ # Corresponds to the JSON property `type`
1037
+ # @return [String]
1038
+ attr_accessor :type
1039
+
1040
+ # Output only. Time when stream payload fields were last updated.
1041
+ # Corresponds to the JSON property `updateTime`
1042
+ # @return [String]
1043
+ attr_accessor :update_time
1044
+
1045
+ # Data specific to web streams.
1046
+ # Corresponds to the JSON property `webStreamData`
1047
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData]
1048
+ attr_accessor :web_stream_data
1049
+
1050
+ def initialize(**args)
1051
+ update!(**args)
1052
+ end
1053
+
1054
+ # Update properties of this object
1055
+ def update!(**args)
1056
+ @android_app_stream_data = args[:android_app_stream_data] if args.key?(:android_app_stream_data)
1057
+ @create_time = args[:create_time] if args.key?(:create_time)
1058
+ @display_name = args[:display_name] if args.key?(:display_name)
1059
+ @ios_app_stream_data = args[:ios_app_stream_data] if args.key?(:ios_app_stream_data)
1060
+ @name = args[:name] if args.key?(:name)
1061
+ @type = args[:type] if args.key?(:type)
1062
+ @update_time = args[:update_time] if args.key?(:update_time)
1063
+ @web_stream_data = args[:web_stream_data] if args.key?(:web_stream_data)
1064
+ end
1065
+ end
1066
+
1067
+ # Data specific to Android app streams.
1068
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
1069
+ include Google::Apis::Core::Hashable
1070
+
1071
+ # Output only. ID of the corresponding Android app in Firebase, if any. This ID
1072
+ # can change if the Android app is deleted and recreated.
1073
+ # Corresponds to the JSON property `firebaseAppId`
1074
+ # @return [String]
1075
+ attr_accessor :firebase_app_id
1076
+
1077
+ # Immutable. The package name for the app being measured. Example: "com.example.
1078
+ # myandroidapp"
1079
+ # Corresponds to the JSON property `packageName`
1080
+ # @return [String]
1081
+ attr_accessor :package_name
1082
+
1083
+ def initialize(**args)
1084
+ update!(**args)
1085
+ end
1086
+
1087
+ # Update properties of this object
1088
+ def update!(**args)
1089
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1090
+ @package_name = args[:package_name] if args.key?(:package_name)
1091
+ end
1092
+ end
1093
+
1094
+ # Data specific to iOS app streams.
1095
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
1096
+ include Google::Apis::Core::Hashable
1097
+
1098
+ # Required. Immutable. The Apple App Store Bundle ID for the app Example: "com.
1099
+ # example.myiosapp"
1100
+ # Corresponds to the JSON property `bundleId`
1101
+ # @return [String]
1102
+ attr_accessor :bundle_id
1103
+
1104
+ # Output only. ID of the corresponding iOS app in Firebase, if any. This ID can
1105
+ # change if the iOS app is deleted and recreated.
1106
+ # Corresponds to the JSON property `firebaseAppId`
1107
+ # @return [String]
1108
+ attr_accessor :firebase_app_id
1109
+
1110
+ def initialize(**args)
1111
+ update!(**args)
1112
+ end
1113
+
1114
+ # Update properties of this object
1115
+ def update!(**args)
1116
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
1117
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1118
+ end
1119
+ end
1120
+
1121
+ # Data specific to web streams.
1122
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ # Immutable. Domain name of the web app being measured, or empty. Example: "http:
1126
+ # //www.google.com", "https://www.google.com"
1127
+ # Corresponds to the JSON property `defaultUri`
1128
+ # @return [String]
1129
+ attr_accessor :default_uri
1130
+
1131
+ # Output only. ID of the corresponding web app in Firebase, if any. This ID can
1132
+ # change if the web app is deleted and recreated.
1133
+ # Corresponds to the JSON property `firebaseAppId`
1134
+ # @return [String]
1135
+ attr_accessor :firebase_app_id
1136
+
1137
+ # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-
1138
+ # 1A2BCD345E" would just be "1A2BCD345E"
1139
+ # Corresponds to the JSON property `measurementId`
1140
+ # @return [String]
1141
+ attr_accessor :measurement_id
1142
+
1143
+ def initialize(**args)
1144
+ update!(**args)
1145
+ end
1146
+
1147
+ # Update properties of this object
1148
+ def update!(**args)
1149
+ @default_uri = args[:default_uri] if args.key?(:default_uri)
1150
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1151
+ @measurement_id = args[:measurement_id] if args.key?(:measurement_id)
1152
+ end
1153
+ end
1154
+
1007
1155
  # Request message for DeleteUserLink RPC.
1008
1156
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
1009
1157
  include Google::Apis::Core::Hashable
@@ -1054,7 +1202,7 @@ module Google
1054
1202
  alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
1055
1203
 
1056
1204
  # Immutable. Enables the import of cost data from Display & Video 360 into the
1057
- # GA4 property. This can only be enabled if campaign_data_import_enabled is
1205
+ # GA4 property. This can only be enabled if campaign_data_sharing_enabled is
1058
1206
  # enabled. After link creation, this can only be updated from the Display &
1059
1207
  # Video 360 product. If this field is not set on create, it will be defaulted to
1060
1208
  # true.
@@ -1085,7 +1233,7 @@ module Google
1085
1233
  end
1086
1234
  end
1087
1235
 
1088
- # A proposal for a link between an GA4 property and a Display & Video 360
1236
+ # A proposal for a link between a GA4 property and a Display & Video 360
1089
1237
  # advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once
1090
1238
  # approved. Google Analytics admins approve inbound proposals while Display &
1091
1239
  # Video 360 admins approve outbound proposals.
@@ -1118,7 +1266,7 @@ module Google
1118
1266
  alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
1119
1267
 
1120
1268
  # Immutable. Enables the import of cost data from Display & Video 360. This can
1121
- # only be enabled if campaign_data_import_enabled is enabled. If this field is
1269
+ # only be enabled if campaign_data_sharing_enabled is enabled. If this field is
1122
1270
  # not set on create, it will be defaulted to true.
1123
1271
  # Corresponds to the JSON property `costDataSharingEnabled`
1124
1272
  # @return [Boolean]
@@ -1165,114 +1313,7 @@ module Google
1165
1313
  end
1166
1314
  end
1167
1315
 
1168
- # Singleton resource under a WebDataStream, configuring measurement of
1169
- # additional site interactions and content.
1170
- class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
1171
- include Google::Apis::Core::Hashable
1172
-
1173
- # If enabled, capture a file download event each time a link is clicked with a
1174
- # common document, compressed file, application, video, or audio extension.
1175
- # Corresponds to the JSON property `fileDownloadsEnabled`
1176
- # @return [Boolean]
1177
- attr_accessor :file_downloads_enabled
1178
- alias_method :file_downloads_enabled?, :file_downloads_enabled
1179
-
1180
- # Output only. Resource name of this Data Stream. Format: properties/`
1181
- # property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
1182
- # properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
1183
- # Corresponds to the JSON property `name`
1184
- # @return [String]
1185
- attr_accessor :name
1186
-
1187
- # If enabled, capture an outbound click event each time a visitor clicks a link
1188
- # that leads them away from your domain.
1189
- # Corresponds to the JSON property `outboundClicksEnabled`
1190
- # @return [Boolean]
1191
- attr_accessor :outbound_clicks_enabled
1192
- alias_method :outbound_clicks_enabled?, :outbound_clicks_enabled
1193
-
1194
- # If enabled, capture a page view event each time the website changes the
1195
- # browser history state.
1196
- # Corresponds to the JSON property `pageChangesEnabled`
1197
- # @return [Boolean]
1198
- attr_accessor :page_changes_enabled
1199
- alias_method :page_changes_enabled?, :page_changes_enabled
1200
-
1201
- # Output only. If enabled, capture a page view event each time a page loads.
1202
- # Corresponds to the JSON property `pageLoadsEnabled`
1203
- # @return [Boolean]
1204
- attr_accessor :page_loads_enabled
1205
- alias_method :page_loads_enabled?, :page_loads_enabled
1206
-
1207
- # Output only. If enabled, capture a page view event each time a page loads or
1208
- # the website changes the browser history state.
1209
- # Corresponds to the JSON property `pageViewsEnabled`
1210
- # @return [Boolean]
1211
- attr_accessor :page_views_enabled
1212
- alias_method :page_views_enabled?, :page_views_enabled
1213
-
1214
- # If enabled, capture scroll events each time a visitor gets to the bottom of a
1215
- # page.
1216
- # Corresponds to the JSON property `scrollsEnabled`
1217
- # @return [Boolean]
1218
- attr_accessor :scrolls_enabled
1219
- alias_method :scrolls_enabled?, :scrolls_enabled
1220
-
1221
- # Required. URL query parameters to interpret as site search parameters. Max
1222
- # length is 1024 characters. Must not be empty.
1223
- # Corresponds to the JSON property `searchQueryParameter`
1224
- # @return [String]
1225
- attr_accessor :search_query_parameter
1226
-
1227
- # If enabled, capture a view search results event each time a visitor performs a
1228
- # search on your site (based on a query parameter).
1229
- # Corresponds to the JSON property `siteSearchEnabled`
1230
- # @return [Boolean]
1231
- attr_accessor :site_search_enabled
1232
- alias_method :site_search_enabled?, :site_search_enabled
1233
-
1234
- # Indicates whether Enhanced Measurement Settings will be used to automatically
1235
- # measure interactions and content on this web stream. Changing this value does
1236
- # not affect the settings themselves, but determines whether they are respected.
1237
- # Corresponds to the JSON property `streamEnabled`
1238
- # @return [Boolean]
1239
- attr_accessor :stream_enabled
1240
- alias_method :stream_enabled?, :stream_enabled
1241
-
1242
- # Additional URL query parameters. Max length is 1024 characters.
1243
- # Corresponds to the JSON property `uriQueryParameter`
1244
- # @return [String]
1245
- attr_accessor :uri_query_parameter
1246
-
1247
- # If enabled, capture video play, progress, and complete events as visitors view
1248
- # embedded videos on your site.
1249
- # Corresponds to the JSON property `videoEngagementEnabled`
1250
- # @return [Boolean]
1251
- attr_accessor :video_engagement_enabled
1252
- alias_method :video_engagement_enabled?, :video_engagement_enabled
1253
-
1254
- def initialize(**args)
1255
- update!(**args)
1256
- end
1257
-
1258
- # Update properties of this object
1259
- def update!(**args)
1260
- @file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
1261
- @name = args[:name] if args.key?(:name)
1262
- @outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
1263
- @page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
1264
- @page_loads_enabled = args[:page_loads_enabled] if args.key?(:page_loads_enabled)
1265
- @page_views_enabled = args[:page_views_enabled] if args.key?(:page_views_enabled)
1266
- @scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
1267
- @search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
1268
- @site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
1269
- @stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
1270
- @uri_query_parameter = args[:uri_query_parameter] if args.key?(:uri_query_parameter)
1271
- @video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
1272
- end
1273
- end
1274
-
1275
- # A link between an GA4 property and a Firebase project.
1316
+ # A link between a GA4 property and a Firebase project.
1276
1317
  class GoogleAnalyticsAdminV1alphaFirebaseLink
1277
1318
  include Google::Apis::Core::Hashable
1278
1319
 
@@ -1335,7 +1376,7 @@ module Google
1335
1376
  end
1336
1377
  end
1337
1378
 
1338
- # A link between an GA4 property and a Google Ads account.
1379
+ # A link between a GA4 property and a Google Ads account.
1339
1380
  class GoogleAnalyticsAdminV1alphaGoogleAdsLink
1340
1381
  include Google::Apis::Core::Hashable
1341
1382
 
@@ -1670,6 +1711,32 @@ module Google
1670
1711
  end
1671
1712
  end
1672
1713
 
1714
+ # Response message for ListDataStreams RPC.
1715
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
1716
+ include Google::Apis::Core::Hashable
1717
+
1718
+ # List of DataStreams.
1719
+ # Corresponds to the JSON property `dataStreams`
1720
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream>]
1721
+ attr_accessor :data_streams
1722
+
1723
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1724
+ # field is omitted, there are no subsequent pages.
1725
+ # Corresponds to the JSON property `nextPageToken`
1726
+ # @return [String]
1727
+ attr_accessor :next_page_token
1728
+
1729
+ def initialize(**args)
1730
+ update!(**args)
1731
+ end
1732
+
1733
+ # Update properties of this object
1734
+ def update!(**args)
1735
+ @data_streams = args[:data_streams] if args.key?(:data_streams)
1736
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1737
+ end
1738
+ end
1739
+
1673
1740
  # Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
1674
1741
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
1675
1742
  include Google::Apis::Core::Hashable
@@ -2038,11 +2105,11 @@ module Google
2038
2105
  end
2039
2106
  end
2040
2107
 
2041
- # A virtual resource representing metadata for an GA4 property.
2108
+ # A virtual resource representing metadata for a GA4 property.
2042
2109
  class GoogleAnalyticsAdminV1alphaPropertySummary
2043
2110
  include Google::Apis::Core::Hashable
2044
2111
 
2045
- # Display name for the property referred to in this account summary.
2112
+ # Display name for the property referred to in this property summary.
2046
2113
  # Corresponds to the JSON property `displayName`
2047
2114
  # @return [String]
2048
2115
  attr_accessor :display_name
@@ -2278,7 +2345,7 @@ module Google
2278
2345
  attr_accessor :default_uri
2279
2346
 
2280
2347
  # Required. Human-readable display name for the Data Stream. The max allowed
2281
- # display name length is 100 UTF-16 code units.
2348
+ # display name length is 255 UTF-16 code units.
2282
2349
  # Corresponds to the JSON property `displayName`
2283
2350
  # @return [String]
2284
2351
  attr_accessor :display_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.17.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211005"
25
+ REVISION = "20220105"
26
26
  end
27
27
  end
28
28
  end
@@ -190,25 +190,43 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
193
+ class GoogleAnalyticsAdminV1alphaDataStream
194
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
195
 
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
199
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
200
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
201
 
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
- class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
205
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
211
- class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
223
+ class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
212
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
231
 
214
232
  include Google::Apis::Core::JsonObjectSupport
@@ -286,6 +304,12 @@ module Google
286
304
  include Google::Apis::Core::JsonObjectSupport
287
305
  end
288
306
 
307
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
289
313
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
290
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
315
 
@@ -579,8 +603,6 @@ module Google
579
603
  class Representation < Google::Apis::Core::JsonRepresentation
580
604
  property :account, as: 'account', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
581
605
 
582
- property :android_app_data_stream, as: 'androidAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
583
-
584
606
  property :conversion_event, as: 'conversionEvent', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
585
607
 
586
608
  property :custom_dimension, as: 'customDimension', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
@@ -589,6 +611,8 @@ module Google
589
611
 
590
612
  property :data_retention_settings, as: 'dataRetentionSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings::Representation
591
613
 
614
+ property :data_stream, as: 'dataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
615
+
592
616
  property :display_video360_advertiser_link, as: 'displayVideo360AdvertiserLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink::Representation
593
617
 
594
618
  property :display_video360_advertiser_link_proposal, as: 'displayVideo360AdvertiserLinkProposal', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
@@ -599,14 +623,10 @@ module Google
599
623
 
600
624
  property :google_signals_settings, as: 'googleSignalsSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
601
625
 
602
- property :ios_app_data_stream, as: 'iosAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
603
-
604
626
  property :measurement_protocol_secret, as: 'measurementProtocolSecret', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
605
627
 
606
628
  property :property, as: 'property', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
607
629
 
608
- property :web_data_stream, as: 'webDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
609
-
610
630
  end
611
631
  end
612
632
 
@@ -664,6 +684,7 @@ module Google
664
684
  property :measurement_unit, as: 'measurementUnit'
665
685
  property :name, as: 'name'
666
686
  property :parameter_name, as: 'parameterName'
687
+ collection :restricted_metric_type, as: 'restrictedMetricType'
667
688
  property :scope, as: 'scope'
668
689
  end
669
690
  end
@@ -689,6 +710,48 @@ module Google
689
710
  end
690
711
  end
691
712
 
713
+ class GoogleAnalyticsAdminV1alphaDataStream
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :android_app_stream_data, as: 'androidAppStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData::Representation
717
+
718
+ property :create_time, as: 'createTime'
719
+ property :display_name, as: 'displayName'
720
+ property :ios_app_stream_data, as: 'iosAppStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData::Representation
721
+
722
+ property :name, as: 'name'
723
+ property :type, as: 'type'
724
+ property :update_time, as: 'updateTime'
725
+ property :web_stream_data, as: 'webStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData::Representation
726
+
727
+ end
728
+ end
729
+
730
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :firebase_app_id, as: 'firebaseAppId'
734
+ property :package_name, as: 'packageName'
735
+ end
736
+ end
737
+
738
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :bundle_id, as: 'bundleId'
742
+ property :firebase_app_id, as: 'firebaseAppId'
743
+ end
744
+ end
745
+
746
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
747
+ # @private
748
+ class Representation < Google::Apis::Core::JsonRepresentation
749
+ property :default_uri, as: 'defaultUri'
750
+ property :firebase_app_id, as: 'firebaseAppId'
751
+ property :measurement_id, as: 'measurementId'
752
+ end
753
+ end
754
+
692
755
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
693
756
  # @private
694
757
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -723,24 +786,6 @@ module Google
723
786
  end
724
787
  end
725
788
 
726
- class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
727
- # @private
728
- class Representation < Google::Apis::Core::JsonRepresentation
729
- property :file_downloads_enabled, as: 'fileDownloadsEnabled'
730
- property :name, as: 'name'
731
- property :outbound_clicks_enabled, as: 'outboundClicksEnabled'
732
- property :page_changes_enabled, as: 'pageChangesEnabled'
733
- property :page_loads_enabled, as: 'pageLoadsEnabled'
734
- property :page_views_enabled, as: 'pageViewsEnabled'
735
- property :scrolls_enabled, as: 'scrollsEnabled'
736
- property :search_query_parameter, as: 'searchQueryParameter'
737
- property :site_search_enabled, as: 'siteSearchEnabled'
738
- property :stream_enabled, as: 'streamEnabled'
739
- property :uri_query_parameter, as: 'uriQueryParameter'
740
- property :video_engagement_enabled, as: 'videoEngagementEnabled'
741
- end
742
- end
743
-
744
789
  class GoogleAnalyticsAdminV1alphaFirebaseLink
745
790
  # @private
746
791
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -855,6 +900,15 @@ module Google
855
900
  end
856
901
  end
857
902
 
903
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ collection :data_streams, as: 'dataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
907
+
908
+ property :next_page_token, as: 'nextPageToken'
909
+ end
910
+ end
911
+
858
912
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
859
913
  # @private
860
914
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1882,6 +1882,181 @@ module Google
1882
1882
  execute_or_queue_command(command, &block)
1883
1883
  end
1884
1884
 
1885
+ # Creates a DataStream.
1886
+ # @param [String] parent
1887
+ # Required. Example format: properties/1234
1888
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
1889
+ # @param [String] fields
1890
+ # Selector specifying which fields to include in a partial response.
1891
+ # @param [String] quota_user
1892
+ # Available to use for quota purposes for server-side applications. Can be any
1893
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1894
+ # @param [Google::Apis::RequestOptions] options
1895
+ # Request-specific options
1896
+ #
1897
+ # @yield [result, err] Result & error if block supplied
1898
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
1899
+ # @yieldparam err [StandardError] error object if request failed
1900
+ #
1901
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
1902
+ #
1903
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1904
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1905
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1906
+ def create_property_data_stream(parent, google_analytics_admin_v1alpha_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1907
+ command = make_simple_command(:post, 'v1alpha/{+parent}/dataStreams', options)
1908
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1909
+ command.request_object = google_analytics_admin_v1alpha_data_stream_object
1910
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1911
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
1912
+ command.params['parent'] = parent unless parent.nil?
1913
+ command.query['fields'] = fields unless fields.nil?
1914
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1915
+ execute_or_queue_command(command, &block)
1916
+ end
1917
+
1918
+ # Deletes a DataStream on a property.
1919
+ # @param [String] name
1920
+ # Required. The name of the DataStream to delete. Example format: properties/
1921
+ # 1234/dataStreams/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_data_stream(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
+ # Lookup for a single DataStream.
1950
+ # @param [String] name
1951
+ # Required. The name of the DataStream to get. Example format: properties/1234/
1952
+ # dataStreams/5678
1953
+ # @param [String] fields
1954
+ # Selector specifying which fields to include in a partial response.
1955
+ # @param [String] quota_user
1956
+ # Available to use for quota purposes for server-side applications. Can be any
1957
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1958
+ # @param [Google::Apis::RequestOptions] options
1959
+ # Request-specific options
1960
+ #
1961
+ # @yield [result, err] Result & error if block supplied
1962
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
1963
+ # @yieldparam err [StandardError] error object if request failed
1964
+ #
1965
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
1966
+ #
1967
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1968
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1969
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1970
+ def get_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1971
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1972
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1973
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
1974
+ command.params['name'] = name unless name.nil?
1975
+ command.query['fields'] = fields unless fields.nil?
1976
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1977
+ execute_or_queue_command(command, &block)
1978
+ end
1979
+
1980
+ # Lists DataStreams on a property.
1981
+ # @param [String] parent
1982
+ # Required. Example format: properties/1234
1983
+ # @param [Fixnum] page_size
1984
+ # The maximum number of resources to return. If unspecified, at most 50
1985
+ # resources will be returned. The maximum value is 200 (higher values will be
1986
+ # coerced to the maximum).
1987
+ # @param [String] page_token
1988
+ # A page token, received from a previous `ListDataStreams` call. Provide this to
1989
+ # retrieve the subsequent page. When paginating, all other parameters provided
1990
+ # to `ListDataStreams` must match the call that provided the page token.
1991
+ # @param [String] fields
1992
+ # Selector specifying which fields to include in a partial response.
1993
+ # @param [String] quota_user
1994
+ # Available to use for quota purposes for server-side applications. Can be any
1995
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1996
+ # @param [Google::Apis::RequestOptions] options
1997
+ # Request-specific options
1998
+ #
1999
+ # @yield [result, err] Result & error if block supplied
2000
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse] parsed result object
2001
+ # @yieldparam err [StandardError] error object if request failed
2002
+ #
2003
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse]
2004
+ #
2005
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2006
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2007
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2008
+ def list_property_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2009
+ command = make_simple_command(:get, 'v1alpha/{+parent}/dataStreams', options)
2010
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse::Representation
2011
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse
2012
+ command.params['parent'] = parent unless parent.nil?
2013
+ command.query['pageSize'] = page_size unless page_size.nil?
2014
+ command.query['pageToken'] = page_token unless page_token.nil?
2015
+ command.query['fields'] = fields unless fields.nil?
2016
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2017
+ execute_or_queue_command(command, &block)
2018
+ end
2019
+
2020
+ # Updates a DataStream on a property.
2021
+ # @param [String] name
2022
+ # Output only. Resource name of this Data Stream. Format: properties/`
2023
+ # property_id`/dataStreams/`stream_id` Example: "properties/1000/dataStreams/
2024
+ # 2000"
2025
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
2026
+ # @param [String] update_mask
2027
+ # Required. The list of fields to be updated. Omitted fields will not be updated.
2028
+ # To replace the entire entity, use one path with the string "*" to match all
2029
+ # fields.
2030
+ # @param [String] fields
2031
+ # Selector specifying which fields to include in a partial response.
2032
+ # @param [String] quota_user
2033
+ # Available to use for quota purposes for server-side applications. Can be any
2034
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2035
+ # @param [Google::Apis::RequestOptions] options
2036
+ # Request-specific options
2037
+ #
2038
+ # @yield [result, err] Result & error if block supplied
2039
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
2040
+ # @yieldparam err [StandardError] error object if request failed
2041
+ #
2042
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
2043
+ #
2044
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2045
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2046
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2047
+ def patch_property_data_stream(name, google_analytics_admin_v1alpha_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2048
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2049
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
2050
+ command.request_object = google_analytics_admin_v1alpha_data_stream_object
2051
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
2052
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
2053
+ command.params['name'] = name unless name.nil?
2054
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2055
+ command.query['fields'] = fields unless fields.nil?
2056
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2057
+ execute_or_queue_command(command, &block)
2058
+ end
2059
+
1885
2060
  # Approves a DisplayVideo360AdvertiserLinkProposal. The
1886
2061
  # DisplayVideo360AdvertiserLinkProposal will be deleted and a new
1887
2062
  # DisplayVideo360AdvertiserLink will be created.
@@ -3306,40 +3481,6 @@ module Google
3306
3481
  execute_or_queue_command(command, &block)
3307
3482
  end
3308
3483
 
3309
- # Returns the singleton enhanced measurement settings for this web stream. Note
3310
- # that the stream must enable enhanced measurement for these settings to take
3311
- # effect.
3312
- # @param [String] name
3313
- # Required. The name of the settings to lookup. Format: properties/`property_id`/
3314
- # webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "properties/
3315
- # 1000/webDataStreams/2000/enhancedMeasurementSettings"
3316
- # @param [String] fields
3317
- # Selector specifying which fields to include in a partial response.
3318
- # @param [String] quota_user
3319
- # Available to use for quota purposes for server-side applications. Can be any
3320
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3321
- # @param [Google::Apis::RequestOptions] options
3322
- # Request-specific options
3323
- #
3324
- # @yield [result, err] Result & error if block supplied
3325
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
3326
- # @yieldparam err [StandardError] error object if request failed
3327
- #
3328
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
3329
- #
3330
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3331
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3332
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3333
- def get_property_web_data_stream_enhanced_measurement_settings(name, fields: nil, quota_user: nil, options: nil, &block)
3334
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
3335
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
3336
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
3337
- command.params['name'] = name unless name.nil?
3338
- command.query['fields'] = fields unless fields.nil?
3339
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3340
- execute_or_queue_command(command, &block)
3341
- end
3342
-
3343
3484
  # Returns the Site Tag for the specified web stream. Site Tags are immutable
3344
3485
  # singletons.
3345
3486
  # @param [String] name
@@ -3458,48 +3599,6 @@ module Google
3458
3599
  execute_or_queue_command(command, &block)
3459
3600
  end
3460
3601
 
3461
- # Updates the singleton enhanced measurement settings for this web stream. Note
3462
- # that the stream must enable enhanced measurement for these settings to take
3463
- # effect.
3464
- # @param [String] name
3465
- # Output only. Resource name of this Data Stream. Format: properties/`
3466
- # property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
3467
- # properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
3468
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] google_analytics_admin_v1alpha_enhanced_measurement_settings_object
3469
- # @param [String] update_mask
3470
- # Required. The list of fields to be updated. Field names must be in snake case (
3471
- # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
3472
- # entire entity, use one path with the string "*" to match all fields.
3473
- # @param [String] fields
3474
- # Selector specifying which fields to include in a partial response.
3475
- # @param [String] quota_user
3476
- # Available to use for quota purposes for server-side applications. Can be any
3477
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3478
- # @param [Google::Apis::RequestOptions] options
3479
- # Request-specific options
3480
- #
3481
- # @yield [result, err] Result & error if block supplied
3482
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
3483
- # @yieldparam err [StandardError] error object if request failed
3484
- #
3485
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
3486
- #
3487
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3488
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3489
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3490
- def update_property_web_data_stream_enhanced_measurement_settings(name, google_analytics_admin_v1alpha_enhanced_measurement_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3491
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3492
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
3493
- command.request_object = google_analytics_admin_v1alpha_enhanced_measurement_settings_object
3494
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
3495
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
3496
- command.params['name'] = name unless name.nil?
3497
- command.query['updateMask'] = update_mask unless update_mask.nil?
3498
- command.query['fields'] = fields unless fields.nil?
3499
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3500
- execute_or_queue_command(command, &block)
3501
- end
3502
-
3503
3602
  # Creates a measurement protocol secret.
3504
3603
  # @param [String] parent
3505
3604
  # Required. The parent resource where this secret will be created. Any type of
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.17.0
4
+ version: 0.21.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-10-11 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.17.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.21.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Analytics Admin API V1alpha