google-analytics-admin-v1alpha 0.25.0 → 0.26.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/analytics_admin_pb.rb +20 -16
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +3754 -3495
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +42 -30
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +3550 -3296
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb +1238 -1141
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +41 -39
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +4 -3
- data/lib/google/analytics/admin/v1alpha/subproperty_event_filter_pb.rb +52 -0
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +260 -219
- data/proto_docs/google/analytics/admin/v1alpha/channel_group.rb +4 -3
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +75 -107
- data/proto_docs/google/analytics/admin/v1alpha/subproperty_event_filter.rb +157 -0
- data/proto_docs/google/api/client.rb +13 -0
- metadata +5 -3
@@ -210,6 +210,23 @@ module Google
|
|
210
210
|
"properties/#{property}/customMetrics/#{custom_metric}"
|
211
211
|
end
|
212
212
|
|
213
|
+
##
|
214
|
+
# Create a fully-qualified DataRedactionSettings resource string.
|
215
|
+
#
|
216
|
+
# The resource will be in the following format:
|
217
|
+
#
|
218
|
+
# `properties/{property}/dataStreams/{data_stream}/dataRedactionSettings`
|
219
|
+
#
|
220
|
+
# @param property [String]
|
221
|
+
# @param data_stream [String]
|
222
|
+
#
|
223
|
+
# @return [::String]
|
224
|
+
def data_redaction_settings_path property:, data_stream:
|
225
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
226
|
+
|
227
|
+
"properties/#{property}/dataStreams/#{data_stream}/dataRedactionSettings"
|
228
|
+
end
|
229
|
+
|
213
230
|
##
|
214
231
|
# Create a fully-qualified DataRetentionSettings resource string.
|
215
232
|
#
|
@@ -440,6 +457,23 @@ module Google
|
|
440
457
|
"properties/#{property}"
|
441
458
|
end
|
442
459
|
|
460
|
+
##
|
461
|
+
# Create a fully-qualified RollupPropertySourceLink resource string.
|
462
|
+
#
|
463
|
+
# The resource will be in the following format:
|
464
|
+
#
|
465
|
+
# `properties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}`
|
466
|
+
#
|
467
|
+
# @param property [String]
|
468
|
+
# @param rollup_property_source_link [String]
|
469
|
+
#
|
470
|
+
# @return [::String]
|
471
|
+
def rollup_property_source_link_path property:, rollup_property_source_link:
|
472
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
473
|
+
|
474
|
+
"properties/#{property}/rollupPropertySourceLinks/#{rollup_property_source_link}"
|
475
|
+
end
|
476
|
+
|
443
477
|
##
|
444
478
|
# Create a fully-qualified SKAdNetworkConversionValueSchema resource string.
|
445
479
|
#
|
@@ -477,42 +511,20 @@ module Google
|
|
477
511
|
end
|
478
512
|
|
479
513
|
##
|
480
|
-
# Create a fully-qualified
|
481
|
-
#
|
482
|
-
# @overload user_link_path(account:, user_link:)
|
483
|
-
# The resource will be in the following format:
|
484
|
-
#
|
485
|
-
# `accounts/{account}/userLinks/{user_link}`
|
486
|
-
#
|
487
|
-
# @param account [String]
|
488
|
-
# @param user_link [String]
|
514
|
+
# Create a fully-qualified SubpropertyEventFilter resource string.
|
489
515
|
#
|
490
|
-
#
|
491
|
-
# The resource will be in the following format:
|
516
|
+
# The resource will be in the following format:
|
492
517
|
#
|
493
|
-
#
|
518
|
+
# `properties/{property}/subpropertyEventFilters/{sub_property_event_filter}`
|
494
519
|
#
|
495
|
-
#
|
496
|
-
#
|
520
|
+
# @param property [String]
|
521
|
+
# @param sub_property_event_filter [String]
|
497
522
|
#
|
498
523
|
# @return [::String]
|
499
|
-
def
|
500
|
-
|
501
|
-
"account:user_link" => (proc do |account:, user_link:|
|
502
|
-
raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/"
|
503
|
-
|
504
|
-
"accounts/#{account}/userLinks/#{user_link}"
|
505
|
-
end),
|
506
|
-
"property:user_link" => (proc do |property:, user_link:|
|
507
|
-
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
508
|
-
|
509
|
-
"properties/#{property}/userLinks/#{user_link}"
|
510
|
-
end)
|
511
|
-
}
|
524
|
+
def subproperty_event_filter_path property:, sub_property_event_filter:
|
525
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
512
526
|
|
513
|
-
|
514
|
-
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
515
|
-
resource.call(**args)
|
527
|
+
"properties/#{property}/subpropertyEventFilters/#{sub_property_event_filter}"
|
516
528
|
end
|
517
529
|
|
518
530
|
extend self
|