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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44049e8e18abb61468f2f71f4c1fb6ab145533dd30438f302fecb5453899bb8f
4
- data.tar.gz: df306b539254738a88a2ce4e4b71b742d2a0daff37738a9b8c37e7f0e5f572a7
3
+ metadata.gz: 26a9253f79e9630ebe42f038780f43d41ffb5d203a0f6cb55ae3fb8958864e0b
4
+ data.tar.gz: 82a400b54d150526acc8ae09fc8c8db14aa86b3bd5b53bb0f635f703d6e1fb25
5
5
  SHA512:
6
- metadata.gz: a3ced08d7699b16685885ea61d62f45eef94d03f3ba2afcb200751eb21d96c965c73daae9c79ebabf319c8f4cc77ed7c6809e121bf171a0ff658730c576b9fbf
7
- data.tar.gz: 88dc32d2f2ce6282406b9719e10f9353af09f815b710dc2a2536185ce249e9c075321a1c0418b4fe010aeaf757b96f8f7d8ab99ae67f6d332ed58215de70f5f4
6
+ metadata.gz: f7c20de568035d84692fd073aa1d3d978860810b49bc6de0679afb182625919ed11cac873e6ea7da63fd2110af3914a06d3e4348a38a52dc47effc2e5fede2e8
7
+ data.tar.gz: 4b4d059f895399b9494e4b3f2b4bf63ea77c1e6bad01dbd7cda0ae1c6f22fcd0d428f5720323f777e0c934e613a6d7d201619f5ca9980a3d8311066bc9bb69ba
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud Monitoring API
2
+ --title="Cloud Monitoring API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
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 Developers Console][dev-console].
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 slide-out navigation tray and select **API Manager**. From
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
- You should see a screen like one of the following.
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, and click "Generate
164
- new JSON key":
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://googleapis.dev/ruby/google-cloud-monitoring/latest)
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.5+.
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. Currently, this means Ruby 2.5
78
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
79
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
80
- about the Ruby support schedule.
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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Monitoring
23
23
  module Dashboard
24
- # @private
24
+ # @private Unused
25
25
  VERSION = ""
26
26
  end
27
27
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Monitoring
23
23
  module MetricsScope
24
- # @private
24
+ # @private Unused
25
25
  VERSION = ""
26
26
  end
27
27
  end
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Monitoring
23
- VERSION = "1.3.0"
23
+ VERSION = "1.4.1"
24
24
  end
25
25
  end
26
26
  end
@@ -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 Stackdriver Monitoring. An alerting policy is
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
- # [Stackdriver Monitoring](https://cloud.google.com/monitoring/docs/),
66
+ # [Cloud Monitoring](https://cloud.google.com/monitoring/docs/),
67
67
  # which can be reached by clicking the "Monitoring" tab in
68
- # [Cloud Console](https://console.cloud.google.com/).
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.3.0
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: 2021-09-28 00:00:00.000000000 Z
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.25.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.25.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.14'
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.14'
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: '12.0'
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: '12.0'
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.5'
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.2.17
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