google-analytics-admin-v1alpha 0.18.0 → 0.20.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.
@@ -77,6 +77,23 @@ module Google
77
77
  "accounts/#{account}"
78
78
  end
79
79
 
80
+ ##
81
+ # Create a fully-qualified AdSenseLink resource string.
82
+ #
83
+ # The resource will be in the following format:
84
+ #
85
+ # `properties/{property}/adSenseLinks/{adsense_link}`
86
+ #
87
+ # @param property [String]
88
+ # @param adsense_link [String]
89
+ #
90
+ # @return [::String]
91
+ def ad_sense_link_path property:, adsense_link:
92
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
93
+
94
+ "properties/#{property}/adSenseLinks/#{adsense_link}"
95
+ end
96
+
80
97
  ##
81
98
  # Create a fully-qualified AttributionSettings resource string.
82
99
  #
@@ -289,6 +306,25 @@ module Google
289
306
  "properties/#{property}/dataStreams/#{data_stream}/enhancedMeasurementSettings"
290
307
  end
291
308
 
309
+ ##
310
+ # Create a fully-qualified EventCreateRule resource string.
311
+ #
312
+ # The resource will be in the following format:
313
+ #
314
+ # `properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}`
315
+ #
316
+ # @param property [String]
317
+ # @param data_stream [String]
318
+ # @param event_create_rule [String]
319
+ #
320
+ # @return [::String]
321
+ def event_create_rule_path property:, data_stream:, event_create_rule:
322
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
323
+ raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/"
324
+
325
+ "properties/#{property}/dataStreams/#{data_stream}/eventCreateRules/#{event_create_rule}"
326
+ end
327
+
292
328
  ##
293
329
  # Create a fully-qualified ExpandedDataSet resource string.
294
330
  #