google-cloud-vision-v1 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 2d1fca410da07e5a10ffb79daae3583f377417247dfc74b648c999ef931972b5
4
- data.tar.gz: 81412c7f4b160db7ddc4605c7fb8ce6347ffebf2b043e3ed21f734430a6ef572
3
+ metadata.gz: 8932a59e22685efad35fa68b1726195e2393accd16c3023249ae201d467ac6f8
4
+ data.tar.gz: af0c83cde5a7b62dbdfce031c3667079f11e80bd027cc237c0f79f4f9fa29858
5
5
  SHA512:
6
- metadata.gz: 0dd011290a3f3e3252d8873054b03ec6c0beae113c2cab41b1ca32bf47b399bb7aeccf03948ddea03fd1369c5188738531724c526cea0365913365da66f065e9
7
- data.tar.gz: b346ab3a341413d9f41505ddb3e9de889ba73c31e7c191281dec22453f55bd6f90e61f2d00a3b30c009146ced240de753c21fe7bd2e8238ce5fa49725a0dc37c
6
+ metadata.gz: c6aab9c08dc30d5266e0f9e75ae96fd9e1390dad1eb18cf56061ab8c99ac7e4d7b79811a12796309613fdcfe366b02fbbc218b2435f95f1b3aead2150d9a995a
7
+ data.tar.gz: '093a365fd820deec89483abd324826413dac1d0dddf9fb9127781815b7fdee10f55c27625c031ce43b59e3aaaaa9fbffa2778fdd01665b993b0c726d97c06284'
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Vision
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.1"
25
25
  end
26
26
  end
27
27
  end
@@ -101,7 +101,8 @@ module Google
101
101
  # @!attribute [rw] type_url
102
102
  # @return [String]
103
103
  # A URL/resource name that uniquely identifies the type of the serialized
104
- # protocol buffer message. The last segment of the URL's path must represent
104
+ # protocol buffer message. This string must contain at least
105
+ # one "/" character. The last segment of the URL's path must represent
105
106
  # the fully qualified name of the type (as in
106
107
  # `path/google.protobuf.Duration`). The name should be in a canonical form
107
108
  # (e.g., leading "." is not accepted).
@@ -87,57 +87,49 @@ module Google
87
87
  # describe the updated values, the API ignores the values of all
88
88
  # fields not covered by the mask.
89
89
  #
90
- # If a repeated field is specified for an update operation, the existing
91
- # repeated values in the target resource will be overwritten by the new values.
92
- # Note that a repeated field is only allowed in the last position of a `paths`
93
- # string.
90
+ # If a repeated field is specified for an update operation, new values will
91
+ # be appended to the existing repeated field in the target resource. Note that
92
+ # a repeated field is only allowed in the last position of a `paths` string.
94
93
  #
95
94
  # If a sub-message is specified in the last position of the field mask for an
96
- # update operation, then the existing sub-message in the target resource is
97
- # overwritten. Given the target message:
95
+ # update operation, then new value will be merged into the existing sub-message
96
+ # in the target resource.
97
+ #
98
+ # For example, given the target message:
98
99
  #
99
100
  # f {
100
101
  # b {
101
- # d : 1
102
- # x : 2
102
+ # d: 1
103
+ # x: 2
103
104
  # }
104
- # c : 1
105
+ # c: [1]
105
106
  # }
106
107
  #
107
108
  # And an update message:
108
109
  #
109
110
  # f {
110
111
  # b {
111
- # d : 10
112
+ # d: 10
112
113
  # }
114
+ # c: [2]
113
115
  # }
114
116
  #
115
117
  # then if the field mask is:
116
118
  #
117
- # paths: "f.b"
119
+ # paths: ["f.b", "f.c"]
118
120
  #
119
121
  # then the result will be:
120
122
  #
121
123
  # f {
122
124
  # b {
123
- # d : 10
125
+ # d: 10
126
+ # x: 2
124
127
  # }
125
- # c : 1
128
+ # c: [1, 2]
126
129
  # }
127
130
  #
128
- # However, if the update mask was:
129
- #
130
- # paths: "f.b.d"
131
- #
132
- # then the result would be:
133
- #
134
- # f {
135
- # b {
136
- # d : 10
137
- # x : 2
138
- # }
139
- # c : 1
140
- # }
131
+ # An implementation may provide options to override this default behavior for
132
+ # repeated and message fields.
141
133
  #
142
134
  # In order to reset a field's value to the default, the field must
143
135
  # be in the mask and set to the default value in the provided resource.
@@ -225,7 +217,7 @@ module Google
225
217
  #
226
218
  # The implementation of any API method which has a FieldMask type field in the
227
219
  # request should verify the included field paths, and return an
228
- # `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
220
+ # `INVALID_ARGUMENT` error if any path is unmappable.
229
221
  # @!attribute [rw] paths
230
222
  # @return [Array<String>]
231
223
  # The set of field mask paths.
@@ -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
- # or calendar, represented as seconds and fractions of seconds at
24
- # nanosecond resolution in UTC Epoch time. It is encoded using the
25
- # Proleptic Gregorian Calendar which extends the Gregorian calendar
26
- # backwards to year one. It is encoded assuming all minutes are 60
27
- # seconds long, i.e. leap seconds are "smeared" so that no leap second
28
- # table is needed for interpretation. Range is from
29
- # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
30
- # By restricting to that range, we ensure that we can convert to
31
- # and from RFC 3339 date strings.
32
- # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
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 [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
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 [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
96
- # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
97
- # can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
98
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
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-vision-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.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-03-30 00:00:00.000000000 Z
11
+ date: 2020-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common