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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 779bd1e105ce7c40f83a26a1683ebe15418d3e08
4
- data.tar.gz: 4f5c8a0494d0dec929e6b0a26b35e53b3fc01bba
3
+ metadata.gz: 6b2f1d29f46cf1e0fb6d8d09427075e6c1bf1348
4
+ data.tar.gz: d086c704333bdae52534f6e15e8768a1d5cea883
5
5
  SHA512:
6
- metadata.gz: 8b76f5bcbba44c8a8cf0157804347d264c6631ce45e755befb612b18533ea7a5cf8787de87f6d0082626fc6a424a21bd978f2dc9b1e37339a6e43d406ef046d2
7
- data.tar.gz: 2ae7dfcb6bd90363bce65d7949f85bee1dd569d840fb784807127af6d23e3791ba3a61b5a7e02e3202afa40b1c0203f35e43ae3123d0c2973684ae64510bc208
6
+ metadata.gz: 9cbe18d3916089f5a2d5b96256ba334cc1d2f3b7a81c196f141280de48fee7331a33f7dcfcc72b2dcf51e503e5fb1354e94151ea52ebdff99f28395e002a524f
7
+ data.tar.gz: aa4328c963ac1332548186231df3467814a511f93747497888d9fc1498e7dfced339eacadf487eb65bdd6a2a0df75899ba1397019ae555193562ad9dfc58b1fc
@@ -17,8 +17,4 @@
17
17
  # #logging methods can be available, but the library and all dependencies won't
18
18
  # be loaded until required and used.
19
19
 
20
-
21
- gem "google-cloud-core"
22
- require "google/cloud"
23
-
24
20
  # There is no Google::Cloud integration to add.
@@ -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
- # now = time.time()
67
- # seconds = int(now)
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 from 0001-01-01T00:00:00Z to
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 2016 Google Inc. All rights reserved.
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
- # http://www.apache.org/licenses/LICENSE-2.0
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
@@ -6,7 +6,9 @@
6
6
  "DEADLINE_EXCEEDED",
7
7
  "UNAVAILABLE"
8
8
  ],
9
- "non_idempotent": []
9
+ "non_idempotent": [
10
+ "UNAVAILABLE"
11
+ ]
10
12
  },
11
13
  "retry_params": {
12
14
  "default": {
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
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
- # http://www.apache.org/licenses/LICENSE-2.0
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
@@ -6,7 +6,9 @@
6
6
  "DEADLINE_EXCEEDED",
7
7
  "UNAVAILABLE"
8
8
  ],
9
- "non_idempotent": []
9
+ "non_idempotent": [
10
+ "UNAVAILABLE"
11
+ ]
10
12
  },
11
13
  "retry_params": {
12
14
  "default": {
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.23.2
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-03-04 00:00:00.000000000 Z
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.10
93
+ rubygems_version: 2.6.11
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: API Cient library for Stackdriver Monitoring