google-analytics-admin-v1alpha 0.18.0 → 0.20.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/access_report_pb.rb +24 -118
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +44 -574
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +883 -2
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +36 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +668 -2
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb +647 -113
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +18 -0
- data/lib/google/analytics/admin/v1alpha/audience_pb.rb +25 -122
- data/lib/google/analytics/admin/v1alpha/channel_group_pb.rb +24 -46
- data/lib/google/analytics/admin/v1alpha/event_create_and_edit_pb.rb +48 -0
- data/lib/google/analytics/admin/v1alpha/expanded_data_set_pb.rb +25 -41
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +33 -407
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +156 -0
- data/proto_docs/google/analytics/admin/v1alpha/audience.rb +15 -10
- data/proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb +167 -0
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +33 -0
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +6 -4
@@ -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
|
#
|