google-apis-vision_v1 0.21.0 → 0.23.0
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/vision_v1/classes.rb +35 -31
- data/lib/google/apis/vision_v1/gem_version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bff9a6f3e61bb36570c52aa936a5fa3d3716608dd475327fa65ac77436f78c27
|
4
|
+
data.tar.gz: 5abd3afad3199a63a9631239bc1dcdaf5eaddbd016feef90f2bc5937a4651617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 935694ca88748125d9988cf2a2f8896e0df25d0e499d57af22707bcb7190e3105fa1d06b567351527394c0af67dc46c31eb31a17942daebdda7634938b2ad321
|
7
|
+
data.tar.gz: c15187dc22bf8fb2e006023f94a3b63c61bcd0ee6e1002128760d60d585f70a907bc71da64ed50ebe51b0e373a0a1c301245484aa2a147087080f60563baa928
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-vision_v1
|
2
2
|
|
3
|
+
### v0.23.0 (2023-05-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230519
|
6
|
+
|
7
|
+
### v0.22.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230407
|
10
|
+
|
3
11
|
### v0.21.0 (2023-03-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230303
|
@@ -644,18 +644,18 @@ module Google
|
|
644
644
|
end
|
645
645
|
|
646
646
|
# Represents a color in the RGBA color space. This representation is designed
|
647
|
-
# for simplicity of conversion to
|
647
|
+
# for simplicity of conversion to and from color representations in various
|
648
648
|
# languages over compactness. For example, the fields of this representation can
|
649
649
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
650
650
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
651
651
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
652
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
652
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
653
653
|
# information about the absolute color space that should be used to interpret
|
654
|
-
# the RGB value
|
654
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
655
655
|
# applications should assume the sRGB color space. When color equality needs to
|
656
656
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
657
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
658
|
-
# 1e-5
|
657
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
658
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
659
659
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
660
660
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
661
661
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -737,18 +737,18 @@ module Google
|
|
737
737
|
include Google::Apis::Core::Hashable
|
738
738
|
|
739
739
|
# Represents a color in the RGBA color space. This representation is designed
|
740
|
-
# for simplicity of conversion to
|
740
|
+
# for simplicity of conversion to and from color representations in various
|
741
741
|
# languages over compactness. For example, the fields of this representation can
|
742
742
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
743
743
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
744
744
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
745
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
745
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
746
746
|
# information about the absolute color space that should be used to interpret
|
747
|
-
# the RGB value
|
747
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
748
748
|
# applications should assume the sRGB color space. When color equality needs to
|
749
749
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
750
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
751
|
-
# 1e-5
|
750
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
751
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
752
752
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
753
753
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
754
754
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -1512,18 +1512,18 @@ module Google
|
|
1512
1512
|
include Google::Apis::Core::Hashable
|
1513
1513
|
|
1514
1514
|
# Represents a color in the RGBA color space. This representation is designed
|
1515
|
-
# for simplicity of conversion to
|
1515
|
+
# for simplicity of conversion to and from color representations in various
|
1516
1516
|
# languages over compactness. For example, the fields of this representation can
|
1517
1517
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
1518
1518
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
1519
1519
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
1520
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
1520
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
1521
1521
|
# information about the absolute color space that should be used to interpret
|
1522
|
-
# the RGB value
|
1522
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
1523
1523
|
# applications should assume the sRGB color space. When color equality needs to
|
1524
1524
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
1525
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
1526
|
-
# 1e-5
|
1525
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
1526
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
1527
1527
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
1528
1528
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
1529
1529
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -3232,18 +3232,18 @@ module Google
|
|
3232
3232
|
include Google::Apis::Core::Hashable
|
3233
3233
|
|
3234
3234
|
# Represents a color in the RGBA color space. This representation is designed
|
3235
|
-
# for simplicity of conversion to
|
3235
|
+
# for simplicity of conversion to and from color representations in various
|
3236
3236
|
# languages over compactness. For example, the fields of this representation can
|
3237
3237
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3238
3238
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3239
3239
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3240
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3240
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
3241
3241
|
# information about the absolute color space that should be used to interpret
|
3242
|
-
# the RGB value
|
3242
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3243
3243
|
# applications should assume the sRGB color space. When color equality needs to
|
3244
3244
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
3245
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
3246
|
-
# 1e-5
|
3245
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
3246
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
3247
3247
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
3248
3248
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
3249
3249
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -4986,18 +4986,18 @@ module Google
|
|
4986
4986
|
include Google::Apis::Core::Hashable
|
4987
4987
|
|
4988
4988
|
# Represents a color in the RGBA color space. This representation is designed
|
4989
|
-
# for simplicity of conversion to
|
4989
|
+
# for simplicity of conversion to and from color representations in various
|
4990
4990
|
# languages over compactness. For example, the fields of this representation can
|
4991
4991
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
4992
4992
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
4993
4993
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
4994
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
4994
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
4995
4995
|
# information about the absolute color space that should be used to interpret
|
4996
|
-
# the RGB value
|
4996
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
4997
4997
|
# applications should assume the sRGB color space. When color equality needs to
|
4998
4998
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
4999
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
5000
|
-
# 1e-5
|
4999
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
5000
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
5001
5001
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
5002
5002
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
5003
5003
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -6880,18 +6880,18 @@ module Google
|
|
6880
6880
|
include Google::Apis::Core::Hashable
|
6881
6881
|
|
6882
6882
|
# Represents a color in the RGBA color space. This representation is designed
|
6883
|
-
# for simplicity of conversion to
|
6883
|
+
# for simplicity of conversion to and from color representations in various
|
6884
6884
|
# languages over compactness. For example, the fields of this representation can
|
6885
6885
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6886
6886
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6887
6887
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6888
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6888
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
6889
6889
|
# information about the absolute color space that should be used to interpret
|
6890
|
-
# the RGB value
|
6890
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6891
6891
|
# applications should assume the sRGB color space. When color equality needs to
|
6892
6892
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
6893
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
6894
|
-
# 1e-5
|
6893
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
6894
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
6895
6895
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
6896
6896
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
6897
6897
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -9943,7 +9943,11 @@ module Google
|
|
9943
9943
|
class TextDetectionParams
|
9944
9944
|
include Google::Apis::Core::Hashable
|
9945
9945
|
|
9946
|
-
# A list of advanced OCR options to fine-tune OCR behavior.
|
9946
|
+
# A list of advanced OCR options to further fine-tune OCR behavior. Current
|
9947
|
+
# valid values are: - `legacy_layout`: a heuristics layout detection algorithm,
|
9948
|
+
# which serves as an alternative to the current ML-based layout detection
|
9949
|
+
# algorithm. Customers can choose the best suitable layout algorithm based on
|
9950
|
+
# their situation.
|
9947
9951
|
# Corresponds to the JSON property `advancedOcrOptions`
|
9948
9952
|
# @return [Array<String>]
|
9949
9953
|
attr_accessor :advanced_ocr_options
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module VisionV1
|
18
18
|
# Version of the google-apis-vision_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230519"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-vision_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vision_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-vision_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vision_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vision_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|