google-cloud-recommender-v1 0.3.0 → 0.3.1
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: b854a911691f57d45c304c4d4bf74de62eb83a70d1c252eda9250f244f558f88
|
4
|
+
data.tar.gz: fb0efe36c11e2aae0434710ae36b1d20aaaea6df823b243578147edbe0b0685d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e15d154a646a9676d3335c7f1029469d51d3ebd27e654179dbd686dab57f9aca70d6559f71c3bd0a2225c9ac9a46286b8aed8a76179c4d3b744287fb1f2fb16e
|
7
|
+
data.tar.gz: 3191ab85ba008bbc482030e491535c3051859a7b10fb897d2caf701c7be648fa28ccda4930a92801b4e9a6c154f8f19aaa47a800b14baeccfa0cfd46407d00af
|
@@ -40,7 +40,7 @@ module Google
|
|
40
40
|
# if (duration.seconds < 0 && duration.nanos > 0) {
|
41
41
|
# duration.seconds += 1;
|
42
42
|
# duration.nanos -= 1000000000;
|
43
|
-
# } else if (
|
43
|
+
# } else if (duration.seconds > 0 && duration.nanos < 0) {
|
44
44
|
# duration.seconds -= 1;
|
45
45
|
# duration.nanos += 1000000000;
|
46
46
|
# }
|
@@ -19,17 +19,19 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Protobuf
|
22
|
-
# A Timestamp represents a point in time independent of any time zone
|
23
|
-
#
|
24
|
-
# nanosecond resolution
|
25
|
-
#
|
26
|
-
# backwards to year one.
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
22
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
23
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
24
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
25
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
26
|
+
# Gregorian calendar backwards to year one.
|
27
|
+
#
|
28
|
+
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
29
|
+
# second table is needed for interpretation, using a [24-hour linear
|
30
|
+
# smear](https://developers.google.com/time/smear).
|
31
|
+
#
|
32
|
+
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
33
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
34
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
33
35
|
#
|
34
36
|
# # Examples
|
35
37
|
#
|
@@ -90,12 +92,14 @@ module Google
|
|
90
92
|
# 01:30 UTC on January 15, 2017.
|
91
93
|
#
|
92
94
|
# In JavaScript, one can convert a Date object to this format using the
|
93
|
-
# standard
|
95
|
+
# standard
|
96
|
+
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
94
97
|
# method. In Python, a standard `datetime.datetime` object can be converted
|
95
|
-
# to this format using
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
98
|
+
# to this format using
|
99
|
+
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
100
|
+
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
101
|
+
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
102
|
+
# http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
99
103
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
100
104
|
# @!attribute [rw] seconds
|
101
105
|
# @return [Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recommender-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.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: 2020-
|
11
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|