google-apis-monitoring_v3 0.14.0 → 0.15.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a87c01dab5578fb9429691741fa503bb1757df838b10271d66ca6ae704b1d3fc
|
4
|
+
data.tar.gz: e3660a177d48cc81314107a4c8d809d05e11dec75b684e83442116af3154d197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e34fbdc4dfa82ce672b79a911c8a908b44ee6d4bd7fa92f7f3a7791c9a0302b9df084024bca84bb0ee1421e9099ff4a974f3e2114771dfeb028b8ed0add40e6
|
7
|
+
data.tar.gz: f395d8d230bfb49e9673ee0d63897ecdf634ac9dfee9f86769ec4517d612dfc73e0cb3392e3e19b30d4f378d57a22af63037b4d53fd1083fe1ac006979a1223a
|
data/CHANGELOG.md
CHANGED
@@ -241,7 +241,7 @@ module Google
|
|
241
241
|
class AlertStrategy
|
242
242
|
include Google::Apis::Core::Hashable
|
243
243
|
|
244
|
-
# If an alert policy that was active has no data for this
|
244
|
+
# If an alert policy that was active has no data for this long, any open
|
245
245
|
# incidents will close
|
246
246
|
# Corresponds to the JSON property `autoClose`
|
247
247
|
# @return [String]
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MonitoringV3
|
18
18
|
# Version of the google-apis-monitoring_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210926"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1560,6 +1560,46 @@ module Google
|
|
1560
1560
|
execute_or_queue_command(command, &block)
|
1561
1561
|
end
|
1562
1562
|
|
1563
|
+
# Creates or adds data to one or more service time series. A service time series
|
1564
|
+
# is a time series for a metric from a Google Cloud service. The response is
|
1565
|
+
# empty if all time series in the request were written. If any time series could
|
1566
|
+
# not be written, a corresponding failure message is included in the error
|
1567
|
+
# response. This endpoint rejects writes to user-defined metrics. This method is
|
1568
|
+
# only for use by Google Cloud services. Use projects.timeSeries.create instead.
|
1569
|
+
# @param [String] name
|
1570
|
+
# Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
|
1571
|
+
# on which to execute the request. The format is: projects/[
|
1572
|
+
# PROJECT_ID_OR_NUMBER]
|
1573
|
+
# @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
|
1574
|
+
# @param [String] fields
|
1575
|
+
# Selector specifying which fields to include in a partial response.
|
1576
|
+
# @param [String] quota_user
|
1577
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1578
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1579
|
+
# @param [Google::Apis::RequestOptions] options
|
1580
|
+
# Request-specific options
|
1581
|
+
#
|
1582
|
+
# @yield [result, err] Result & error if block supplied
|
1583
|
+
# @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
|
1584
|
+
# @yieldparam err [StandardError] error object if request failed
|
1585
|
+
#
|
1586
|
+
# @return [Google::Apis::MonitoringV3::Empty]
|
1587
|
+
#
|
1588
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1589
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1590
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1591
|
+
def create_project_time_series_service(name, create_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1592
|
+
command = make_simple_command(:post, 'v3/{+name}/timeSeries:createService', options)
|
1593
|
+
command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation
|
1594
|
+
command.request_object = create_time_series_request_object
|
1595
|
+
command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
|
1596
|
+
command.response_class = Google::Apis::MonitoringV3::Empty
|
1597
|
+
command.params['name'] = name unless name.nil?
|
1598
|
+
command.query['fields'] = fields unless fields.nil?
|
1599
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1600
|
+
execute_or_queue_command(command, &block)
|
1601
|
+
end
|
1602
|
+
|
1563
1603
|
# Lists time series that match a filter. This method does not require a
|
1564
1604
|
# Workspace.
|
1565
1605
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-monitoring_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
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-
|
11
|
+
date: 2021-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|