google-analytics-admin-v1alpha 0.25.0 → 0.26.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.
@@ -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 UserLink resource string.
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
- # @overload user_link_path(property:, user_link:)
491
- # The resource will be in the following format:
516
+ # The resource will be in the following format:
492
517
  #
493
- # `properties/{property}/userLinks/{user_link}`
518
+ # `properties/{property}/subpropertyEventFilters/{sub_property_event_filter}`
494
519
  #
495
- # @param property [String]
496
- # @param user_link [String]
520
+ # @param property [String]
521
+ # @param sub_property_event_filter [String]
497
522
  #
498
523
  # @return [::String]
499
- def user_link_path **args
500
- resources = {
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
- resource = resources[args.keys.sort.join(":")]
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