google-apis-analyticsadmin_v1alpha 0.23.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae57af596fdf10eaf388dd7206efcbb1be28f3992f1b64f8287a0d8880eaabee
4
- data.tar.gz: 21a1e0a231879c269ad8f1599a59fdd47db730ccbe769b556eb2c1e1530df66c
3
+ metadata.gz: c60cc890b60c445820a4eb71cb4335576ca3609a8335ee153c3b414792bd37a9
4
+ data.tar.gz: 599e8aec6454034a743e702a37e14e530edcf7b2f397f0873f312e29adb34be7
5
5
  SHA512:
6
- metadata.gz: 5b3717201f59cb4bb49ee78f0d7abeb7467d6f8b9a7b61120b04ea9b75facf30b13518669376470a56fa3cc78b44db22e4a2627cf0dbb6e976cc2235dab924ed
7
- data.tar.gz: 559044f2fa43461a2a16471c4737c100614b82a4045b7080bec733b240c9e278d6e1845adee426a00086d53cdcd807e3175a4c9555c35d402d2c4a97003d9564
6
+ metadata.gz: 58288730528fefb2ec7aaeaed6354fa2ac68affb7bf0653a4974a0c2b1498d15463b95c89bb51bf0e21fa724a34237b56850d04691dec451992b64e75f4970c5
7
+ data.tar.gz: 716ddb762703645fda4c9d8785260223a1498163510b09526979ade93b545c31f3fe2c869a3b9640b0d4713b5d82b27dc2614a4ef48f8df92d85b49896f54542
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.24.0 (2022-01-28)
4
+
5
+ * Regenerated from discovery document revision 20220127
6
+
3
7
  ### v0.23.0 (2022-01-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20220116
@@ -151,6 +151,60 @@ module Google
151
151
  end
152
152
  end
153
153
 
154
+ # A resource message representing a Google Analytics Android app stream.
155
+ class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
156
+ include Google::Apis::Core::Hashable
157
+
158
+ # Output only. Time when this stream was originally created.
159
+ # Corresponds to the JSON property `createTime`
160
+ # @return [String]
161
+ attr_accessor :create_time
162
+
163
+ # Human-readable display name for the Data Stream. The max allowed display name
164
+ # length is 255 UTF-16 code units.
165
+ # Corresponds to the JSON property `displayName`
166
+ # @return [String]
167
+ attr_accessor :display_name
168
+
169
+ # Output only. ID of the corresponding Android app in Firebase, if any. This ID
170
+ # can change if the Android app is deleted and recreated.
171
+ # Corresponds to the JSON property `firebaseAppId`
172
+ # @return [String]
173
+ attr_accessor :firebase_app_id
174
+
175
+ # Output only. Resource name of this Data Stream. Format: properties/`
176
+ # property_id`/androidAppDataStreams/`stream_id` Example: "properties/1000/
177
+ # androidAppDataStreams/2000"
178
+ # Corresponds to the JSON property `name`
179
+ # @return [String]
180
+ attr_accessor :name
181
+
182
+ # Immutable. The package name for the app being measured. Example: "com.example.
183
+ # myandroidapp"
184
+ # Corresponds to the JSON property `packageName`
185
+ # @return [String]
186
+ attr_accessor :package_name
187
+
188
+ # Output only. Time when stream payload fields were last updated.
189
+ # Corresponds to the JSON property `updateTime`
190
+ # @return [String]
191
+ attr_accessor :update_time
192
+
193
+ def initialize(**args)
194
+ update!(**args)
195
+ end
196
+
197
+ # Update properties of this object
198
+ def update!(**args)
199
+ @create_time = args[:create_time] if args.key?(:create_time)
200
+ @display_name = args[:display_name] if args.key?(:display_name)
201
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
202
+ @name = args[:name] if args.key?(:name)
203
+ @package_name = args[:package_name] if args.key?(:package_name)
204
+ @update_time = args[:update_time] if args.key?(:update_time)
205
+ end
206
+ end
207
+
154
208
  # Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
155
209
  class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
156
210
  include Google::Apis::Core::Hashable
@@ -1416,6 +1470,60 @@ module Google
1416
1470
  end
1417
1471
  end
1418
1472
 
1473
+ # A resource message representing a Google Analytics IOS app stream.
1474
+ class GoogleAnalyticsAdminV1alphaIosAppDataStream
1475
+ include Google::Apis::Core::Hashable
1476
+
1477
+ # Required. Immutable. The Apple App Store Bundle ID for the app Example: "com.
1478
+ # example.myiosapp"
1479
+ # Corresponds to the JSON property `bundleId`
1480
+ # @return [String]
1481
+ attr_accessor :bundle_id
1482
+
1483
+ # Output only. Time when this stream was originally created.
1484
+ # Corresponds to the JSON property `createTime`
1485
+ # @return [String]
1486
+ attr_accessor :create_time
1487
+
1488
+ # Human-readable display name for the Data Stream. The max allowed display name
1489
+ # length is 255 UTF-16 code units.
1490
+ # Corresponds to the JSON property `displayName`
1491
+ # @return [String]
1492
+ attr_accessor :display_name
1493
+
1494
+ # Output only. ID of the corresponding iOS app in Firebase, if any. This ID can
1495
+ # change if the iOS app is deleted and recreated.
1496
+ # Corresponds to the JSON property `firebaseAppId`
1497
+ # @return [String]
1498
+ attr_accessor :firebase_app_id
1499
+
1500
+ # Output only. Resource name of this Data Stream. Format: properties/`
1501
+ # property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
1502
+ # iosAppDataStreams/2000"
1503
+ # Corresponds to the JSON property `name`
1504
+ # @return [String]
1505
+ attr_accessor :name
1506
+
1507
+ # Output only. Time when stream payload fields were last updated.
1508
+ # Corresponds to the JSON property `updateTime`
1509
+ # @return [String]
1510
+ attr_accessor :update_time
1511
+
1512
+ def initialize(**args)
1513
+ update!(**args)
1514
+ end
1515
+
1516
+ # Update properties of this object
1517
+ def update!(**args)
1518
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
1519
+ @create_time = args[:create_time] if args.key?(:create_time)
1520
+ @display_name = args[:display_name] if args.key?(:display_name)
1521
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1522
+ @name = args[:name] if args.key?(:name)
1523
+ @update_time = args[:update_time] if args.key?(:update_time)
1524
+ end
1525
+ end
1526
+
1419
1527
  # Status information for a link proposal.
1420
1528
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
1421
1529
  include Google::Apis::Core::Hashable
@@ -1499,6 +1607,32 @@ module Google
1499
1607
  end
1500
1608
  end
1501
1609
 
1610
+ # Request message for ListAndroidDataStreams RPC.
1611
+ class GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
1612
+ include Google::Apis::Core::Hashable
1613
+
1614
+ # Results that matched the filter criteria and were accessible to the caller.
1615
+ # Corresponds to the JSON property `androidAppDataStreams`
1616
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream>]
1617
+ attr_accessor :android_app_data_streams
1618
+
1619
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1620
+ # field is omitted, there are no subsequent pages.
1621
+ # Corresponds to the JSON property `nextPageToken`
1622
+ # @return [String]
1623
+ attr_accessor :next_page_token
1624
+
1625
+ def initialize(**args)
1626
+ update!(**args)
1627
+ end
1628
+
1629
+ # Update properties of this object
1630
+ def update!(**args)
1631
+ @android_app_data_streams = args[:android_app_data_streams] if args.key?(:android_app_data_streams)
1632
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1633
+ end
1634
+ end
1635
+
1502
1636
  # Response message for ListConversionEvents RPC.
1503
1637
  class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
1504
1638
  include Google::Apis::Core::Hashable
@@ -1708,6 +1842,32 @@ module Google
1708
1842
  end
1709
1843
  end
1710
1844
 
1845
+ # Request message for ListIosAppDataStreams RPC.
1846
+ class GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
1847
+ include Google::Apis::Core::Hashable
1848
+
1849
+ # Results that matched the filter criteria and were accessible to the caller.
1850
+ # Corresponds to the JSON property `iosAppDataStreams`
1851
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream>]
1852
+ attr_accessor :ios_app_data_streams
1853
+
1854
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1855
+ # field is omitted, there are no subsequent pages.
1856
+ # Corresponds to the JSON property `nextPageToken`
1857
+ # @return [String]
1858
+ attr_accessor :next_page_token
1859
+
1860
+ def initialize(**args)
1861
+ update!(**args)
1862
+ end
1863
+
1864
+ # Update properties of this object
1865
+ def update!(**args)
1866
+ @ios_app_data_streams = args[:ios_app_data_streams] if args.key?(:ios_app_data_streams)
1867
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1868
+ end
1869
+ end
1870
+
1711
1871
  # Response message for ListMeasurementProtocolSecret RPC
1712
1872
  class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
1713
1873
  include Google::Apis::Core::Hashable
@@ -1786,6 +1946,32 @@ module Google
1786
1946
  end
1787
1947
  end
1788
1948
 
1949
+ # Request message for ListWebDataStreams RPC.
1950
+ class GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
1951
+ include Google::Apis::Core::Hashable
1952
+
1953
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1954
+ # field is omitted, there are no subsequent pages.
1955
+ # Corresponds to the JSON property `nextPageToken`
1956
+ # @return [String]
1957
+ attr_accessor :next_page_token
1958
+
1959
+ # Results that matched the filter criteria and were accessible to the caller.
1960
+ # Corresponds to the JSON property `webDataStreams`
1961
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream>]
1962
+ attr_accessor :web_data_streams
1963
+
1964
+ def initialize(**args)
1965
+ update!(**args)
1966
+ end
1967
+
1968
+ # Update properties of this object
1969
+ def update!(**args)
1970
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1971
+ @web_data_streams = args[:web_data_streams] if args.key?(:web_data_streams)
1972
+ end
1973
+ end
1974
+
1789
1975
  # A secret value used for sending hits to Measurement Protocol.
1790
1976
  class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
1791
1977
  include Google::Apis::Core::Hashable
@@ -2143,6 +2329,67 @@ module Google
2143
2329
  end
2144
2330
  end
2145
2331
 
2332
+ # A resource message representing a Google Analytics web stream.
2333
+ class GoogleAnalyticsAdminV1alphaWebDataStream
2334
+ include Google::Apis::Core::Hashable
2335
+
2336
+ # Output only. Time when this stream was originally created.
2337
+ # Corresponds to the JSON property `createTime`
2338
+ # @return [String]
2339
+ attr_accessor :create_time
2340
+
2341
+ # Immutable. Domain name of the web app being measured, or empty. Example: "http:
2342
+ # //www.google.com", "https://www.google.com"
2343
+ # Corresponds to the JSON property `defaultUri`
2344
+ # @return [String]
2345
+ attr_accessor :default_uri
2346
+
2347
+ # Required. Human-readable display name for the Data Stream. The max allowed
2348
+ # display name length is 255 UTF-16 code units.
2349
+ # Corresponds to the JSON property `displayName`
2350
+ # @return [String]
2351
+ attr_accessor :display_name
2352
+
2353
+ # Output only. ID of the corresponding web app in Firebase, if any. This ID can
2354
+ # change if the web app is deleted and recreated.
2355
+ # Corresponds to the JSON property `firebaseAppId`
2356
+ # @return [String]
2357
+ attr_accessor :firebase_app_id
2358
+
2359
+ # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-
2360
+ # 1A2BCD345E" would just be "1A2BCD345E"
2361
+ # Corresponds to the JSON property `measurementId`
2362
+ # @return [String]
2363
+ attr_accessor :measurement_id
2364
+
2365
+ # Output only. Resource name of this Data Stream. Format: properties/`
2366
+ # property_id`/webDataStreams/`stream_id` Example: "properties/1000/
2367
+ # webDataStreams/2000"
2368
+ # Corresponds to the JSON property `name`
2369
+ # @return [String]
2370
+ attr_accessor :name
2371
+
2372
+ # Output only. Time when stream payload fields were last updated.
2373
+ # Corresponds to the JSON property `updateTime`
2374
+ # @return [String]
2375
+ attr_accessor :update_time
2376
+
2377
+ def initialize(**args)
2378
+ update!(**args)
2379
+ end
2380
+
2381
+ # Update properties of this object
2382
+ def update!(**args)
2383
+ @create_time = args[:create_time] if args.key?(:create_time)
2384
+ @default_uri = args[:default_uri] if args.key?(:default_uri)
2385
+ @display_name = args[:display_name] if args.key?(:display_name)
2386
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
2387
+ @measurement_id = args[:measurement_id] if args.key?(:measurement_id)
2388
+ @name = args[:name] if args.key?(:name)
2389
+ @update_time = args[:update_time] if args.key?(:update_time)
2390
+ end
2391
+ end
2392
+
2146
2393
  # A generic empty message that you can re-use to avoid defining duplicated empty
2147
2394
  # messages in your APIs. A typical example is to use it as the request or the
2148
2395
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -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.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220116"
25
+ REVISION = "20220127"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -250,6 +256,12 @@ module Google
250
256
  include Google::Apis::Core::JsonObjectSupport
251
257
  end
252
258
 
259
+ class GoogleAnalyticsAdminV1alphaIosAppDataStream
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
253
265
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
254
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
267
 
@@ -268,6 +280,12 @@ module Google
268
280
  include Google::Apis::Core::JsonObjectSupport
269
281
  end
270
282
 
283
+ class GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
271
289
  class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
272
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
291
 
@@ -316,6 +334,12 @@ module Google
316
334
  include Google::Apis::Core::JsonObjectSupport
317
335
  end
318
336
 
337
+ class GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
319
343
  class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
320
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
345
 
@@ -334,6 +358,12 @@ module Google
334
358
  include Google::Apis::Core::JsonObjectSupport
335
359
  end
336
360
 
361
+ class GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
337
367
  class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
338
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
369
 
@@ -388,6 +418,12 @@ module Google
388
418
  include Google::Apis::Core::JsonObjectSupport
389
419
  end
390
420
 
421
+ class GoogleAnalyticsAdminV1alphaWebDataStream
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
391
427
  class GoogleProtobufEmpty
392
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
429
 
@@ -430,6 +466,18 @@ module Google
430
466
  end
431
467
  end
432
468
 
469
+ class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :create_time, as: 'createTime'
473
+ property :display_name, as: 'displayName'
474
+ property :firebase_app_id, as: 'firebaseAppId'
475
+ property :name, as: 'name'
476
+ property :package_name, as: 'packageName'
477
+ property :update_time, as: 'updateTime'
478
+ end
479
+ end
480
+
433
481
  class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
434
482
  # @private
435
483
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -777,6 +825,18 @@ module Google
777
825
  end
778
826
  end
779
827
 
828
+ class GoogleAnalyticsAdminV1alphaIosAppDataStream
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :bundle_id, as: 'bundleId'
832
+ property :create_time, as: 'createTime'
833
+ property :display_name, as: 'displayName'
834
+ property :firebase_app_id, as: 'firebaseAppId'
835
+ property :name, as: 'name'
836
+ property :update_time, as: 'updateTime'
837
+ end
838
+ end
839
+
780
840
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
781
841
  # @private
782
842
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -804,6 +864,15 @@ module Google
804
864
  end
805
865
  end
806
866
 
867
+ class GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ collection :android_app_data_streams, as: 'androidAppDataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
871
+
872
+ property :next_page_token, as: 'nextPageToken'
873
+ end
874
+ end
875
+
807
876
  class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
808
877
  # @private
809
878
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -876,6 +945,15 @@ module Google
876
945
  end
877
946
  end
878
947
 
948
+ class GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
949
+ # @private
950
+ class Representation < Google::Apis::Core::JsonRepresentation
951
+ collection :ios_app_data_streams, as: 'iosAppDataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
952
+
953
+ property :next_page_token, as: 'nextPageToken'
954
+ end
955
+ end
956
+
879
957
  class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
880
958
  # @private
881
959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -903,6 +981,15 @@ module Google
903
981
  end
904
982
  end
905
983
 
984
+ class GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :next_page_token, as: 'nextPageToken'
988
+ collection :web_data_streams, as: 'webDataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
989
+
990
+ end
991
+ end
992
+
906
993
  class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
907
994
  # @private
908
995
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -994,6 +1081,19 @@ module Google
994
1081
  end
995
1082
  end
996
1083
 
1084
+ class GoogleAnalyticsAdminV1alphaWebDataStream
1085
+ # @private
1086
+ class Representation < Google::Apis::Core::JsonRepresentation
1087
+ property :create_time, as: 'createTime'
1088
+ property :default_uri, as: 'defaultUri'
1089
+ property :display_name, as: 'displayName'
1090
+ property :firebase_app_id, as: 'firebaseAppId'
1091
+ property :measurement_id, as: 'measurementId'
1092
+ property :name, as: 'name'
1093
+ property :update_time, as: 'updateTime'
1094
+ end
1095
+ end
1096
+
997
1097
  class GoogleProtobufEmpty
998
1098
  # @private
999
1099
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1057,6 +1057,153 @@ module Google
1057
1057
  execute_or_queue_command(command, &block)
1058
1058
  end
1059
1059
 
1060
+ # Deletes an android app stream on a property.
1061
+ # @param [String] name
1062
+ # Required. The name of the android app data stream to delete. Format:
1063
+ # properties/`property_id`/androidAppDataStreams/`stream_id` Example: "
1064
+ # properties/123/androidAppDataStreams/456"
1065
+ # @param [String] fields
1066
+ # Selector specifying which fields to include in a partial response.
1067
+ # @param [String] quota_user
1068
+ # Available to use for quota purposes for server-side applications. Can be any
1069
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1070
+ # @param [Google::Apis::RequestOptions] options
1071
+ # Request-specific options
1072
+ #
1073
+ # @yield [result, err] Result & error if block supplied
1074
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1075
+ # @yieldparam err [StandardError] error object if request failed
1076
+ #
1077
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1078
+ #
1079
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1080
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1081
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1082
+ def delete_property_android_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1083
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1084
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1085
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1086
+ command.params['name'] = name unless name.nil?
1087
+ command.query['fields'] = fields unless fields.nil?
1088
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1089
+ execute_or_queue_command(command, &block)
1090
+ end
1091
+
1092
+ # Lookup for a single AndroidAppDataStream
1093
+ # @param [String] name
1094
+ # Required. The name of the android app data stream to lookup. Format:
1095
+ # properties/`property_id`/androidAppDataStreams/`stream_id` Example: "
1096
+ # properties/123/androidAppDataStreams/456"
1097
+ # @param [String] fields
1098
+ # Selector specifying which fields to include in a partial response.
1099
+ # @param [String] quota_user
1100
+ # Available to use for quota purposes for server-side applications. Can be any
1101
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1102
+ # @param [Google::Apis::RequestOptions] options
1103
+ # Request-specific options
1104
+ #
1105
+ # @yield [result, err] Result & error if block supplied
1106
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] parsed result object
1107
+ # @yieldparam err [StandardError] error object if request failed
1108
+ #
1109
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
1110
+ #
1111
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1112
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1113
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1114
+ def get_property_android_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1115
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1116
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
1117
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
1118
+ command.params['name'] = name unless name.nil?
1119
+ command.query['fields'] = fields unless fields.nil?
1120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1121
+ execute_or_queue_command(command, &block)
1122
+ end
1123
+
1124
+ # Returns child android app streams under the specified parent property. Android
1125
+ # app streams will be excluded if the caller does not have access. Returns an
1126
+ # empty list if no relevant android app streams are found.
1127
+ # @param [String] parent
1128
+ # Required. The name of the parent property. For example, to limit results to
1129
+ # app streams under the property with Id 123: "properties/123"
1130
+ # @param [Fixnum] page_size
1131
+ # The maximum number of resources to return. If unspecified, at most 50
1132
+ # resources will be returned. The maximum value is 200; (higher values will be
1133
+ # coerced to the maximum)
1134
+ # @param [String] page_token
1135
+ # A page token, received from a previous call. Provide this to retrieve the
1136
+ # subsequent page. When paginating, all other parameters provided to `
1137
+ # ListAndroidAppDataStreams` must match the call that provided the page token.
1138
+ # @param [String] fields
1139
+ # Selector specifying which fields to include in a partial response.
1140
+ # @param [String] quota_user
1141
+ # Available to use for quota purposes for server-side applications. Can be any
1142
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1143
+ # @param [Google::Apis::RequestOptions] options
1144
+ # Request-specific options
1145
+ #
1146
+ # @yield [result, err] Result & error if block supplied
1147
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse] parsed result object
1148
+ # @yieldparam err [StandardError] error object if request failed
1149
+ #
1150
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse]
1151
+ #
1152
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1153
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1154
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1155
+ def list_property_android_app_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1156
+ command = make_simple_command(:get, 'v1alpha/{+parent}/androidAppDataStreams', options)
1157
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse::Representation
1158
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
1159
+ command.params['parent'] = parent unless parent.nil?
1160
+ command.query['pageSize'] = page_size unless page_size.nil?
1161
+ command.query['pageToken'] = page_token unless page_token.nil?
1162
+ command.query['fields'] = fields unless fields.nil?
1163
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1164
+ execute_or_queue_command(command, &block)
1165
+ end
1166
+
1167
+ # Updates an android app stream on a property.
1168
+ # @param [String] name
1169
+ # Output only. Resource name of this Data Stream. Format: properties/`
1170
+ # property_id`/androidAppDataStreams/`stream_id` Example: "properties/1000/
1171
+ # androidAppDataStreams/2000"
1172
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] google_analytics_admin_v1alpha_android_app_data_stream_object
1173
+ # @param [String] update_mask
1174
+ # Required. The list of fields to be updated. Field names must be in snake case (
1175
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
1176
+ # entire entity, use one path with the string "*" to match all fields.
1177
+ # @param [String] fields
1178
+ # Selector specifying which fields to include in a partial response.
1179
+ # @param [String] quota_user
1180
+ # Available to use for quota purposes for server-side applications. Can be any
1181
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1182
+ # @param [Google::Apis::RequestOptions] options
1183
+ # Request-specific options
1184
+ #
1185
+ # @yield [result, err] Result & error if block supplied
1186
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] parsed result object
1187
+ # @yieldparam err [StandardError] error object if request failed
1188
+ #
1189
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
1190
+ #
1191
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1192
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1193
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1194
+ def patch_property_android_app_data_stream(name, google_analytics_admin_v1alpha_android_app_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1195
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1196
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
1197
+ command.request_object = google_analytics_admin_v1alpha_android_app_data_stream_object
1198
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
1199
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
1200
+ command.params['name'] = name unless name.nil?
1201
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1202
+ command.query['fields'] = fields unless fields.nil?
1203
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1204
+ execute_or_queue_command(command, &block)
1205
+ end
1206
+
1060
1207
  # Creates a conversion event with the specified attributes.
1061
1208
  # @param [String] parent
1062
1209
  # Required. The resource name of the parent property where this conversion event
@@ -2546,6 +2693,154 @@ module Google
2546
2693
  execute_or_queue_command(command, &block)
2547
2694
  end
2548
2695
 
2696
+ # Deletes an iOS app stream on a property.
2697
+ # @param [String] name
2698
+ # Required. The name of the iOS app data stream to delete. Format: properties/`
2699
+ # property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
2700
+ # iosAppDataStreams/456"
2701
+ # @param [String] fields
2702
+ # Selector specifying which fields to include in a partial response.
2703
+ # @param [String] quota_user
2704
+ # Available to use for quota purposes for server-side applications. Can be any
2705
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2706
+ # @param [Google::Apis::RequestOptions] options
2707
+ # Request-specific options
2708
+ #
2709
+ # @yield [result, err] Result & error if block supplied
2710
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2711
+ # @yieldparam err [StandardError] error object if request failed
2712
+ #
2713
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2714
+ #
2715
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2716
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2717
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2718
+ def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
2719
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2720
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
2721
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
2722
+ command.params['name'] = name unless name.nil?
2723
+ command.query['fields'] = fields unless fields.nil?
2724
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2725
+ execute_or_queue_command(command, &block)
2726
+ end
2727
+
2728
+ # Lookup for a single IosAppDataStream
2729
+ # @param [String] name
2730
+ # Required. The name of the iOS app data stream to lookup. Format: properties/`
2731
+ # property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
2732
+ # iosAppDataStreams/456"
2733
+ # @param [String] fields
2734
+ # Selector specifying which fields to include in a partial response.
2735
+ # @param [String] quota_user
2736
+ # Available to use for quota purposes for server-side applications. Can be any
2737
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2738
+ # @param [Google::Apis::RequestOptions] options
2739
+ # Request-specific options
2740
+ #
2741
+ # @yield [result, err] Result & error if block supplied
2742
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
2743
+ # @yieldparam err [StandardError] error object if request failed
2744
+ #
2745
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
2746
+ #
2747
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2748
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2749
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2750
+ def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
2751
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2752
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
2753
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
2754
+ command.params['name'] = name unless name.nil?
2755
+ command.query['fields'] = fields unless fields.nil?
2756
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2757
+ execute_or_queue_command(command, &block)
2758
+ end
2759
+
2760
+ # Returns child iOS app data streams under the specified parent property. iOS
2761
+ # app data streams will be excluded if the caller does not have access. Returns
2762
+ # an empty list if no relevant iOS app data streams are found.
2763
+ # @param [String] parent
2764
+ # Required. The name of the parent property. For example, to list results of app
2765
+ # streams under the property with Id 123: "properties/123"
2766
+ # @param [Fixnum] page_size
2767
+ # The maximum number of resources to return. If unspecified, at most 50
2768
+ # resources will be returned. The maximum value is 200; (higher values will be
2769
+ # coerced to the maximum)
2770
+ # @param [String] page_token
2771
+ # A page token, received from a previous `ListIosAppDataStreams` call. Provide
2772
+ # this to retrieve the subsequent page. When paginating, all other parameters
2773
+ # provided to `ListIosAppDataStreams` must match the call that provided the page
2774
+ # token.
2775
+ # @param [String] fields
2776
+ # Selector specifying which fields to include in a partial response.
2777
+ # @param [String] quota_user
2778
+ # Available to use for quota purposes for server-side applications. Can be any
2779
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2780
+ # @param [Google::Apis::RequestOptions] options
2781
+ # Request-specific options
2782
+ #
2783
+ # @yield [result, err] Result & error if block supplied
2784
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse] parsed result object
2785
+ # @yieldparam err [StandardError] error object if request failed
2786
+ #
2787
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse]
2788
+ #
2789
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2790
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2791
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2792
+ def list_property_ios_app_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2793
+ command = make_simple_command(:get, 'v1alpha/{+parent}/iosAppDataStreams', options)
2794
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse::Representation
2795
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
2796
+ command.params['parent'] = parent unless parent.nil?
2797
+ command.query['pageSize'] = page_size unless page_size.nil?
2798
+ command.query['pageToken'] = page_token unless page_token.nil?
2799
+ command.query['fields'] = fields unless fields.nil?
2800
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2801
+ execute_or_queue_command(command, &block)
2802
+ end
2803
+
2804
+ # Updates an iOS app stream on a property.
2805
+ # @param [String] name
2806
+ # Output only. Resource name of this Data Stream. Format: properties/`
2807
+ # property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
2808
+ # iosAppDataStreams/2000"
2809
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
2810
+ # @param [String] update_mask
2811
+ # Required. The list of fields to be updated. Field names must be in snake case (
2812
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
2813
+ # entire entity, use one path with the string "*" to match all fields.
2814
+ # @param [String] fields
2815
+ # Selector specifying which fields to include in a partial response.
2816
+ # @param [String] quota_user
2817
+ # Available to use for quota purposes for server-side applications. Can be any
2818
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2819
+ # @param [Google::Apis::RequestOptions] options
2820
+ # Request-specific options
2821
+ #
2822
+ # @yield [result, err] Result & error if block supplied
2823
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
2824
+ # @yieldparam err [StandardError] error object if request failed
2825
+ #
2826
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
2827
+ #
2828
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2829
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2830
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2831
+ def patch_property_ios_app_data_stream(name, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2832
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2833
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
2834
+ command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
2835
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
2836
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
2837
+ command.params['name'] = name unless name.nil?
2838
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2839
+ command.query['fields'] = fields unless fields.nil?
2840
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2841
+ execute_or_queue_command(command, &block)
2842
+ end
2843
+
2549
2844
  # Lists all user links on an account or property, including implicit ones that
2550
2845
  # come from effective permissions granted by groups or organization admin roles.
2551
2846
  # If a returned user link does not have direct permissions, they cannot be
@@ -2901,6 +3196,104 @@ module Google
2901
3196
  execute_or_queue_command(command, &block)
2902
3197
  end
2903
3198
 
3199
+ # Creates a web stream with the specified location and attributes.
3200
+ # @param [String] parent
3201
+ # Required. The parent resource where this web data stream will be created.
3202
+ # Format: properties/123
3203
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] google_analytics_admin_v1alpha_web_data_stream_object
3204
+ # @param [String] fields
3205
+ # Selector specifying which fields to include in a partial response.
3206
+ # @param [String] quota_user
3207
+ # Available to use for quota purposes for server-side applications. Can be any
3208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3209
+ # @param [Google::Apis::RequestOptions] options
3210
+ # Request-specific options
3211
+ #
3212
+ # @yield [result, err] Result & error if block supplied
3213
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] parsed result object
3214
+ # @yieldparam err [StandardError] error object if request failed
3215
+ #
3216
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
3217
+ #
3218
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3219
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3220
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3221
+ def create_property_web_data_stream(parent, google_analytics_admin_v1alpha_web_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3222
+ command = make_simple_command(:post, 'v1alpha/{+parent}/webDataStreams', options)
3223
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
3224
+ command.request_object = google_analytics_admin_v1alpha_web_data_stream_object
3225
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
3226
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream
3227
+ command.params['parent'] = parent unless parent.nil?
3228
+ command.query['fields'] = fields unless fields.nil?
3229
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3230
+ execute_or_queue_command(command, &block)
3231
+ end
3232
+
3233
+ # Deletes a web stream on a property.
3234
+ # @param [String] name
3235
+ # Required. The name of the web data stream to delete. Format: properties/`
3236
+ # property_id`/webDataStreams/`stream_id` Example: "properties/123/
3237
+ # webDataStreams/456"
3238
+ # @param [String] fields
3239
+ # Selector specifying which fields to include in a partial response.
3240
+ # @param [String] quota_user
3241
+ # Available to use for quota purposes for server-side applications. Can be any
3242
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3243
+ # @param [Google::Apis::RequestOptions] options
3244
+ # Request-specific options
3245
+ #
3246
+ # @yield [result, err] Result & error if block supplied
3247
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
3248
+ # @yieldparam err [StandardError] error object if request failed
3249
+ #
3250
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
3251
+ #
3252
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3253
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3254
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3255
+ def delete_property_web_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
3256
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
3257
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
3258
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
3259
+ command.params['name'] = name unless name.nil?
3260
+ command.query['fields'] = fields unless fields.nil?
3261
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3262
+ execute_or_queue_command(command, &block)
3263
+ end
3264
+
3265
+ # Lookup for a single WebDataStream
3266
+ # @param [String] name
3267
+ # Required. The name of the web data stream to lookup. Format: properties/`
3268
+ # property_id`/webDataStreams/`stream_id` Example: "properties/123/
3269
+ # webDataStreams/456"
3270
+ # @param [String] fields
3271
+ # Selector specifying which fields to include in a partial response.
3272
+ # @param [String] quota_user
3273
+ # Available to use for quota purposes for server-side applications. Can be any
3274
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3275
+ # @param [Google::Apis::RequestOptions] options
3276
+ # Request-specific options
3277
+ #
3278
+ # @yield [result, err] Result & error if block supplied
3279
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] parsed result object
3280
+ # @yieldparam err [StandardError] error object if request failed
3281
+ #
3282
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
3283
+ #
3284
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3285
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3286
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3287
+ def get_property_web_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
3288
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
3289
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
3290
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream
3291
+ command.params['name'] = name unless name.nil?
3292
+ command.query['fields'] = fields unless fields.nil?
3293
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3294
+ execute_or_queue_command(command, &block)
3295
+ end
3296
+
2904
3297
  # Returns the Site Tag for the specified web stream. Site Tags are immutable
2905
3298
  # singletons.
2906
3299
  # @param [String] name
@@ -2934,6 +3327,90 @@ module Google
2934
3327
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2935
3328
  execute_or_queue_command(command, &block)
2936
3329
  end
3330
+
3331
+ # Returns child web data streams under the specified parent property. Web data
3332
+ # streams will be excluded if the caller does not have access. Returns an empty
3333
+ # list if no relevant web data streams are found.
3334
+ # @param [String] parent
3335
+ # Required. The name of the parent property. For example, to list results of web
3336
+ # streams under the property with Id 123: "properties/123"
3337
+ # @param [Fixnum] page_size
3338
+ # The maximum number of resources to return. If unspecified, at most 50
3339
+ # resources will be returned. The maximum value is 200; (higher values will be
3340
+ # coerced to the maximum)
3341
+ # @param [String] page_token
3342
+ # A page token, received from a previous `ListWebDataStreams` call. Provide this
3343
+ # to retrieve the subsequent page. When paginating, all other parameters
3344
+ # provided to `ListWebDataStreams` must match the call that provided the page
3345
+ # token.
3346
+ # @param [String] fields
3347
+ # Selector specifying which fields to include in a partial response.
3348
+ # @param [String] quota_user
3349
+ # Available to use for quota purposes for server-side applications. Can be any
3350
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3351
+ # @param [Google::Apis::RequestOptions] options
3352
+ # Request-specific options
3353
+ #
3354
+ # @yield [result, err] Result & error if block supplied
3355
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse] parsed result object
3356
+ # @yieldparam err [StandardError] error object if request failed
3357
+ #
3358
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse]
3359
+ #
3360
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3361
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3362
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3363
+ def list_property_web_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3364
+ command = make_simple_command(:get, 'v1alpha/{+parent}/webDataStreams', options)
3365
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse::Representation
3366
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
3367
+ command.params['parent'] = parent unless parent.nil?
3368
+ command.query['pageSize'] = page_size unless page_size.nil?
3369
+ command.query['pageToken'] = page_token unless page_token.nil?
3370
+ command.query['fields'] = fields unless fields.nil?
3371
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3372
+ execute_or_queue_command(command, &block)
3373
+ end
3374
+
3375
+ # Updates a web stream on a property.
3376
+ # @param [String] name
3377
+ # Output only. Resource name of this Data Stream. Format: properties/`
3378
+ # property_id`/webDataStreams/`stream_id` Example: "properties/1000/
3379
+ # webDataStreams/2000"
3380
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] google_analytics_admin_v1alpha_web_data_stream_object
3381
+ # @param [String] update_mask
3382
+ # Required. The list of fields to be updated. Field names must be in snake case (
3383
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
3384
+ # entire entity, use one path with the string "*" to match all fields.
3385
+ # @param [String] fields
3386
+ # Selector specifying which fields to include in a partial response.
3387
+ # @param [String] quota_user
3388
+ # Available to use for quota purposes for server-side applications. Can be any
3389
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3390
+ # @param [Google::Apis::RequestOptions] options
3391
+ # Request-specific options
3392
+ #
3393
+ # @yield [result, err] Result & error if block supplied
3394
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] parsed result object
3395
+ # @yieldparam err [StandardError] error object if request failed
3396
+ #
3397
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
3398
+ #
3399
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3400
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3401
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3402
+ def patch_property_web_data_stream(name, google_analytics_admin_v1alpha_web_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3403
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3404
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
3405
+ command.request_object = google_analytics_admin_v1alpha_web_data_stream_object
3406
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
3407
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream
3408
+ command.params['name'] = name unless name.nil?
3409
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3410
+ command.query['fields'] = fields unless fields.nil?
3411
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3412
+ execute_or_queue_command(command, &block)
3413
+ end
2937
3414
 
2938
3415
  protected
2939
3416
 
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.23.0
4
+ version: 0.24.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: 2022-01-24 00:00:00.000000000 Z
11
+ date: 2022-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.24.0
62
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: []