google-cloud-monitoring 1.3.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +9 -7
- data/lib/google/cloud/monitoring/dashboard/version.rb +1 -1
- data/lib/google/cloud/monitoring/metrics_scope/version.rb +1 -1
- data/lib/google/cloud/monitoring/version.rb +1 -1
- data/lib/google/cloud/monitoring.rb +3 -3
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26a9253f79e9630ebe42f038780f43d41ffb5d203a0f6cb55ae3fb8958864e0b
|
4
|
+
data.tar.gz: 82a400b54d150526acc8ae09fc8c8db14aa86b3bd5b53bb0f635f703d6e1fb25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7c20de568035d84692fd073aa1d3d978860810b49bc6de0679afb182625919ed11cac873e6ea7da63fd2110af3914a06d3e4348a38a52dc47effc2e5fede2e8
|
7
|
+
data.tar.gz: 4b4d059f895399b9494e4b3f2b4bf63ea77c1e6bad01dbd7cda0ae1c6f22fcd0d428f5720323f777e0c934e613a6d7d201619f5ca9980a3d8311066bc9bb69ba
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
data/README.md
CHANGED
@@ -11,12 +11,14 @@ verisoned gems in as dependencies, and provides high-level methods for
|
|
11
11
|
constructing clients. More information on versioned clients can be found below
|
12
12
|
in the section titled *Which client should I use?*.
|
13
13
|
|
14
|
-
View the [Client Library Documentation](https://
|
14
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-monitoring/latest)
|
15
15
|
for this library, google-cloud-monitoring, to see the convenience methods for
|
16
16
|
constructing client objects. Reference documentation for the client objects
|
17
17
|
themselves can be found in the client library documentation for the versioned
|
18
18
|
client gems:
|
19
|
-
[google-cloud-monitoring-v3](https://googleapis.dev/ruby/google-cloud-monitoring-v3/latest)
|
19
|
+
[google-cloud-monitoring-v3](https://googleapis.dev/ruby/google-cloud-monitoring-v3/latest),
|
20
|
+
[google-cloud-monitoring-dashboard-v1](https://googleapis.dev/ruby/google-cloud-monitoring-dashboard-v1/latest),
|
21
|
+
[google-cloud-monitoring-metrics_scope-v1](https://googleapis.dev/ruby/google-cloud-monitoring-metrics_scope-v1/latest).
|
20
22
|
|
21
23
|
See also the [Product Documentation](https://cloud.google.com/monitoring)
|
22
24
|
for more usage information.
|
@@ -70,14 +72,14 @@ end
|
|
70
72
|
|
71
73
|
## Supported Ruby Versions
|
72
74
|
|
73
|
-
This library is supported on Ruby 2.
|
75
|
+
This library is supported on Ruby 2.6+.
|
74
76
|
|
75
77
|
Google provides official support for Ruby versions that are actively supported
|
76
78
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
77
|
-
in security maintenance, and not end of life.
|
78
|
-
|
79
|
-
|
80
|
-
|
79
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
80
|
+
still work, but are unsupported and not recommended. See
|
81
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
82
|
+
support schedule.
|
81
83
|
|
82
84
|
## Which client should I use?
|
83
85
|
|
@@ -58,14 +58,14 @@ module Google
|
|
58
58
|
# ## About AlertPolicyService
|
59
59
|
#
|
60
60
|
# The AlertPolicyService API is used to manage (list, create, delete,
|
61
|
-
# edit) alert policies in
|
61
|
+
# edit) alert policies in Cloud Monitoring. An alerting policy is
|
62
62
|
# a description of the conditions under which some aspect of your
|
63
63
|
# system is considered to be "unhealthy" and the ways to notify
|
64
64
|
# people or services about this state. In addition to using this API, alert
|
65
65
|
# policies can also be managed through
|
66
|
-
# [
|
66
|
+
# [Cloud Monitoring](https://cloud.google.com/monitoring/docs/),
|
67
67
|
# which can be reached by clicking the "Monitoring" tab in
|
68
|
-
# [Cloud
|
68
|
+
# [Cloud console](https://console.cloud.google.com/).
|
69
69
|
#
|
70
70
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
71
71
|
# Defaults to `:v3`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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:
|
11
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -90,28 +90,28 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.
|
93
|
+
version: 1.26.1
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: 1.
|
100
|
+
version: 1.26.1
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: minitest
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
105
|
- - "~>"
|
106
106
|
- !ruby/object:Gem::Version
|
107
|
-
version: '5.
|
107
|
+
version: '5.16'
|
108
108
|
type: :development
|
109
109
|
prerelease: false
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
112
|
- - "~>"
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version: '5.
|
114
|
+
version: '5.16'
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: minitest-focus
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,14 +146,14 @@ dependencies:
|
|
146
146
|
requirements:
|
147
147
|
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: '
|
149
|
+
version: '13.0'
|
150
150
|
type: :development
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
154
|
- - ">="
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version: '
|
156
|
+
version: '13.0'
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: redcarpet
|
159
159
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,14 +227,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
227
227
|
requirements:
|
228
228
|
- - ">="
|
229
229
|
- !ruby/object:Gem::Version
|
230
|
-
version: '2.
|
230
|
+
version: '2.6'
|
231
231
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
232
|
requirements:
|
233
233
|
- - ">="
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|
237
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.3.14
|
238
238
|
signing_key:
|
239
239
|
specification_version: 4
|
240
240
|
summary: API Client library for the Cloud Monitoring API
|