google-analytics-admin-v1alpha 0.1.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/analytics/admin/v1alpha.rb +3 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +14 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service.rb +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +130 -38
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +55 -67
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +24 -18
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +83 -15
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +71 -57
- data/proto_docs/google/api/resource.rb +50 -14
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e32852bbcc1562112cba21edd419039aad815748490414587a1edbf580ab1771
|
4
|
+
data.tar.gz: 4fef8c3b9a2ac6c3c9d48f6ed513b412235e0b536d896db4dbcff5955ed5f7ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 386b01797bd722053cbb321cd0720dc3e3ce9c3ffae0ad8c8595e3c5d628d15837abff83a04be9e33103c08eb61843dfa7cc19713d7977b62af26797ff83ac79
|
7
|
+
data.tar.gz: 4214abd44d02bd59db7670c98f5383d3ce127b61b7c90b0eaa7b74d377531140f151157392c75959e4637e04981c652ec8261e4c4befd74dcb61795622f63260
|
@@ -10,6 +10,7 @@ require 'google/api/field_behavior_pb'
|
|
10
10
|
require 'google/api/resource_pb'
|
11
11
|
require 'google/protobuf/empty_pb'
|
12
12
|
require 'google/protobuf/field_mask_pb'
|
13
|
+
require 'google/protobuf/timestamp_pb'
|
13
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
15
|
add_file("google/analytics/admin/v1alpha/analytics_admin.proto", :syntax => :proto3) do
|
15
16
|
add_message "google.analytics.admin.v1alpha.GetAccountRequest" do
|
@@ -208,9 +209,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
208
209
|
end
|
209
210
|
add_message "google.analytics.admin.v1alpha.ListFirebaseLinksRequest" do
|
210
211
|
optional :parent, :string, 1
|
212
|
+
optional :page_size, :int32, 2
|
213
|
+
optional :page_token, :string, 3
|
211
214
|
end
|
212
215
|
add_message "google.analytics.admin.v1alpha.ListFirebaseLinksResponse" do
|
213
216
|
repeated :firebase_links, :message, 1, "google.analytics.admin.v1alpha.FirebaseLink"
|
217
|
+
optional :next_page_token, :string, 2
|
214
218
|
end
|
215
219
|
add_message "google.analytics.admin.v1alpha.GetGlobalSiteTagRequest" do
|
216
220
|
optional :name, :string, 1
|
@@ -238,6 +242,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
238
242
|
add_message "google.analytics.admin.v1alpha.GetDataSharingSettingsRequest" do
|
239
243
|
optional :name, :string, 1
|
240
244
|
end
|
245
|
+
add_message "google.analytics.admin.v1alpha.ListAccountSummariesRequest" do
|
246
|
+
optional :page_size, :int32, 1
|
247
|
+
optional :page_token, :string, 2
|
248
|
+
end
|
249
|
+
add_message "google.analytics.admin.v1alpha.ListAccountSummariesResponse" do
|
250
|
+
repeated :account_summaries, :message, 1, "google.analytics.admin.v1alpha.AccountSummary"
|
251
|
+
optional :next_page_token, :string, 2
|
252
|
+
end
|
241
253
|
end
|
242
254
|
end
|
243
255
|
|
@@ -305,6 +317,8 @@ module Google
|
|
305
317
|
ListGoogleAdsLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest").msgclass
|
306
318
|
ListGoogleAdsLinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse").msgclass
|
307
319
|
GetDataSharingSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataSharingSettingsRequest").msgclass
|
320
|
+
ListAccountSummariesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesRequest").msgclass
|
321
|
+
ListAccountSummariesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesResponse").msgclass
|
308
322
|
end
|
309
323
|
end
|
310
324
|
end
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
##
|
28
28
|
# Client for the AnalyticsAdminService service.
|
29
29
|
#
|
30
|
-
# Service Interface for the Analytics Admin API (
|
30
|
+
# Service Interface for the Analytics Admin API (GA4).
|
31
31
|
#
|
32
32
|
class Client
|
33
33
|
include Paths
|
@@ -244,8 +244,6 @@ module Google
|
|
244
244
|
|
245
245
|
##
|
246
246
|
# Lookup for a single Account.
|
247
|
-
# Throws "Target not found" if no such account found, or if caller does not
|
248
|
-
# have permissions to access it.
|
249
247
|
#
|
250
248
|
# @overload get_account(request, options = nil)
|
251
249
|
# Pass arguments to `get_account` via a request object, either of type
|
@@ -315,7 +313,7 @@ module Google
|
|
315
313
|
##
|
316
314
|
# Returns all accounts accessible by the caller.
|
317
315
|
#
|
318
|
-
# Note that these accounts might not currently have
|
316
|
+
# Note that these accounts might not currently have GA4 properties.
|
319
317
|
# Soft-deleted (ie: "trashed") accounts are excluded by default.
|
320
318
|
# Returns an empty list if no relevant accounts are found.
|
321
319
|
#
|
@@ -489,7 +487,9 @@ module Google
|
|
489
487
|
# Required. The account to update.
|
490
488
|
# The account's `name` field is used to identify the account.
|
491
489
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
492
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
490
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
491
|
+
# To replace the entire entity, use one path with the string "*" to match
|
492
|
+
# all fields.
|
493
493
|
#
|
494
494
|
# @yield [response, operation] Access the result along with the RPC operation
|
495
495
|
# @yieldparam response [::Google::Analytics::Admin::V1alpha::Account]
|
@@ -600,10 +600,76 @@ module Google
|
|
600
600
|
end
|
601
601
|
|
602
602
|
##
|
603
|
-
#
|
603
|
+
# Returns summaries of all accounts accessible by the caller.
|
604
604
|
#
|
605
|
-
#
|
606
|
-
#
|
605
|
+
# @overload list_account_summaries(request, options = nil)
|
606
|
+
# Pass arguments to `list_account_summaries` via a request object, either of type
|
607
|
+
# {::Google::Analytics::Admin::V1alpha::ListAccountSummariesRequest} or an equivalent Hash.
|
608
|
+
#
|
609
|
+
# @param request [::Google::Analytics::Admin::V1alpha::ListAccountSummariesRequest, ::Hash]
|
610
|
+
# A request object representing the call parameters. Required. To specify no
|
611
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
612
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
613
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
614
|
+
#
|
615
|
+
# @overload list_account_summaries(page_size: nil, page_token: nil)
|
616
|
+
# Pass arguments to `list_account_summaries` via keyword arguments. Note that at
|
617
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
618
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
619
|
+
#
|
620
|
+
# @param page_size [::Integer]
|
621
|
+
# The maximum number of AccountSummary resources to return. The service may
|
622
|
+
# return fewer than this value, even if there are additional pages.
|
623
|
+
# If unspecified, at most 50 resources will be returned.
|
624
|
+
# The maximum value is 200; (higher values will be coerced to the maximum)
|
625
|
+
# @param page_token [::String]
|
626
|
+
# A page token, received from a previous `ListAccountSummaries` call.
|
627
|
+
# Provide this to retrieve the subsequent page.
|
628
|
+
# When paginating, all other parameters provided to `ListAccountSummaries`
|
629
|
+
# must match the call that provided the page token.
|
630
|
+
#
|
631
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
632
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::AccountSummary>]
|
633
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
634
|
+
#
|
635
|
+
# @return [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::AccountSummary>]
|
636
|
+
#
|
637
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
638
|
+
#
|
639
|
+
def list_account_summaries request, options = nil
|
640
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
641
|
+
|
642
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::ListAccountSummariesRequest
|
643
|
+
|
644
|
+
# Converts hash and nil to an options object
|
645
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
646
|
+
|
647
|
+
# Customize the options with defaults
|
648
|
+
metadata = @config.rpcs.list_account_summaries.metadata.to_h
|
649
|
+
|
650
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
651
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
652
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
653
|
+
gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
|
654
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
655
|
+
|
656
|
+
options.apply_defaults timeout: @config.rpcs.list_account_summaries.timeout,
|
657
|
+
metadata: metadata,
|
658
|
+
retry_policy: @config.rpcs.list_account_summaries.retry_policy
|
659
|
+
options.apply_defaults metadata: @config.metadata,
|
660
|
+
retry_policy: @config.retry_policy
|
661
|
+
|
662
|
+
@analytics_admin_service_stub.call_rpc :list_account_summaries, request, options: options do |response, operation|
|
663
|
+
response = ::Gapic::PagedEnumerable.new @analytics_admin_service_stub, :list_account_summaries, request, response, operation, options
|
664
|
+
yield response, operation if block_given?
|
665
|
+
return response
|
666
|
+
end
|
667
|
+
rescue ::GRPC::BadStatus => e
|
668
|
+
raise ::Google::Cloud::Error.from_error(e)
|
669
|
+
end
|
670
|
+
|
671
|
+
##
|
672
|
+
# Lookup for a single "GA4" Property.
|
607
673
|
#
|
608
674
|
# @overload get_property(request, options = nil)
|
609
675
|
# Pass arguments to `get_property` via a request object, either of type
|
@@ -673,7 +739,7 @@ module Google
|
|
673
739
|
##
|
674
740
|
# Returns child Properties under the specified parent Account.
|
675
741
|
#
|
676
|
-
# Only "
|
742
|
+
# Only "GA4" properties will be returned.
|
677
743
|
# Properties will be excluded if the caller does not have access.
|
678
744
|
# Soft-deleted (ie: "trashed") properties are excluded by default.
|
679
745
|
# Returns an empty list if no relevant properties are found.
|
@@ -700,11 +766,13 @@ module Google
|
|
700
766
|
# `firebase_project:`(The id or number of the linked firebase project).
|
701
767
|
# Some examples of filters:
|
702
768
|
#
|
769
|
+
# ```
|
703
770
|
# | Filter | Description |
|
704
771
|
# |-----------------------------|-------------------------------------------|
|
705
772
|
# | parent:accounts/123 | The account with account id: 123. |
|
706
773
|
# | firebase_project:project-id | The firebase project with id: project-id. |
|
707
774
|
# | firebase_project:123 | The firebase project with number: 123. |
|
775
|
+
# ```
|
708
776
|
# @param page_size [::Integer]
|
709
777
|
# The maximum number of resources to return. The service may return
|
710
778
|
# fewer than this value, even if there are additional pages.
|
@@ -761,7 +829,7 @@ module Google
|
|
761
829
|
end
|
762
830
|
|
763
831
|
##
|
764
|
-
# Creates an "
|
832
|
+
# Creates an "GA4" property with the specified location and attributes.
|
765
833
|
#
|
766
834
|
# @overload create_property(request, options = nil)
|
767
835
|
# Pass arguments to `create_property` via a request object, either of type
|
@@ -832,7 +900,7 @@ module Google
|
|
832
900
|
# will be permanently purged.
|
833
901
|
# https://support.google.com/analytics/answer/6154772
|
834
902
|
#
|
835
|
-
# Returns an error if the target is not found, or is not an
|
903
|
+
# Returns an error if the target is not found, or is not an GA4 Property.
|
836
904
|
#
|
837
905
|
# @overload delete_property(request, options = nil)
|
838
906
|
# Pass arguments to `delete_property` via a request object, either of type
|
@@ -922,7 +990,9 @@ module Google
|
|
922
990
|
# The property's `name` field is used to identify the property to be
|
923
991
|
# updated.
|
924
992
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
925
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
993
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
994
|
+
# To replace the entire entity, use one path with the string "*" to match
|
995
|
+
# all fields.
|
926
996
|
#
|
927
997
|
# @yield [response, operation] Access the result along with the RPC operation
|
928
998
|
# @yieldparam response [::Google::Analytics::Admin::V1alpha::Property]
|
@@ -1295,8 +1365,8 @@ module Google
|
|
1295
1365
|
# @param parent [::String]
|
1296
1366
|
# Required. Example format: accounts/1234
|
1297
1367
|
# @param notify_new_user [::Boolean]
|
1298
|
-
# Optional. If
|
1299
|
-
# permissions
|
1368
|
+
# Optional. If set, then email the new user notifying them that they've been granted
|
1369
|
+
# permissions to the resource.
|
1300
1370
|
# @param user_link [::Google::Analytics::Admin::V1alpha::UserLink, ::Hash]
|
1301
1371
|
# Required. The user link to create.
|
1302
1372
|
#
|
@@ -1372,10 +1442,11 @@ module Google
|
|
1372
1442
|
# messages must either be empty or match this field.
|
1373
1443
|
# Example format: accounts/1234
|
1374
1444
|
# @param notify_new_users [::Boolean]
|
1375
|
-
# Optional. If
|
1376
|
-
# permissions
|
1445
|
+
# Optional. If set, then email the new users notifying them that they've been granted
|
1446
|
+
# permissions to the resource. Regardless of whether this is set or not,
|
1447
|
+
# notify_new_user field inside each individual request is ignored.
|
1377
1448
|
# @param requests [::Array<::Google::Analytics::Admin::V1alpha::CreateUserLinkRequest, ::Hash>]
|
1378
|
-
# The requests specifying the user links to create.
|
1449
|
+
# Required. The requests specifying the user links to create.
|
1379
1450
|
# A maximum of 1000 user links can be created in a batch.
|
1380
1451
|
#
|
1381
1452
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -1513,7 +1584,7 @@ module Google
|
|
1513
1584
|
# empty or match this field.
|
1514
1585
|
# Example format: accounts/1234
|
1515
1586
|
# @param requests [::Array<::Google::Analytics::Admin::V1alpha::UpdateUserLinkRequest, ::Hash>]
|
1516
|
-
# The requests specifying the user links to update.
|
1587
|
+
# Required. The requests specifying the user links to update.
|
1517
1588
|
# A maximum of 1000 user links can be updated in a batch.
|
1518
1589
|
#
|
1519
1590
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -1651,7 +1722,7 @@ module Google
|
|
1651
1722
|
# field.
|
1652
1723
|
# Example format: accounts/1234
|
1653
1724
|
# @param requests [::Array<::Google::Analytics::Admin::V1alpha::DeleteUserLinkRequest, ::Hash>]
|
1654
|
-
# The requests specifying the user links to update.
|
1725
|
+
# Required. The requests specifying the user links to update.
|
1655
1726
|
# A maximum of 1000 user links can be updated in a batch.
|
1656
1727
|
#
|
1657
1728
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -1702,9 +1773,6 @@ module Google
|
|
1702
1773
|
##
|
1703
1774
|
# Lookup for a single WebDataStream
|
1704
1775
|
#
|
1705
|
-
# Throws "Target not found" if no such web data stream found, or if the
|
1706
|
-
# caller does not have permissions to access it.
|
1707
|
-
#
|
1708
1776
|
# @overload get_web_data_stream(request, options = nil)
|
1709
1777
|
# Pass arguments to `get_web_data_stream` via a request object, either of type
|
1710
1778
|
# {::Google::Analytics::Admin::V1alpha::GetWebDataStreamRequest} or an equivalent Hash.
|
@@ -1860,7 +1928,9 @@ module Google
|
|
1860
1928
|
# Required. The web stream to update.
|
1861
1929
|
# The `name` field is used to identify the web stream to be updated.
|
1862
1930
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1863
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
1931
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1932
|
+
# To replace the entire entity, use one path with the string "*" to match
|
1933
|
+
# all fields.
|
1864
1934
|
#
|
1865
1935
|
# @yield [response, operation] Access the result along with the RPC operation
|
1866
1936
|
# @yieldparam response [::Google::Analytics::Admin::V1alpha::WebDataStream]
|
@@ -2060,9 +2130,6 @@ module Google
|
|
2060
2130
|
##
|
2061
2131
|
# Lookup for a single IosAppDataStream
|
2062
2132
|
#
|
2063
|
-
# Throws "Target not found" if no such iOS app data stream found, or if the
|
2064
|
-
# caller does not have permissions to access it.
|
2065
|
-
#
|
2066
2133
|
# @overload get_ios_app_data_stream(request, options = nil)
|
2067
2134
|
# Pass arguments to `get_ios_app_data_stream` via a request object, either of type
|
2068
2135
|
# {::Google::Analytics::Admin::V1alpha::GetIosAppDataStreamRequest} or an equivalent Hash.
|
@@ -2218,7 +2285,9 @@ module Google
|
|
2218
2285
|
# Required. The iOS app stream to update.
|
2219
2286
|
# The `name` field is used to identify the iOS app stream to be updated.
|
2220
2287
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2221
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
2288
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
2289
|
+
# To replace the entire entity, use one path with the string "*" to match
|
2290
|
+
# all fields.
|
2222
2291
|
#
|
2223
2292
|
# @yield [response, operation] Access the result along with the RPC operation
|
2224
2293
|
# @yieldparam response [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
|
@@ -2418,9 +2487,6 @@ module Google
|
|
2418
2487
|
##
|
2419
2488
|
# Lookup for a single AndroidAppDataStream
|
2420
2489
|
#
|
2421
|
-
# Throws "Target not found" if no such android app data stream found, or if
|
2422
|
-
# the caller does not have permissions to access it.
|
2423
|
-
#
|
2424
2490
|
# @overload get_android_app_data_stream(request, options = nil)
|
2425
2491
|
# Pass arguments to `get_android_app_data_stream` via a request object, either of type
|
2426
2492
|
# {::Google::Analytics::Admin::V1alpha::GetAndroidAppDataStreamRequest} or an equivalent Hash.
|
@@ -2576,7 +2642,9 @@ module Google
|
|
2576
2642
|
# Required. The android app stream to update.
|
2577
2643
|
# The `name` field is used to identify the android app stream to be updated.
|
2578
2644
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2579
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
2645
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
2646
|
+
# To replace the entire entity, use one path with the string "*" to match
|
2647
|
+
# all fields.
|
2580
2648
|
#
|
2581
2649
|
# @yield [response, operation] Access the result along with the RPC operation
|
2582
2650
|
# @yieldparam response [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
|
@@ -2870,7 +2938,9 @@ module Google
|
|
2870
2938
|
# Required. The settings to update.
|
2871
2939
|
# The `name` field is used to identify the settings to be updated.
|
2872
2940
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2873
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
2941
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
2942
|
+
# To replace the entire entity, use one path with the string "*" to match
|
2943
|
+
# all fields.
|
2874
2944
|
#
|
2875
2945
|
# @yield [response, operation] Access the result along with the RPC operation
|
2876
2946
|
# @yieldparam response [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
|
@@ -3009,7 +3079,9 @@ module Google
|
|
3009
3079
|
# @param firebase_link [::Google::Analytics::Admin::V1alpha::FirebaseLink, ::Hash]
|
3010
3080
|
# Required. The Firebase link to update.
|
3011
3081
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
3012
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
3082
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
3083
|
+
# To replace the entire entity, use one path with the string "*" to match
|
3084
|
+
# all fields.
|
3013
3085
|
#
|
3014
3086
|
# @yield [response, operation] Access the result along with the RPC operation
|
3015
3087
|
# @yieldparam response [::Google::Analytics::Admin::V1alpha::FirebaseLink]
|
@@ -3137,7 +3209,7 @@ module Google
|
|
3137
3209
|
# @param options [::Gapic::CallOptions, ::Hash]
|
3138
3210
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3139
3211
|
#
|
3140
|
-
# @overload list_firebase_links(parent: nil)
|
3212
|
+
# @overload list_firebase_links(parent: nil, page_size: nil, page_token: nil)
|
3141
3213
|
# Pass arguments to `list_firebase_links` via keyword arguments. Note that at
|
3142
3214
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
3143
3215
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -3145,12 +3217,22 @@ module Google
|
|
3145
3217
|
# @param parent [::String]
|
3146
3218
|
# Required. Format: properties/\\{property_id}
|
3147
3219
|
# Example: properties/1234
|
3220
|
+
# @param page_size [::Integer]
|
3221
|
+
# The maximum number of resources to return. The service may return
|
3222
|
+
# fewer than this value, even if there are additional pages.
|
3223
|
+
# If unspecified, at most 50 resources will be returned.
|
3224
|
+
# The maximum value is 200; (higher values will be coerced to the maximum)
|
3225
|
+
# @param page_token [::String]
|
3226
|
+
# A page token, received from a previous `ListFirebaseLinks` call.
|
3227
|
+
# Provide this to retrieve the subsequent page.
|
3228
|
+
# When paginating, all other parameters provided to `ListProperties` must
|
3229
|
+
# match the call that provided the page token.
|
3148
3230
|
#
|
3149
3231
|
# @yield [response, operation] Access the result along with the RPC operation
|
3150
|
-
# @yieldparam response [::Google::Analytics::Admin::V1alpha::
|
3232
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::FirebaseLink>]
|
3151
3233
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3152
3234
|
#
|
3153
|
-
# @return [::Google::Analytics::Admin::V1alpha::
|
3235
|
+
# @return [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::FirebaseLink>]
|
3154
3236
|
#
|
3155
3237
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3156
3238
|
#
|
@@ -3184,6 +3266,7 @@ module Google
|
|
3184
3266
|
retry_policy: @config.retry_policy
|
3185
3267
|
|
3186
3268
|
@analytics_admin_service_stub.call_rpc :list_firebase_links, request, options: options do |response, operation|
|
3269
|
+
response = ::Gapic::PagedEnumerable.new @analytics_admin_service_stub, :list_firebase_links, request, response, operation, options
|
3187
3270
|
yield response, operation if block_given?
|
3188
3271
|
return response
|
3189
3272
|
end
|
@@ -3350,7 +3433,9 @@ module Google
|
|
3350
3433
|
# @param google_ads_link [::Google::Analytics::Admin::V1alpha::GoogleAdsLink, ::Hash]
|
3351
3434
|
# The GoogleAdsLink to update
|
3352
3435
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
3353
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
3436
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
3437
|
+
# To replace the entire entity, use one path with the string "*" to match
|
3438
|
+
# all fields.
|
3354
3439
|
#
|
3355
3440
|
# @yield [response, operation] Access the result along with the RPC operation
|
3356
3441
|
# @yieldparam response [::Google::Analytics::Admin::V1alpha::GoogleAdsLink]
|
@@ -3734,7 +3819,7 @@ module Google
|
|
3734
3819
|
# Each configuration object is of type `Gapic::Config::Method` and includes
|
3735
3820
|
# the following configuration fields:
|
3736
3821
|
#
|
3737
|
-
# * `timeout` (*type:* `Numeric`) - The call timeout in
|
3822
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in seconds
|
3738
3823
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
3739
3824
|
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
3740
3825
|
# include the following keys:
|
@@ -3771,6 +3856,11 @@ module Google
|
|
3771
3856
|
#
|
3772
3857
|
attr_reader :provision_account_ticket
|
3773
3858
|
##
|
3859
|
+
# RPC-specific configuration for `list_account_summaries`
|
3860
|
+
# @return [::Gapic::Config::Method]
|
3861
|
+
#
|
3862
|
+
attr_reader :list_account_summaries
|
3863
|
+
##
|
3774
3864
|
# RPC-specific configuration for `get_property`
|
3775
3865
|
# @return [::Gapic::Config::Method]
|
3776
3866
|
#
|
@@ -3993,6 +4083,8 @@ module Google
|
|
3993
4083
|
@update_account = ::Gapic::Config::Method.new update_account_config
|
3994
4084
|
provision_account_ticket_config = parent_rpcs&.provision_account_ticket if parent_rpcs&.respond_to? :provision_account_ticket
|
3995
4085
|
@provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config
|
4086
|
+
list_account_summaries_config = parent_rpcs&.list_account_summaries if parent_rpcs&.respond_to? :list_account_summaries
|
4087
|
+
@list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config
|
3996
4088
|
get_property_config = parent_rpcs&.get_property if parent_rpcs&.respond_to? :get_property
|
3997
4089
|
@get_property = ::Gapic::Config::Method.new get_property_config
|
3998
4090
|
list_properties_config = parent_rpcs&.list_properties if parent_rpcs&.respond_to? :list_properties
|
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
module Admin
|
25
25
|
module V1alpha
|
26
26
|
module AnalyticsAdminService
|
27
|
-
# Service Interface for the Analytics Admin API (
|
27
|
+
# Service Interface for the Analytics Admin API (GA4).
|
28
28
|
class Service
|
29
29
|
|
30
30
|
include GRPC::GenericService
|
@@ -34,15 +34,13 @@ module Google
|
|
34
34
|
self.service_name = 'google.analytics.admin.v1alpha.AnalyticsAdminService'
|
35
35
|
|
36
36
|
# Lookup for a single Account.
|
37
|
-
|
38
|
-
# have permissions to access it.
|
39
|
-
rpc :GetAccount, Google::Analytics::Admin::V1alpha::GetAccountRequest, Google::Analytics::Admin::V1alpha::Account
|
37
|
+
rpc :GetAccount, ::Google::Analytics::Admin::V1alpha::GetAccountRequest, ::Google::Analytics::Admin::V1alpha::Account
|
40
38
|
# Returns all accounts accessible by the caller.
|
41
39
|
#
|
42
|
-
# Note that these accounts might not currently have
|
40
|
+
# Note that these accounts might not currently have GA4 properties.
|
43
41
|
# Soft-deleted (ie: "trashed") accounts are excluded by default.
|
44
42
|
# Returns an empty list if no relevant accounts are found.
|
45
|
-
rpc :ListAccounts, Google::Analytics::Admin::V1alpha::ListAccountsRequest, Google::Analytics::Admin::V1alpha::ListAccountsResponse
|
43
|
+
rpc :ListAccounts, ::Google::Analytics::Admin::V1alpha::ListAccountsRequest, ::Google::Analytics::Admin::V1alpha::ListAccountsResponse
|
46
44
|
# Marks target Account as soft-deleted (ie: "trashed") and returns it.
|
47
45
|
#
|
48
46
|
# This API does not have a method to restore soft-deleted accounts.
|
@@ -54,25 +52,24 @@ module Google
|
|
54
52
|
# https://support.google.com/analytics/answer/6154772
|
55
53
|
#
|
56
54
|
# Returns an error if the target is not found.
|
57
|
-
rpc :DeleteAccount, Google::Analytics::Admin::V1alpha::DeleteAccountRequest, Google::Protobuf::Empty
|
55
|
+
rpc :DeleteAccount, ::Google::Analytics::Admin::V1alpha::DeleteAccountRequest, ::Google::Protobuf::Empty
|
58
56
|
# Updates an account.
|
59
|
-
rpc :UpdateAccount, Google::Analytics::Admin::V1alpha::UpdateAccountRequest, Google::Analytics::Admin::V1alpha::Account
|
57
|
+
rpc :UpdateAccount, ::Google::Analytics::Admin::V1alpha::UpdateAccountRequest, ::Google::Analytics::Admin::V1alpha::Account
|
60
58
|
# Requests a ticket for creating an account.
|
61
|
-
rpc :ProvisionAccountTicket, Google::Analytics::Admin::V1alpha::ProvisionAccountTicketRequest, Google::Analytics::Admin::V1alpha::ProvisionAccountTicketResponse
|
62
|
-
#
|
63
|
-
|
64
|
-
#
|
65
|
-
|
66
|
-
rpc :GetProperty, Google::Analytics::Admin::V1alpha::GetPropertyRequest, Google::Analytics::Admin::V1alpha::Property
|
59
|
+
rpc :ProvisionAccountTicket, ::Google::Analytics::Admin::V1alpha::ProvisionAccountTicketRequest, ::Google::Analytics::Admin::V1alpha::ProvisionAccountTicketResponse
|
60
|
+
# Returns summaries of all accounts accessible by the caller.
|
61
|
+
rpc :ListAccountSummaries, ::Google::Analytics::Admin::V1alpha::ListAccountSummariesRequest, ::Google::Analytics::Admin::V1alpha::ListAccountSummariesResponse
|
62
|
+
# Lookup for a single "GA4" Property.
|
63
|
+
rpc :GetProperty, ::Google::Analytics::Admin::V1alpha::GetPropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
|
67
64
|
# Returns child Properties under the specified parent Account.
|
68
65
|
#
|
69
|
-
# Only "
|
66
|
+
# Only "GA4" properties will be returned.
|
70
67
|
# Properties will be excluded if the caller does not have access.
|
71
68
|
# Soft-deleted (ie: "trashed") properties are excluded by default.
|
72
69
|
# Returns an empty list if no relevant properties are found.
|
73
|
-
rpc :ListProperties, Google::Analytics::Admin::V1alpha::ListPropertiesRequest, Google::Analytics::Admin::V1alpha::ListPropertiesResponse
|
74
|
-
# Creates an "
|
75
|
-
rpc :CreateProperty, Google::Analytics::Admin::V1alpha::CreatePropertyRequest, Google::Analytics::Admin::V1alpha::Property
|
70
|
+
rpc :ListProperties, ::Google::Analytics::Admin::V1alpha::ListPropertiesRequest, ::Google::Analytics::Admin::V1alpha::ListPropertiesResponse
|
71
|
+
# Creates an "GA4" property with the specified location and attributes.
|
72
|
+
rpc :CreateProperty, ::Google::Analytics::Admin::V1alpha::CreatePropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
|
76
73
|
# Marks target Property as soft-deleted (ie: "trashed") and returns it.
|
77
74
|
#
|
78
75
|
# This API does not have a method to restore soft-deleted properties.
|
@@ -83,16 +80,16 @@ module Google
|
|
83
80
|
# will be permanently purged.
|
84
81
|
# https://support.google.com/analytics/answer/6154772
|
85
82
|
#
|
86
|
-
# Returns an error if the target is not found, or is not an
|
87
|
-
rpc :DeleteProperty, Google::Analytics::Admin::V1alpha::DeletePropertyRequest, Google::Protobuf::Empty
|
83
|
+
# Returns an error if the target is not found, or is not an GA4 Property.
|
84
|
+
rpc :DeleteProperty, ::Google::Analytics::Admin::V1alpha::DeletePropertyRequest, ::Google::Protobuf::Empty
|
88
85
|
# Updates a property.
|
89
|
-
rpc :UpdateProperty, Google::Analytics::Admin::V1alpha::UpdatePropertyRequest, Google::Analytics::Admin::V1alpha::Property
|
86
|
+
rpc :UpdateProperty, ::Google::Analytics::Admin::V1alpha::UpdatePropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
|
90
87
|
# Gets information about a user's link to an account or property.
|
91
|
-
rpc :GetUserLink, Google::Analytics::Admin::V1alpha::GetUserLinkRequest, Google::Analytics::Admin::V1alpha::UserLink
|
88
|
+
rpc :GetUserLink, ::Google::Analytics::Admin::V1alpha::GetUserLinkRequest, ::Google::Analytics::Admin::V1alpha::UserLink
|
92
89
|
# Gets information about multiple users' links to an account or property.
|
93
|
-
rpc :BatchGetUserLinks, Google::Analytics::Admin::V1alpha::BatchGetUserLinksRequest, Google::Analytics::Admin::V1alpha::BatchGetUserLinksResponse
|
90
|
+
rpc :BatchGetUserLinks, ::Google::Analytics::Admin::V1alpha::BatchGetUserLinksRequest, ::Google::Analytics::Admin::V1alpha::BatchGetUserLinksResponse
|
94
91
|
# Lists all user links on an account or property.
|
95
|
-
rpc :ListUserLinks, Google::Analytics::Admin::V1alpha::ListUserLinksRequest, Google::Analytics::Admin::V1alpha::ListUserLinksResponse
|
92
|
+
rpc :ListUserLinks, ::Google::Analytics::Admin::V1alpha::ListUserLinksRequest, ::Google::Analytics::Admin::V1alpha::ListUserLinksResponse
|
96
93
|
# Lists all user links on an account or property, including implicit ones
|
97
94
|
# that come from effective permissions granted by groups or organization
|
98
95
|
# admin roles.
|
@@ -102,107 +99,98 @@ module Google
|
|
102
99
|
# command. They have to be removed from the group/etc that gives them
|
103
100
|
# permissions, which is currently only usable/discoverable in the GA or GMP
|
104
101
|
# UIs.
|
105
|
-
rpc :AuditUserLinks, Google::Analytics::Admin::V1alpha::AuditUserLinksRequest, Google::Analytics::Admin::V1alpha::AuditUserLinksResponse
|
102
|
+
rpc :AuditUserLinks, ::Google::Analytics::Admin::V1alpha::AuditUserLinksRequest, ::Google::Analytics::Admin::V1alpha::AuditUserLinksResponse
|
106
103
|
# Creates a user link on an account or property.
|
107
104
|
#
|
108
105
|
# If the user with the specified email already has permissions on the
|
109
106
|
# account or property, then the user's existing permissions will be unioned
|
110
107
|
# with the permissions specified in the new UserLink.
|
111
|
-
rpc :CreateUserLink, Google::Analytics::Admin::V1alpha::CreateUserLinkRequest, Google::Analytics::Admin::V1alpha::UserLink
|
108
|
+
rpc :CreateUserLink, ::Google::Analytics::Admin::V1alpha::CreateUserLinkRequest, ::Google::Analytics::Admin::V1alpha::UserLink
|
112
109
|
# Creates information about multiple users' links to an account or property.
|
113
110
|
#
|
114
111
|
# This method is transactional. If any UserLink cannot be created, none of
|
115
112
|
# the UserLinks will be created.
|
116
|
-
rpc :BatchCreateUserLinks, Google::Analytics::Admin::V1alpha::BatchCreateUserLinksRequest, Google::Analytics::Admin::V1alpha::BatchCreateUserLinksResponse
|
113
|
+
rpc :BatchCreateUserLinks, ::Google::Analytics::Admin::V1alpha::BatchCreateUserLinksRequest, ::Google::Analytics::Admin::V1alpha::BatchCreateUserLinksResponse
|
117
114
|
# Updates a user link on an account or property.
|
118
|
-
rpc :UpdateUserLink, Google::Analytics::Admin::V1alpha::UpdateUserLinkRequest, Google::Analytics::Admin::V1alpha::UserLink
|
115
|
+
rpc :UpdateUserLink, ::Google::Analytics::Admin::V1alpha::UpdateUserLinkRequest, ::Google::Analytics::Admin::V1alpha::UserLink
|
119
116
|
# Updates information about multiple users' links to an account or property.
|
120
|
-
rpc :BatchUpdateUserLinks, Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksRequest, Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksResponse
|
117
|
+
rpc :BatchUpdateUserLinks, ::Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksRequest, ::Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksResponse
|
121
118
|
# Deletes a user link on an account or property.
|
122
|
-
rpc :DeleteUserLink, Google::Analytics::Admin::V1alpha::DeleteUserLinkRequest, Google::Protobuf::Empty
|
119
|
+
rpc :DeleteUserLink, ::Google::Analytics::Admin::V1alpha::DeleteUserLinkRequest, ::Google::Protobuf::Empty
|
123
120
|
# Deletes information about multiple users' links to an account or property.
|
124
|
-
rpc :BatchDeleteUserLinks, Google::Analytics::Admin::V1alpha::BatchDeleteUserLinksRequest, Google::Protobuf::Empty
|
121
|
+
rpc :BatchDeleteUserLinks, ::Google::Analytics::Admin::V1alpha::BatchDeleteUserLinksRequest, ::Google::Protobuf::Empty
|
125
122
|
# Lookup for a single WebDataStream
|
126
|
-
|
127
|
-
# Throws "Target not found" if no such web data stream found, or if the
|
128
|
-
# caller does not have permissions to access it.
|
129
|
-
rpc :GetWebDataStream, Google::Analytics::Admin::V1alpha::GetWebDataStreamRequest, Google::Analytics::Admin::V1alpha::WebDataStream
|
123
|
+
rpc :GetWebDataStream, ::Google::Analytics::Admin::V1alpha::GetWebDataStreamRequest, ::Google::Analytics::Admin::V1alpha::WebDataStream
|
130
124
|
# Deletes a web stream on a property.
|
131
|
-
rpc :DeleteWebDataStream, Google::Analytics::Admin::V1alpha::DeleteWebDataStreamRequest, Google::Protobuf::Empty
|
125
|
+
rpc :DeleteWebDataStream, ::Google::Analytics::Admin::V1alpha::DeleteWebDataStreamRequest, ::Google::Protobuf::Empty
|
132
126
|
# Updates a web stream on a property.
|
133
|
-
rpc :UpdateWebDataStream, Google::Analytics::Admin::V1alpha::UpdateWebDataStreamRequest, Google::Analytics::Admin::V1alpha::WebDataStream
|
127
|
+
rpc :UpdateWebDataStream, ::Google::Analytics::Admin::V1alpha::UpdateWebDataStreamRequest, ::Google::Analytics::Admin::V1alpha::WebDataStream
|
134
128
|
# Creates a web stream with the specified location and attributes.
|
135
|
-
rpc :CreateWebDataStream, Google::Analytics::Admin::V1alpha::CreateWebDataStreamRequest, Google::Analytics::Admin::V1alpha::WebDataStream
|
129
|
+
rpc :CreateWebDataStream, ::Google::Analytics::Admin::V1alpha::CreateWebDataStreamRequest, ::Google::Analytics::Admin::V1alpha::WebDataStream
|
136
130
|
# Returns child web data streams under the specified parent property.
|
137
131
|
#
|
138
132
|
# Web data streams will be excluded if the caller does not have access.
|
139
133
|
# Returns an empty list if no relevant web data streams are found.
|
140
|
-
rpc :ListWebDataStreams, Google::Analytics::Admin::V1alpha::ListWebDataStreamsRequest, Google::Analytics::Admin::V1alpha::ListWebDataStreamsResponse
|
134
|
+
rpc :ListWebDataStreams, ::Google::Analytics::Admin::V1alpha::ListWebDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListWebDataStreamsResponse
|
141
135
|
# Lookup for a single IosAppDataStream
|
142
|
-
|
143
|
-
# Throws "Target not found" if no such iOS app data stream found, or if the
|
144
|
-
# caller does not have permissions to access it.
|
145
|
-
rpc :GetIosAppDataStream, Google::Analytics::Admin::V1alpha::GetIosAppDataStreamRequest, Google::Analytics::Admin::V1alpha::IosAppDataStream
|
136
|
+
rpc :GetIosAppDataStream, ::Google::Analytics::Admin::V1alpha::GetIosAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::IosAppDataStream
|
146
137
|
# Deletes an iOS app stream on a property.
|
147
|
-
rpc :DeleteIosAppDataStream, Google::Analytics::Admin::V1alpha::DeleteIosAppDataStreamRequest, Google::Protobuf::Empty
|
138
|
+
rpc :DeleteIosAppDataStream, ::Google::Analytics::Admin::V1alpha::DeleteIosAppDataStreamRequest, ::Google::Protobuf::Empty
|
148
139
|
# Updates an iOS app stream on a property.
|
149
|
-
rpc :UpdateIosAppDataStream, Google::Analytics::Admin::V1alpha::UpdateIosAppDataStreamRequest, Google::Analytics::Admin::V1alpha::IosAppDataStream
|
140
|
+
rpc :UpdateIosAppDataStream, ::Google::Analytics::Admin::V1alpha::UpdateIosAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::IosAppDataStream
|
150
141
|
# Creates an iOS app data stream with the specified location and attributes.
|
151
|
-
rpc :CreateIosAppDataStream, Google::Analytics::Admin::V1alpha::CreateIosAppDataStreamRequest, Google::Analytics::Admin::V1alpha::IosAppDataStream
|
142
|
+
rpc :CreateIosAppDataStream, ::Google::Analytics::Admin::V1alpha::CreateIosAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::IosAppDataStream
|
152
143
|
# Returns child iOS app data streams under the specified parent property.
|
153
144
|
#
|
154
145
|
# iOS app data streams will be excluded if the caller does not have access.
|
155
146
|
# Returns an empty list if no relevant iOS app data streams are found.
|
156
|
-
rpc :ListIosAppDataStreams, Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsRequest, Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsResponse
|
147
|
+
rpc :ListIosAppDataStreams, ::Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsResponse
|
157
148
|
# Lookup for a single AndroidAppDataStream
|
158
|
-
|
159
|
-
# Throws "Target not found" if no such android app data stream found, or if
|
160
|
-
# the caller does not have permissions to access it.
|
161
|
-
rpc :GetAndroidAppDataStream, Google::Analytics::Admin::V1alpha::GetAndroidAppDataStreamRequest, Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
149
|
+
rpc :GetAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::GetAndroidAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
162
150
|
# Deletes an android app stream on a property.
|
163
|
-
rpc :DeleteAndroidAppDataStream, Google::Analytics::Admin::V1alpha::DeleteAndroidAppDataStreamRequest, Google::Protobuf::Empty
|
151
|
+
rpc :DeleteAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::DeleteAndroidAppDataStreamRequest, ::Google::Protobuf::Empty
|
164
152
|
# Updates an android app stream on a property.
|
165
|
-
rpc :UpdateAndroidAppDataStream, Google::Analytics::Admin::V1alpha::UpdateAndroidAppDataStreamRequest, Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
153
|
+
rpc :UpdateAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::UpdateAndroidAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
166
154
|
# Creates an android app stream with the specified location and attributes.
|
167
|
-
rpc :CreateAndroidAppDataStream, Google::Analytics::Admin::V1alpha::CreateAndroidAppDataStreamRequest, Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
155
|
+
rpc :CreateAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::CreateAndroidAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
168
156
|
# Returns child android app streams under the specified parent property.
|
169
157
|
#
|
170
158
|
# Android app streams will be excluded if the caller does not have access.
|
171
159
|
# Returns an empty list if no relevant android app streams are found.
|
172
|
-
rpc :ListAndroidAppDataStreams, Google::Analytics::Admin::V1alpha::ListAndroidAppDataStreamsRequest, Google::Analytics::Admin::V1alpha::ListAndroidAppDataStreamsResponse
|
160
|
+
rpc :ListAndroidAppDataStreams, ::Google::Analytics::Admin::V1alpha::ListAndroidAppDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListAndroidAppDataStreamsResponse
|
173
161
|
# Returns the singleton enhanced measurement settings for this web stream.
|
174
162
|
# Note that the stream must enable enhanced measurement for these settings to
|
175
163
|
# take effect.
|
176
|
-
rpc :GetEnhancedMeasurementSettings, Google::Analytics::Admin::V1alpha::GetEnhancedMeasurementSettingsRequest, Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings
|
164
|
+
rpc :GetEnhancedMeasurementSettings, ::Google::Analytics::Admin::V1alpha::GetEnhancedMeasurementSettingsRequest, ::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings
|
177
165
|
# Updates the singleton enhanced measurement settings for this web stream.
|
178
166
|
# Note that the stream must enable enhanced measurement for these settings to
|
179
167
|
# take effect.
|
180
|
-
rpc :UpdateEnhancedMeasurementSettings, Google::Analytics::Admin::V1alpha::UpdateEnhancedMeasurementSettingsRequest, Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings
|
168
|
+
rpc :UpdateEnhancedMeasurementSettings, ::Google::Analytics::Admin::V1alpha::UpdateEnhancedMeasurementSettingsRequest, ::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings
|
181
169
|
# Creates a FirebaseLink.
|
182
170
|
#
|
183
171
|
# Properties can have at most one FirebaseLink.
|
184
|
-
rpc :CreateFirebaseLink, Google::Analytics::Admin::V1alpha::CreateFirebaseLinkRequest, Google::Analytics::Admin::V1alpha::FirebaseLink
|
172
|
+
rpc :CreateFirebaseLink, ::Google::Analytics::Admin::V1alpha::CreateFirebaseLinkRequest, ::Google::Analytics::Admin::V1alpha::FirebaseLink
|
185
173
|
# Updates a FirebaseLink on a property
|
186
|
-
rpc :UpdateFirebaseLink, Google::Analytics::Admin::V1alpha::UpdateFirebaseLinkRequest, Google::Analytics::Admin::V1alpha::FirebaseLink
|
174
|
+
rpc :UpdateFirebaseLink, ::Google::Analytics::Admin::V1alpha::UpdateFirebaseLinkRequest, ::Google::Analytics::Admin::V1alpha::FirebaseLink
|
187
175
|
# Deletes a FirebaseLink on a property
|
188
|
-
rpc :DeleteFirebaseLink, Google::Analytics::Admin::V1alpha::DeleteFirebaseLinkRequest, Google::Protobuf::Empty
|
176
|
+
rpc :DeleteFirebaseLink, ::Google::Analytics::Admin::V1alpha::DeleteFirebaseLinkRequest, ::Google::Protobuf::Empty
|
189
177
|
# Lists FirebaseLinks on a property.
|
190
178
|
# Properties can have at most one FirebaseLink.
|
191
|
-
rpc :ListFirebaseLinks, Google::Analytics::Admin::V1alpha::ListFirebaseLinksRequest, Google::Analytics::Admin::V1alpha::ListFirebaseLinksResponse
|
179
|
+
rpc :ListFirebaseLinks, ::Google::Analytics::Admin::V1alpha::ListFirebaseLinksRequest, ::Google::Analytics::Admin::V1alpha::ListFirebaseLinksResponse
|
192
180
|
# Returns the Site Tag for the specified web stream.
|
193
181
|
# Site Tags are immutable singletons.
|
194
|
-
rpc :GetGlobalSiteTag, Google::Analytics::Admin::V1alpha::GetGlobalSiteTagRequest, Google::Analytics::Admin::V1alpha::GlobalSiteTag
|
182
|
+
rpc :GetGlobalSiteTag, ::Google::Analytics::Admin::V1alpha::GetGlobalSiteTagRequest, ::Google::Analytics::Admin::V1alpha::GlobalSiteTag
|
195
183
|
# Creates a GoogleAdsLink.
|
196
|
-
rpc :CreateGoogleAdsLink, Google::Analytics::Admin::V1alpha::CreateGoogleAdsLinkRequest, Google::Analytics::Admin::V1alpha::GoogleAdsLink
|
184
|
+
rpc :CreateGoogleAdsLink, ::Google::Analytics::Admin::V1alpha::CreateGoogleAdsLinkRequest, ::Google::Analytics::Admin::V1alpha::GoogleAdsLink
|
197
185
|
# Updates a GoogleAdsLink on a property
|
198
|
-
rpc :UpdateGoogleAdsLink, Google::Analytics::Admin::V1alpha::UpdateGoogleAdsLinkRequest, Google::Analytics::Admin::V1alpha::GoogleAdsLink
|
186
|
+
rpc :UpdateGoogleAdsLink, ::Google::Analytics::Admin::V1alpha::UpdateGoogleAdsLinkRequest, ::Google::Analytics::Admin::V1alpha::GoogleAdsLink
|
199
187
|
# Deletes a GoogleAdsLink on a property
|
200
|
-
rpc :DeleteGoogleAdsLink, Google::Analytics::Admin::V1alpha::DeleteGoogleAdsLinkRequest, Google::Protobuf::Empty
|
188
|
+
rpc :DeleteGoogleAdsLink, ::Google::Analytics::Admin::V1alpha::DeleteGoogleAdsLinkRequest, ::Google::Protobuf::Empty
|
201
189
|
# Lists GoogleAdsLinks on a property.
|
202
|
-
rpc :ListGoogleAdsLinks, Google::Analytics::Admin::V1alpha::ListGoogleAdsLinksRequest, Google::Analytics::Admin::V1alpha::ListGoogleAdsLinksResponse
|
190
|
+
rpc :ListGoogleAdsLinks, ::Google::Analytics::Admin::V1alpha::ListGoogleAdsLinksRequest, ::Google::Analytics::Admin::V1alpha::ListGoogleAdsLinksResponse
|
203
191
|
# Get data sharing settings on an account.
|
204
192
|
# Data sharing settings are singletons.
|
205
|
-
rpc :GetDataSharingSettings, Google::Analytics::Admin::V1alpha::GetDataSharingSettingsRequest, Google::Analytics::Admin::V1alpha::DataSharingSettings
|
193
|
+
rpc :GetDataSharingSettings, ::Google::Analytics::Admin::V1alpha::GetDataSharingSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataSharingSettings
|
206
194
|
end
|
207
195
|
|
208
196
|
Stub = Service.rpc_stub_class
|