google-analytics-admin-v1alpha 0.28.1 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -359,6 +359,25 @@ module Google
359
359
  "properties/#{property}/dataStreams/#{data_stream}/eventCreateRules/#{event_create_rule}"
360
360
  end
361
361
 
362
+ ##
363
+ # Create a fully-qualified EventEditRule resource string.
364
+ #
365
+ # The resource will be in the following format:
366
+ #
367
+ # `properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}`
368
+ #
369
+ # @param property [String]
370
+ # @param data_stream [String]
371
+ # @param event_edit_rule [String]
372
+ #
373
+ # @return [::String]
374
+ def event_edit_rule_path property:, data_stream:, event_edit_rule:
375
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
376
+ raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/"
377
+
378
+ "properties/#{property}/dataStreams/#{data_stream}/eventEditRules/#{event_edit_rule}"
379
+ end
380
+
362
381
  ##
363
382
  # Create a fully-qualified ExpandedDataSet resource string.
364
383
  #
@@ -441,6 +460,23 @@ module Google
441
460
  "properties/#{property}/googleSignalsSettings"
442
461
  end
443
462
 
463
+ ##
464
+ # Create a fully-qualified KeyEvent resource string.
465
+ #
466
+ # The resource will be in the following format:
467
+ #
468
+ # `properties/{property}/keyEvents/{key_event}`
469
+ #
470
+ # @param property [String]
471
+ # @param key_event [String]
472
+ #
473
+ # @return [::String]
474
+ def key_event_path property:, key_event:
475
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
476
+
477
+ "properties/#{property}/keyEvents/#{key_event}"
478
+ end
479
+
444
480
  ##
445
481
  # Create a fully-qualified MeasurementProtocolSecret resource string.
446
482
  #
@@ -460,6 +496,20 @@ module Google
460
496
  "properties/#{property}/dataStreams/#{data_stream}/measurementProtocolSecrets/#{measurement_protocol_secret}"
461
497
  end
462
498
 
499
+ ##
500
+ # Create a fully-qualified Organization resource string.
501
+ #
502
+ # The resource will be in the following format:
503
+ #
504
+ # `organizations/{organization}`
505
+ #
506
+ # @param organization [String]
507
+ #
508
+ # @return [::String]
509
+ def organization_path organization:
510
+ "organizations/#{organization}"
511
+ end
512
+
463
513
  ##
464
514
  # Create a fully-qualified Property resource string.
465
515
  #