google-analytics-admin-v1alpha 0.29.0 → 0.30.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 +19 -3
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +3869 -2342
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +50 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +3688 -2269
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb +859 -26
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +35 -1
- data/lib/google/analytics/admin/v1alpha/audience_pb.rb +3 -1
- data/lib/google/analytics/admin/v1alpha/channel_group_pb.rb +1 -1
- data/lib/google/analytics/admin/v1alpha/event_create_and_edit_pb.rb +2 -1
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +4 -1
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +238 -15
- data/proto_docs/google/analytics/admin/v1alpha/audience.rb +3 -0
- data/proto_docs/google/analytics/admin/v1alpha/channel_group.rb +8 -0
- data/proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb +39 -0
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +80 -0
- data/proto_docs/google/api/client.rb +18 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
@@ -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
|
#
|