google-cloud-monitoring 0.23.2 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google-cloud-monitoring.rb +0 -4
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/duration.rb +6 -0
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/timestamp.rb +3 -5
- data/lib/google/cloud/monitoring/v3/group_service_client.rb +3 -2
- data/lib/google/cloud/monitoring/v3/group_service_client_config.json +3 -1
- data/lib/google/cloud/monitoring/v3/metric_service_client.rb +5 -4
- data/lib/google/cloud/monitoring/v3/metric_service_client_config.json +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b2f1d29f46cf1e0fb6d8d09427075e6c1bf1348
|
4
|
+
data.tar.gz: d086c704333bdae52534f6e15e8768a1d5cea883
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cbe18d3916089f5a2d5b96256ba334cc1d2f3b7a81c196f141280de48fee7331a33f7dcfcc72b2dcf51e503e5fb1354e94151ea52ebdff99f28395e002a524f
|
7
|
+
data.tar.gz: aa4328c963ac1332548186231df3467814a511f93747497888d9fc1498e7dfced339eacadf487eb65bdd6a2a0df75899ba1397019ae555193562ad9dfc58b1fc
|
@@ -54,6 +54,12 @@ module Google
|
|
54
54
|
# end.seconds += 1;
|
55
55
|
# end.nanos -= 1000000000;
|
56
56
|
# }
|
57
|
+
#
|
58
|
+
# Example 3: Compute Duration from datetime.timedelta in Python.
|
59
|
+
#
|
60
|
+
# td = datetime.timedelta(days=3, minutes=10)
|
61
|
+
# duration = Duration()
|
62
|
+
# duration.FromTimedelta(td)
|
57
63
|
# @!attribute [rw] seconds
|
58
64
|
# @return [Integer]
|
59
65
|
# Signed seconds of the span of time. Must be from -315,576,000,000
|
@@ -63,14 +63,12 @@ module Google
|
|
63
63
|
#
|
64
64
|
# Example 5: Compute Timestamp from current time in Python.
|
65
65
|
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# nanos = int((now - seconds) * 10**9)
|
69
|
-
# timestamp = Timestamp(seconds=seconds, nanos=nanos)
|
66
|
+
# timestamp = Timestamp()
|
67
|
+
# timestamp.GetCurrentTime()
|
70
68
|
# @!attribute [rw] seconds
|
71
69
|
# @return [Integer]
|
72
70
|
# Represents seconds of UTC time since Unix epoch
|
73
|
-
# 1970-01-01T00:00:00Z. Must be from
|
71
|
+
# 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
74
72
|
# 9999-12-31T23:59:59Z inclusive.
|
75
73
|
# @!attribute [rw] nanos
|
76
74
|
# @return [Integer]
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -26,6 +26,7 @@ require "json"
|
|
26
26
|
require "pathname"
|
27
27
|
|
28
28
|
require "google/gax"
|
29
|
+
|
29
30
|
require "google/monitoring/v3/group_service_pb"
|
30
31
|
|
31
32
|
module Google
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -26,6 +26,7 @@ require "json"
|
|
26
26
|
require "pathname"
|
27
27
|
|
28
28
|
require "google/gax"
|
29
|
+
|
29
30
|
require "google/monitoring/v3/metric_service_pb"
|
30
31
|
|
31
32
|
module Google
|
@@ -533,6 +534,8 @@ module Google
|
|
533
534
|
# The time interval for which results should be returned. Only time series
|
534
535
|
# that contain data points in the specified interval are included
|
535
536
|
# in the response.
|
537
|
+
# @param view [Google::Monitoring::V3::ListTimeSeriesRequest::TimeSeriesView]
|
538
|
+
# Specifies which information is returned about the time series.
|
536
539
|
# @param aggregation [Google::Monitoring::V3::Aggregation]
|
537
540
|
# By default, the raw time series data is returned.
|
538
541
|
# Use this field to combine multiple time series for different
|
@@ -541,8 +544,6 @@ module Google
|
|
541
544
|
# Specifies the order in which the points of the time series should
|
542
545
|
# be returned. By default, results are not ordered. Currently,
|
543
546
|
# this field must be left blank.
|
544
|
-
# @param view [Google::Monitoring::V3::ListTimeSeriesRequest::TimeSeriesView]
|
545
|
-
# Specifies which information is returned about the time series.
|
546
547
|
# @param page_size [Integer]
|
547
548
|
# The maximum number of resources contained in the underlying API
|
548
549
|
# response. If page streaming is performed per-resource, this
|
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: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.6.
|
93
|
+
rubygems_version: 2.6.11
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: API Cient library for Stackdriver Monitoring
|