google-analytics-data-v1beta 0.8.1 → 0.10.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.
- checksums.yaml +4 -4
- data/lib/google/analytics/data/v1beta/analytics_data/client.rb +509 -1
- data/lib/google/analytics/data/v1beta/analytics_data/operations.rb +779 -0
- data/lib/google/analytics/data/v1beta/analytics_data/paths.rb +31 -0
- data/lib/google/analytics/data/v1beta/analytics_data/rest/client.rb +583 -0
- data/lib/google/analytics/data/v1beta/analytics_data/rest/operations.rb +870 -0
- data/lib/google/analytics/data/v1beta/analytics_data/rest/service_stub.rb +238 -0
- data/lib/google/analytics/data/v1beta/analytics_data/rest.rb +1 -0
- data/lib/google/analytics/data/v1beta/analytics_data.rb +1 -0
- data/lib/google/analytics/data/v1beta/analytics_data_api_pb.rb +16 -1
- data/lib/google/analytics/data/v1beta/analytics_data_api_services_pb.rb +75 -0
- data/lib/google/analytics/data/v1beta/data_pb.rb +2 -1
- data/lib/google/analytics/data/v1beta/version.rb +1 -1
- data/proto_docs/google/analytics/data/v1beta/analytics_data_api.rb +228 -1
- data/proto_docs/google/analytics/data/v1beta/data.rb +55 -5
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +12 -5
@@ -24,6 +24,23 @@ module Google
|
|
24
24
|
module AnalyticsData
|
25
25
|
# Path helper methods for the AnalyticsData API.
|
26
26
|
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified AudienceExport resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `properties/{property}/audienceExports/{audience_export}`
|
33
|
+
#
|
34
|
+
# @param property [String]
|
35
|
+
# @param audience_export [String]
|
36
|
+
#
|
37
|
+
# @return [::String]
|
38
|
+
def audience_export_path property:, audience_export:
|
39
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
40
|
+
|
41
|
+
"properties/#{property}/audienceExports/#{audience_export}"
|
42
|
+
end
|
43
|
+
|
27
44
|
##
|
28
45
|
# Create a fully-qualified Metadata resource string.
|
29
46
|
#
|
@@ -38,6 +55,20 @@ module Google
|
|
38
55
|
"properties/#{property}/metadata"
|
39
56
|
end
|
40
57
|
|
58
|
+
##
|
59
|
+
# Create a fully-qualified Property resource string.
|
60
|
+
#
|
61
|
+
# The resource will be in the following format:
|
62
|
+
#
|
63
|
+
# `properties/{property}`
|
64
|
+
#
|
65
|
+
# @param property [String]
|
66
|
+
#
|
67
|
+
# @return [::String]
|
68
|
+
def property_path property:
|
69
|
+
"properties/#{property}"
|
70
|
+
end
|
71
|
+
|
41
72
|
extend self
|
42
73
|
end
|
43
74
|
end
|