google-analytics-admin-v1alpha 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +2 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +12 -6
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +2 -1
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20821b8a42814162b2946532c94d0ff27e241edd0c5ef1993ac8bde5789bb5b1
|
4
|
+
data.tar.gz: cde3d5a13cd6f7717ccb2c41369ef8fac8b6ab2ebb6a30ad1bef62c9c31d2832
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d3a151d2dd94217c0fbd3cc9865358cd982dfde37493c87ee645b277d9308ce0eeacb2ce6ccc90aa30f69797b3e55cc95478ffc2acc6aca4c4c6ecf37c9dd22
|
7
|
+
data.tar.gz: fbc1fbbd2f6c6b1e3ec608ff58be7c93037c74508bb4af724a4e025d4978ff72b1e84e9418060963e6de3884a0c0b64d5462a7b88a5c8340a490e55699aed9f1
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Analytics::Admin::V1alpha::GetAccountRequest.new # (request
|
|
37
37
|
response = client.get_account request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://googleapis.dev/ruby/google-analytics-admin-v1alpha/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
## Enabling Logging
|
@@ -66,6 +66,11 @@ module GRPC
|
|
66
66
|
end
|
67
67
|
```
|
68
68
|
|
69
|
+
|
70
|
+
## Google Cloud Samples
|
71
|
+
|
72
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
73
|
+
|
69
74
|
## Supported Ruby Versions
|
70
75
|
|
71
76
|
This library is supported on Ruby 2.5+.
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/analytics/admin/v1alpha/analytics_admin.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/analytics/admin/v1alpha/resources_pb'
|
5
7
|
require 'google/api/annotations_pb'
|
6
8
|
require 'google/api/client_pb'
|
@@ -9,7 +11,6 @@ require 'google/api/resource_pb'
|
|
9
11
|
require 'google/protobuf/empty_pb'
|
10
12
|
require 'google/protobuf/field_mask_pb'
|
11
13
|
require 'google/protobuf/timestamp_pb'
|
12
|
-
require 'google/protobuf'
|
13
14
|
|
14
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
16
|
add_file("google/analytics/admin/v1alpha/analytics_admin.proto", :syntax => :proto3) do
|
@@ -60,13 +60,16 @@ module Google
|
|
60
60
|
#
|
61
61
|
# The resource will be in the following format:
|
62
62
|
#
|
63
|
-
# `properties/{property}/customDimensions`
|
63
|
+
# `properties/{property}/customDimensions/{custom_dimension}`
|
64
64
|
#
|
65
65
|
# @param property [String]
|
66
|
+
# @param custom_dimension [String]
|
66
67
|
#
|
67
68
|
# @return [::String]
|
68
|
-
def custom_dimension_path property:
|
69
|
-
"
|
69
|
+
def custom_dimension_path property:, custom_dimension:
|
70
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
71
|
+
|
72
|
+
"properties/#{property}/customDimensions/#{custom_dimension}"
|
70
73
|
end
|
71
74
|
|
72
75
|
##
|
@@ -74,13 +77,16 @@ module Google
|
|
74
77
|
#
|
75
78
|
# The resource will be in the following format:
|
76
79
|
#
|
77
|
-
# `properties/{property}/customMetrics`
|
80
|
+
# `properties/{property}/customMetrics/{custom_metric}`
|
78
81
|
#
|
79
82
|
# @param property [String]
|
83
|
+
# @param custom_metric [String]
|
80
84
|
#
|
81
85
|
# @return [::String]
|
82
|
-
def custom_metric_path property:
|
83
|
-
"
|
86
|
+
def custom_metric_path property:, custom_metric:
|
87
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
88
|
+
|
89
|
+
"properties/#{property}/customMetrics/#{custom_metric}"
|
84
90
|
end
|
85
91
|
|
86
92
|
##
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/analytics/admin/v1alpha/resources.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/protobuf/timestamp_pb'
|
7
9
|
require 'google/protobuf/wrappers_pb'
|
8
|
-
require 'google/protobuf'
|
9
10
|
|
10
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
12
|
add_file("google/analytics/admin/v1alpha/resources.proto", :syntax => :proto3) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-analytics-admin-v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|