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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b6e29fd1ccd5dd70a3caf0b054a8ecfd386f6889dbef00effe4907e79866a04
4
- data.tar.gz: 7a3c1db5ee9305f7e2c21587cf4328b4ac1364f556ccce5eda7877f0098e0033
3
+ metadata.gz: bff9a6f3e61bb36570c52aa936a5fa3d3716608dd475327fa65ac77436f78c27
4
+ data.tar.gz: 5abd3afad3199a63a9631239bc1dcdaf5eaddbd016feef90f2bc5937a4651617
5
5
  SHA512:
6
- metadata.gz: c8f7012454ea043a102eb4cb0753b1e3d9db68c037a300c47adf90131cbb2e3a8121d439e1689a1c6d2b4f604bb2162e2ef8969dae5f489db8db7fa04c219287
7
- data.tar.gz: e6feddd84e8e67342de86ff62e91e1ea841365b4a37d0b3164c258b0dba146af183fd02b606d34de758941ff08efcd34e0f6c2e42e95feb87af34f8174395758
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/from color representations in various
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 doesn't carry
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 (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
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. Example (Java): import com.google.type.Color; // ... public static java.
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/from color representations in various
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 doesn't carry
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 (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
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. Example (Java): import com.google.type.Color; // ... public static java.
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/from color representations in various
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 doesn't carry
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 (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
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. Example (Java): import com.google.type.Color; // ... public static java.
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/from color representations in various
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 doesn't carry
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 (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
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. Example (Java): import com.google.type.Color; // ... public static java.
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/from color representations in various
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 doesn't carry
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 (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
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. Example (Java): import com.google.type.Color; // ... public static java.
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/from color representations in various
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 doesn't carry
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 (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
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. Example (Java): import com.google.type.Color; // ... public static java.
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.21.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 = "20230303"
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.21.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-03-12 00:00:00.000000000 Z
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.21.0
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: []