google-analytics-admin-v1alpha 0.23.0 → 0.25.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.
@@ -229,6 +229,22 @@ module Google
229
229
  # @return [::Google::Analytics::Admin::V1alpha::Account]
230
230
  #
231
231
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
232
+ #
233
+ # @example Basic example
234
+ # require "google/analytics/admin/v1alpha"
235
+ #
236
+ # # Create a client object. The client can be reused for multiple calls.
237
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
238
+ #
239
+ # # Create a request. To set request fields, pass in keyword arguments.
240
+ # request = Google::Analytics::Admin::V1alpha::GetAccountRequest.new
241
+ #
242
+ # # Call the get_account method.
243
+ # result = client.get_account request
244
+ #
245
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Account.
246
+ # p result
247
+ #
232
248
  def get_account request, options = nil
233
249
  raise ::ArgumentError, "request must be provided" if request.nil?
234
250
 
@@ -307,6 +323,26 @@ module Google
307
323
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::Account>]
308
324
  #
309
325
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
326
+ #
327
+ # @example Basic example
328
+ # require "google/analytics/admin/v1alpha"
329
+ #
330
+ # # Create a client object. The client can be reused for multiple calls.
331
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
332
+ #
333
+ # # Create a request. To set request fields, pass in keyword arguments.
334
+ # request = Google::Analytics::Admin::V1alpha::ListAccountsRequest.new
335
+ #
336
+ # # Call the list_accounts method.
337
+ # result = client.list_accounts request
338
+ #
339
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
340
+ # # over elements, and API calls will be issued to fetch pages as needed.
341
+ # result.each do |item|
342
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::Account.
343
+ # p item
344
+ # end
345
+ #
310
346
  def list_accounts request, options = nil
311
347
  raise ::ArgumentError, "request must be provided" if request.nil?
312
348
 
@@ -382,6 +418,22 @@ module Google
382
418
  # @return [::Google::Protobuf::Empty]
383
419
  #
384
420
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
421
+ #
422
+ # @example Basic example
423
+ # require "google/analytics/admin/v1alpha"
424
+ #
425
+ # # Create a client object. The client can be reused for multiple calls.
426
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
427
+ #
428
+ # # Create a request. To set request fields, pass in keyword arguments.
429
+ # request = Google::Analytics::Admin::V1alpha::DeleteAccountRequest.new
430
+ #
431
+ # # Call the delete_account method.
432
+ # result = client.delete_account request
433
+ #
434
+ # # The returned object is of type Google::Protobuf::Empty.
435
+ # p result
436
+ #
385
437
  def delete_account request, options = nil
386
438
  raise ::ArgumentError, "request must be provided" if request.nil?
387
439
 
@@ -450,6 +502,22 @@ module Google
450
502
  # @return [::Google::Analytics::Admin::V1alpha::Account]
451
503
  #
452
504
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
505
+ #
506
+ # @example Basic example
507
+ # require "google/analytics/admin/v1alpha"
508
+ #
509
+ # # Create a client object. The client can be reused for multiple calls.
510
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
511
+ #
512
+ # # Create a request. To set request fields, pass in keyword arguments.
513
+ # request = Google::Analytics::Admin::V1alpha::UpdateAccountRequest.new
514
+ #
515
+ # # Call the update_account method.
516
+ # result = client.update_account request
517
+ #
518
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Account.
519
+ # p result
520
+ #
453
521
  def update_account request, options = nil
454
522
  raise ::ArgumentError, "request must be provided" if request.nil?
455
523
 
@@ -515,6 +583,22 @@ module Google
515
583
  # @return [::Google::Analytics::Admin::V1alpha::ProvisionAccountTicketResponse]
516
584
  #
517
585
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
586
+ #
587
+ # @example Basic example
588
+ # require "google/analytics/admin/v1alpha"
589
+ #
590
+ # # Create a client object. The client can be reused for multiple calls.
591
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
592
+ #
593
+ # # Create a request. To set request fields, pass in keyword arguments.
594
+ # request = Google::Analytics::Admin::V1alpha::ProvisionAccountTicketRequest.new
595
+ #
596
+ # # Call the provision_account_ticket method.
597
+ # result = client.provision_account_ticket request
598
+ #
599
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ProvisionAccountTicketResponse.
600
+ # p result
601
+ #
518
602
  def provision_account_ticket request, options = nil
519
603
  raise ::ArgumentError, "request must be provided" if request.nil?
520
604
 
@@ -585,6 +669,26 @@ module Google
585
669
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::AccountSummary>]
586
670
  #
587
671
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
672
+ #
673
+ # @example Basic example
674
+ # require "google/analytics/admin/v1alpha"
675
+ #
676
+ # # Create a client object. The client can be reused for multiple calls.
677
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
678
+ #
679
+ # # Create a request. To set request fields, pass in keyword arguments.
680
+ # request = Google::Analytics::Admin::V1alpha::ListAccountSummariesRequest.new
681
+ #
682
+ # # Call the list_account_summaries method.
683
+ # result = client.list_account_summaries request
684
+ #
685
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
686
+ # # over elements, and API calls will be issued to fetch pages as needed.
687
+ # result.each do |item|
688
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::AccountSummary.
689
+ # p item
690
+ # end
691
+ #
588
692
  def list_account_summaries request, options = nil
589
693
  raise ::ArgumentError, "request must be provided" if request.nil?
590
694
 
@@ -650,6 +754,22 @@ module Google
650
754
  # @return [::Google::Analytics::Admin::V1alpha::Property]
651
755
  #
652
756
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
757
+ #
758
+ # @example Basic example
759
+ # require "google/analytics/admin/v1alpha"
760
+ #
761
+ # # Create a client object. The client can be reused for multiple calls.
762
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
763
+ #
764
+ # # Create a request. To set request fields, pass in keyword arguments.
765
+ # request = Google::Analytics::Admin::V1alpha::GetPropertyRequest.new
766
+ #
767
+ # # Call the get_property method.
768
+ # result = client.get_property request
769
+ #
770
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Property.
771
+ # p result
772
+ #
653
773
  def get_property request, options = nil
654
774
  raise ::ArgumentError, "request must be provided" if request.nil?
655
775
 
@@ -746,6 +866,26 @@ module Google
746
866
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::Property>]
747
867
  #
748
868
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
869
+ #
870
+ # @example Basic example
871
+ # require "google/analytics/admin/v1alpha"
872
+ #
873
+ # # Create a client object. The client can be reused for multiple calls.
874
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
875
+ #
876
+ # # Create a request. To set request fields, pass in keyword arguments.
877
+ # request = Google::Analytics::Admin::V1alpha::ListPropertiesRequest.new
878
+ #
879
+ # # Call the list_properties method.
880
+ # result = client.list_properties request
881
+ #
882
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
883
+ # # over elements, and API calls will be issued to fetch pages as needed.
884
+ # result.each do |item|
885
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::Property.
886
+ # p item
887
+ # end
888
+ #
749
889
  def list_properties request, options = nil
750
890
  raise ::ArgumentError, "request must be provided" if request.nil?
751
891
 
@@ -810,6 +950,22 @@ module Google
810
950
  # @return [::Google::Analytics::Admin::V1alpha::Property]
811
951
  #
812
952
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
953
+ #
954
+ # @example Basic example
955
+ # require "google/analytics/admin/v1alpha"
956
+ #
957
+ # # Create a client object. The client can be reused for multiple calls.
958
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
959
+ #
960
+ # # Create a request. To set request fields, pass in keyword arguments.
961
+ # request = Google::Analytics::Admin::V1alpha::CreatePropertyRequest.new
962
+ #
963
+ # # Call the create_property method.
964
+ # result = client.create_property request
965
+ #
966
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Property.
967
+ # p result
968
+ #
813
969
  def create_property request, options = nil
814
970
  raise ::ArgumentError, "request must be provided" if request.nil?
815
971
 
@@ -884,6 +1040,22 @@ module Google
884
1040
  # @return [::Google::Analytics::Admin::V1alpha::Property]
885
1041
  #
886
1042
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1043
+ #
1044
+ # @example Basic example
1045
+ # require "google/analytics/admin/v1alpha"
1046
+ #
1047
+ # # Create a client object. The client can be reused for multiple calls.
1048
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1049
+ #
1050
+ # # Create a request. To set request fields, pass in keyword arguments.
1051
+ # request = Google::Analytics::Admin::V1alpha::DeletePropertyRequest.new
1052
+ #
1053
+ # # Call the delete_property method.
1054
+ # result = client.delete_property request
1055
+ #
1056
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Property.
1057
+ # p result
1058
+ #
887
1059
  def delete_property request, options = nil
888
1060
  raise ::ArgumentError, "request must be provided" if request.nil?
889
1061
 
@@ -953,6 +1125,22 @@ module Google
953
1125
  # @return [::Google::Analytics::Admin::V1alpha::Property]
954
1126
  #
955
1127
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1128
+ #
1129
+ # @example Basic example
1130
+ # require "google/analytics/admin/v1alpha"
1131
+ #
1132
+ # # Create a client object. The client can be reused for multiple calls.
1133
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1134
+ #
1135
+ # # Create a request. To set request fields, pass in keyword arguments.
1136
+ # request = Google::Analytics::Admin::V1alpha::UpdatePropertyRequest.new
1137
+ #
1138
+ # # Call the update_property method.
1139
+ # result = client.update_property request
1140
+ #
1141
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Property.
1142
+ # p result
1143
+ #
956
1144
  def update_property request, options = nil
957
1145
  raise ::ArgumentError, "request must be provided" if request.nil?
958
1146
 
@@ -1015,6 +1203,22 @@ module Google
1015
1203
  # @return [::Google::Analytics::Admin::V1alpha::UserLink]
1016
1204
  #
1017
1205
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1206
+ #
1207
+ # @example Basic example
1208
+ # require "google/analytics/admin/v1alpha"
1209
+ #
1210
+ # # Create a client object. The client can be reused for multiple calls.
1211
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1212
+ #
1213
+ # # Create a request. To set request fields, pass in keyword arguments.
1214
+ # request = Google::Analytics::Admin::V1alpha::GetUserLinkRequest.new
1215
+ #
1216
+ # # Call the get_user_link method.
1217
+ # result = client.get_user_link request
1218
+ #
1219
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::UserLink.
1220
+ # p result
1221
+ #
1018
1222
  def get_user_link request, options = nil
1019
1223
  raise ::ArgumentError, "request must be provided" if request.nil?
1020
1224
 
@@ -1084,6 +1288,22 @@ module Google
1084
1288
  # @return [::Google::Analytics::Admin::V1alpha::BatchGetUserLinksResponse]
1085
1289
  #
1086
1290
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1291
+ #
1292
+ # @example Basic example
1293
+ # require "google/analytics/admin/v1alpha"
1294
+ #
1295
+ # # Create a client object. The client can be reused for multiple calls.
1296
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1297
+ #
1298
+ # # Create a request. To set request fields, pass in keyword arguments.
1299
+ # request = Google::Analytics::Admin::V1alpha::BatchGetUserLinksRequest.new
1300
+ #
1301
+ # # Call the batch_get_user_links method.
1302
+ # result = client.batch_get_user_links request
1303
+ #
1304
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::BatchGetUserLinksResponse.
1305
+ # p result
1306
+ #
1087
1307
  def batch_get_user_links request, options = nil
1088
1308
  raise ::ArgumentError, "request must be provided" if request.nil?
1089
1309
 
@@ -1156,6 +1376,26 @@ module Google
1156
1376
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::UserLink>]
1157
1377
  #
1158
1378
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1379
+ #
1380
+ # @example Basic example
1381
+ # require "google/analytics/admin/v1alpha"
1382
+ #
1383
+ # # Create a client object. The client can be reused for multiple calls.
1384
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1385
+ #
1386
+ # # Create a request. To set request fields, pass in keyword arguments.
1387
+ # request = Google::Analytics::Admin::V1alpha::ListUserLinksRequest.new
1388
+ #
1389
+ # # Call the list_user_links method.
1390
+ # result = client.list_user_links request
1391
+ #
1392
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1393
+ # # over elements, and API calls will be issued to fetch pages as needed.
1394
+ # result.each do |item|
1395
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::UserLink.
1396
+ # p item
1397
+ # end
1398
+ #
1159
1399
  def list_user_links request, options = nil
1160
1400
  raise ::ArgumentError, "request must be provided" if request.nil?
1161
1401
 
@@ -1237,6 +1477,26 @@ module Google
1237
1477
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::AuditUserLink>]
1238
1478
  #
1239
1479
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1480
+ #
1481
+ # @example Basic example
1482
+ # require "google/analytics/admin/v1alpha"
1483
+ #
1484
+ # # Create a client object. The client can be reused for multiple calls.
1485
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1486
+ #
1487
+ # # Create a request. To set request fields, pass in keyword arguments.
1488
+ # request = Google::Analytics::Admin::V1alpha::AuditUserLinksRequest.new
1489
+ #
1490
+ # # Call the audit_user_links method.
1491
+ # result = client.audit_user_links request
1492
+ #
1493
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1494
+ # # over elements, and API calls will be issued to fetch pages as needed.
1495
+ # result.each do |item|
1496
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::AuditUserLink.
1497
+ # p item
1498
+ # end
1499
+ #
1240
1500
  def audit_user_links request, options = nil
1241
1501
  raise ::ArgumentError, "request must be provided" if request.nil?
1242
1502
 
@@ -1309,6 +1569,22 @@ module Google
1309
1569
  # @return [::Google::Analytics::Admin::V1alpha::UserLink]
1310
1570
  #
1311
1571
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1572
+ #
1573
+ # @example Basic example
1574
+ # require "google/analytics/admin/v1alpha"
1575
+ #
1576
+ # # Create a client object. The client can be reused for multiple calls.
1577
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1578
+ #
1579
+ # # Create a request. To set request fields, pass in keyword arguments.
1580
+ # request = Google::Analytics::Admin::V1alpha::CreateUserLinkRequest.new
1581
+ #
1582
+ # # Call the create_user_link method.
1583
+ # result = client.create_user_link request
1584
+ #
1585
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::UserLink.
1586
+ # p result
1587
+ #
1312
1588
  def create_user_link request, options = nil
1313
1589
  raise ::ArgumentError, "request must be provided" if request.nil?
1314
1590
 
@@ -1384,6 +1660,22 @@ module Google
1384
1660
  # @return [::Google::Analytics::Admin::V1alpha::BatchCreateUserLinksResponse]
1385
1661
  #
1386
1662
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1663
+ #
1664
+ # @example Basic example
1665
+ # require "google/analytics/admin/v1alpha"
1666
+ #
1667
+ # # Create a client object. The client can be reused for multiple calls.
1668
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1669
+ #
1670
+ # # Create a request. To set request fields, pass in keyword arguments.
1671
+ # request = Google::Analytics::Admin::V1alpha::BatchCreateUserLinksRequest.new
1672
+ #
1673
+ # # Call the batch_create_user_links method.
1674
+ # result = client.batch_create_user_links request
1675
+ #
1676
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::BatchCreateUserLinksResponse.
1677
+ # p result
1678
+ #
1387
1679
  def batch_create_user_links request, options = nil
1388
1680
  raise ::ArgumentError, "request must be provided" if request.nil?
1389
1681
 
@@ -1446,6 +1738,22 @@ module Google
1446
1738
  # @return [::Google::Analytics::Admin::V1alpha::UserLink]
1447
1739
  #
1448
1740
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1741
+ #
1742
+ # @example Basic example
1743
+ # require "google/analytics/admin/v1alpha"
1744
+ #
1745
+ # # Create a client object. The client can be reused for multiple calls.
1746
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1747
+ #
1748
+ # # Create a request. To set request fields, pass in keyword arguments.
1749
+ # request = Google::Analytics::Admin::V1alpha::UpdateUserLinkRequest.new
1750
+ #
1751
+ # # Call the update_user_link method.
1752
+ # result = client.update_user_link request
1753
+ #
1754
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::UserLink.
1755
+ # p result
1756
+ #
1449
1757
  def update_user_link request, options = nil
1450
1758
  raise ::ArgumentError, "request must be provided" if request.nil?
1451
1759
 
@@ -1514,6 +1822,22 @@ module Google
1514
1822
  # @return [::Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksResponse]
1515
1823
  #
1516
1824
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1825
+ #
1826
+ # @example Basic example
1827
+ # require "google/analytics/admin/v1alpha"
1828
+ #
1829
+ # # Create a client object. The client can be reused for multiple calls.
1830
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1831
+ #
1832
+ # # Create a request. To set request fields, pass in keyword arguments.
1833
+ # request = Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksRequest.new
1834
+ #
1835
+ # # Call the batch_update_user_links method.
1836
+ # result = client.batch_update_user_links request
1837
+ #
1838
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksResponse.
1839
+ # p result
1840
+ #
1517
1841
  def batch_update_user_links request, options = nil
1518
1842
  raise ::ArgumentError, "request must be provided" if request.nil?
1519
1843
 
@@ -1576,6 +1900,22 @@ module Google
1576
1900
  # @return [::Google::Protobuf::Empty]
1577
1901
  #
1578
1902
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1903
+ #
1904
+ # @example Basic example
1905
+ # require "google/analytics/admin/v1alpha"
1906
+ #
1907
+ # # Create a client object. The client can be reused for multiple calls.
1908
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1909
+ #
1910
+ # # Create a request. To set request fields, pass in keyword arguments.
1911
+ # request = Google::Analytics::Admin::V1alpha::DeleteUserLinkRequest.new
1912
+ #
1913
+ # # Call the delete_user_link method.
1914
+ # result = client.delete_user_link request
1915
+ #
1916
+ # # The returned object is of type Google::Protobuf::Empty.
1917
+ # p result
1918
+ #
1579
1919
  def delete_user_link request, options = nil
1580
1920
  raise ::ArgumentError, "request must be provided" if request.nil?
1581
1921
 
@@ -1644,6 +1984,22 @@ module Google
1644
1984
  # @return [::Google::Protobuf::Empty]
1645
1985
  #
1646
1986
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1987
+ #
1988
+ # @example Basic example
1989
+ # require "google/analytics/admin/v1alpha"
1990
+ #
1991
+ # # Create a client object. The client can be reused for multiple calls.
1992
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
1993
+ #
1994
+ # # Create a request. To set request fields, pass in keyword arguments.
1995
+ # request = Google::Analytics::Admin::V1alpha::BatchDeleteUserLinksRequest.new
1996
+ #
1997
+ # # Call the batch_delete_user_links method.
1998
+ # result = client.batch_delete_user_links request
1999
+ #
2000
+ # # The returned object is of type Google::Protobuf::Empty.
2001
+ # p result
2002
+ #
1647
2003
  def batch_delete_user_links request, options = nil
1648
2004
  raise ::ArgumentError, "request must be provided" if request.nil?
1649
2005
 
@@ -1711,6 +2067,22 @@ module Google
1711
2067
  # @return [::Google::Analytics::Admin::V1alpha::FirebaseLink]
1712
2068
  #
1713
2069
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2070
+ #
2071
+ # @example Basic example
2072
+ # require "google/analytics/admin/v1alpha"
2073
+ #
2074
+ # # Create a client object. The client can be reused for multiple calls.
2075
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2076
+ #
2077
+ # # Create a request. To set request fields, pass in keyword arguments.
2078
+ # request = Google::Analytics::Admin::V1alpha::CreateFirebaseLinkRequest.new
2079
+ #
2080
+ # # Call the create_firebase_link method.
2081
+ # result = client.create_firebase_link request
2082
+ #
2083
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::FirebaseLink.
2084
+ # p result
2085
+ #
1714
2086
  def create_firebase_link request, options = nil
1715
2087
  raise ::ArgumentError, "request must be provided" if request.nil?
1716
2088
 
@@ -1774,6 +2146,22 @@ module Google
1774
2146
  # @return [::Google::Protobuf::Empty]
1775
2147
  #
1776
2148
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2149
+ #
2150
+ # @example Basic example
2151
+ # require "google/analytics/admin/v1alpha"
2152
+ #
2153
+ # # Create a client object. The client can be reused for multiple calls.
2154
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2155
+ #
2156
+ # # Create a request. To set request fields, pass in keyword arguments.
2157
+ # request = Google::Analytics::Admin::V1alpha::DeleteFirebaseLinkRequest.new
2158
+ #
2159
+ # # Call the delete_firebase_link method.
2160
+ # result = client.delete_firebase_link request
2161
+ #
2162
+ # # The returned object is of type Google::Protobuf::Empty.
2163
+ # p result
2164
+ #
1777
2165
  def delete_firebase_link request, options = nil
1778
2166
  raise ::ArgumentError, "request must be provided" if request.nil?
1779
2167
 
@@ -1848,6 +2236,26 @@ module Google
1848
2236
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::FirebaseLink>]
1849
2237
  #
1850
2238
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2239
+ #
2240
+ # @example Basic example
2241
+ # require "google/analytics/admin/v1alpha"
2242
+ #
2243
+ # # Create a client object. The client can be reused for multiple calls.
2244
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2245
+ #
2246
+ # # Create a request. To set request fields, pass in keyword arguments.
2247
+ # request = Google::Analytics::Admin::V1alpha::ListFirebaseLinksRequest.new
2248
+ #
2249
+ # # Call the list_firebase_links method.
2250
+ # result = client.list_firebase_links request
2251
+ #
2252
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2253
+ # # over elements, and API calls will be issued to fetch pages as needed.
2254
+ # result.each do |item|
2255
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::FirebaseLink.
2256
+ # p item
2257
+ # end
2258
+ #
1851
2259
  def list_firebase_links request, options = nil
1852
2260
  raise ::ArgumentError, "request must be provided" if request.nil?
1853
2261
 
@@ -1915,6 +2323,22 @@ module Google
1915
2323
  # @return [::Google::Analytics::Admin::V1alpha::GlobalSiteTag]
1916
2324
  #
1917
2325
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2326
+ #
2327
+ # @example Basic example
2328
+ # require "google/analytics/admin/v1alpha"
2329
+ #
2330
+ # # Create a client object. The client can be reused for multiple calls.
2331
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2332
+ #
2333
+ # # Create a request. To set request fields, pass in keyword arguments.
2334
+ # request = Google::Analytics::Admin::V1alpha::GetGlobalSiteTagRequest.new
2335
+ #
2336
+ # # Call the get_global_site_tag method.
2337
+ # result = client.get_global_site_tag request
2338
+ #
2339
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::GlobalSiteTag.
2340
+ # p result
2341
+ #
1918
2342
  def get_global_site_tag request, options = nil
1919
2343
  raise ::ArgumentError, "request must be provided" if request.nil?
1920
2344
 
@@ -1979,6 +2403,22 @@ module Google
1979
2403
  # @return [::Google::Analytics::Admin::V1alpha::GoogleAdsLink]
1980
2404
  #
1981
2405
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2406
+ #
2407
+ # @example Basic example
2408
+ # require "google/analytics/admin/v1alpha"
2409
+ #
2410
+ # # Create a client object. The client can be reused for multiple calls.
2411
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2412
+ #
2413
+ # # Create a request. To set request fields, pass in keyword arguments.
2414
+ # request = Google::Analytics::Admin::V1alpha::CreateGoogleAdsLinkRequest.new
2415
+ #
2416
+ # # Call the create_google_ads_link method.
2417
+ # result = client.create_google_ads_link request
2418
+ #
2419
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::GoogleAdsLink.
2420
+ # p result
2421
+ #
1982
2422
  def create_google_ads_link request, options = nil
1983
2423
  raise ::ArgumentError, "request must be provided" if request.nil?
1984
2424
 
@@ -2046,6 +2486,22 @@ module Google
2046
2486
  # @return [::Google::Analytics::Admin::V1alpha::GoogleAdsLink]
2047
2487
  #
2048
2488
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2489
+ #
2490
+ # @example Basic example
2491
+ # require "google/analytics/admin/v1alpha"
2492
+ #
2493
+ # # Create a client object. The client can be reused for multiple calls.
2494
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2495
+ #
2496
+ # # Create a request. To set request fields, pass in keyword arguments.
2497
+ # request = Google::Analytics::Admin::V1alpha::UpdateGoogleAdsLinkRequest.new
2498
+ #
2499
+ # # Call the update_google_ads_link method.
2500
+ # result = client.update_google_ads_link request
2501
+ #
2502
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::GoogleAdsLink.
2503
+ # p result
2504
+ #
2049
2505
  def update_google_ads_link request, options = nil
2050
2506
  raise ::ArgumentError, "request must be provided" if request.nil?
2051
2507
 
@@ -2108,6 +2564,22 @@ module Google
2108
2564
  # @return [::Google::Protobuf::Empty]
2109
2565
  #
2110
2566
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2567
+ #
2568
+ # @example Basic example
2569
+ # require "google/analytics/admin/v1alpha"
2570
+ #
2571
+ # # Create a client object. The client can be reused for multiple calls.
2572
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2573
+ #
2574
+ # # Create a request. To set request fields, pass in keyword arguments.
2575
+ # request = Google::Analytics::Admin::V1alpha::DeleteGoogleAdsLinkRequest.new
2576
+ #
2577
+ # # Call the delete_google_ads_link method.
2578
+ # result = client.delete_google_ads_link request
2579
+ #
2580
+ # # The returned object is of type Google::Protobuf::Empty.
2581
+ # p result
2582
+ #
2111
2583
  def delete_google_ads_link request, options = nil
2112
2584
  raise ::ArgumentError, "request must be provided" if request.nil?
2113
2585
 
@@ -2180,6 +2652,26 @@ module Google
2180
2652
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::GoogleAdsLink>]
2181
2653
  #
2182
2654
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2655
+ #
2656
+ # @example Basic example
2657
+ # require "google/analytics/admin/v1alpha"
2658
+ #
2659
+ # # Create a client object. The client can be reused for multiple calls.
2660
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2661
+ #
2662
+ # # Create a request. To set request fields, pass in keyword arguments.
2663
+ # request = Google::Analytics::Admin::V1alpha::ListGoogleAdsLinksRequest.new
2664
+ #
2665
+ # # Call the list_google_ads_links method.
2666
+ # result = client.list_google_ads_links request
2667
+ #
2668
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2669
+ # # over elements, and API calls will be issued to fetch pages as needed.
2670
+ # result.each do |item|
2671
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::GoogleAdsLink.
2672
+ # p item
2673
+ # end
2674
+ #
2183
2675
  def list_google_ads_links request, options = nil
2184
2676
  raise ::ArgumentError, "request must be provided" if request.nil?
2185
2677
 
@@ -2246,6 +2738,22 @@ module Google
2246
2738
  # @return [::Google::Analytics::Admin::V1alpha::DataSharingSettings]
2247
2739
  #
2248
2740
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2741
+ #
2742
+ # @example Basic example
2743
+ # require "google/analytics/admin/v1alpha"
2744
+ #
2745
+ # # Create a client object. The client can be reused for multiple calls.
2746
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2747
+ #
2748
+ # # Create a request. To set request fields, pass in keyword arguments.
2749
+ # request = Google::Analytics::Admin::V1alpha::GetDataSharingSettingsRequest.new
2750
+ #
2751
+ # # Call the get_data_sharing_settings method.
2752
+ # result = client.get_data_sharing_settings request
2753
+ #
2754
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DataSharingSettings.
2755
+ # p result
2756
+ #
2249
2757
  def get_data_sharing_settings request, options = nil
2250
2758
  raise ::ArgumentError, "request must be provided" if request.nil?
2251
2759
 
@@ -2310,6 +2818,22 @@ module Google
2310
2818
  # @return [::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret]
2311
2819
  #
2312
2820
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2821
+ #
2822
+ # @example Basic example
2823
+ # require "google/analytics/admin/v1alpha"
2824
+ #
2825
+ # # Create a client object. The client can be reused for multiple calls.
2826
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2827
+ #
2828
+ # # Create a request. To set request fields, pass in keyword arguments.
2829
+ # request = Google::Analytics::Admin::V1alpha::GetMeasurementProtocolSecretRequest.new
2830
+ #
2831
+ # # Call the get_measurement_protocol_secret method.
2832
+ # result = client.get_measurement_protocol_secret request
2833
+ #
2834
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret.
2835
+ # p result
2836
+ #
2313
2837
  def get_measurement_protocol_secret request, options = nil
2314
2838
  raise ::ArgumentError, "request must be provided" if request.nil?
2315
2839
 
@@ -2384,6 +2908,26 @@ module Google
2384
2908
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret>]
2385
2909
  #
2386
2910
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2911
+ #
2912
+ # @example Basic example
2913
+ # require "google/analytics/admin/v1alpha"
2914
+ #
2915
+ # # Create a client object. The client can be reused for multiple calls.
2916
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
2917
+ #
2918
+ # # Create a request. To set request fields, pass in keyword arguments.
2919
+ # request = Google::Analytics::Admin::V1alpha::ListMeasurementProtocolSecretsRequest.new
2920
+ #
2921
+ # # Call the list_measurement_protocol_secrets method.
2922
+ # result = client.list_measurement_protocol_secrets request
2923
+ #
2924
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2925
+ # # over elements, and API calls will be issued to fetch pages as needed.
2926
+ # result.each do |item|
2927
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret.
2928
+ # p item
2929
+ # end
2930
+ #
2387
2931
  def list_measurement_protocol_secrets request, options = nil
2388
2932
  raise ::ArgumentError, "request must be provided" if request.nil?
2389
2933
 
@@ -2450,6 +2994,22 @@ module Google
2450
2994
  # @return [::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret]
2451
2995
  #
2452
2996
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2997
+ #
2998
+ # @example Basic example
2999
+ # require "google/analytics/admin/v1alpha"
3000
+ #
3001
+ # # Create a client object. The client can be reused for multiple calls.
3002
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3003
+ #
3004
+ # # Create a request. To set request fields, pass in keyword arguments.
3005
+ # request = Google::Analytics::Admin::V1alpha::CreateMeasurementProtocolSecretRequest.new
3006
+ #
3007
+ # # Call the create_measurement_protocol_secret method.
3008
+ # result = client.create_measurement_protocol_secret request
3009
+ #
3010
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret.
3011
+ # p result
3012
+ #
2453
3013
  def create_measurement_protocol_secret request, options = nil
2454
3014
  raise ::ArgumentError, "request must be provided" if request.nil?
2455
3015
 
@@ -2514,6 +3074,22 @@ module Google
2514
3074
  # @return [::Google::Protobuf::Empty]
2515
3075
  #
2516
3076
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3077
+ #
3078
+ # @example Basic example
3079
+ # require "google/analytics/admin/v1alpha"
3080
+ #
3081
+ # # Create a client object. The client can be reused for multiple calls.
3082
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3083
+ #
3084
+ # # Create a request. To set request fields, pass in keyword arguments.
3085
+ # request = Google::Analytics::Admin::V1alpha::DeleteMeasurementProtocolSecretRequest.new
3086
+ #
3087
+ # # Call the delete_measurement_protocol_secret method.
3088
+ # result = client.delete_measurement_protocol_secret request
3089
+ #
3090
+ # # The returned object is of type Google::Protobuf::Empty.
3091
+ # p result
3092
+ #
2517
3093
  def delete_measurement_protocol_secret request, options = nil
2518
3094
  raise ::ArgumentError, "request must be provided" if request.nil?
2519
3095
 
@@ -2579,6 +3155,22 @@ module Google
2579
3155
  # @return [::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret]
2580
3156
  #
2581
3157
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3158
+ #
3159
+ # @example Basic example
3160
+ # require "google/analytics/admin/v1alpha"
3161
+ #
3162
+ # # Create a client object. The client can be reused for multiple calls.
3163
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3164
+ #
3165
+ # # Create a request. To set request fields, pass in keyword arguments.
3166
+ # request = Google::Analytics::Admin::V1alpha::UpdateMeasurementProtocolSecretRequest.new
3167
+ #
3168
+ # # Call the update_measurement_protocol_secret method.
3169
+ # result = client.update_measurement_protocol_secret request
3170
+ #
3171
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret.
3172
+ # p result
3173
+ #
2582
3174
  def update_measurement_protocol_secret request, options = nil
2583
3175
  raise ::ArgumentError, "request must be provided" if request.nil?
2584
3176
 
@@ -2654,6 +3246,22 @@ module Google
2654
3246
  # @return [::Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionResponse]
2655
3247
  #
2656
3248
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3249
+ #
3250
+ # @example Basic example
3251
+ # require "google/analytics/admin/v1alpha"
3252
+ #
3253
+ # # Create a client object. The client can be reused for multiple calls.
3254
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3255
+ #
3256
+ # # Create a request. To set request fields, pass in keyword arguments.
3257
+ # request = Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionRequest.new
3258
+ #
3259
+ # # Call the acknowledge_user_data_collection method.
3260
+ # result = client.acknowledge_user_data_collection request
3261
+ #
3262
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionResponse.
3263
+ # p result
3264
+ #
2657
3265
  def acknowledge_user_data_collection request, options = nil
2658
3266
  raise ::ArgumentError, "request must be provided" if request.nil?
2659
3267
 
@@ -2690,48 +3298,467 @@ module Google
2690
3298
  end
2691
3299
 
2692
3300
  ##
2693
- # Searches through all changes to an account or its children given the
2694
- # specified set of filters.
3301
+ # Looks up a single SKAdNetworkConversionValueSchema.
2695
3302
  #
2696
- # @overload search_change_history_events(request, options = nil)
2697
- # Pass arguments to `search_change_history_events` via a request object, either of type
2698
- # {::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest} or an equivalent Hash.
3303
+ # @overload get_sk_ad_network_conversion_value_schema(request, options = nil)
3304
+ # Pass arguments to `get_sk_ad_network_conversion_value_schema` via a request object, either of type
3305
+ # {::Google::Analytics::Admin::V1alpha::GetSKAdNetworkConversionValueSchemaRequest} or an equivalent Hash.
2699
3306
  #
2700
- # @param request [::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest, ::Hash]
3307
+ # @param request [::Google::Analytics::Admin::V1alpha::GetSKAdNetworkConversionValueSchemaRequest, ::Hash]
2701
3308
  # A request object representing the call parameters. Required. To specify no
2702
3309
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2703
3310
  # @param options [::Gapic::CallOptions, ::Hash]
2704
3311
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2705
3312
  #
2706
- # @overload search_change_history_events(account: nil, property: nil, resource_type: nil, action: nil, actor_email: nil, earliest_change_time: nil, latest_change_time: nil, page_size: nil, page_token: nil)
2707
- # Pass arguments to `search_change_history_events` via keyword arguments. Note that at
3313
+ # @overload get_sk_ad_network_conversion_value_schema(name: nil)
3314
+ # Pass arguments to `get_sk_ad_network_conversion_value_schema` via keyword arguments. Note that at
2708
3315
  # least one keyword argument is required. To specify no parameters, or to keep all
2709
3316
  # the default parameter values, pass an empty Hash as a request object (see above).
2710
3317
  #
2711
- # @param account [::String]
2712
- # Required. The account resource for which to return change history
2713
- # resources.
2714
- # @param property [::String]
2715
- # Optional. Resource name for a child property. If set, only return changes
2716
- # made to this property or its child resources.
2717
- # @param resource_type [::Array<::Google::Analytics::Admin::V1alpha::ChangeHistoryResourceType>]
2718
- # Optional. If set, only return changes if they are for a resource that
2719
- # matches at least one of these types.
2720
- # @param action [::Array<::Google::Analytics::Admin::V1alpha::ActionType>]
2721
- # Optional. If set, only return changes that match one or more of these types
2722
- # of actions.
2723
- # @param actor_email [::Array<::String>]
2724
- # Optional. If set, only return changes if they are made by a user in this
2725
- # list.
2726
- # @param earliest_change_time [::Google::Protobuf::Timestamp, ::Hash]
2727
- # Optional. If set, only return changes made after this time (inclusive).
2728
- # @param latest_change_time [::Google::Protobuf::Timestamp, ::Hash]
2729
- # Optional. If set, only return changes made before this time (inclusive).
2730
- # @param page_size [::Integer]
2731
- # Optional. The maximum number of ChangeHistoryEvent items to return.
2732
- # The service may return fewer than this value, even if there are additional
2733
- # pages. If unspecified, at most 50 items will be returned.
2734
- # The maximum value is 200 (higher values will be coerced to the maximum).
3318
+ # @param name [::String]
3319
+ # Required. The resource name of SKAdNetwork conversion value schema to look
3320
+ # up. Format:
3321
+ # properties/\\{property}/dataStreams/\\{dataStream}/sKAdNetworkConversionValueSchema/\\{skadnetwork_conversion_value_schema}
3322
+ # @yield [result, operation] Access the result along with the TransportOperation object
3323
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
3324
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3325
+ #
3326
+ # @return [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
3327
+ #
3328
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
3329
+ #
3330
+ # @example Basic example
3331
+ # require "google/analytics/admin/v1alpha"
3332
+ #
3333
+ # # Create a client object. The client can be reused for multiple calls.
3334
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3335
+ #
3336
+ # # Create a request. To set request fields, pass in keyword arguments.
3337
+ # request = Google::Analytics::Admin::V1alpha::GetSKAdNetworkConversionValueSchemaRequest.new
3338
+ #
3339
+ # # Call the get_sk_ad_network_conversion_value_schema method.
3340
+ # result = client.get_sk_ad_network_conversion_value_schema request
3341
+ #
3342
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.
3343
+ # p result
3344
+ #
3345
+ def get_sk_ad_network_conversion_value_schema request, options = nil
3346
+ raise ::ArgumentError, "request must be provided" if request.nil?
3347
+
3348
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::GetSKAdNetworkConversionValueSchemaRequest
3349
+
3350
+ # Converts hash and nil to an options object
3351
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3352
+
3353
+ # Customize the options with defaults
3354
+ call_metadata = @config.rpcs.get_sk_ad_network_conversion_value_schema.metadata.to_h
3355
+
3356
+ # Set x-goog-api-client and x-goog-user-project headers
3357
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3358
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3359
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
3360
+ transports_version_send: [:rest]
3361
+
3362
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3363
+
3364
+ options.apply_defaults timeout: @config.rpcs.get_sk_ad_network_conversion_value_schema.timeout,
3365
+ metadata: call_metadata,
3366
+ retry_policy: @config.rpcs.get_sk_ad_network_conversion_value_schema.retry_policy
3367
+
3368
+ options.apply_defaults timeout: @config.timeout,
3369
+ metadata: @config.metadata,
3370
+ retry_policy: @config.retry_policy
3371
+
3372
+ @analytics_admin_service_stub.get_sk_ad_network_conversion_value_schema request, options do |result, operation|
3373
+ yield result, operation if block_given?
3374
+ return result
3375
+ end
3376
+ rescue ::Gapic::Rest::Error => e
3377
+ raise ::Google::Cloud::Error.from_error(e)
3378
+ end
3379
+
3380
+ ##
3381
+ # Creates a SKAdNetworkConversionValueSchema.
3382
+ #
3383
+ # @overload create_sk_ad_network_conversion_value_schema(request, options = nil)
3384
+ # Pass arguments to `create_sk_ad_network_conversion_value_schema` via a request object, either of type
3385
+ # {::Google::Analytics::Admin::V1alpha::CreateSKAdNetworkConversionValueSchemaRequest} or an equivalent Hash.
3386
+ #
3387
+ # @param request [::Google::Analytics::Admin::V1alpha::CreateSKAdNetworkConversionValueSchemaRequest, ::Hash]
3388
+ # A request object representing the call parameters. Required. To specify no
3389
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3390
+ # @param options [::Gapic::CallOptions, ::Hash]
3391
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3392
+ #
3393
+ # @overload create_sk_ad_network_conversion_value_schema(parent: nil, skadnetwork_conversion_value_schema: nil)
3394
+ # Pass arguments to `create_sk_ad_network_conversion_value_schema` via keyword arguments. Note that at
3395
+ # least one keyword argument is required. To specify no parameters, or to keep all
3396
+ # the default parameter values, pass an empty Hash as a request object (see above).
3397
+ #
3398
+ # @param parent [::String]
3399
+ # Required. The parent resource where this schema will be created.
3400
+ # Format: properties/\\{property}/dataStreams/\\{dataStream}
3401
+ # @param skadnetwork_conversion_value_schema [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema, ::Hash]
3402
+ # Required. SKAdNetwork conversion value schema to create.
3403
+ # @yield [result, operation] Access the result along with the TransportOperation object
3404
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
3405
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3406
+ #
3407
+ # @return [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
3408
+ #
3409
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
3410
+ #
3411
+ # @example Basic example
3412
+ # require "google/analytics/admin/v1alpha"
3413
+ #
3414
+ # # Create a client object. The client can be reused for multiple calls.
3415
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3416
+ #
3417
+ # # Create a request. To set request fields, pass in keyword arguments.
3418
+ # request = Google::Analytics::Admin::V1alpha::CreateSKAdNetworkConversionValueSchemaRequest.new
3419
+ #
3420
+ # # Call the create_sk_ad_network_conversion_value_schema method.
3421
+ # result = client.create_sk_ad_network_conversion_value_schema request
3422
+ #
3423
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.
3424
+ # p result
3425
+ #
3426
+ def create_sk_ad_network_conversion_value_schema request, options = nil
3427
+ raise ::ArgumentError, "request must be provided" if request.nil?
3428
+
3429
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::CreateSKAdNetworkConversionValueSchemaRequest
3430
+
3431
+ # Converts hash and nil to an options object
3432
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3433
+
3434
+ # Customize the options with defaults
3435
+ call_metadata = @config.rpcs.create_sk_ad_network_conversion_value_schema.metadata.to_h
3436
+
3437
+ # Set x-goog-api-client and x-goog-user-project headers
3438
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3439
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3440
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
3441
+ transports_version_send: [:rest]
3442
+
3443
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3444
+
3445
+ options.apply_defaults timeout: @config.rpcs.create_sk_ad_network_conversion_value_schema.timeout,
3446
+ metadata: call_metadata,
3447
+ retry_policy: @config.rpcs.create_sk_ad_network_conversion_value_schema.retry_policy
3448
+
3449
+ options.apply_defaults timeout: @config.timeout,
3450
+ metadata: @config.metadata,
3451
+ retry_policy: @config.retry_policy
3452
+
3453
+ @analytics_admin_service_stub.create_sk_ad_network_conversion_value_schema request, options do |result, operation|
3454
+ yield result, operation if block_given?
3455
+ return result
3456
+ end
3457
+ rescue ::Gapic::Rest::Error => e
3458
+ raise ::Google::Cloud::Error.from_error(e)
3459
+ end
3460
+
3461
+ ##
3462
+ # Deletes target SKAdNetworkConversionValueSchema.
3463
+ #
3464
+ # @overload delete_sk_ad_network_conversion_value_schema(request, options = nil)
3465
+ # Pass arguments to `delete_sk_ad_network_conversion_value_schema` via a request object, either of type
3466
+ # {::Google::Analytics::Admin::V1alpha::DeleteSKAdNetworkConversionValueSchemaRequest} or an equivalent Hash.
3467
+ #
3468
+ # @param request [::Google::Analytics::Admin::V1alpha::DeleteSKAdNetworkConversionValueSchemaRequest, ::Hash]
3469
+ # A request object representing the call parameters. Required. To specify no
3470
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3471
+ # @param options [::Gapic::CallOptions, ::Hash]
3472
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3473
+ #
3474
+ # @overload delete_sk_ad_network_conversion_value_schema(name: nil)
3475
+ # Pass arguments to `delete_sk_ad_network_conversion_value_schema` via keyword arguments. Note that at
3476
+ # least one keyword argument is required. To specify no parameters, or to keep all
3477
+ # the default parameter values, pass an empty Hash as a request object (see above).
3478
+ #
3479
+ # @param name [::String]
3480
+ # Required. The name of the SKAdNetworkConversionValueSchema to delete.
3481
+ # Format:
3482
+ # properties/\\{property}/dataStreams/\\{dataStream}/sKAdNetworkConversionValueSchema/\\{skadnetwork_conversion_value_schema}
3483
+ # @yield [result, operation] Access the result along with the TransportOperation object
3484
+ # @yieldparam result [::Google::Protobuf::Empty]
3485
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3486
+ #
3487
+ # @return [::Google::Protobuf::Empty]
3488
+ #
3489
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
3490
+ #
3491
+ # @example Basic example
3492
+ # require "google/analytics/admin/v1alpha"
3493
+ #
3494
+ # # Create a client object. The client can be reused for multiple calls.
3495
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3496
+ #
3497
+ # # Create a request. To set request fields, pass in keyword arguments.
3498
+ # request = Google::Analytics::Admin::V1alpha::DeleteSKAdNetworkConversionValueSchemaRequest.new
3499
+ #
3500
+ # # Call the delete_sk_ad_network_conversion_value_schema method.
3501
+ # result = client.delete_sk_ad_network_conversion_value_schema request
3502
+ #
3503
+ # # The returned object is of type Google::Protobuf::Empty.
3504
+ # p result
3505
+ #
3506
+ def delete_sk_ad_network_conversion_value_schema request, options = nil
3507
+ raise ::ArgumentError, "request must be provided" if request.nil?
3508
+
3509
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::DeleteSKAdNetworkConversionValueSchemaRequest
3510
+
3511
+ # Converts hash and nil to an options object
3512
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3513
+
3514
+ # Customize the options with defaults
3515
+ call_metadata = @config.rpcs.delete_sk_ad_network_conversion_value_schema.metadata.to_h
3516
+
3517
+ # Set x-goog-api-client and x-goog-user-project headers
3518
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3519
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3520
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
3521
+ transports_version_send: [:rest]
3522
+
3523
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3524
+
3525
+ options.apply_defaults timeout: @config.rpcs.delete_sk_ad_network_conversion_value_schema.timeout,
3526
+ metadata: call_metadata,
3527
+ retry_policy: @config.rpcs.delete_sk_ad_network_conversion_value_schema.retry_policy
3528
+
3529
+ options.apply_defaults timeout: @config.timeout,
3530
+ metadata: @config.metadata,
3531
+ retry_policy: @config.retry_policy
3532
+
3533
+ @analytics_admin_service_stub.delete_sk_ad_network_conversion_value_schema request, options do |result, operation|
3534
+ yield result, operation if block_given?
3535
+ return result
3536
+ end
3537
+ rescue ::Gapic::Rest::Error => e
3538
+ raise ::Google::Cloud::Error.from_error(e)
3539
+ end
3540
+
3541
+ ##
3542
+ # Updates a SKAdNetworkConversionValueSchema.
3543
+ #
3544
+ # @overload update_sk_ad_network_conversion_value_schema(request, options = nil)
3545
+ # Pass arguments to `update_sk_ad_network_conversion_value_schema` via a request object, either of type
3546
+ # {::Google::Analytics::Admin::V1alpha::UpdateSKAdNetworkConversionValueSchemaRequest} or an equivalent Hash.
3547
+ #
3548
+ # @param request [::Google::Analytics::Admin::V1alpha::UpdateSKAdNetworkConversionValueSchemaRequest, ::Hash]
3549
+ # A request object representing the call parameters. Required. To specify no
3550
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3551
+ # @param options [::Gapic::CallOptions, ::Hash]
3552
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3553
+ #
3554
+ # @overload update_sk_ad_network_conversion_value_schema(skadnetwork_conversion_value_schema: nil, update_mask: nil)
3555
+ # Pass arguments to `update_sk_ad_network_conversion_value_schema` via keyword arguments. Note that at
3556
+ # least one keyword argument is required. To specify no parameters, or to keep all
3557
+ # the default parameter values, pass an empty Hash as a request object (see above).
3558
+ #
3559
+ # @param skadnetwork_conversion_value_schema [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema, ::Hash]
3560
+ # Required. SKAdNetwork conversion value schema to update.
3561
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
3562
+ # Required. The list of fields to be updated. Omitted fields will not be
3563
+ # updated.
3564
+ # @yield [result, operation] Access the result along with the TransportOperation object
3565
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
3566
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3567
+ #
3568
+ # @return [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
3569
+ #
3570
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
3571
+ #
3572
+ # @example Basic example
3573
+ # require "google/analytics/admin/v1alpha"
3574
+ #
3575
+ # # Create a client object. The client can be reused for multiple calls.
3576
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3577
+ #
3578
+ # # Create a request. To set request fields, pass in keyword arguments.
3579
+ # request = Google::Analytics::Admin::V1alpha::UpdateSKAdNetworkConversionValueSchemaRequest.new
3580
+ #
3581
+ # # Call the update_sk_ad_network_conversion_value_schema method.
3582
+ # result = client.update_sk_ad_network_conversion_value_schema request
3583
+ #
3584
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.
3585
+ # p result
3586
+ #
3587
+ def update_sk_ad_network_conversion_value_schema request, options = nil
3588
+ raise ::ArgumentError, "request must be provided" if request.nil?
3589
+
3590
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::UpdateSKAdNetworkConversionValueSchemaRequest
3591
+
3592
+ # Converts hash and nil to an options object
3593
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3594
+
3595
+ # Customize the options with defaults
3596
+ call_metadata = @config.rpcs.update_sk_ad_network_conversion_value_schema.metadata.to_h
3597
+
3598
+ # Set x-goog-api-client and x-goog-user-project headers
3599
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3600
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3601
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
3602
+ transports_version_send: [:rest]
3603
+
3604
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3605
+
3606
+ options.apply_defaults timeout: @config.rpcs.update_sk_ad_network_conversion_value_schema.timeout,
3607
+ metadata: call_metadata,
3608
+ retry_policy: @config.rpcs.update_sk_ad_network_conversion_value_schema.retry_policy
3609
+
3610
+ options.apply_defaults timeout: @config.timeout,
3611
+ metadata: @config.metadata,
3612
+ retry_policy: @config.retry_policy
3613
+
3614
+ @analytics_admin_service_stub.update_sk_ad_network_conversion_value_schema request, options do |result, operation|
3615
+ yield result, operation if block_given?
3616
+ return result
3617
+ end
3618
+ rescue ::Gapic::Rest::Error => e
3619
+ raise ::Google::Cloud::Error.from_error(e)
3620
+ end
3621
+
3622
+ ##
3623
+ # Lists SKAdNetworkConversionValueSchema on a stream.
3624
+ # Properties can have at most one SKAdNetworkConversionValueSchema.
3625
+ #
3626
+ # @overload list_sk_ad_network_conversion_value_schemas(request, options = nil)
3627
+ # Pass arguments to `list_sk_ad_network_conversion_value_schemas` via a request object, either of type
3628
+ # {::Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasRequest} or an equivalent Hash.
3629
+ #
3630
+ # @param request [::Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasRequest, ::Hash]
3631
+ # A request object representing the call parameters. Required. To specify no
3632
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3633
+ # @param options [::Gapic::CallOptions, ::Hash]
3634
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3635
+ #
3636
+ # @overload list_sk_ad_network_conversion_value_schemas(parent: nil, page_size: nil, page_token: nil)
3637
+ # Pass arguments to `list_sk_ad_network_conversion_value_schemas` via keyword arguments. Note that at
3638
+ # least one keyword argument is required. To specify no parameters, or to keep all
3639
+ # the default parameter values, pass an empty Hash as a request object (see above).
3640
+ #
3641
+ # @param parent [::String]
3642
+ # Required. Format:
3643
+ # properties/\\{property_id}/dataStreams/\\{dataStream}/sKAdNetworkConversionValueSchema
3644
+ # Example: properties/1234/dataStreams/5678/sKAdNetworkConversionValueSchema
3645
+ # @param page_size [::Integer]
3646
+ # The maximum number of resources to return. The service may return
3647
+ # fewer than this value, even if there are additional pages.
3648
+ # If unspecified, at most 50 resources will be returned.
3649
+ # The maximum value is 200; (higher values will be coerced to the maximum)
3650
+ # @param page_token [::String]
3651
+ # A page token, received from a previous
3652
+ # `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
3653
+ # subsequent page. When paginating, all other parameters provided to
3654
+ # `ListSKAdNetworkConversionValueSchema` must match the call that provided
3655
+ # the page token.
3656
+ # @yield [result, operation] Access the result along with the TransportOperation object
3657
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema>]
3658
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3659
+ #
3660
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema>]
3661
+ #
3662
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
3663
+ #
3664
+ # @example Basic example
3665
+ # require "google/analytics/admin/v1alpha"
3666
+ #
3667
+ # # Create a client object. The client can be reused for multiple calls.
3668
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3669
+ #
3670
+ # # Create a request. To set request fields, pass in keyword arguments.
3671
+ # request = Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasRequest.new
3672
+ #
3673
+ # # Call the list_sk_ad_network_conversion_value_schemas method.
3674
+ # result = client.list_sk_ad_network_conversion_value_schemas request
3675
+ #
3676
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3677
+ # # over elements, and API calls will be issued to fetch pages as needed.
3678
+ # result.each do |item|
3679
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.
3680
+ # p item
3681
+ # end
3682
+ #
3683
+ def list_sk_ad_network_conversion_value_schemas request, options = nil
3684
+ raise ::ArgumentError, "request must be provided" if request.nil?
3685
+
3686
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasRequest
3687
+
3688
+ # Converts hash and nil to an options object
3689
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3690
+
3691
+ # Customize the options with defaults
3692
+ call_metadata = @config.rpcs.list_sk_ad_network_conversion_value_schemas.metadata.to_h
3693
+
3694
+ # Set x-goog-api-client and x-goog-user-project headers
3695
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3696
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3697
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
3698
+ transports_version_send: [:rest]
3699
+
3700
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3701
+
3702
+ options.apply_defaults timeout: @config.rpcs.list_sk_ad_network_conversion_value_schemas.timeout,
3703
+ metadata: call_metadata,
3704
+ retry_policy: @config.rpcs.list_sk_ad_network_conversion_value_schemas.retry_policy
3705
+
3706
+ options.apply_defaults timeout: @config.timeout,
3707
+ metadata: @config.metadata,
3708
+ retry_policy: @config.retry_policy
3709
+
3710
+ @analytics_admin_service_stub.list_sk_ad_network_conversion_value_schemas request, options do |result, operation|
3711
+ result = ::Gapic::Rest::PagedEnumerable.new @analytics_admin_service_stub, :list_sk_ad_network_conversion_value_schemas, "skadnetwork_conversion_value_schemas", request, result, options
3712
+ yield result, operation if block_given?
3713
+ return result
3714
+ end
3715
+ rescue ::Gapic::Rest::Error => e
3716
+ raise ::Google::Cloud::Error.from_error(e)
3717
+ end
3718
+
3719
+ ##
3720
+ # Searches through all changes to an account or its children given the
3721
+ # specified set of filters.
3722
+ #
3723
+ # @overload search_change_history_events(request, options = nil)
3724
+ # Pass arguments to `search_change_history_events` via a request object, either of type
3725
+ # {::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest} or an equivalent Hash.
3726
+ #
3727
+ # @param request [::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest, ::Hash]
3728
+ # A request object representing the call parameters. Required. To specify no
3729
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3730
+ # @param options [::Gapic::CallOptions, ::Hash]
3731
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3732
+ #
3733
+ # @overload search_change_history_events(account: nil, property: nil, resource_type: nil, action: nil, actor_email: nil, earliest_change_time: nil, latest_change_time: nil, page_size: nil, page_token: nil)
3734
+ # Pass arguments to `search_change_history_events` via keyword arguments. Note that at
3735
+ # least one keyword argument is required. To specify no parameters, or to keep all
3736
+ # the default parameter values, pass an empty Hash as a request object (see above).
3737
+ #
3738
+ # @param account [::String]
3739
+ # Required. The account resource for which to return change history
3740
+ # resources.
3741
+ # @param property [::String]
3742
+ # Optional. Resource name for a child property. If set, only return changes
3743
+ # made to this property or its child resources.
3744
+ # @param resource_type [::Array<::Google::Analytics::Admin::V1alpha::ChangeHistoryResourceType>]
3745
+ # Optional. If set, only return changes if they are for a resource that
3746
+ # matches at least one of these types.
3747
+ # @param action [::Array<::Google::Analytics::Admin::V1alpha::ActionType>]
3748
+ # Optional. If set, only return changes that match one or more of these types
3749
+ # of actions.
3750
+ # @param actor_email [::Array<::String>]
3751
+ # Optional. If set, only return changes if they are made by a user in this
3752
+ # list.
3753
+ # @param earliest_change_time [::Google::Protobuf::Timestamp, ::Hash]
3754
+ # Optional. If set, only return changes made after this time (inclusive).
3755
+ # @param latest_change_time [::Google::Protobuf::Timestamp, ::Hash]
3756
+ # Optional. If set, only return changes made before this time (inclusive).
3757
+ # @param page_size [::Integer]
3758
+ # Optional. The maximum number of ChangeHistoryEvent items to return.
3759
+ # The service may return fewer than this value, even if there are additional
3760
+ # pages. If unspecified, at most 50 items will be returned.
3761
+ # The maximum value is 200 (higher values will be coerced to the maximum).
2735
3762
  # @param page_token [::String]
2736
3763
  # Optional. A page token, received from a previous
2737
3764
  # `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2745,6 +3772,26 @@ module Google
2745
3772
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::ChangeHistoryEvent>]
2746
3773
  #
2747
3774
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3775
+ #
3776
+ # @example Basic example
3777
+ # require "google/analytics/admin/v1alpha"
3778
+ #
3779
+ # # Create a client object. The client can be reused for multiple calls.
3780
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3781
+ #
3782
+ # # Create a request. To set request fields, pass in keyword arguments.
3783
+ # request = Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest.new
3784
+ #
3785
+ # # Call the search_change_history_events method.
3786
+ # result = client.search_change_history_events request
3787
+ #
3788
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3789
+ # # over elements, and API calls will be issued to fetch pages as needed.
3790
+ # result.each do |item|
3791
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::ChangeHistoryEvent.
3792
+ # p item
3793
+ # end
3794
+ #
2748
3795
  def search_change_history_events request, options = nil
2749
3796
  raise ::ArgumentError, "request must be provided" if request.nil?
2750
3797
 
@@ -2809,6 +3856,22 @@ module Google
2809
3856
  # @return [::Google::Analytics::Admin::V1alpha::GoogleSignalsSettings]
2810
3857
  #
2811
3858
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3859
+ #
3860
+ # @example Basic example
3861
+ # require "google/analytics/admin/v1alpha"
3862
+ #
3863
+ # # Create a client object. The client can be reused for multiple calls.
3864
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3865
+ #
3866
+ # # Create a request. To set request fields, pass in keyword arguments.
3867
+ # request = Google::Analytics::Admin::V1alpha::GetGoogleSignalsSettingsRequest.new
3868
+ #
3869
+ # # Call the get_google_signals_settings method.
3870
+ # result = client.get_google_signals_settings request
3871
+ #
3872
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::GoogleSignalsSettings.
3873
+ # p result
3874
+ #
2812
3875
  def get_google_signals_settings request, options = nil
2813
3876
  raise ::ArgumentError, "request must be provided" if request.nil?
2814
3877
 
@@ -2877,6 +3940,22 @@ module Google
2877
3940
  # @return [::Google::Analytics::Admin::V1alpha::GoogleSignalsSettings]
2878
3941
  #
2879
3942
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3943
+ #
3944
+ # @example Basic example
3945
+ # require "google/analytics/admin/v1alpha"
3946
+ #
3947
+ # # Create a client object. The client can be reused for multiple calls.
3948
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
3949
+ #
3950
+ # # Create a request. To set request fields, pass in keyword arguments.
3951
+ # request = Google::Analytics::Admin::V1alpha::UpdateGoogleSignalsSettingsRequest.new
3952
+ #
3953
+ # # Call the update_google_signals_settings method.
3954
+ # result = client.update_google_signals_settings request
3955
+ #
3956
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::GoogleSignalsSettings.
3957
+ # p result
3958
+ #
2880
3959
  def update_google_signals_settings request, options = nil
2881
3960
  raise ::ArgumentError, "request must be provided" if request.nil?
2882
3961
 
@@ -2942,6 +4021,22 @@ module Google
2942
4021
  # @return [::Google::Analytics::Admin::V1alpha::ConversionEvent]
2943
4022
  #
2944
4023
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4024
+ #
4025
+ # @example Basic example
4026
+ # require "google/analytics/admin/v1alpha"
4027
+ #
4028
+ # # Create a client object. The client can be reused for multiple calls.
4029
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4030
+ #
4031
+ # # Create a request. To set request fields, pass in keyword arguments.
4032
+ # request = Google::Analytics::Admin::V1alpha::CreateConversionEventRequest.new
4033
+ #
4034
+ # # Call the create_conversion_event method.
4035
+ # result = client.create_conversion_event request
4036
+ #
4037
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ConversionEvent.
4038
+ # p result
4039
+ #
2945
4040
  def create_conversion_event request, options = nil
2946
4041
  raise ::ArgumentError, "request must be provided" if request.nil?
2947
4042
 
@@ -3010,6 +4105,22 @@ module Google
3010
4105
  # @return [::Google::Analytics::Admin::V1alpha::ConversionEvent]
3011
4106
  #
3012
4107
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4108
+ #
4109
+ # @example Basic example
4110
+ # require "google/analytics/admin/v1alpha"
4111
+ #
4112
+ # # Create a client object. The client can be reused for multiple calls.
4113
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4114
+ #
4115
+ # # Create a request. To set request fields, pass in keyword arguments.
4116
+ # request = Google::Analytics::Admin::V1alpha::UpdateConversionEventRequest.new
4117
+ #
4118
+ # # Call the update_conversion_event method.
4119
+ # result = client.update_conversion_event request
4120
+ #
4121
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ConversionEvent.
4122
+ # p result
4123
+ #
3013
4124
  def update_conversion_event request, options = nil
3014
4125
  raise ::ArgumentError, "request must be provided" if request.nil?
3015
4126
 
@@ -3074,6 +4185,22 @@ module Google
3074
4185
  # @return [::Google::Analytics::Admin::V1alpha::ConversionEvent]
3075
4186
  #
3076
4187
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4188
+ #
4189
+ # @example Basic example
4190
+ # require "google/analytics/admin/v1alpha"
4191
+ #
4192
+ # # Create a client object. The client can be reused for multiple calls.
4193
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4194
+ #
4195
+ # # Create a request. To set request fields, pass in keyword arguments.
4196
+ # request = Google::Analytics::Admin::V1alpha::GetConversionEventRequest.new
4197
+ #
4198
+ # # Call the get_conversion_event method.
4199
+ # result = client.get_conversion_event request
4200
+ #
4201
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ConversionEvent.
4202
+ # p result
4203
+ #
3077
4204
  def get_conversion_event request, options = nil
3078
4205
  raise ::ArgumentError, "request must be provided" if request.nil?
3079
4206
 
@@ -3137,7 +4264,23 @@ module Google
3137
4264
  #
3138
4265
  # @return [::Google::Protobuf::Empty]
3139
4266
  #
3140
- # @raise [::Google::Cloud::Error] if the REST call is aborted.
4267
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
4268
+ #
4269
+ # @example Basic example
4270
+ # require "google/analytics/admin/v1alpha"
4271
+ #
4272
+ # # Create a client object. The client can be reused for multiple calls.
4273
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4274
+ #
4275
+ # # Create a request. To set request fields, pass in keyword arguments.
4276
+ # request = Google::Analytics::Admin::V1alpha::DeleteConversionEventRequest.new
4277
+ #
4278
+ # # Call the delete_conversion_event method.
4279
+ # result = client.delete_conversion_event request
4280
+ #
4281
+ # # The returned object is of type Google::Protobuf::Empty.
4282
+ # p result
4283
+ #
3141
4284
  def delete_conversion_event request, options = nil
3142
4285
  raise ::ArgumentError, "request must be provided" if request.nil?
3143
4286
 
@@ -3212,6 +4355,26 @@ module Google
3212
4355
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::ConversionEvent>]
3213
4356
  #
3214
4357
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4358
+ #
4359
+ # @example Basic example
4360
+ # require "google/analytics/admin/v1alpha"
4361
+ #
4362
+ # # Create a client object. The client can be reused for multiple calls.
4363
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4364
+ #
4365
+ # # Create a request. To set request fields, pass in keyword arguments.
4366
+ # request = Google::Analytics::Admin::V1alpha::ListConversionEventsRequest.new
4367
+ #
4368
+ # # Call the list_conversion_events method.
4369
+ # result = client.list_conversion_events request
4370
+ #
4371
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
4372
+ # # over elements, and API calls will be issued to fetch pages as needed.
4373
+ # result.each do |item|
4374
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::ConversionEvent.
4375
+ # p item
4376
+ # end
4377
+ #
3215
4378
  def list_conversion_events request, options = nil
3216
4379
  raise ::ArgumentError, "request must be provided" if request.nil?
3217
4380
 
@@ -3276,6 +4439,22 @@ module Google
3276
4439
  # @return [::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink]
3277
4440
  #
3278
4441
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4442
+ #
4443
+ # @example Basic example
4444
+ # require "google/analytics/admin/v1alpha"
4445
+ #
4446
+ # # Create a client object. The client can be reused for multiple calls.
4447
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4448
+ #
4449
+ # # Create a request. To set request fields, pass in keyword arguments.
4450
+ # request = Google::Analytics::Admin::V1alpha::GetDisplayVideo360AdvertiserLinkRequest.new
4451
+ #
4452
+ # # Call the get_display_video360_advertiser_link method.
4453
+ # result = client.get_display_video360_advertiser_link request
4454
+ #
4455
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink.
4456
+ # p result
4457
+ #
3279
4458
  def get_display_video360_advertiser_link request, options = nil
3280
4459
  raise ::ArgumentError, "request must be provided" if request.nil?
3281
4460
 
@@ -3349,6 +4528,26 @@ module Google
3349
4528
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink>]
3350
4529
  #
3351
4530
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4531
+ #
4532
+ # @example Basic example
4533
+ # require "google/analytics/admin/v1alpha"
4534
+ #
4535
+ # # Create a client object. The client can be reused for multiple calls.
4536
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4537
+ #
4538
+ # # Create a request. To set request fields, pass in keyword arguments.
4539
+ # request = Google::Analytics::Admin::V1alpha::ListDisplayVideo360AdvertiserLinksRequest.new
4540
+ #
4541
+ # # Call the list_display_video360_advertiser_links method.
4542
+ # result = client.list_display_video360_advertiser_links request
4543
+ #
4544
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
4545
+ # # over elements, and API calls will be issued to fetch pages as needed.
4546
+ # result.each do |item|
4547
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink.
4548
+ # p item
4549
+ # end
4550
+ #
3352
4551
  def list_display_video360_advertiser_links request, options = nil
3353
4552
  raise ::ArgumentError, "request must be provided" if request.nil?
3354
4553
 
@@ -3418,6 +4617,22 @@ module Google
3418
4617
  # @return [::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink]
3419
4618
  #
3420
4619
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4620
+ #
4621
+ # @example Basic example
4622
+ # require "google/analytics/admin/v1alpha"
4623
+ #
4624
+ # # Create a client object. The client can be reused for multiple calls.
4625
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4626
+ #
4627
+ # # Create a request. To set request fields, pass in keyword arguments.
4628
+ # request = Google::Analytics::Admin::V1alpha::CreateDisplayVideo360AdvertiserLinkRequest.new
4629
+ #
4630
+ # # Call the create_display_video360_advertiser_link method.
4631
+ # result = client.create_display_video360_advertiser_link request
4632
+ #
4633
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink.
4634
+ # p result
4635
+ #
3421
4636
  def create_display_video360_advertiser_link request, options = nil
3422
4637
  raise ::ArgumentError, "request must be provided" if request.nil?
3423
4638
 
@@ -3481,6 +4696,22 @@ module Google
3481
4696
  # @return [::Google::Protobuf::Empty]
3482
4697
  #
3483
4698
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4699
+ #
4700
+ # @example Basic example
4701
+ # require "google/analytics/admin/v1alpha"
4702
+ #
4703
+ # # Create a client object. The client can be reused for multiple calls.
4704
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4705
+ #
4706
+ # # Create a request. To set request fields, pass in keyword arguments.
4707
+ # request = Google::Analytics::Admin::V1alpha::DeleteDisplayVideo360AdvertiserLinkRequest.new
4708
+ #
4709
+ # # Call the delete_display_video360_advertiser_link method.
4710
+ # result = client.delete_display_video360_advertiser_link request
4711
+ #
4712
+ # # The returned object is of type Google::Protobuf::Empty.
4713
+ # p result
4714
+ #
3484
4715
  def delete_display_video360_advertiser_link request, options = nil
3485
4716
  raise ::ArgumentError, "request must be provided" if request.nil?
3486
4717
 
@@ -3547,6 +4778,22 @@ module Google
3547
4778
  # @return [::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink]
3548
4779
  #
3549
4780
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4781
+ #
4782
+ # @example Basic example
4783
+ # require "google/analytics/admin/v1alpha"
4784
+ #
4785
+ # # Create a client object. The client can be reused for multiple calls.
4786
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4787
+ #
4788
+ # # Create a request. To set request fields, pass in keyword arguments.
4789
+ # request = Google::Analytics::Admin::V1alpha::UpdateDisplayVideo360AdvertiserLinkRequest.new
4790
+ #
4791
+ # # Call the update_display_video360_advertiser_link method.
4792
+ # result = client.update_display_video360_advertiser_link request
4793
+ #
4794
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink.
4795
+ # p result
4796
+ #
3550
4797
  def update_display_video360_advertiser_link request, options = nil
3551
4798
  raise ::ArgumentError, "request must be provided" if request.nil?
3552
4799
 
@@ -3610,6 +4857,22 @@ module Google
3610
4857
  # @return [::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal]
3611
4858
  #
3612
4859
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4860
+ #
4861
+ # @example Basic example
4862
+ # require "google/analytics/admin/v1alpha"
4863
+ #
4864
+ # # Create a client object. The client can be reused for multiple calls.
4865
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4866
+ #
4867
+ # # Create a request. To set request fields, pass in keyword arguments.
4868
+ # request = Google::Analytics::Admin::V1alpha::GetDisplayVideo360AdvertiserLinkProposalRequest.new
4869
+ #
4870
+ # # Call the get_display_video360_advertiser_link_proposal method.
4871
+ # result = client.get_display_video360_advertiser_link_proposal request
4872
+ #
4873
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal.
4874
+ # p result
4875
+ #
3613
4876
  def get_display_video360_advertiser_link_proposal request, options = nil
3614
4877
  raise ::ArgumentError, "request must be provided" if request.nil?
3615
4878
 
@@ -3684,6 +4947,26 @@ module Google
3684
4947
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal>]
3685
4948
  #
3686
4949
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4950
+ #
4951
+ # @example Basic example
4952
+ # require "google/analytics/admin/v1alpha"
4953
+ #
4954
+ # # Create a client object. The client can be reused for multiple calls.
4955
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
4956
+ #
4957
+ # # Create a request. To set request fields, pass in keyword arguments.
4958
+ # request = Google::Analytics::Admin::V1alpha::ListDisplayVideo360AdvertiserLinkProposalsRequest.new
4959
+ #
4960
+ # # Call the list_display_video360_advertiser_link_proposals method.
4961
+ # result = client.list_display_video360_advertiser_link_proposals request
4962
+ #
4963
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
4964
+ # # over elements, and API calls will be issued to fetch pages as needed.
4965
+ # result.each do |item|
4966
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal.
4967
+ # p item
4968
+ # end
4969
+ #
3687
4970
  def list_display_video360_advertiser_link_proposals request, options = nil
3688
4971
  raise ::ArgumentError, "request must be provided" if request.nil?
3689
4972
 
@@ -3749,6 +5032,22 @@ module Google
3749
5032
  # @return [::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal]
3750
5033
  #
3751
5034
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5035
+ #
5036
+ # @example Basic example
5037
+ # require "google/analytics/admin/v1alpha"
5038
+ #
5039
+ # # Create a client object. The client can be reused for multiple calls.
5040
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5041
+ #
5042
+ # # Create a request. To set request fields, pass in keyword arguments.
5043
+ # request = Google::Analytics::Admin::V1alpha::CreateDisplayVideo360AdvertiserLinkProposalRequest.new
5044
+ #
5045
+ # # Call the create_display_video360_advertiser_link_proposal method.
5046
+ # result = client.create_display_video360_advertiser_link_proposal request
5047
+ #
5048
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal.
5049
+ # p result
5050
+ #
3752
5051
  def create_display_video360_advertiser_link_proposal request, options = nil
3753
5052
  raise ::ArgumentError, "request must be provided" if request.nil?
3754
5053
 
@@ -3813,6 +5112,22 @@ module Google
3813
5112
  # @return [::Google::Protobuf::Empty]
3814
5113
  #
3815
5114
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5115
+ #
5116
+ # @example Basic example
5117
+ # require "google/analytics/admin/v1alpha"
5118
+ #
5119
+ # # Create a client object. The client can be reused for multiple calls.
5120
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5121
+ #
5122
+ # # Create a request. To set request fields, pass in keyword arguments.
5123
+ # request = Google::Analytics::Admin::V1alpha::DeleteDisplayVideo360AdvertiserLinkProposalRequest.new
5124
+ #
5125
+ # # Call the delete_display_video360_advertiser_link_proposal method.
5126
+ # result = client.delete_display_video360_advertiser_link_proposal request
5127
+ #
5128
+ # # The returned object is of type Google::Protobuf::Empty.
5129
+ # p result
5130
+ #
3816
5131
  def delete_display_video360_advertiser_link_proposal request, options = nil
3817
5132
  raise ::ArgumentError, "request must be provided" if request.nil?
3818
5133
 
@@ -3878,6 +5193,22 @@ module Google
3878
5193
  # @return [::Google::Analytics::Admin::V1alpha::ApproveDisplayVideo360AdvertiserLinkProposalResponse]
3879
5194
  #
3880
5195
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5196
+ #
5197
+ # @example Basic example
5198
+ # require "google/analytics/admin/v1alpha"
5199
+ #
5200
+ # # Create a client object. The client can be reused for multiple calls.
5201
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5202
+ #
5203
+ # # Create a request. To set request fields, pass in keyword arguments.
5204
+ # request = Google::Analytics::Admin::V1alpha::ApproveDisplayVideo360AdvertiserLinkProposalRequest.new
5205
+ #
5206
+ # # Call the approve_display_video360_advertiser_link_proposal method.
5207
+ # result = client.approve_display_video360_advertiser_link_proposal request
5208
+ #
5209
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ApproveDisplayVideo360AdvertiserLinkProposalResponse.
5210
+ # p result
5211
+ #
3881
5212
  def approve_display_video360_advertiser_link_proposal request, options = nil
3882
5213
  raise ::ArgumentError, "request must be provided" if request.nil?
3883
5214
 
@@ -3945,6 +5276,22 @@ module Google
3945
5276
  # @return [::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal]
3946
5277
  #
3947
5278
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5279
+ #
5280
+ # @example Basic example
5281
+ # require "google/analytics/admin/v1alpha"
5282
+ #
5283
+ # # Create a client object. The client can be reused for multiple calls.
5284
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5285
+ #
5286
+ # # Create a request. To set request fields, pass in keyword arguments.
5287
+ # request = Google::Analytics::Admin::V1alpha::CancelDisplayVideo360AdvertiserLinkProposalRequest.new
5288
+ #
5289
+ # # Call the cancel_display_video360_advertiser_link_proposal method.
5290
+ # result = client.cancel_display_video360_advertiser_link_proposal request
5291
+ #
5292
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal.
5293
+ # p result
5294
+ #
3948
5295
  def cancel_display_video360_advertiser_link_proposal request, options = nil
3949
5296
  raise ::ArgumentError, "request must be provided" if request.nil?
3950
5297
 
@@ -4009,6 +5356,22 @@ module Google
4009
5356
  # @return [::Google::Analytics::Admin::V1alpha::CustomDimension]
4010
5357
  #
4011
5358
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5359
+ #
5360
+ # @example Basic example
5361
+ # require "google/analytics/admin/v1alpha"
5362
+ #
5363
+ # # Create a client object. The client can be reused for multiple calls.
5364
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5365
+ #
5366
+ # # Create a request. To set request fields, pass in keyword arguments.
5367
+ # request = Google::Analytics::Admin::V1alpha::CreateCustomDimensionRequest.new
5368
+ #
5369
+ # # Call the create_custom_dimension method.
5370
+ # result = client.create_custom_dimension request
5371
+ #
5372
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::CustomDimension.
5373
+ # p result
5374
+ #
4012
5375
  def create_custom_dimension request, options = nil
4013
5376
  raise ::ArgumentError, "request must be provided" if request.nil?
4014
5377
 
@@ -4075,6 +5438,22 @@ module Google
4075
5438
  # @return [::Google::Analytics::Admin::V1alpha::CustomDimension]
4076
5439
  #
4077
5440
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5441
+ #
5442
+ # @example Basic example
5443
+ # require "google/analytics/admin/v1alpha"
5444
+ #
5445
+ # # Create a client object. The client can be reused for multiple calls.
5446
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5447
+ #
5448
+ # # Create a request. To set request fields, pass in keyword arguments.
5449
+ # request = Google::Analytics::Admin::V1alpha::UpdateCustomDimensionRequest.new
5450
+ #
5451
+ # # Call the update_custom_dimension method.
5452
+ # result = client.update_custom_dimension request
5453
+ #
5454
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::CustomDimension.
5455
+ # p result
5456
+ #
4078
5457
  def update_custom_dimension request, options = nil
4079
5458
  raise ::ArgumentError, "request must be provided" if request.nil?
4080
5459
 
@@ -4147,6 +5526,26 @@ module Google
4147
5526
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::CustomDimension>]
4148
5527
  #
4149
5528
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5529
+ #
5530
+ # @example Basic example
5531
+ # require "google/analytics/admin/v1alpha"
5532
+ #
5533
+ # # Create a client object. The client can be reused for multiple calls.
5534
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5535
+ #
5536
+ # # Create a request. To set request fields, pass in keyword arguments.
5537
+ # request = Google::Analytics::Admin::V1alpha::ListCustomDimensionsRequest.new
5538
+ #
5539
+ # # Call the list_custom_dimensions method.
5540
+ # result = client.list_custom_dimensions request
5541
+ #
5542
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
5543
+ # # over elements, and API calls will be issued to fetch pages as needed.
5544
+ # result.each do |item|
5545
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::CustomDimension.
5546
+ # p item
5547
+ # end
5548
+ #
4150
5549
  def list_custom_dimensions request, options = nil
4151
5550
  raise ::ArgumentError, "request must be provided" if request.nil?
4152
5551
 
@@ -4211,6 +5610,22 @@ module Google
4211
5610
  # @return [::Google::Protobuf::Empty]
4212
5611
  #
4213
5612
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5613
+ #
5614
+ # @example Basic example
5615
+ # require "google/analytics/admin/v1alpha"
5616
+ #
5617
+ # # Create a client object. The client can be reused for multiple calls.
5618
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5619
+ #
5620
+ # # Create a request. To set request fields, pass in keyword arguments.
5621
+ # request = Google::Analytics::Admin::V1alpha::ArchiveCustomDimensionRequest.new
5622
+ #
5623
+ # # Call the archive_custom_dimension method.
5624
+ # result = client.archive_custom_dimension request
5625
+ #
5626
+ # # The returned object is of type Google::Protobuf::Empty.
5627
+ # p result
5628
+ #
4214
5629
  def archive_custom_dimension request, options = nil
4215
5630
  raise ::ArgumentError, "request must be provided" if request.nil?
4216
5631
 
@@ -4274,6 +5689,22 @@ module Google
4274
5689
  # @return [::Google::Analytics::Admin::V1alpha::CustomDimension]
4275
5690
  #
4276
5691
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5692
+ #
5693
+ # @example Basic example
5694
+ # require "google/analytics/admin/v1alpha"
5695
+ #
5696
+ # # Create a client object. The client can be reused for multiple calls.
5697
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5698
+ #
5699
+ # # Create a request. To set request fields, pass in keyword arguments.
5700
+ # request = Google::Analytics::Admin::V1alpha::GetCustomDimensionRequest.new
5701
+ #
5702
+ # # Call the get_custom_dimension method.
5703
+ # result = client.get_custom_dimension request
5704
+ #
5705
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::CustomDimension.
5706
+ # p result
5707
+ #
4277
5708
  def get_custom_dimension request, options = nil
4278
5709
  raise ::ArgumentError, "request must be provided" if request.nil?
4279
5710
 
@@ -4338,6 +5769,22 @@ module Google
4338
5769
  # @return [::Google::Analytics::Admin::V1alpha::CustomMetric]
4339
5770
  #
4340
5771
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5772
+ #
5773
+ # @example Basic example
5774
+ # require "google/analytics/admin/v1alpha"
5775
+ #
5776
+ # # Create a client object. The client can be reused for multiple calls.
5777
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5778
+ #
5779
+ # # Create a request. To set request fields, pass in keyword arguments.
5780
+ # request = Google::Analytics::Admin::V1alpha::CreateCustomMetricRequest.new
5781
+ #
5782
+ # # Call the create_custom_metric method.
5783
+ # result = client.create_custom_metric request
5784
+ #
5785
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::CustomMetric.
5786
+ # p result
5787
+ #
4341
5788
  def create_custom_metric request, options = nil
4342
5789
  raise ::ArgumentError, "request must be provided" if request.nil?
4343
5790
 
@@ -4404,6 +5851,22 @@ module Google
4404
5851
  # @return [::Google::Analytics::Admin::V1alpha::CustomMetric]
4405
5852
  #
4406
5853
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5854
+ #
5855
+ # @example Basic example
5856
+ # require "google/analytics/admin/v1alpha"
5857
+ #
5858
+ # # Create a client object. The client can be reused for multiple calls.
5859
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5860
+ #
5861
+ # # Create a request. To set request fields, pass in keyword arguments.
5862
+ # request = Google::Analytics::Admin::V1alpha::UpdateCustomMetricRequest.new
5863
+ #
5864
+ # # Call the update_custom_metric method.
5865
+ # result = client.update_custom_metric request
5866
+ #
5867
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::CustomMetric.
5868
+ # p result
5869
+ #
4407
5870
  def update_custom_metric request, options = nil
4408
5871
  raise ::ArgumentError, "request must be provided" if request.nil?
4409
5872
 
@@ -4476,6 +5939,26 @@ module Google
4476
5939
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::CustomMetric>]
4477
5940
  #
4478
5941
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5942
+ #
5943
+ # @example Basic example
5944
+ # require "google/analytics/admin/v1alpha"
5945
+ #
5946
+ # # Create a client object. The client can be reused for multiple calls.
5947
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
5948
+ #
5949
+ # # Create a request. To set request fields, pass in keyword arguments.
5950
+ # request = Google::Analytics::Admin::V1alpha::ListCustomMetricsRequest.new
5951
+ #
5952
+ # # Call the list_custom_metrics method.
5953
+ # result = client.list_custom_metrics request
5954
+ #
5955
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
5956
+ # # over elements, and API calls will be issued to fetch pages as needed.
5957
+ # result.each do |item|
5958
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::CustomMetric.
5959
+ # p item
5960
+ # end
5961
+ #
4479
5962
  def list_custom_metrics request, options = nil
4480
5963
  raise ::ArgumentError, "request must be provided" if request.nil?
4481
5964
 
@@ -4540,6 +6023,22 @@ module Google
4540
6023
  # @return [::Google::Protobuf::Empty]
4541
6024
  #
4542
6025
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6026
+ #
6027
+ # @example Basic example
6028
+ # require "google/analytics/admin/v1alpha"
6029
+ #
6030
+ # # Create a client object. The client can be reused for multiple calls.
6031
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6032
+ #
6033
+ # # Create a request. To set request fields, pass in keyword arguments.
6034
+ # request = Google::Analytics::Admin::V1alpha::ArchiveCustomMetricRequest.new
6035
+ #
6036
+ # # Call the archive_custom_metric method.
6037
+ # result = client.archive_custom_metric request
6038
+ #
6039
+ # # The returned object is of type Google::Protobuf::Empty.
6040
+ # p result
6041
+ #
4543
6042
  def archive_custom_metric request, options = nil
4544
6043
  raise ::ArgumentError, "request must be provided" if request.nil?
4545
6044
 
@@ -4603,6 +6102,22 @@ module Google
4603
6102
  # @return [::Google::Analytics::Admin::V1alpha::CustomMetric]
4604
6103
  #
4605
6104
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6105
+ #
6106
+ # @example Basic example
6107
+ # require "google/analytics/admin/v1alpha"
6108
+ #
6109
+ # # Create a client object. The client can be reused for multiple calls.
6110
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6111
+ #
6112
+ # # Create a request. To set request fields, pass in keyword arguments.
6113
+ # request = Google::Analytics::Admin::V1alpha::GetCustomMetricRequest.new
6114
+ #
6115
+ # # Call the get_custom_metric method.
6116
+ # result = client.get_custom_metric request
6117
+ #
6118
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::CustomMetric.
6119
+ # p result
6120
+ #
4606
6121
  def get_custom_metric request, options = nil
4607
6122
  raise ::ArgumentError, "request must be provided" if request.nil?
4608
6123
 
@@ -4668,6 +6183,22 @@ module Google
4668
6183
  # @return [::Google::Analytics::Admin::V1alpha::DataRetentionSettings]
4669
6184
  #
4670
6185
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6186
+ #
6187
+ # @example Basic example
6188
+ # require "google/analytics/admin/v1alpha"
6189
+ #
6190
+ # # Create a client object. The client can be reused for multiple calls.
6191
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6192
+ #
6193
+ # # Create a request. To set request fields, pass in keyword arguments.
6194
+ # request = Google::Analytics::Admin::V1alpha::GetDataRetentionSettingsRequest.new
6195
+ #
6196
+ # # Call the get_data_retention_settings method.
6197
+ # result = client.get_data_retention_settings request
6198
+ #
6199
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DataRetentionSettings.
6200
+ # p result
6201
+ #
4671
6202
  def get_data_retention_settings request, options = nil
4672
6203
  raise ::ArgumentError, "request must be provided" if request.nil?
4673
6204
 
@@ -4736,6 +6267,22 @@ module Google
4736
6267
  # @return [::Google::Analytics::Admin::V1alpha::DataRetentionSettings]
4737
6268
  #
4738
6269
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6270
+ #
6271
+ # @example Basic example
6272
+ # require "google/analytics/admin/v1alpha"
6273
+ #
6274
+ # # Create a client object. The client can be reused for multiple calls.
6275
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6276
+ #
6277
+ # # Create a request. To set request fields, pass in keyword arguments.
6278
+ # request = Google::Analytics::Admin::V1alpha::UpdateDataRetentionSettingsRequest.new
6279
+ #
6280
+ # # Call the update_data_retention_settings method.
6281
+ # result = client.update_data_retention_settings request
6282
+ #
6283
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DataRetentionSettings.
6284
+ # p result
6285
+ #
4739
6286
  def update_data_retention_settings request, options = nil
4740
6287
  raise ::ArgumentError, "request must be provided" if request.nil?
4741
6288
 
@@ -4800,6 +6347,22 @@ module Google
4800
6347
  # @return [::Google::Analytics::Admin::V1alpha::DataStream]
4801
6348
  #
4802
6349
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6350
+ #
6351
+ # @example Basic example
6352
+ # require "google/analytics/admin/v1alpha"
6353
+ #
6354
+ # # Create a client object. The client can be reused for multiple calls.
6355
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6356
+ #
6357
+ # # Create a request. To set request fields, pass in keyword arguments.
6358
+ # request = Google::Analytics::Admin::V1alpha::CreateDataStreamRequest.new
6359
+ #
6360
+ # # Call the create_data_stream method.
6361
+ # result = client.create_data_stream request
6362
+ #
6363
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DataStream.
6364
+ # p result
6365
+ #
4803
6366
  def create_data_stream request, options = nil
4804
6367
  raise ::ArgumentError, "request must be provided" if request.nil?
4805
6368
 
@@ -4863,6 +6426,22 @@ module Google
4863
6426
  # @return [::Google::Protobuf::Empty]
4864
6427
  #
4865
6428
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6429
+ #
6430
+ # @example Basic example
6431
+ # require "google/analytics/admin/v1alpha"
6432
+ #
6433
+ # # Create a client object. The client can be reused for multiple calls.
6434
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6435
+ #
6436
+ # # Create a request. To set request fields, pass in keyword arguments.
6437
+ # request = Google::Analytics::Admin::V1alpha::DeleteDataStreamRequest.new
6438
+ #
6439
+ # # Call the delete_data_stream method.
6440
+ # result = client.delete_data_stream request
6441
+ #
6442
+ # # The returned object is of type Google::Protobuf::Empty.
6443
+ # p result
6444
+ #
4866
6445
  def delete_data_stream request, options = nil
4867
6446
  raise ::ArgumentError, "request must be provided" if request.nil?
4868
6447
 
@@ -4929,6 +6508,22 @@ module Google
4929
6508
  # @return [::Google::Analytics::Admin::V1alpha::DataStream]
4930
6509
  #
4931
6510
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6511
+ #
6512
+ # @example Basic example
6513
+ # require "google/analytics/admin/v1alpha"
6514
+ #
6515
+ # # Create a client object. The client can be reused for multiple calls.
6516
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6517
+ #
6518
+ # # Create a request. To set request fields, pass in keyword arguments.
6519
+ # request = Google::Analytics::Admin::V1alpha::UpdateDataStreamRequest.new
6520
+ #
6521
+ # # Call the update_data_stream method.
6522
+ # result = client.update_data_stream request
6523
+ #
6524
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DataStream.
6525
+ # p result
6526
+ #
4932
6527
  def update_data_stream request, options = nil
4933
6528
  raise ::ArgumentError, "request must be provided" if request.nil?
4934
6529
 
@@ -5001,6 +6596,26 @@ module Google
5001
6596
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::DataStream>]
5002
6597
  #
5003
6598
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6599
+ #
6600
+ # @example Basic example
6601
+ # require "google/analytics/admin/v1alpha"
6602
+ #
6603
+ # # Create a client object. The client can be reused for multiple calls.
6604
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6605
+ #
6606
+ # # Create a request. To set request fields, pass in keyword arguments.
6607
+ # request = Google::Analytics::Admin::V1alpha::ListDataStreamsRequest.new
6608
+ #
6609
+ # # Call the list_data_streams method.
6610
+ # result = client.list_data_streams request
6611
+ #
6612
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
6613
+ # # over elements, and API calls will be issued to fetch pages as needed.
6614
+ # result.each do |item|
6615
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::DataStream.
6616
+ # p item
6617
+ # end
6618
+ #
5004
6619
  def list_data_streams request, options = nil
5005
6620
  raise ::ArgumentError, "request must be provided" if request.nil?
5006
6621
 
@@ -5065,6 +6680,22 @@ module Google
5065
6680
  # @return [::Google::Analytics::Admin::V1alpha::DataStream]
5066
6681
  #
5067
6682
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6683
+ #
6684
+ # @example Basic example
6685
+ # require "google/analytics/admin/v1alpha"
6686
+ #
6687
+ # # Create a client object. The client can be reused for multiple calls.
6688
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6689
+ #
6690
+ # # Create a request. To set request fields, pass in keyword arguments.
6691
+ # request = Google::Analytics::Admin::V1alpha::GetDataStreamRequest.new
6692
+ #
6693
+ # # Call the get_data_stream method.
6694
+ # result = client.get_data_stream request
6695
+ #
6696
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::DataStream.
6697
+ # p result
6698
+ #
5068
6699
  def get_data_stream request, options = nil
5069
6700
  raise ::ArgumentError, "request must be provided" if request.nil?
5070
6701
 
@@ -5130,6 +6761,22 @@ module Google
5130
6761
  # @return [::Google::Analytics::Admin::V1alpha::Audience]
5131
6762
  #
5132
6763
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6764
+ #
6765
+ # @example Basic example
6766
+ # require "google/analytics/admin/v1alpha"
6767
+ #
6768
+ # # Create a client object. The client can be reused for multiple calls.
6769
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6770
+ #
6771
+ # # Create a request. To set request fields, pass in keyword arguments.
6772
+ # request = Google::Analytics::Admin::V1alpha::GetAudienceRequest.new
6773
+ #
6774
+ # # Call the get_audience method.
6775
+ # result = client.get_audience request
6776
+ #
6777
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Audience.
6778
+ # p result
6779
+ #
5133
6780
  def get_audience request, options = nil
5134
6781
  raise ::ArgumentError, "request must be provided" if request.nil?
5135
6782
 
@@ -5204,6 +6851,26 @@ module Google
5204
6851
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::Audience>]
5205
6852
  #
5206
6853
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6854
+ #
6855
+ # @example Basic example
6856
+ # require "google/analytics/admin/v1alpha"
6857
+ #
6858
+ # # Create a client object. The client can be reused for multiple calls.
6859
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6860
+ #
6861
+ # # Create a request. To set request fields, pass in keyword arguments.
6862
+ # request = Google::Analytics::Admin::V1alpha::ListAudiencesRequest.new
6863
+ #
6864
+ # # Call the list_audiences method.
6865
+ # result = client.list_audiences request
6866
+ #
6867
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
6868
+ # # over elements, and API calls will be issued to fetch pages as needed.
6869
+ # result.each do |item|
6870
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::Audience.
6871
+ # p item
6872
+ # end
6873
+ #
5207
6874
  def list_audiences request, options = nil
5208
6875
  raise ::ArgumentError, "request must be provided" if request.nil?
5209
6876
 
@@ -5269,6 +6936,22 @@ module Google
5269
6936
  # @return [::Google::Analytics::Admin::V1alpha::Audience]
5270
6937
  #
5271
6938
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
6939
+ #
6940
+ # @example Basic example
6941
+ # require "google/analytics/admin/v1alpha"
6942
+ #
6943
+ # # Create a client object. The client can be reused for multiple calls.
6944
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
6945
+ #
6946
+ # # Create a request. To set request fields, pass in keyword arguments.
6947
+ # request = Google::Analytics::Admin::V1alpha::CreateAudienceRequest.new
6948
+ #
6949
+ # # Call the create_audience method.
6950
+ # result = client.create_audience request
6951
+ #
6952
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Audience.
6953
+ # p result
6954
+ #
5272
6955
  def create_audience request, options = nil
5273
6956
  raise ::ArgumentError, "request must be provided" if request.nil?
5274
6957
 
@@ -5337,6 +7020,22 @@ module Google
5337
7020
  # @return [::Google::Analytics::Admin::V1alpha::Audience]
5338
7021
  #
5339
7022
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7023
+ #
7024
+ # @example Basic example
7025
+ # require "google/analytics/admin/v1alpha"
7026
+ #
7027
+ # # Create a client object. The client can be reused for multiple calls.
7028
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7029
+ #
7030
+ # # Create a request. To set request fields, pass in keyword arguments.
7031
+ # request = Google::Analytics::Admin::V1alpha::UpdateAudienceRequest.new
7032
+ #
7033
+ # # Call the update_audience method.
7034
+ # result = client.update_audience request
7035
+ #
7036
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::Audience.
7037
+ # p result
7038
+ #
5340
7039
  def update_audience request, options = nil
5341
7040
  raise ::ArgumentError, "request must be provided" if request.nil?
5342
7041
 
@@ -5399,6 +7098,22 @@ module Google
5399
7098
  # @return [::Google::Protobuf::Empty]
5400
7099
  #
5401
7100
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7101
+ #
7102
+ # @example Basic example
7103
+ # require "google/analytics/admin/v1alpha"
7104
+ #
7105
+ # # Create a client object. The client can be reused for multiple calls.
7106
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7107
+ #
7108
+ # # Create a request. To set request fields, pass in keyword arguments.
7109
+ # request = Google::Analytics::Admin::V1alpha::ArchiveAudienceRequest.new
7110
+ #
7111
+ # # Call the archive_audience method.
7112
+ # result = client.archive_audience request
7113
+ #
7114
+ # # The returned object is of type Google::Protobuf::Empty.
7115
+ # p result
7116
+ #
5402
7117
  def archive_audience request, options = nil
5403
7118
  raise ::ArgumentError, "request must be provided" if request.nil?
5404
7119
 
@@ -5462,6 +7177,22 @@ module Google
5462
7177
  # @return [::Google::Analytics::Admin::V1alpha::SearchAds360Link]
5463
7178
  #
5464
7179
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7180
+ #
7181
+ # @example Basic example
7182
+ # require "google/analytics/admin/v1alpha"
7183
+ #
7184
+ # # Create a client object. The client can be reused for multiple calls.
7185
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7186
+ #
7187
+ # # Create a request. To set request fields, pass in keyword arguments.
7188
+ # request = Google::Analytics::Admin::V1alpha::GetSearchAds360LinkRequest.new
7189
+ #
7190
+ # # Call the get_search_ads360_link method.
7191
+ # result = client.get_search_ads360_link request
7192
+ #
7193
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::SearchAds360Link.
7194
+ # p result
7195
+ #
5465
7196
  def get_search_ads360_link request, options = nil
5466
7197
  raise ::ArgumentError, "request must be provided" if request.nil?
5467
7198
 
@@ -5535,6 +7266,26 @@ module Google
5535
7266
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::SearchAds360Link>]
5536
7267
  #
5537
7268
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7269
+ #
7270
+ # @example Basic example
7271
+ # require "google/analytics/admin/v1alpha"
7272
+ #
7273
+ # # Create a client object. The client can be reused for multiple calls.
7274
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7275
+ #
7276
+ # # Create a request. To set request fields, pass in keyword arguments.
7277
+ # request = Google::Analytics::Admin::V1alpha::ListSearchAds360LinksRequest.new
7278
+ #
7279
+ # # Call the list_search_ads360_links method.
7280
+ # result = client.list_search_ads360_links request
7281
+ #
7282
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
7283
+ # # over elements, and API calls will be issued to fetch pages as needed.
7284
+ # result.each do |item|
7285
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::SearchAds360Link.
7286
+ # p item
7287
+ # end
7288
+ #
5538
7289
  def list_search_ads360_links request, options = nil
5539
7290
  raise ::ArgumentError, "request must be provided" if request.nil?
5540
7291
 
@@ -5600,6 +7351,22 @@ module Google
5600
7351
  # @return [::Google::Analytics::Admin::V1alpha::SearchAds360Link]
5601
7352
  #
5602
7353
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7354
+ #
7355
+ # @example Basic example
7356
+ # require "google/analytics/admin/v1alpha"
7357
+ #
7358
+ # # Create a client object. The client can be reused for multiple calls.
7359
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7360
+ #
7361
+ # # Create a request. To set request fields, pass in keyword arguments.
7362
+ # request = Google::Analytics::Admin::V1alpha::CreateSearchAds360LinkRequest.new
7363
+ #
7364
+ # # Call the create_search_ads360_link method.
7365
+ # result = client.create_search_ads360_link request
7366
+ #
7367
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::SearchAds360Link.
7368
+ # p result
7369
+ #
5603
7370
  def create_search_ads360_link request, options = nil
5604
7371
  raise ::ArgumentError, "request must be provided" if request.nil?
5605
7372
 
@@ -5663,6 +7430,22 @@ module Google
5663
7430
  # @return [::Google::Protobuf::Empty]
5664
7431
  #
5665
7432
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7433
+ #
7434
+ # @example Basic example
7435
+ # require "google/analytics/admin/v1alpha"
7436
+ #
7437
+ # # Create a client object. The client can be reused for multiple calls.
7438
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7439
+ #
7440
+ # # Create a request. To set request fields, pass in keyword arguments.
7441
+ # request = Google::Analytics::Admin::V1alpha::DeleteSearchAds360LinkRequest.new
7442
+ #
7443
+ # # Call the delete_search_ads360_link method.
7444
+ # result = client.delete_search_ads360_link request
7445
+ #
7446
+ # # The returned object is of type Google::Protobuf::Empty.
7447
+ # p result
7448
+ #
5666
7449
  def delete_search_ads360_link request, options = nil
5667
7450
  raise ::ArgumentError, "request must be provided" if request.nil?
5668
7451
 
@@ -5729,6 +7512,22 @@ module Google
5729
7512
  # @return [::Google::Analytics::Admin::V1alpha::SearchAds360Link]
5730
7513
  #
5731
7514
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7515
+ #
7516
+ # @example Basic example
7517
+ # require "google/analytics/admin/v1alpha"
7518
+ #
7519
+ # # Create a client object. The client can be reused for multiple calls.
7520
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7521
+ #
7522
+ # # Create a request. To set request fields, pass in keyword arguments.
7523
+ # request = Google::Analytics::Admin::V1alpha::UpdateSearchAds360LinkRequest.new
7524
+ #
7525
+ # # Call the update_search_ads360_link method.
7526
+ # result = client.update_search_ads360_link request
7527
+ #
7528
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::SearchAds360Link.
7529
+ # p result
7530
+ #
5732
7531
  def update_search_ads360_link request, options = nil
5733
7532
  raise ::ArgumentError, "request must be provided" if request.nil?
5734
7533
 
@@ -5792,6 +7591,22 @@ module Google
5792
7591
  # @return [::Google::Analytics::Admin::V1alpha::AttributionSettings]
5793
7592
  #
5794
7593
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7594
+ #
7595
+ # @example Basic example
7596
+ # require "google/analytics/admin/v1alpha"
7597
+ #
7598
+ # # Create a client object. The client can be reused for multiple calls.
7599
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7600
+ #
7601
+ # # Create a request. To set request fields, pass in keyword arguments.
7602
+ # request = Google::Analytics::Admin::V1alpha::GetAttributionSettingsRequest.new
7603
+ #
7604
+ # # Call the get_attribution_settings method.
7605
+ # result = client.get_attribution_settings request
7606
+ #
7607
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::AttributionSettings.
7608
+ # p result
7609
+ #
5795
7610
  def get_attribution_settings request, options = nil
5796
7611
  raise ::ArgumentError, "request must be provided" if request.nil?
5797
7612
 
@@ -5859,7 +7674,23 @@ module Google
5859
7674
  #
5860
7675
  # @return [::Google::Analytics::Admin::V1alpha::AttributionSettings]
5861
7676
  #
5862
- # @raise [::Google::Cloud::Error] if the REST call is aborted.
7677
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
7678
+ #
7679
+ # @example Basic example
7680
+ # require "google/analytics/admin/v1alpha"
7681
+ #
7682
+ # # Create a client object. The client can be reused for multiple calls.
7683
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7684
+ #
7685
+ # # Create a request. To set request fields, pass in keyword arguments.
7686
+ # request = Google::Analytics::Admin::V1alpha::UpdateAttributionSettingsRequest.new
7687
+ #
7688
+ # # Call the update_attribution_settings method.
7689
+ # result = client.update_attribution_settings request
7690
+ #
7691
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::AttributionSettings.
7692
+ # p result
7693
+ #
5863
7694
  def update_attribution_settings request, options = nil
5864
7695
  raise ::ArgumentError, "request must be provided" if request.nil?
5865
7696
 
@@ -5998,6 +7829,22 @@ module Google
5998
7829
  # @return [::Google::Analytics::Admin::V1alpha::RunAccessReportResponse]
5999
7830
  #
6000
7831
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7832
+ #
7833
+ # @example Basic example
7834
+ # require "google/analytics/admin/v1alpha"
7835
+ #
7836
+ # # Create a client object. The client can be reused for multiple calls.
7837
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7838
+ #
7839
+ # # Create a request. To set request fields, pass in keyword arguments.
7840
+ # request = Google::Analytics::Admin::V1alpha::RunAccessReportRequest.new
7841
+ #
7842
+ # # Call the run_access_report method.
7843
+ # result = client.run_access_report request
7844
+ #
7845
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::RunAccessReportResponse.
7846
+ # p result
7847
+ #
6001
7848
  def run_access_report request, options = nil
6002
7849
  raise ::ArgumentError, "request must be provided" if request.nil?
6003
7850
 
@@ -6064,6 +7911,22 @@ module Google
6064
7911
  # @return [::Google::Analytics::Admin::V1alpha::AccessBinding]
6065
7912
  #
6066
7913
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7914
+ #
7915
+ # @example Basic example
7916
+ # require "google/analytics/admin/v1alpha"
7917
+ #
7918
+ # # Create a client object. The client can be reused for multiple calls.
7919
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
7920
+ #
7921
+ # # Create a request. To set request fields, pass in keyword arguments.
7922
+ # request = Google::Analytics::Admin::V1alpha::CreateAccessBindingRequest.new
7923
+ #
7924
+ # # Call the create_access_binding method.
7925
+ # result = client.create_access_binding request
7926
+ #
7927
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::AccessBinding.
7928
+ # p result
7929
+ #
6067
7930
  def create_access_binding request, options = nil
6068
7931
  raise ::ArgumentError, "request must be provided" if request.nil?
6069
7932
 
@@ -6129,6 +7992,22 @@ module Google
6129
7992
  # @return [::Google::Analytics::Admin::V1alpha::AccessBinding]
6130
7993
  #
6131
7994
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
7995
+ #
7996
+ # @example Basic example
7997
+ # require "google/analytics/admin/v1alpha"
7998
+ #
7999
+ # # Create a client object. The client can be reused for multiple calls.
8000
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8001
+ #
8002
+ # # Create a request. To set request fields, pass in keyword arguments.
8003
+ # request = Google::Analytics::Admin::V1alpha::GetAccessBindingRequest.new
8004
+ #
8005
+ # # Call the get_access_binding method.
8006
+ # result = client.get_access_binding request
8007
+ #
8008
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::AccessBinding.
8009
+ # p result
8010
+ #
6132
8011
  def get_access_binding request, options = nil
6133
8012
  raise ::ArgumentError, "request must be provided" if request.nil?
6134
8013
 
@@ -6191,6 +8070,22 @@ module Google
6191
8070
  # @return [::Google::Analytics::Admin::V1alpha::AccessBinding]
6192
8071
  #
6193
8072
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8073
+ #
8074
+ # @example Basic example
8075
+ # require "google/analytics/admin/v1alpha"
8076
+ #
8077
+ # # Create a client object. The client can be reused for multiple calls.
8078
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8079
+ #
8080
+ # # Create a request. To set request fields, pass in keyword arguments.
8081
+ # request = Google::Analytics::Admin::V1alpha::UpdateAccessBindingRequest.new
8082
+ #
8083
+ # # Call the update_access_binding method.
8084
+ # result = client.update_access_binding request
8085
+ #
8086
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::AccessBinding.
8087
+ # p result
8088
+ #
6194
8089
  def update_access_binding request, options = nil
6195
8090
  raise ::ArgumentError, "request must be provided" if request.nil?
6196
8091
 
@@ -6255,6 +8150,22 @@ module Google
6255
8150
  # @return [::Google::Protobuf::Empty]
6256
8151
  #
6257
8152
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8153
+ #
8154
+ # @example Basic example
8155
+ # require "google/analytics/admin/v1alpha"
8156
+ #
8157
+ # # Create a client object. The client can be reused for multiple calls.
8158
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8159
+ #
8160
+ # # Create a request. To set request fields, pass in keyword arguments.
8161
+ # request = Google::Analytics::Admin::V1alpha::DeleteAccessBindingRequest.new
8162
+ #
8163
+ # # Call the delete_access_binding method.
8164
+ # result = client.delete_access_binding request
8165
+ #
8166
+ # # The returned object is of type Google::Protobuf::Empty.
8167
+ # p result
8168
+ #
6258
8169
  def delete_access_binding request, options = nil
6259
8170
  raise ::ArgumentError, "request must be provided" if request.nil?
6260
8171
 
@@ -6329,6 +8240,26 @@ module Google
6329
8240
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::AccessBinding>]
6330
8241
  #
6331
8242
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8243
+ #
8244
+ # @example Basic example
8245
+ # require "google/analytics/admin/v1alpha"
8246
+ #
8247
+ # # Create a client object. The client can be reused for multiple calls.
8248
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8249
+ #
8250
+ # # Create a request. To set request fields, pass in keyword arguments.
8251
+ # request = Google::Analytics::Admin::V1alpha::ListAccessBindingsRequest.new
8252
+ #
8253
+ # # Call the list_access_bindings method.
8254
+ # result = client.list_access_bindings request
8255
+ #
8256
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
8257
+ # # over elements, and API calls will be issued to fetch pages as needed.
8258
+ # result.each do |item|
8259
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::AccessBinding.
8260
+ # p item
8261
+ # end
8262
+ #
6332
8263
  def list_access_bindings request, options = nil
6333
8264
  raise ::ArgumentError, "request must be provided" if request.nil?
6334
8265
 
@@ -6403,6 +8334,22 @@ module Google
6403
8334
  # @return [::Google::Analytics::Admin::V1alpha::BatchCreateAccessBindingsResponse]
6404
8335
  #
6405
8336
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8337
+ #
8338
+ # @example Basic example
8339
+ # require "google/analytics/admin/v1alpha"
8340
+ #
8341
+ # # Create a client object. The client can be reused for multiple calls.
8342
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8343
+ #
8344
+ # # Create a request. To set request fields, pass in keyword arguments.
8345
+ # request = Google::Analytics::Admin::V1alpha::BatchCreateAccessBindingsRequest.new
8346
+ #
8347
+ # # Call the batch_create_access_bindings method.
8348
+ # result = client.batch_create_access_bindings request
8349
+ #
8350
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::BatchCreateAccessBindingsResponse.
8351
+ # p result
8352
+ #
6406
8353
  def batch_create_access_bindings request, options = nil
6407
8354
  raise ::ArgumentError, "request must be provided" if request.nil?
6408
8355
 
@@ -6475,6 +8422,22 @@ module Google
6475
8422
  # @return [::Google::Analytics::Admin::V1alpha::BatchGetAccessBindingsResponse]
6476
8423
  #
6477
8424
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8425
+ #
8426
+ # @example Basic example
8427
+ # require "google/analytics/admin/v1alpha"
8428
+ #
8429
+ # # Create a client object. The client can be reused for multiple calls.
8430
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8431
+ #
8432
+ # # Create a request. To set request fields, pass in keyword arguments.
8433
+ # request = Google::Analytics::Admin::V1alpha::BatchGetAccessBindingsRequest.new
8434
+ #
8435
+ # # Call the batch_get_access_bindings method.
8436
+ # result = client.batch_get_access_bindings request
8437
+ #
8438
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::BatchGetAccessBindingsResponse.
8439
+ # p result
8440
+ #
6478
8441
  def batch_get_access_bindings request, options = nil
6479
8442
  raise ::ArgumentError, "request must be provided" if request.nil?
6480
8443
 
@@ -6546,6 +8509,22 @@ module Google
6546
8509
  # @return [::Google::Analytics::Admin::V1alpha::BatchUpdateAccessBindingsResponse]
6547
8510
  #
6548
8511
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8512
+ #
8513
+ # @example Basic example
8514
+ # require "google/analytics/admin/v1alpha"
8515
+ #
8516
+ # # Create a client object. The client can be reused for multiple calls.
8517
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8518
+ #
8519
+ # # Create a request. To set request fields, pass in keyword arguments.
8520
+ # request = Google::Analytics::Admin::V1alpha::BatchUpdateAccessBindingsRequest.new
8521
+ #
8522
+ # # Call the batch_update_access_bindings method.
8523
+ # result = client.batch_update_access_bindings request
8524
+ #
8525
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::BatchUpdateAccessBindingsResponse.
8526
+ # p result
8527
+ #
6549
8528
  def batch_update_access_bindings request, options = nil
6550
8529
  raise ::ArgumentError, "request must be provided" if request.nil?
6551
8530
 
@@ -6615,6 +8594,22 @@ module Google
6615
8594
  # @return [::Google::Protobuf::Empty]
6616
8595
  #
6617
8596
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8597
+ #
8598
+ # @example Basic example
8599
+ # require "google/analytics/admin/v1alpha"
8600
+ #
8601
+ # # Create a client object. The client can be reused for multiple calls.
8602
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8603
+ #
8604
+ # # Create a request. To set request fields, pass in keyword arguments.
8605
+ # request = Google::Analytics::Admin::V1alpha::BatchDeleteAccessBindingsRequest.new
8606
+ #
8607
+ # # Call the batch_delete_access_bindings method.
8608
+ # result = client.batch_delete_access_bindings request
8609
+ #
8610
+ # # The returned object is of type Google::Protobuf::Empty.
8611
+ # p result
8612
+ #
6618
8613
  def batch_delete_access_bindings request, options = nil
6619
8614
  raise ::ArgumentError, "request must be provided" if request.nil?
6620
8615
 
@@ -6678,6 +8673,22 @@ module Google
6678
8673
  # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSet]
6679
8674
  #
6680
8675
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8676
+ #
8677
+ # @example Basic example
8678
+ # require "google/analytics/admin/v1alpha"
8679
+ #
8680
+ # # Create a client object. The client can be reused for multiple calls.
8681
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8682
+ #
8683
+ # # Create a request. To set request fields, pass in keyword arguments.
8684
+ # request = Google::Analytics::Admin::V1alpha::GetExpandedDataSetRequest.new
8685
+ #
8686
+ # # Call the get_expanded_data_set method.
8687
+ # result = client.get_expanded_data_set request
8688
+ #
8689
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ExpandedDataSet.
8690
+ # p result
8691
+ #
6681
8692
  def get_expanded_data_set request, options = nil
6682
8693
  raise ::ArgumentError, "request must be provided" if request.nil?
6683
8694
 
@@ -6750,6 +8761,26 @@ module Google
6750
8761
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::ExpandedDataSet>]
6751
8762
  #
6752
8763
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8764
+ #
8765
+ # @example Basic example
8766
+ # require "google/analytics/admin/v1alpha"
8767
+ #
8768
+ # # Create a client object. The client can be reused for multiple calls.
8769
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8770
+ #
8771
+ # # Create a request. To set request fields, pass in keyword arguments.
8772
+ # request = Google::Analytics::Admin::V1alpha::ListExpandedDataSetsRequest.new
8773
+ #
8774
+ # # Call the list_expanded_data_sets method.
8775
+ # result = client.list_expanded_data_sets request
8776
+ #
8777
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
8778
+ # # over elements, and API calls will be issued to fetch pages as needed.
8779
+ # result.each do |item|
8780
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::ExpandedDataSet.
8781
+ # p item
8782
+ # end
8783
+ #
6753
8784
  def list_expanded_data_sets request, options = nil
6754
8785
  raise ::ArgumentError, "request must be provided" if request.nil?
6755
8786
 
@@ -6815,6 +8846,22 @@ module Google
6815
8846
  # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSet]
6816
8847
  #
6817
8848
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8849
+ #
8850
+ # @example Basic example
8851
+ # require "google/analytics/admin/v1alpha"
8852
+ #
8853
+ # # Create a client object. The client can be reused for multiple calls.
8854
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8855
+ #
8856
+ # # Create a request. To set request fields, pass in keyword arguments.
8857
+ # request = Google::Analytics::Admin::V1alpha::CreateExpandedDataSetRequest.new
8858
+ #
8859
+ # # Call the create_expanded_data_set method.
8860
+ # result = client.create_expanded_data_set request
8861
+ #
8862
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ExpandedDataSet.
8863
+ # p result
8864
+ #
6818
8865
  def create_expanded_data_set request, options = nil
6819
8866
  raise ::ArgumentError, "request must be provided" if request.nil?
6820
8867
 
@@ -6884,6 +8931,22 @@ module Google
6884
8931
  # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSet]
6885
8932
  #
6886
8933
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
8934
+ #
8935
+ # @example Basic example
8936
+ # require "google/analytics/admin/v1alpha"
8937
+ #
8938
+ # # Create a client object. The client can be reused for multiple calls.
8939
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
8940
+ #
8941
+ # # Create a request. To set request fields, pass in keyword arguments.
8942
+ # request = Google::Analytics::Admin::V1alpha::UpdateExpandedDataSetRequest.new
8943
+ #
8944
+ # # Call the update_expanded_data_set method.
8945
+ # result = client.update_expanded_data_set request
8946
+ #
8947
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ExpandedDataSet.
8948
+ # p result
8949
+ #
6887
8950
  def update_expanded_data_set request, options = nil
6888
8951
  raise ::ArgumentError, "request must be provided" if request.nil?
6889
8952
 
@@ -6946,6 +9009,22 @@ module Google
6946
9009
  # @return [::Google::Protobuf::Empty]
6947
9010
  #
6948
9011
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9012
+ #
9013
+ # @example Basic example
9014
+ # require "google/analytics/admin/v1alpha"
9015
+ #
9016
+ # # Create a client object. The client can be reused for multiple calls.
9017
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9018
+ #
9019
+ # # Create a request. To set request fields, pass in keyword arguments.
9020
+ # request = Google::Analytics::Admin::V1alpha::DeleteExpandedDataSetRequest.new
9021
+ #
9022
+ # # Call the delete_expanded_data_set method.
9023
+ # result = client.delete_expanded_data_set request
9024
+ #
9025
+ # # The returned object is of type Google::Protobuf::Empty.
9026
+ # p result
9027
+ #
6949
9028
  def delete_expanded_data_set request, options = nil
6950
9029
  raise ::ArgumentError, "request must be provided" if request.nil?
6951
9030
 
@@ -7009,6 +9088,22 @@ module Google
7009
9088
  # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
7010
9089
  #
7011
9090
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9091
+ #
9092
+ # @example Basic example
9093
+ # require "google/analytics/admin/v1alpha"
9094
+ #
9095
+ # # Create a client object. The client can be reused for multiple calls.
9096
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9097
+ #
9098
+ # # Create a request. To set request fields, pass in keyword arguments.
9099
+ # request = Google::Analytics::Admin::V1alpha::GetChannelGroupRequest.new
9100
+ #
9101
+ # # Call the get_channel_group method.
9102
+ # result = client.get_channel_group request
9103
+ #
9104
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ChannelGroup.
9105
+ # p result
9106
+ #
7012
9107
  def get_channel_group request, options = nil
7013
9108
  raise ::ArgumentError, "request must be provided" if request.nil?
7014
9109
 
@@ -7082,6 +9177,26 @@ module Google
7082
9177
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::ChannelGroup>]
7083
9178
  #
7084
9179
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9180
+ #
9181
+ # @example Basic example
9182
+ # require "google/analytics/admin/v1alpha"
9183
+ #
9184
+ # # Create a client object. The client can be reused for multiple calls.
9185
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9186
+ #
9187
+ # # Create a request. To set request fields, pass in keyword arguments.
9188
+ # request = Google::Analytics::Admin::V1alpha::ListChannelGroupsRequest.new
9189
+ #
9190
+ # # Call the list_channel_groups method.
9191
+ # result = client.list_channel_groups request
9192
+ #
9193
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
9194
+ # # over elements, and API calls will be issued to fetch pages as needed.
9195
+ # result.each do |item|
9196
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::ChannelGroup.
9197
+ # p item
9198
+ # end
9199
+ #
7085
9200
  def list_channel_groups request, options = nil
7086
9201
  raise ::ArgumentError, "request must be provided" if request.nil?
7087
9202
 
@@ -7148,6 +9263,22 @@ module Google
7148
9263
  # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
7149
9264
  #
7150
9265
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9266
+ #
9267
+ # @example Basic example
9268
+ # require "google/analytics/admin/v1alpha"
9269
+ #
9270
+ # # Create a client object. The client can be reused for multiple calls.
9271
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9272
+ #
9273
+ # # Create a request. To set request fields, pass in keyword arguments.
9274
+ # request = Google::Analytics::Admin::V1alpha::CreateChannelGroupRequest.new
9275
+ #
9276
+ # # Call the create_channel_group method.
9277
+ # result = client.create_channel_group request
9278
+ #
9279
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ChannelGroup.
9280
+ # p result
9281
+ #
7151
9282
  def create_channel_group request, options = nil
7152
9283
  raise ::ArgumentError, "request must be provided" if request.nil?
7153
9284
 
@@ -7217,6 +9348,22 @@ module Google
7217
9348
  # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
7218
9349
  #
7219
9350
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9351
+ #
9352
+ # @example Basic example
9353
+ # require "google/analytics/admin/v1alpha"
9354
+ #
9355
+ # # Create a client object. The client can be reused for multiple calls.
9356
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9357
+ #
9358
+ # # Create a request. To set request fields, pass in keyword arguments.
9359
+ # request = Google::Analytics::Admin::V1alpha::UpdateChannelGroupRequest.new
9360
+ #
9361
+ # # Call the update_channel_group method.
9362
+ # result = client.update_channel_group request
9363
+ #
9364
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ChannelGroup.
9365
+ # p result
9366
+ #
7220
9367
  def update_channel_group request, options = nil
7221
9368
  raise ::ArgumentError, "request must be provided" if request.nil?
7222
9369
 
@@ -7280,6 +9427,22 @@ module Google
7280
9427
  # @return [::Google::Protobuf::Empty]
7281
9428
  #
7282
9429
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9430
+ #
9431
+ # @example Basic example
9432
+ # require "google/analytics/admin/v1alpha"
9433
+ #
9434
+ # # Create a client object. The client can be reused for multiple calls.
9435
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9436
+ #
9437
+ # # Create a request. To set request fields, pass in keyword arguments.
9438
+ # request = Google::Analytics::Admin::V1alpha::DeleteChannelGroupRequest.new
9439
+ #
9440
+ # # Call the delete_channel_group method.
9441
+ # result = client.delete_channel_group request
9442
+ #
9443
+ # # The returned object is of type Google::Protobuf::Empty.
9444
+ # p result
9445
+ #
7283
9446
  def delete_channel_group request, options = nil
7284
9447
  raise ::ArgumentError, "request must be provided" if request.nil?
7285
9448
 
@@ -7349,6 +9512,22 @@ module Google
7349
9512
  # @return [::Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutResponse]
7350
9513
  #
7351
9514
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9515
+ #
9516
+ # @example Basic example
9517
+ # require "google/analytics/admin/v1alpha"
9518
+ #
9519
+ # # Create a client object. The client can be reused for multiple calls.
9520
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9521
+ #
9522
+ # # Create a request. To set request fields, pass in keyword arguments.
9523
+ # request = Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutRequest.new
9524
+ #
9525
+ # # Call the set_automated_ga4_configuration_opt_out method.
9526
+ # result = client.set_automated_ga4_configuration_opt_out request
9527
+ #
9528
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutResponse.
9529
+ # p result
9530
+ #
7352
9531
  def set_automated_ga4_configuration_opt_out request, options = nil
7353
9532
  raise ::ArgumentError, "request must be provided" if request.nil?
7354
9533
 
@@ -7416,6 +9595,22 @@ module Google
7416
9595
  # @return [::Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutResponse]
7417
9596
  #
7418
9597
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9598
+ #
9599
+ # @example Basic example
9600
+ # require "google/analytics/admin/v1alpha"
9601
+ #
9602
+ # # Create a client object. The client can be reused for multiple calls.
9603
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9604
+ #
9605
+ # # Create a request. To set request fields, pass in keyword arguments.
9606
+ # request = Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutRequest.new
9607
+ #
9608
+ # # Call the fetch_automated_ga4_configuration_opt_out method.
9609
+ # result = client.fetch_automated_ga4_configuration_opt_out request
9610
+ #
9611
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutResponse.
9612
+ # p result
9613
+ #
7419
9614
  def fetch_automated_ga4_configuration_opt_out request, options = nil
7420
9615
  raise ::ArgumentError, "request must be provided" if request.nil?
7421
9616
 
@@ -7480,6 +9675,22 @@ module Google
7480
9675
  # @return [::Google::Analytics::Admin::V1alpha::BigQueryLink]
7481
9676
  #
7482
9677
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9678
+ #
9679
+ # @example Basic example
9680
+ # require "google/analytics/admin/v1alpha"
9681
+ #
9682
+ # # Create a client object. The client can be reused for multiple calls.
9683
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9684
+ #
9685
+ # # Create a request. To set request fields, pass in keyword arguments.
9686
+ # request = Google::Analytics::Admin::V1alpha::GetBigQueryLinkRequest.new
9687
+ #
9688
+ # # Call the get_big_query_link method.
9689
+ # result = client.get_big_query_link request
9690
+ #
9691
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::BigQueryLink.
9692
+ # p result
9693
+ #
7483
9694
  def get_big_query_link request, options = nil
7484
9695
  raise ::ArgumentError, "request must be provided" if request.nil?
7485
9696
 
@@ -7554,6 +9765,26 @@ module Google
7554
9765
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::BigQueryLink>]
7555
9766
  #
7556
9767
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9768
+ #
9769
+ # @example Basic example
9770
+ # require "google/analytics/admin/v1alpha"
9771
+ #
9772
+ # # Create a client object. The client can be reused for multiple calls.
9773
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9774
+ #
9775
+ # # Create a request. To set request fields, pass in keyword arguments.
9776
+ # request = Google::Analytics::Admin::V1alpha::ListBigQueryLinksRequest.new
9777
+ #
9778
+ # # Call the list_big_query_links method.
9779
+ # result = client.list_big_query_links request
9780
+ #
9781
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
9782
+ # # over elements, and API calls will be issued to fetch pages as needed.
9783
+ # result.each do |item|
9784
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::BigQueryLink.
9785
+ # p item
9786
+ # end
9787
+ #
7557
9788
  def list_big_query_links request, options = nil
7558
9789
  raise ::ArgumentError, "request must be provided" if request.nil?
7559
9790
 
@@ -7622,6 +9853,22 @@ module Google
7622
9853
  # @return [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
7623
9854
  #
7624
9855
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9856
+ #
9857
+ # @example Basic example
9858
+ # require "google/analytics/admin/v1alpha"
9859
+ #
9860
+ # # Create a client object. The client can be reused for multiple calls.
9861
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9862
+ #
9863
+ # # Create a request. To set request fields, pass in keyword arguments.
9864
+ # request = Google::Analytics::Admin::V1alpha::GetEnhancedMeasurementSettingsRequest.new
9865
+ #
9866
+ # # Call the get_enhanced_measurement_settings method.
9867
+ # result = client.get_enhanced_measurement_settings request
9868
+ #
9869
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings.
9870
+ # p result
9871
+ #
7625
9872
  def get_enhanced_measurement_settings request, options = nil
7626
9873
  raise ::ArgumentError, "request must be provided" if request.nil?
7627
9874
 
@@ -7692,6 +9939,22 @@ module Google
7692
9939
  # @return [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
7693
9940
  #
7694
9941
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
9942
+ #
9943
+ # @example Basic example
9944
+ # require "google/analytics/admin/v1alpha"
9945
+ #
9946
+ # # Create a client object. The client can be reused for multiple calls.
9947
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
9948
+ #
9949
+ # # Create a request. To set request fields, pass in keyword arguments.
9950
+ # request = Google::Analytics::Admin::V1alpha::UpdateEnhancedMeasurementSettingsRequest.new
9951
+ #
9952
+ # # Call the update_enhanced_measurement_settings method.
9953
+ # result = client.update_enhanced_measurement_settings request
9954
+ #
9955
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings.
9956
+ # p result
9957
+ #
7695
9958
  def update_enhanced_measurement_settings request, options = nil
7696
9959
  raise ::ArgumentError, "request must be provided" if request.nil?
7697
9960
 
@@ -7761,6 +10024,22 @@ module Google
7761
10024
  # @return [::Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagResponse]
7762
10025
  #
7763
10026
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10027
+ #
10028
+ # @example Basic example
10029
+ # require "google/analytics/admin/v1alpha"
10030
+ #
10031
+ # # Create a client object. The client can be reused for multiple calls.
10032
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10033
+ #
10034
+ # # Create a request. To set request fields, pass in keyword arguments.
10035
+ # request = Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagRequest.new
10036
+ #
10037
+ # # Call the create_connected_site_tag method.
10038
+ # result = client.create_connected_site_tag request
10039
+ #
10040
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagResponse.
10041
+ # p result
10042
+ #
7764
10043
  def create_connected_site_tag request, options = nil
7765
10044
  raise ::ArgumentError, "request must be provided" if request.nil?
7766
10045
 
@@ -7830,6 +10109,22 @@ module Google
7830
10109
  # @return [::Google::Protobuf::Empty]
7831
10110
  #
7832
10111
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10112
+ #
10113
+ # @example Basic example
10114
+ # require "google/analytics/admin/v1alpha"
10115
+ #
10116
+ # # Create a client object. The client can be reused for multiple calls.
10117
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10118
+ #
10119
+ # # Create a request. To set request fields, pass in keyword arguments.
10120
+ # request = Google::Analytics::Admin::V1alpha::DeleteConnectedSiteTagRequest.new
10121
+ #
10122
+ # # Call the delete_connected_site_tag method.
10123
+ # result = client.delete_connected_site_tag request
10124
+ #
10125
+ # # The returned object is of type Google::Protobuf::Empty.
10126
+ # p result
10127
+ #
7833
10128
  def delete_connected_site_tag request, options = nil
7834
10129
  raise ::ArgumentError, "request must be provided" if request.nil?
7835
10130
 
@@ -7897,6 +10192,22 @@ module Google
7897
10192
  # @return [::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsResponse]
7898
10193
  #
7899
10194
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10195
+ #
10196
+ # @example Basic example
10197
+ # require "google/analytics/admin/v1alpha"
10198
+ #
10199
+ # # Create a client object. The client can be reused for multiple calls.
10200
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10201
+ #
10202
+ # # Create a request. To set request fields, pass in keyword arguments.
10203
+ # request = Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsRequest.new
10204
+ #
10205
+ # # Call the list_connected_site_tags method.
10206
+ # result = client.list_connected_site_tags request
10207
+ #
10208
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsResponse.
10209
+ # p result
10210
+ #
7900
10211
  def list_connected_site_tags request, options = nil
7901
10212
  raise ::ArgumentError, "request must be provided" if request.nil?
7902
10213
 
@@ -7964,6 +10275,22 @@ module Google
7964
10275
  # @return [::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyResponse]
7965
10276
  #
7966
10277
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10278
+ #
10279
+ # @example Basic example
10280
+ # require "google/analytics/admin/v1alpha"
10281
+ #
10282
+ # # Create a client object. The client can be reused for multiple calls.
10283
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10284
+ #
10285
+ # # Create a request. To set request fields, pass in keyword arguments.
10286
+ # request = Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyRequest.new
10287
+ #
10288
+ # # Call the fetch_connected_ga4_property method.
10289
+ # result = client.fetch_connected_ga4_property request
10290
+ #
10291
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyResponse.
10292
+ # p result
10293
+ #
7967
10294
  def fetch_connected_ga4_property request, options = nil
7968
10295
  raise ::ArgumentError, "request must be provided" if request.nil?
7969
10296
 
@@ -8028,6 +10355,22 @@ module Google
8028
10355
  # @return [::Google::Analytics::Admin::V1alpha::AdSenseLink]
8029
10356
  #
8030
10357
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10358
+ #
10359
+ # @example Basic example
10360
+ # require "google/analytics/admin/v1alpha"
10361
+ #
10362
+ # # Create a client object. The client can be reused for multiple calls.
10363
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10364
+ #
10365
+ # # Create a request. To set request fields, pass in keyword arguments.
10366
+ # request = Google::Analytics::Admin::V1alpha::GetAdSenseLinkRequest.new
10367
+ #
10368
+ # # Call the get_ad_sense_link method.
10369
+ # result = client.get_ad_sense_link request
10370
+ #
10371
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::AdSenseLink.
10372
+ # p result
10373
+ #
8031
10374
  def get_ad_sense_link request, options = nil
8032
10375
  raise ::ArgumentError, "request must be provided" if request.nil?
8033
10376
 
@@ -8094,6 +10437,22 @@ module Google
8094
10437
  # @return [::Google::Analytics::Admin::V1alpha::AdSenseLink]
8095
10438
  #
8096
10439
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10440
+ #
10441
+ # @example Basic example
10442
+ # require "google/analytics/admin/v1alpha"
10443
+ #
10444
+ # # Create a client object. The client can be reused for multiple calls.
10445
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10446
+ #
10447
+ # # Create a request. To set request fields, pass in keyword arguments.
10448
+ # request = Google::Analytics::Admin::V1alpha::CreateAdSenseLinkRequest.new
10449
+ #
10450
+ # # Call the create_ad_sense_link method.
10451
+ # result = client.create_ad_sense_link request
10452
+ #
10453
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::AdSenseLink.
10454
+ # p result
10455
+ #
8097
10456
  def create_ad_sense_link request, options = nil
8098
10457
  raise ::ArgumentError, "request must be provided" if request.nil?
8099
10458
 
@@ -8158,6 +10517,22 @@ module Google
8158
10517
  # @return [::Google::Protobuf::Empty]
8159
10518
  #
8160
10519
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10520
+ #
10521
+ # @example Basic example
10522
+ # require "google/analytics/admin/v1alpha"
10523
+ #
10524
+ # # Create a client object. The client can be reused for multiple calls.
10525
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10526
+ #
10527
+ # # Create a request. To set request fields, pass in keyword arguments.
10528
+ # request = Google::Analytics::Admin::V1alpha::DeleteAdSenseLinkRequest.new
10529
+ #
10530
+ # # Call the delete_ad_sense_link method.
10531
+ # result = client.delete_ad_sense_link request
10532
+ #
10533
+ # # The returned object is of type Google::Protobuf::Empty.
10534
+ # p result
10535
+ #
8161
10536
  def delete_ad_sense_link request, options = nil
8162
10537
  raise ::ArgumentError, "request must be provided" if request.nil?
8163
10538
 
@@ -8232,6 +10607,26 @@ module Google
8232
10607
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::AdSenseLink>]
8233
10608
  #
8234
10609
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10610
+ #
10611
+ # @example Basic example
10612
+ # require "google/analytics/admin/v1alpha"
10613
+ #
10614
+ # # Create a client object. The client can be reused for multiple calls.
10615
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10616
+ #
10617
+ # # Create a request. To set request fields, pass in keyword arguments.
10618
+ # request = Google::Analytics::Admin::V1alpha::ListAdSenseLinksRequest.new
10619
+ #
10620
+ # # Call the list_ad_sense_links method.
10621
+ # result = client.list_ad_sense_links request
10622
+ #
10623
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
10624
+ # # over elements, and API calls will be issued to fetch pages as needed.
10625
+ # result.each do |item|
10626
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::AdSenseLink.
10627
+ # p item
10628
+ # end
10629
+ #
8235
10630
  def list_ad_sense_links request, options = nil
8236
10631
  raise ::ArgumentError, "request must be provided" if request.nil?
8237
10632
 
@@ -8296,6 +10691,22 @@ module Google
8296
10691
  # @return [::Google::Analytics::Admin::V1alpha::EventCreateRule]
8297
10692
  #
8298
10693
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10694
+ #
10695
+ # @example Basic example
10696
+ # require "google/analytics/admin/v1alpha"
10697
+ #
10698
+ # # Create a client object. The client can be reused for multiple calls.
10699
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10700
+ #
10701
+ # # Create a request. To set request fields, pass in keyword arguments.
10702
+ # request = Google::Analytics::Admin::V1alpha::GetEventCreateRuleRequest.new
10703
+ #
10704
+ # # Call the get_event_create_rule method.
10705
+ # result = client.get_event_create_rule request
10706
+ #
10707
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::EventCreateRule.
10708
+ # p result
10709
+ #
8299
10710
  def get_event_create_rule request, options = nil
8300
10711
  raise ::ArgumentError, "request must be provided" if request.nil?
8301
10712
 
@@ -8368,6 +10779,26 @@ module Google
8368
10779
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Analytics::Admin::V1alpha::EventCreateRule>]
8369
10780
  #
8370
10781
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10782
+ #
10783
+ # @example Basic example
10784
+ # require "google/analytics/admin/v1alpha"
10785
+ #
10786
+ # # Create a client object. The client can be reused for multiple calls.
10787
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10788
+ #
10789
+ # # Create a request. To set request fields, pass in keyword arguments.
10790
+ # request = Google::Analytics::Admin::V1alpha::ListEventCreateRulesRequest.new
10791
+ #
10792
+ # # Call the list_event_create_rules method.
10793
+ # result = client.list_event_create_rules request
10794
+ #
10795
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
10796
+ # # over elements, and API calls will be issued to fetch pages as needed.
10797
+ # result.each do |item|
10798
+ # # Each element is of type ::Google::Analytics::Admin::V1alpha::EventCreateRule.
10799
+ # p item
10800
+ # end
10801
+ #
8371
10802
  def list_event_create_rules request, options = nil
8372
10803
  raise ::ArgumentError, "request must be provided" if request.nil?
8373
10804
 
@@ -8433,6 +10864,22 @@ module Google
8433
10864
  # @return [::Google::Analytics::Admin::V1alpha::EventCreateRule]
8434
10865
  #
8435
10866
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10867
+ #
10868
+ # @example Basic example
10869
+ # require "google/analytics/admin/v1alpha"
10870
+ #
10871
+ # # Create a client object. The client can be reused for multiple calls.
10872
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10873
+ #
10874
+ # # Create a request. To set request fields, pass in keyword arguments.
10875
+ # request = Google::Analytics::Admin::V1alpha::CreateEventCreateRuleRequest.new
10876
+ #
10877
+ # # Call the create_event_create_rule method.
10878
+ # result = client.create_event_create_rule request
10879
+ #
10880
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::EventCreateRule.
10881
+ # p result
10882
+ #
8436
10883
  def create_event_create_rule request, options = nil
8437
10884
  raise ::ArgumentError, "request must be provided" if request.nil?
8438
10885
 
@@ -8502,6 +10949,22 @@ module Google
8502
10949
  # @return [::Google::Analytics::Admin::V1alpha::EventCreateRule]
8503
10950
  #
8504
10951
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
10952
+ #
10953
+ # @example Basic example
10954
+ # require "google/analytics/admin/v1alpha"
10955
+ #
10956
+ # # Create a client object. The client can be reused for multiple calls.
10957
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
10958
+ #
10959
+ # # Create a request. To set request fields, pass in keyword arguments.
10960
+ # request = Google::Analytics::Admin::V1alpha::UpdateEventCreateRuleRequest.new
10961
+ #
10962
+ # # Call the update_event_create_rule method.
10963
+ # result = client.update_event_create_rule request
10964
+ #
10965
+ # # The returned object is of type Google::Analytics::Admin::V1alpha::EventCreateRule.
10966
+ # p result
10967
+ #
8505
10968
  def update_event_create_rule request, options = nil
8506
10969
  raise ::ArgumentError, "request must be provided" if request.nil?
8507
10970
 
@@ -8565,6 +11028,22 @@ module Google
8565
11028
  # @return [::Google::Protobuf::Empty]
8566
11029
  #
8567
11030
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
11031
+ #
11032
+ # @example Basic example
11033
+ # require "google/analytics/admin/v1alpha"
11034
+ #
11035
+ # # Create a client object. The client can be reused for multiple calls.
11036
+ # client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Rest::Client.new
11037
+ #
11038
+ # # Create a request. To set request fields, pass in keyword arguments.
11039
+ # request = Google::Analytics::Admin::V1alpha::DeleteEventCreateRuleRequest.new
11040
+ #
11041
+ # # Call the delete_event_create_rule method.
11042
+ # result = client.delete_event_create_rule request
11043
+ #
11044
+ # # The returned object is of type Google::Protobuf::Empty.
11045
+ # p result
11046
+ #
8568
11047
  def delete_event_create_rule request, options = nil
8569
11048
  raise ::ArgumentError, "request must be provided" if request.nil?
8570
11049
 
@@ -8906,6 +11385,31 @@ module Google
8906
11385
  #
8907
11386
  attr_reader :acknowledge_user_data_collection
8908
11387
  ##
11388
+ # RPC-specific configuration for `get_sk_ad_network_conversion_value_schema`
11389
+ # @return [::Gapic::Config::Method]
11390
+ #
11391
+ attr_reader :get_sk_ad_network_conversion_value_schema
11392
+ ##
11393
+ # RPC-specific configuration for `create_sk_ad_network_conversion_value_schema`
11394
+ # @return [::Gapic::Config::Method]
11395
+ #
11396
+ attr_reader :create_sk_ad_network_conversion_value_schema
11397
+ ##
11398
+ # RPC-specific configuration for `delete_sk_ad_network_conversion_value_schema`
11399
+ # @return [::Gapic::Config::Method]
11400
+ #
11401
+ attr_reader :delete_sk_ad_network_conversion_value_schema
11402
+ ##
11403
+ # RPC-specific configuration for `update_sk_ad_network_conversion_value_schema`
11404
+ # @return [::Gapic::Config::Method]
11405
+ #
11406
+ attr_reader :update_sk_ad_network_conversion_value_schema
11407
+ ##
11408
+ # RPC-specific configuration for `list_sk_ad_network_conversion_value_schemas`
11409
+ # @return [::Gapic::Config::Method]
11410
+ #
11411
+ attr_reader :list_sk_ad_network_conversion_value_schemas
11412
+ ##
8909
11413
  # RPC-specific configuration for `search_change_history_events`
8910
11414
  # @return [::Gapic::Config::Method]
8911
11415
  #
@@ -9415,6 +11919,16 @@ module Google
9415
11919
  @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config
9416
11920
  acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection
9417
11921
  @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config
11922
+ get_sk_ad_network_conversion_value_schema_config = parent_rpcs.get_sk_ad_network_conversion_value_schema if parent_rpcs.respond_to? :get_sk_ad_network_conversion_value_schema
11923
+ @get_sk_ad_network_conversion_value_schema = ::Gapic::Config::Method.new get_sk_ad_network_conversion_value_schema_config
11924
+ create_sk_ad_network_conversion_value_schema_config = parent_rpcs.create_sk_ad_network_conversion_value_schema if parent_rpcs.respond_to? :create_sk_ad_network_conversion_value_schema
11925
+ @create_sk_ad_network_conversion_value_schema = ::Gapic::Config::Method.new create_sk_ad_network_conversion_value_schema_config
11926
+ delete_sk_ad_network_conversion_value_schema_config = parent_rpcs.delete_sk_ad_network_conversion_value_schema if parent_rpcs.respond_to? :delete_sk_ad_network_conversion_value_schema
11927
+ @delete_sk_ad_network_conversion_value_schema = ::Gapic::Config::Method.new delete_sk_ad_network_conversion_value_schema_config
11928
+ update_sk_ad_network_conversion_value_schema_config = parent_rpcs.update_sk_ad_network_conversion_value_schema if parent_rpcs.respond_to? :update_sk_ad_network_conversion_value_schema
11929
+ @update_sk_ad_network_conversion_value_schema = ::Gapic::Config::Method.new update_sk_ad_network_conversion_value_schema_config
11930
+ list_sk_ad_network_conversion_value_schemas_config = parent_rpcs.list_sk_ad_network_conversion_value_schemas if parent_rpcs.respond_to? :list_sk_ad_network_conversion_value_schemas
11931
+ @list_sk_ad_network_conversion_value_schemas = ::Gapic::Config::Method.new list_sk_ad_network_conversion_value_schemas_config
9418
11932
  search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events
9419
11933
  @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config
9420
11934
  get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings