google-apis-documentai_v1beta3 0.8.0 → 0.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f47eb993a9e4dccd9f637947d7f6207c9f3d866b503c6f7f0181b9e4f5ce0b1c
|
4
|
+
data.tar.gz: '08c64bb4c92ceb007df09cd5f9bcf042a4ad915fe0a4cece3f01f666eb75e5d4'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37533a944fa8050789d9bcaffb605c88bd3845afebd285e66964b5022eaeec5aa1d118c54494cdf2621a1512dd8cef98418be2d13ba79da4826aac583c76f9ef
|
7
|
+
data.tar.gz: 3f0483bf770e0ef4019e6bd79f9fec2027e82159cb6f8c7dacc3686fad6df329a92ba1977d5e699cb354ac1f73d7e20d3f2f5589d8e3c257f41ae1f8652b67a4
|
data/CHANGELOG.md
CHANGED
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V1beta3'
|
33
33
|
|
34
|
-
#
|
34
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
@@ -271,25 +271,6 @@ module Google
|
|
271
271
|
end
|
272
272
|
end
|
273
273
|
|
274
|
-
# The long running operation metadata for SampleDataset.
|
275
|
-
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
276
|
-
include Google::Apis::Core::Hashable
|
277
|
-
|
278
|
-
# The common metadata for long running operations.
|
279
|
-
# Corresponds to the JSON property `commonMetadata`
|
280
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
281
|
-
attr_accessor :common_metadata
|
282
|
-
|
283
|
-
def initialize(**args)
|
284
|
-
update!(**args)
|
285
|
-
end
|
286
|
-
|
287
|
-
# Update properties of this object
|
288
|
-
def update!(**args)
|
289
|
-
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
290
|
-
end
|
291
|
-
end
|
292
|
-
|
293
274
|
# The long running operation metadata for set default processor version method.
|
294
275
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
295
276
|
include Google::Apis::Core::Hashable
|
@@ -1876,98 +1857,98 @@ module Google
|
|
1876
1857
|
|
1877
1858
|
# Represents a color in the RGBA color space. This representation is designed
|
1878
1859
|
# for simplicity of conversion to/from color representations in various
|
1879
|
-
# languages over compactness
|
1880
|
-
# be trivially provided to the constructor of
|
1881
|
-
# also be trivially provided to UIColor's
|
1860
|
+
# languages over compactness. For example, the fields of this representation can
|
1861
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
1862
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
1882
1863
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
1883
|
-
# CSS
|
1864
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
1884
1865
|
# information about the absolute color space that should be used to interpret
|
1885
1866
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
1886
|
-
# applications
|
1887
|
-
#
|
1888
|
-
#
|
1889
|
-
#
|
1890
|
-
#
|
1891
|
-
# protocolor.
|
1892
|
-
#
|
1893
|
-
#
|
1894
|
-
# float
|
1895
|
-
# float
|
1896
|
-
#
|
1897
|
-
#
|
1898
|
-
#
|
1899
|
-
#
|
1900
|
-
#
|
1901
|
-
#
|
1902
|
-
#
|
1903
|
-
#
|
1904
|
-
#
|
1905
|
-
#
|
1906
|
-
#
|
1907
|
-
#
|
1908
|
-
#
|
1909
|
-
#
|
1910
|
-
#
|
1867
|
+
# applications should assume the sRGB color space. When color equality needs to
|
1868
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
1869
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
1870
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
1871
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
1872
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
1873
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
1874
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
1875
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
1876
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
1877
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
1878
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
1879
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
1880
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
1881
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
1882
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
1883
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
1884
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
1885
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
1886
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
1887
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
1888
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
1889
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
1890
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
1891
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
1911
1892
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
1912
1893
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
1913
1894
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
1914
|
-
#
|
1895
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
1915
1896
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
1916
|
-
# ', alphaFrac, ')'].join(''); `; var
|
1917
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
1918
|
-
#
|
1919
|
-
#
|
1920
|
-
#
|
1921
|
-
#
|
1897
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
1898
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
1899
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
1900
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
1901
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
1902
|
+
# / ...
|
1922
1903
|
# Corresponds to the JSON property `backgroundColor`
|
1923
1904
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
|
1924
1905
|
attr_accessor :background_color
|
1925
1906
|
|
1926
1907
|
# Represents a color in the RGBA color space. This representation is designed
|
1927
1908
|
# for simplicity of conversion to/from color representations in various
|
1928
|
-
# languages over compactness
|
1929
|
-
# be trivially provided to the constructor of
|
1930
|
-
# also be trivially provided to UIColor's
|
1909
|
+
# languages over compactness. For example, the fields of this representation can
|
1910
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
1911
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
1931
1912
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
1932
|
-
# CSS
|
1913
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
1933
1914
|
# information about the absolute color space that should be used to interpret
|
1934
1915
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
1935
|
-
# applications
|
1936
|
-
#
|
1937
|
-
#
|
1938
|
-
#
|
1939
|
-
#
|
1940
|
-
# protocolor.
|
1941
|
-
#
|
1942
|
-
#
|
1943
|
-
# float
|
1944
|
-
# float
|
1945
|
-
#
|
1946
|
-
#
|
1947
|
-
#
|
1948
|
-
#
|
1949
|
-
#
|
1950
|
-
#
|
1951
|
-
#
|
1952
|
-
#
|
1953
|
-
#
|
1954
|
-
#
|
1955
|
-
#
|
1956
|
-
#
|
1957
|
-
#
|
1958
|
-
#
|
1959
|
-
#
|
1916
|
+
# applications should assume the sRGB color space. When color equality needs to
|
1917
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
1918
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
1919
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
1920
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
1921
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
1922
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
1923
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
1924
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
1925
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
1926
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
1927
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
1928
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
1929
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
1930
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
1931
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
1932
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
1933
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
1934
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
1935
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
1936
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
1937
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
1938
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
1939
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
1940
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
1960
1941
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
1961
1942
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
1962
1943
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
1963
|
-
#
|
1944
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
1964
1945
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
1965
|
-
# ', alphaFrac, ')'].join(''); `; var
|
1966
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
1967
|
-
#
|
1968
|
-
#
|
1969
|
-
#
|
1970
|
-
#
|
1946
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
1947
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
1948
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
1949
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
1950
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
1951
|
+
# / ...
|
1971
1952
|
# Corresponds to the JSON property `color`
|
1972
1953
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
|
1973
1954
|
attr_accessor :color
|
@@ -2201,7 +2182,7 @@ module Google
|
|
2201
2182
|
# @return [Float]
|
2202
2183
|
attr_accessor :x
|
2203
2184
|
|
2204
|
-
# Y coordinate.
|
2185
|
+
# Y coordinate (starts from the top of the image).
|
2205
2186
|
# Corresponds to the JSON property `y`
|
2206
2187
|
# @return [Float]
|
2207
2188
|
attr_accessor :y
|
@@ -2322,7 +2303,7 @@ module Google
|
|
2322
2303
|
# @return [Fixnum]
|
2323
2304
|
attr_accessor :x
|
2324
2305
|
|
2325
|
-
# Y coordinate.
|
2306
|
+
# Y coordinate (starts from the top of the image).
|
2326
2307
|
# Corresponds to the JSON property `y`
|
2327
2308
|
# @return [Fixnum]
|
2328
2309
|
attr_accessor :y
|
@@ -3571,98 +3552,98 @@ module Google
|
|
3571
3552
|
|
3572
3553
|
# Represents a color in the RGBA color space. This representation is designed
|
3573
3554
|
# for simplicity of conversion to/from color representations in various
|
3574
|
-
# languages over compactness
|
3575
|
-
# be trivially provided to the constructor of
|
3576
|
-
# also be trivially provided to UIColor's
|
3555
|
+
# languages over compactness. For example, the fields of this representation can
|
3556
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3557
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3577
3558
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3578
|
-
# CSS
|
3559
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
3579
3560
|
# information about the absolute color space that should be used to interpret
|
3580
3561
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
3581
|
-
# applications
|
3582
|
-
#
|
3583
|
-
#
|
3584
|
-
#
|
3585
|
-
#
|
3586
|
-
# protocolor.
|
3587
|
-
#
|
3588
|
-
#
|
3589
|
-
# float
|
3590
|
-
# float
|
3591
|
-
#
|
3592
|
-
#
|
3593
|
-
#
|
3594
|
-
#
|
3595
|
-
#
|
3596
|
-
#
|
3597
|
-
#
|
3598
|
-
#
|
3599
|
-
#
|
3600
|
-
#
|
3601
|
-
#
|
3602
|
-
#
|
3603
|
-
#
|
3604
|
-
#
|
3605
|
-
#
|
3562
|
+
# applications should assume the sRGB color space. When color equality needs to
|
3563
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
3564
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
3565
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
3566
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
3567
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
3568
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
3569
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
3570
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
3571
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
3572
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
3573
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
3574
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
3575
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
3576
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
3577
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
3578
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
3579
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
3580
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
3581
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
3582
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
3583
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
3584
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
3585
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
3586
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
3606
3587
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
3607
3588
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
3608
3589
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
3609
|
-
#
|
3590
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
3610
3591
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
3611
|
-
# ', alphaFrac, ')'].join(''); `; var
|
3612
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
3613
|
-
#
|
3614
|
-
#
|
3615
|
-
#
|
3616
|
-
#
|
3592
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
3593
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
3594
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
3595
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
3596
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
3597
|
+
# / ...
|
3617
3598
|
# Corresponds to the JSON property `backgroundColor`
|
3618
3599
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
|
3619
3600
|
attr_accessor :background_color
|
3620
3601
|
|
3621
3602
|
# Represents a color in the RGBA color space. This representation is designed
|
3622
3603
|
# for simplicity of conversion to/from color representations in various
|
3623
|
-
# languages over compactness
|
3624
|
-
# be trivially provided to the constructor of
|
3625
|
-
# also be trivially provided to UIColor's
|
3604
|
+
# languages over compactness. For example, the fields of this representation can
|
3605
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3606
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3626
3607
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3627
|
-
# CSS
|
3608
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
3628
3609
|
# information about the absolute color space that should be used to interpret
|
3629
3610
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
3630
|
-
# applications
|
3631
|
-
#
|
3632
|
-
#
|
3633
|
-
#
|
3634
|
-
#
|
3635
|
-
# protocolor.
|
3636
|
-
#
|
3637
|
-
#
|
3638
|
-
# float
|
3639
|
-
# float
|
3640
|
-
#
|
3641
|
-
#
|
3642
|
-
#
|
3643
|
-
#
|
3644
|
-
#
|
3645
|
-
#
|
3646
|
-
#
|
3647
|
-
#
|
3648
|
-
#
|
3649
|
-
#
|
3650
|
-
#
|
3651
|
-
#
|
3652
|
-
#
|
3653
|
-
#
|
3654
|
-
#
|
3611
|
+
# applications should assume the sRGB color space. When color equality needs to
|
3612
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
3613
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
3614
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
3615
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
3616
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
3617
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
3618
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
3619
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
3620
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
3621
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
3622
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
3623
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
3624
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
3625
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
3626
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
3627
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
3628
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
3629
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
3630
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
3631
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
3632
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
3633
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
3634
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
3635
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
3655
3636
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
3656
3637
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
3657
3638
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
3658
|
-
#
|
3639
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
3659
3640
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
3660
|
-
# ', alphaFrac, ')'].join(''); `; var
|
3661
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
3662
|
-
#
|
3663
|
-
#
|
3664
|
-
#
|
3665
|
-
#
|
3641
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
3642
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
3643
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
3644
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
3645
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
3646
|
+
# / ...
|
3666
3647
|
# Corresponds to the JSON property `color`
|
3667
3648
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
|
3668
3649
|
attr_accessor :color
|
@@ -3906,7 +3887,7 @@ module Google
|
|
3906
3887
|
# @return [Float]
|
3907
3888
|
attr_accessor :x
|
3908
3889
|
|
3909
|
-
# Y coordinate.
|
3890
|
+
# Y coordinate (starts from the top of the image).
|
3910
3891
|
# Corresponds to the JSON property `y`
|
3911
3892
|
# @return [Float]
|
3912
3893
|
attr_accessor :y
|
@@ -4027,7 +4008,7 @@ module Google
|
|
4027
4008
|
# @return [Fixnum]
|
4028
4009
|
attr_accessor :x
|
4029
4010
|
|
4030
|
-
# Y coordinate.
|
4011
|
+
# Y coordinate (starts from the top of the image).
|
4031
4012
|
# Corresponds to the JSON property `y`
|
4032
4013
|
# @return [Fixnum]
|
4033
4014
|
attr_accessor :y
|
@@ -5518,98 +5499,98 @@ module Google
|
|
5518
5499
|
|
5519
5500
|
# Represents a color in the RGBA color space. This representation is designed
|
5520
5501
|
# for simplicity of conversion to/from color representations in various
|
5521
|
-
# languages over compactness
|
5522
|
-
# be trivially provided to the constructor of
|
5523
|
-
# also be trivially provided to UIColor's
|
5502
|
+
# languages over compactness. For example, the fields of this representation can
|
5503
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
5504
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
5524
5505
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
5525
|
-
# CSS
|
5506
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
5526
5507
|
# information about the absolute color space that should be used to interpret
|
5527
5508
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
5528
|
-
# applications
|
5529
|
-
#
|
5530
|
-
#
|
5531
|
-
#
|
5532
|
-
#
|
5533
|
-
# protocolor.
|
5534
|
-
#
|
5535
|
-
#
|
5536
|
-
# float
|
5537
|
-
# float
|
5538
|
-
#
|
5539
|
-
#
|
5540
|
-
#
|
5541
|
-
#
|
5542
|
-
#
|
5543
|
-
#
|
5544
|
-
#
|
5545
|
-
#
|
5546
|
-
#
|
5547
|
-
#
|
5548
|
-
#
|
5549
|
-
#
|
5550
|
-
#
|
5551
|
-
#
|
5552
|
-
#
|
5509
|
+
# applications should assume the sRGB color space. When color equality needs to
|
5510
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
5511
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
5512
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
5513
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
5514
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
5515
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
5516
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
5517
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
5518
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
5519
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
5520
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
5521
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
5522
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
5523
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
5524
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
5525
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
5526
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
5527
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
5528
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
5529
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
5530
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
5531
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
5532
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
5533
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
5553
5534
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
5554
5535
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
5555
5536
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
5556
|
-
#
|
5537
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
5557
5538
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
5558
|
-
# ', alphaFrac, ')'].join(''); `; var
|
5559
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
5560
|
-
#
|
5561
|
-
#
|
5562
|
-
#
|
5563
|
-
#
|
5539
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
5540
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
5541
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
5542
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
5543
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
5544
|
+
# / ...
|
5564
5545
|
# Corresponds to the JSON property `backgroundColor`
|
5565
5546
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
|
5566
5547
|
attr_accessor :background_color
|
5567
5548
|
|
5568
5549
|
# Represents a color in the RGBA color space. This representation is designed
|
5569
5550
|
# for simplicity of conversion to/from color representations in various
|
5570
|
-
# languages over compactness
|
5571
|
-
# be trivially provided to the constructor of
|
5572
|
-
# also be trivially provided to UIColor's
|
5551
|
+
# languages over compactness. For example, the fields of this representation can
|
5552
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
5553
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
5573
5554
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
5574
|
-
# CSS
|
5555
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
5575
5556
|
# information about the absolute color space that should be used to interpret
|
5576
5557
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
5577
|
-
# applications
|
5578
|
-
#
|
5579
|
-
#
|
5580
|
-
#
|
5581
|
-
#
|
5582
|
-
# protocolor.
|
5583
|
-
#
|
5584
|
-
#
|
5585
|
-
# float
|
5586
|
-
# float
|
5587
|
-
#
|
5588
|
-
#
|
5589
|
-
#
|
5590
|
-
#
|
5591
|
-
#
|
5592
|
-
#
|
5593
|
-
#
|
5594
|
-
#
|
5595
|
-
#
|
5596
|
-
#
|
5597
|
-
#
|
5598
|
-
#
|
5599
|
-
#
|
5600
|
-
#
|
5601
|
-
#
|
5558
|
+
# applications should assume the sRGB color space. When color equality needs to
|
5559
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
5560
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
5561
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
5562
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
5563
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
5564
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
5565
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
5566
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
5567
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
5568
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
5569
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
5570
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
5571
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
5572
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
5573
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
5574
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
5575
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
5576
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
5577
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
5578
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
5579
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
5580
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
5581
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
5582
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
5602
5583
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
5603
5584
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
5604
5585
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
5605
|
-
#
|
5586
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
5606
5587
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
5607
|
-
# ', alphaFrac, ')'].join(''); `; var
|
5608
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
5609
|
-
#
|
5610
|
-
#
|
5611
|
-
#
|
5612
|
-
#
|
5588
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
5589
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
5590
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
5591
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
5592
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
5593
|
+
# / ...
|
5613
5594
|
# Corresponds to the JSON property `color`
|
5614
5595
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
|
5615
5596
|
attr_accessor :color
|
@@ -5874,7 +5855,7 @@ module Google
|
|
5874
5855
|
# @return [Float]
|
5875
5856
|
attr_accessor :x
|
5876
5857
|
|
5877
|
-
# Y coordinate.
|
5858
|
+
# Y coordinate (starts from the top of the image).
|
5878
5859
|
# Corresponds to the JSON property `y`
|
5879
5860
|
# @return [Float]
|
5880
5861
|
attr_accessor :y
|
@@ -6102,7 +6083,7 @@ module Google
|
|
6102
6083
|
# @return [Fixnum]
|
6103
6084
|
attr_accessor :x
|
6104
6085
|
|
6105
|
-
# Y coordinate.
|
6086
|
+
# Y coordinate (starts from the top of the image).
|
6106
6087
|
# Corresponds to the JSON property `y`
|
6107
6088
|
# @return [Fixnum]
|
6108
6089
|
attr_accessor :y
|
@@ -6310,61 +6291,60 @@ module Google
|
|
6310
6291
|
|
6311
6292
|
# Represents a color in the RGBA color space. This representation is designed
|
6312
6293
|
# for simplicity of conversion to/from color representations in various
|
6313
|
-
# languages over compactness
|
6314
|
-
# be trivially provided to the constructor of
|
6315
|
-
# also be trivially provided to UIColor's
|
6294
|
+
# languages over compactness. For example, the fields of this representation can
|
6295
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6296
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6316
6297
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6317
|
-
# CSS
|
6298
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
6318
6299
|
# information about the absolute color space that should be used to interpret
|
6319
6300
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
6320
|
-
# applications
|
6321
|
-
#
|
6322
|
-
#
|
6323
|
-
#
|
6324
|
-
#
|
6325
|
-
# protocolor.
|
6326
|
-
#
|
6327
|
-
#
|
6328
|
-
# float
|
6329
|
-
# float
|
6330
|
-
#
|
6331
|
-
#
|
6332
|
-
#
|
6333
|
-
#
|
6334
|
-
#
|
6335
|
-
#
|
6336
|
-
#
|
6337
|
-
#
|
6338
|
-
#
|
6339
|
-
#
|
6340
|
-
#
|
6341
|
-
#
|
6342
|
-
#
|
6343
|
-
#
|
6344
|
-
#
|
6301
|
+
# applications should assume the sRGB color space. When color equality needs to
|
6302
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
6303
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
6304
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
6305
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
6306
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
6307
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
6308
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
6309
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
6310
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
6311
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
6312
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
6313
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
6314
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
6315
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
6316
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
6317
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
6318
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
6319
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
6320
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
6321
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
6322
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
6323
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
6324
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
6325
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
6345
6326
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
6346
6327
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
6347
6328
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
6348
|
-
#
|
6329
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
6349
6330
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
6350
|
-
# ', alphaFrac, ')'].join(''); `; var
|
6351
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
6352
|
-
#
|
6353
|
-
#
|
6354
|
-
#
|
6355
|
-
#
|
6331
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
6332
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
6333
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
6334
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
6335
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
6336
|
+
# / ...
|
6356
6337
|
class GoogleTypeColor
|
6357
6338
|
include Google::Apis::Core::Hashable
|
6358
6339
|
|
6359
6340
|
# The fraction of this color that should be applied to the pixel. That is, the
|
6360
|
-
# final pixel color is defined by the equation: pixel color = alpha * (this
|
6361
|
-
# color) + (1.0 - alpha) * (background color) This means that a value of 1.0
|
6341
|
+
# final pixel color is defined by the equation: `pixel color = alpha * (this
|
6342
|
+
# color) + (1.0 - alpha) * (background color)` This means that a value of 1.0
|
6362
6343
|
# corresponds to a solid color, whereas a value of 0.0 corresponds to a
|
6363
6344
|
# completely transparent color. This uses a wrapper message rather than a simple
|
6364
6345
|
# float scalar so that it is possible to distinguish between a default value and
|
6365
|
-
# the value being unset. If omitted, this color object is
|
6366
|
-
#
|
6367
|
-
# 0).
|
6346
|
+
# the value being unset. If omitted, this color object is rendered as a solid
|
6347
|
+
# color (as if the alpha value had been explicitly given a value of 1.0).
|
6368
6348
|
# Corresponds to the JSON property `alpha`
|
6369
6349
|
# @return [Float]
|
6370
6350
|
attr_accessor :alpha
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta3
|
18
18
|
# Version of the google-apis-documentai_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210329"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,12 +100,6 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
103
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
110
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
105
|
|
@@ -1207,14 +1201,6 @@ module Google
|
|
1207
1201
|
end
|
1208
1202
|
end
|
1209
1203
|
|
1210
|
-
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
1211
|
-
# @private
|
1212
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1213
|
-
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1214
|
-
|
1215
|
-
end
|
1216
|
-
end
|
1217
|
-
|
1218
1204
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1219
1205
|
# @private
|
1220
1206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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: 2021-
|
11
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.9.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|