google-cloud-language-v1beta2 0.1.1 → 0.1.2
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/language/v1beta2/version.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +20 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c82005db5b48cadcabe648a5db27273721c93d81d88b264d58ff549d9cf8aa27
|
4
|
+
data.tar.gz: fda81a4890d9369d40c5114c53fdf8826cb8dfb2151258ec50eba2c9d6d9153f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbaefa1050a039160a7c1fe198e78aa0e3572543371a3b1b0fd913011f029bcc5b816f586225059c18ca77c4fe3f3ea09c1a04d878cec060e7fa34580a1d3d8b
|
7
|
+
data.tar.gz: caaf8ffce38a1ace5431aeb9d496367ec033417aef67690ea29a190150554c1d846bc89f77ebd0d02b8a313919c9eb2a79213a1166f42f332bc708b1b26a1162
|
@@ -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-language-v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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
|