google-cloud-document_ai-v1beta3 0.48.0 → 0.49.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/README.md +1 -1
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb +2 -0
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/operations.rb +2 -0
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb +2 -0
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/operations.rb +2 -0
- data/lib/google/cloud/document_ai/v1beta3/document_service/client.rb +2 -0
- data/lib/google/cloud/document_ai/v1beta3/document_service/operations.rb +2 -0
- data/lib/google/cloud/document_ai/v1beta3/document_service/rest/client.rb +2 -0
- data/lib/google/cloud/document_ai/v1beta3/document_service/rest/operations.rb +2 -0
- data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/type/color.rb +8 -8
- data/proto_docs/google/type/date.rb +10 -7
- data/proto_docs/google/type/datetime.rb +16 -15
- data/proto_docs/google/type/postal_address.rb +38 -37
- 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: 91bd9c755a16b791c33532a5af642a22220188412bb1bb86720a3ad920c856e4
|
|
4
|
+
data.tar.gz: 4793c3ccb54f23d2e6e0492525a890d64e893b162abb74835c08e9afb1c2e173
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 321f580de7d7531e3897e94586a003e37545b42a9c039da280f5a6a0c7c4295a5b714bd9d177a0a69c547f72e2e15e171de123de6281609f0bd3fefdf1a55a4e
|
|
7
|
+
data.tar.gz: 92490783ed75ef8cd5e93f8cc4f25f09c9808be5f7fc3d667196be9187d631d71032645b033c6573bd8ead634ddac4c129d0cc318317fa6f2cb73236cd1432b9
|
data/README.md
CHANGED
|
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
86
86
|
|
|
87
87
|
## Supported Ruby Versions
|
|
88
88
|
|
|
89
|
-
This library is supported on Ruby 3.
|
|
89
|
+
This library is supported on Ruby 3.2+.
|
|
90
90
|
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -2612,6 +2612,7 @@ module Google
|
|
|
2612
2612
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2613
2613
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2614
2614
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2615
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2615
2616
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2616
2617
|
# trigger a retry.
|
|
2617
2618
|
# @return [::Hash]
|
|
@@ -2695,6 +2696,7 @@ module Google
|
|
|
2695
2696
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2696
2697
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2697
2698
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2699
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2698
2700
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2699
2701
|
# trigger a retry.
|
|
2700
2702
|
#
|
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -2417,6 +2417,7 @@ module Google
|
|
|
2417
2417
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2418
2418
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2419
2419
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2420
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2420
2421
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2421
2422
|
# trigger a retry.
|
|
2422
2423
|
# @return [::Hash]
|
|
@@ -2496,6 +2497,7 @@ module Google
|
|
|
2496
2497
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2497
2498
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2498
2499
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2500
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2499
2501
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2500
2502
|
# trigger a retry.
|
|
2501
2503
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -1023,6 +1023,7 @@ module Google
|
|
|
1023
1023
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1024
1024
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1025
1025
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1026
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1026
1027
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1027
1028
|
# trigger a retry.
|
|
1028
1029
|
# @return [::Hash]
|
|
@@ -1106,6 +1107,7 @@ module Google
|
|
|
1106
1107
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1107
1108
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1108
1109
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1110
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1109
1111
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1110
1112
|
# trigger a retry.
|
|
1111
1113
|
#
|
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -942,6 +942,7 @@ module Google
|
|
|
942
942
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
943
943
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
944
944
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
945
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
945
946
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
946
947
|
# trigger a retry.
|
|
947
948
|
# @return [::Hash]
|
|
@@ -1021,6 +1022,7 @@ module Google
|
|
|
1021
1022
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1022
1023
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1023
1024
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1025
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1024
1026
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1025
1027
|
# trigger a retry.
|
|
1026
1028
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
# @!attribute [rw] selective_gapic_generation
|
|
32
32
|
# @return [::Google::Api::SelectiveGapicGeneration]
|
|
33
33
|
# Configuration for which RPCs should be generated in the GAPIC client.
|
|
34
|
+
#
|
|
35
|
+
# Note: This field should not be used in most cases.
|
|
34
36
|
class CommonLanguageSettings
|
|
35
37
|
include ::Google::Protobuf::MessageExts
|
|
36
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -141,9 +143,10 @@ module Google
|
|
|
141
143
|
#
|
|
142
144
|
# Example of a YAML configuration::
|
|
143
145
|
#
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
146
|
+
# publishing:
|
|
147
|
+
# library_settings:
|
|
148
|
+
# java_settings:
|
|
149
|
+
# library_package: com.google.cloud.pubsub.v1
|
|
147
150
|
# @!attribute [rw] service_class_names
|
|
148
151
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
149
152
|
# Configure the Java class name to use instead of the service's for its
|
|
@@ -155,11 +158,11 @@ module Google
|
|
|
155
158
|
#
|
|
156
159
|
# Example of a YAML configuration::
|
|
157
160
|
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
161
|
+
# publishing:
|
|
162
|
+
# java_settings:
|
|
163
|
+
# service_class_names:
|
|
164
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
|
165
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
163
166
|
# @!attribute [rw] common
|
|
164
167
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
165
168
|
# Some settings.
|
|
@@ -190,6 +193,20 @@ module Google
|
|
|
190
193
|
# @!attribute [rw] common
|
|
191
194
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
192
195
|
# Some settings.
|
|
196
|
+
# @!attribute [rw] library_package
|
|
197
|
+
# @return [::String]
|
|
198
|
+
# The package name to use in Php. Clobbers the php_namespace option
|
|
199
|
+
# set in the protobuf. This should be used **only** by APIs
|
|
200
|
+
# who have already set the language_settings.php.package_name" field
|
|
201
|
+
# in gapic.yaml. API teams should use the protobuf php_namespace option
|
|
202
|
+
# where possible.
|
|
203
|
+
#
|
|
204
|
+
# Example of a YAML configuration::
|
|
205
|
+
#
|
|
206
|
+
# publishing:
|
|
207
|
+
# library_settings:
|
|
208
|
+
# php_settings:
|
|
209
|
+
# library_package: Google\Cloud\PubSub\V1
|
|
193
210
|
class PhpSettings
|
|
194
211
|
include ::Google::Protobuf::MessageExts
|
|
195
212
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -318,10 +335,12 @@ module Google
|
|
|
318
335
|
# service names and values are the name to be used for the service client
|
|
319
336
|
# and call options.
|
|
320
337
|
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
338
|
+
# Example:
|
|
339
|
+
#
|
|
340
|
+
# publishing:
|
|
341
|
+
# go_settings:
|
|
342
|
+
# renamed_services:
|
|
343
|
+
# Publisher: TopicAdmin
|
|
325
344
|
class GoSettings
|
|
326
345
|
include ::Google::Protobuf::MessageExts
|
|
327
346
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -344,10 +363,10 @@ module Google
|
|
|
344
363
|
#
|
|
345
364
|
# Example:
|
|
346
365
|
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
366
|
+
# publishing:
|
|
367
|
+
# method_settings:
|
|
368
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
369
|
+
# # method settings for CreateFolder...
|
|
351
370
|
# @!attribute [rw] long_running
|
|
352
371
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
353
372
|
# Describes settings to use for long-running operations when generating
|
|
@@ -356,14 +375,14 @@ module Google
|
|
|
356
375
|
#
|
|
357
376
|
# Example of a YAML configuration::
|
|
358
377
|
#
|
|
359
|
-
#
|
|
360
|
-
#
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
378
|
+
# publishing:
|
|
379
|
+
# method_settings:
|
|
380
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
381
|
+
# long_running:
|
|
382
|
+
# initial_poll_delay: 60s # 1 minute
|
|
383
|
+
# poll_delay_multiplier: 1.5
|
|
384
|
+
# max_poll_delay: 360s # 6 minutes
|
|
385
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
367
386
|
# @!attribute [rw] auto_populated_fields
|
|
368
387
|
# @return [::Array<::String>]
|
|
369
388
|
# List of top-level fields of the request message, that should be
|
|
@@ -372,11 +391,24 @@ module Google
|
|
|
372
391
|
#
|
|
373
392
|
# Example of a YAML configuration:
|
|
374
393
|
#
|
|
375
|
-
#
|
|
376
|
-
#
|
|
377
|
-
#
|
|
378
|
-
#
|
|
379
|
-
#
|
|
394
|
+
# publishing:
|
|
395
|
+
# method_settings:
|
|
396
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
|
397
|
+
# auto_populated_fields:
|
|
398
|
+
# - request_id
|
|
399
|
+
# @!attribute [rw] batching
|
|
400
|
+
# @return [::Google::Api::BatchingConfigProto]
|
|
401
|
+
# Batching configuration for an API method in client libraries.
|
|
402
|
+
#
|
|
403
|
+
# Example of a YAML configuration:
|
|
404
|
+
#
|
|
405
|
+
# publishing:
|
|
406
|
+
# method_settings:
|
|
407
|
+
# - selector: google.example.v1.ExampleService.BatchCreateExample
|
|
408
|
+
# batching:
|
|
409
|
+
# element_count_threshold: 1000
|
|
410
|
+
# request_byte_threshold: 100000000
|
|
411
|
+
# delay_threshold_millis: 10
|
|
380
412
|
class MethodSettings
|
|
381
413
|
include ::Google::Protobuf::MessageExts
|
|
382
414
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -411,6 +443,8 @@ module Google
|
|
|
411
443
|
|
|
412
444
|
# This message is used to configure the generation of a subset of the RPCs in
|
|
413
445
|
# a service for client libraries.
|
|
446
|
+
#
|
|
447
|
+
# Note: This feature should not be used in most cases.
|
|
414
448
|
# @!attribute [rw] methods
|
|
415
449
|
# @return [::Array<::String>]
|
|
416
450
|
# An allowlist of the fully qualified names of RPCs that should be included
|
|
@@ -428,6 +462,77 @@ module Google
|
|
|
428
462
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
429
463
|
end
|
|
430
464
|
|
|
465
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
|
466
|
+
# @!attribute [rw] thresholds
|
|
467
|
+
# @return [::Google::Api::BatchingSettingsProto]
|
|
468
|
+
# The thresholds which trigger a batched request to be sent.
|
|
469
|
+
# @!attribute [rw] batch_descriptor
|
|
470
|
+
# @return [::Google::Api::BatchingDescriptorProto]
|
|
471
|
+
# The request and response fields used in batching.
|
|
472
|
+
class BatchingConfigProto
|
|
473
|
+
include ::Google::Protobuf::MessageExts
|
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of
|
|
478
|
+
# which acts as a trigger to send a batch of messages as a request. At least
|
|
479
|
+
# one threshold must be positive nonzero.
|
|
480
|
+
# @!attribute [rw] element_count_threshold
|
|
481
|
+
# @return [::Integer]
|
|
482
|
+
# The number of elements of a field collected into a batch which, if
|
|
483
|
+
# exceeded, causes the batch to be sent.
|
|
484
|
+
# @!attribute [rw] request_byte_threshold
|
|
485
|
+
# @return [::Integer]
|
|
486
|
+
# The aggregated size of the batched field which, if exceeded, causes the
|
|
487
|
+
# batch to be sent. This size is computed by aggregating the sizes of the
|
|
488
|
+
# request field to be batched, not of the entire request message.
|
|
489
|
+
# @!attribute [rw] delay_threshold
|
|
490
|
+
# @return [::Google::Protobuf::Duration]
|
|
491
|
+
# The duration after which a batch should be sent, starting from the addition
|
|
492
|
+
# of the first message to that batch.
|
|
493
|
+
# @!attribute [rw] element_count_limit
|
|
494
|
+
# @return [::Integer]
|
|
495
|
+
# The maximum number of elements collected in a batch that could be accepted
|
|
496
|
+
# by server.
|
|
497
|
+
# @!attribute [rw] request_byte_limit
|
|
498
|
+
# @return [::Integer]
|
|
499
|
+
# The maximum size of the request that could be accepted by server.
|
|
500
|
+
# @!attribute [rw] flow_control_element_limit
|
|
501
|
+
# @return [::Integer]
|
|
502
|
+
# The maximum number of elements allowed by flow control.
|
|
503
|
+
# @!attribute [rw] flow_control_byte_limit
|
|
504
|
+
# @return [::Integer]
|
|
505
|
+
# The maximum size of data allowed by flow control.
|
|
506
|
+
# @!attribute [rw] flow_control_limit_exceeded_behavior
|
|
507
|
+
# @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
|
|
508
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
509
|
+
class BatchingSettingsProto
|
|
510
|
+
include ::Google::Protobuf::MessageExts
|
|
511
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
|
515
|
+
# used for batching, and, optionally, the fields of the response message to be
|
|
516
|
+
# used for demultiplexing.
|
|
517
|
+
# @!attribute [rw] batched_field
|
|
518
|
+
# @return [::String]
|
|
519
|
+
# The repeated field in the request message to be aggregated by batching.
|
|
520
|
+
# @!attribute [rw] discriminator_fields
|
|
521
|
+
# @return [::Array<::String>]
|
|
522
|
+
# A list of the fields in the request message. Two requests will be batched
|
|
523
|
+
# together only if the values of every field specified in
|
|
524
|
+
# `request_discriminator_fields` is equal between the two requests.
|
|
525
|
+
# @!attribute [rw] subresponse_field
|
|
526
|
+
# @return [::String]
|
|
527
|
+
# Optional. When present, indicates the field in the response message to be
|
|
528
|
+
# used to demultiplex the response into multiple response messages, in
|
|
529
|
+
# correspondence with the multiple request messages originally batched
|
|
530
|
+
# together.
|
|
531
|
+
class BatchingDescriptorProto
|
|
532
|
+
include ::Google::Protobuf::MessageExts
|
|
533
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
534
|
+
end
|
|
535
|
+
|
|
431
536
|
# The organization for which the client libraries are being published.
|
|
432
537
|
# Affects the url where generated docs are published, etc.
|
|
433
538
|
module ClientLibraryOrganization
|
|
@@ -469,5 +574,20 @@ module Google
|
|
|
469
574
|
# Publish the library to package managers like nuget.org and npmjs.com.
|
|
470
575
|
PACKAGE_MANAGER = 20
|
|
471
576
|
end
|
|
577
|
+
|
|
578
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
579
|
+
module FlowControlLimitExceededBehaviorProto
|
|
580
|
+
# Default behavior, system-defined.
|
|
581
|
+
UNSET_BEHAVIOR = 0
|
|
582
|
+
|
|
583
|
+
# Stop operation, raise error.
|
|
584
|
+
THROW_EXCEPTION = 1
|
|
585
|
+
|
|
586
|
+
# Pause operation until limit clears.
|
|
587
|
+
BLOCK = 2
|
|
588
|
+
|
|
589
|
+
# Continue operation, disregard limit.
|
|
590
|
+
IGNORE = 3
|
|
591
|
+
end
|
|
472
592
|
end
|
|
473
593
|
end
|
|
@@ -20,22 +20,22 @@
|
|
|
20
20
|
module Google
|
|
21
21
|
module Type
|
|
22
22
|
# Represents a color in the RGBA color space. This representation is designed
|
|
23
|
-
# for simplicity of conversion to
|
|
23
|
+
# for simplicity of conversion to and from color representations in various
|
|
24
24
|
# languages over compactness. For example, the fields of this representation
|
|
25
25
|
# can be trivially provided to the constructor of `java.awt.Color` in Java; it
|
|
26
26
|
# can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
|
27
27
|
# method in iOS; and, with just a little work, it can be easily formatted into
|
|
28
28
|
# a CSS `rgba()` string in JavaScript.
|
|
29
29
|
#
|
|
30
|
-
# This reference page doesn't
|
|
31
|
-
# space
|
|
32
|
-
#
|
|
33
|
-
# DCI-P3, BT.2020
|
|
30
|
+
# This reference page doesn't have information about the absolute color
|
|
31
|
+
# space that should be used to interpret the RGB value—for example, sRGB,
|
|
32
|
+
# Adobe RGB,
|
|
33
|
+
# DCI-P3, and BT.2020. By default, applications should assume the sRGB color
|
|
34
34
|
# space.
|
|
35
35
|
#
|
|
36
|
-
# When color equality needs to be decided, implementations, unless
|
|
37
|
-
#
|
|
38
|
-
#
|
|
36
|
+
# When color equality needs to be decided, implementations, unless documented
|
|
37
|
+
# otherwise, treat two colors as equal if all their red, green, blue, and alpha
|
|
38
|
+
# values each differ by at most `1e-5`.
|
|
39
39
|
#
|
|
40
40
|
# Example (Java):
|
|
41
41
|
#
|
|
@@ -24,14 +24,17 @@ module Google
|
|
|
24
24
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
25
25
|
# following:
|
|
26
26
|
#
|
|
27
|
-
# * A full date, with non-zero year, month, and day values
|
|
28
|
-
# * A month and day
|
|
29
|
-
# * A year on its own, with zero month and day
|
|
30
|
-
# * A year and month
|
|
31
|
-
#
|
|
27
|
+
# * A full date, with non-zero year, month, and day values.
|
|
28
|
+
# * A month and day, with a zero year (for example, an anniversary).
|
|
29
|
+
# * A year on its own, with a zero month and a zero day.
|
|
30
|
+
# * A year and month, with a zero day (for example, a credit card expiration
|
|
31
|
+
# date).
|
|
32
32
|
#
|
|
33
|
-
# Related types
|
|
34
|
-
#
|
|
33
|
+
# Related types:
|
|
34
|
+
#
|
|
35
|
+
# * [google.type.TimeOfDay][google.type.TimeOfDay]
|
|
36
|
+
# * {::Google::Type::DateTime google.type.DateTime}
|
|
37
|
+
# * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
|
|
35
38
|
# @!attribute [rw] year
|
|
36
39
|
# @return [::Integer]
|
|
37
40
|
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
|
@@ -32,8 +32,8 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The date is relative to the Proleptic Gregorian Calendar.
|
|
34
34
|
#
|
|
35
|
-
# If year
|
|
36
|
-
#
|
|
35
|
+
# If year, month, or day are 0, the DateTime is considered not to have a
|
|
36
|
+
# specific year, month, or day respectively.
|
|
37
37
|
#
|
|
38
38
|
# This type may also be used to represent a physical time if all the date and
|
|
39
39
|
# time fields are set and either case of the `time_offset` oneof is set.
|
|
@@ -49,27 +49,28 @@ module Google
|
|
|
49
49
|
# datetime without a year.
|
|
50
50
|
# @!attribute [rw] month
|
|
51
51
|
# @return [::Integer]
|
|
52
|
-
#
|
|
52
|
+
# Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
|
|
53
|
+
# datetime without a month.
|
|
53
54
|
# @!attribute [rw] day
|
|
54
55
|
# @return [::Integer]
|
|
55
|
-
#
|
|
56
|
-
# month.
|
|
56
|
+
# Optional. Day of month. Must be from 1 to 31 and valid for the year and
|
|
57
|
+
# month, or 0 if specifying a datetime without a day.
|
|
57
58
|
# @!attribute [rw] hours
|
|
58
59
|
# @return [::Integer]
|
|
59
|
-
#
|
|
60
|
-
# may choose to allow the value "24:00:00" for
|
|
61
|
-
# closing time.
|
|
60
|
+
# Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
|
|
61
|
+
# to 0 (midnight). An API may choose to allow the value "24:00:00" for
|
|
62
|
+
# scenarios like business closing time.
|
|
62
63
|
# @!attribute [rw] minutes
|
|
63
64
|
# @return [::Integer]
|
|
64
|
-
#
|
|
65
|
+
# Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
|
|
65
66
|
# @!attribute [rw] seconds
|
|
66
67
|
# @return [::Integer]
|
|
67
|
-
#
|
|
68
|
-
# API may allow the value 60 if it allows leap-seconds.
|
|
68
|
+
# Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
|
|
69
|
+
# defaults to 0. An API may allow the value 60 if it allows leap-seconds.
|
|
69
70
|
# @!attribute [rw] nanos
|
|
70
71
|
# @return [::Integer]
|
|
71
|
-
#
|
|
72
|
-
# 999,999,999.
|
|
72
|
+
# Optional. Fractions of seconds in nanoseconds. Must be from 0 to
|
|
73
|
+
# 999,999,999, defaults to 0.
|
|
73
74
|
# @!attribute [rw] utc_offset
|
|
74
75
|
# @return [::Google::Protobuf::Duration]
|
|
75
76
|
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
|
@@ -91,10 +92,10 @@ module Google
|
|
|
91
92
|
# [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
92
93
|
# @!attribute [rw] id
|
|
93
94
|
# @return [::String]
|
|
94
|
-
# IANA Time Zone Database time zone
|
|
95
|
+
# IANA Time Zone Database time zone. For example "America/New_York".
|
|
95
96
|
# @!attribute [rw] version
|
|
96
97
|
# @return [::String]
|
|
97
|
-
# Optional. IANA Time Zone Database version number
|
|
98
|
+
# Optional. IANA Time Zone Database version number. For example "2019a".
|
|
98
99
|
class TimeZone
|
|
99
100
|
include ::Google::Protobuf::MessageExts
|
|
100
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
|
|
20
20
|
module Google
|
|
21
21
|
module Type
|
|
22
|
-
# Represents a postal address,
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
# mountains).
|
|
22
|
+
# Represents a postal address, such as for postal delivery or payments
|
|
23
|
+
# addresses. With a postal address, a postal service can deliver items to a
|
|
24
|
+
# premise, P.O. box, or similar. A postal address is not intended to model
|
|
25
|
+
# geographical locations like roads, towns, or mountains.
|
|
27
26
|
#
|
|
28
|
-
# In typical usage an address would be created
|
|
27
|
+
# In typical usage, an address would be created by user input or from importing
|
|
29
28
|
# existing data, depending on the type of process.
|
|
30
29
|
#
|
|
31
|
-
# Advice on address input
|
|
32
|
-
# - Use an i18n-ready address widget such as
|
|
33
|
-
# https://github.com/google/libaddressinput)
|
|
34
|
-
# - Users should not be presented with UI elements for input or editing of
|
|
35
|
-
# fields outside countries where that field is used.
|
|
30
|
+
# Advice on address input or editing:
|
|
36
31
|
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
32
|
+
# - Use an internationalization-ready address widget such as
|
|
33
|
+
# https://github.com/google/libaddressinput.
|
|
34
|
+
# - Users should not be presented with UI elements for input or editing of
|
|
35
|
+
# fields outside countries where that field is used.
|
|
36
|
+
#
|
|
37
|
+
# For more guidance on how to use this schema, see:
|
|
38
|
+
# https://support.google.com/business/answer/6397478.
|
|
39
39
|
# @!attribute [rw] revision
|
|
40
40
|
# @return [::Integer]
|
|
41
41
|
# The schema revision of the `PostalAddress`. This must be set to 0, which is
|
|
@@ -46,8 +46,8 @@ module Google
|
|
|
46
46
|
# @return [::String]
|
|
47
47
|
# Required. CLDR region code of the country/region of the address. This
|
|
48
48
|
# is never inferred and it is up to the user to ensure the value is
|
|
49
|
-
# correct. See
|
|
50
|
-
#
|
|
49
|
+
# correct. See https://cldr.unicode.org/ and
|
|
50
|
+
# https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
|
|
51
51
|
# for details. Example: "CH" for Switzerland.
|
|
52
52
|
# @!attribute [rw] language_code
|
|
53
53
|
# @return [::String]
|
|
@@ -67,55 +67,56 @@ module Google
|
|
|
67
67
|
# @return [::String]
|
|
68
68
|
# Optional. Postal code of the address. Not all countries use or require
|
|
69
69
|
# postal codes to be present, but where they are used, they may trigger
|
|
70
|
-
# additional validation with other parts of the address (
|
|
71
|
-
# validation in the
|
|
70
|
+
# additional validation with other parts of the address (for example,
|
|
71
|
+
# state or zip code validation in the United States).
|
|
72
72
|
# @!attribute [rw] sorting_code
|
|
73
73
|
# @return [::String]
|
|
74
74
|
# Optional. Additional, country-specific, sorting code. This is not used
|
|
75
75
|
# in most regions. Where it is used, the value is either a string like
|
|
76
|
-
# "CEDEX", optionally followed by a number (
|
|
77
|
-
# alone, representing the "sector code" (Jamaica), "delivery area
|
|
78
|
-
# (Malawi) or "post office indicator" (
|
|
76
|
+
# "CEDEX", optionally followed by a number (for example, "CEDEX 7"), or just
|
|
77
|
+
# a number alone, representing the "sector code" (Jamaica), "delivery area
|
|
78
|
+
# indicator" (Malawi) or "post office indicator" (Côte d'Ivoire).
|
|
79
79
|
# @!attribute [rw] administrative_area
|
|
80
80
|
# @return [::String]
|
|
81
81
|
# Optional. Highest administrative subdivision which is used for postal
|
|
82
82
|
# addresses of a country or region.
|
|
83
83
|
# For example, this can be a state, a province, an oblast, or a prefecture.
|
|
84
|
-
#
|
|
85
|
-
# community (
|
|
86
|
-
# Many countries don't use an administrative area in postal addresses.
|
|
87
|
-
# in Switzerland this should be left unpopulated.
|
|
84
|
+
# For Spain, this is the province and not the autonomous
|
|
85
|
+
# community (for example, "Barcelona" and not "Catalonia").
|
|
86
|
+
# Many countries don't use an administrative area in postal addresses. For
|
|
87
|
+
# example, in Switzerland, this should be left unpopulated.
|
|
88
88
|
# @!attribute [rw] locality
|
|
89
89
|
# @return [::String]
|
|
90
|
-
# Optional. Generally refers to the city
|
|
90
|
+
# Optional. Generally refers to the city or town portion of the address.
|
|
91
91
|
# Examples: US city, IT comune, UK post town.
|
|
92
92
|
# In regions of the world where localities are not well defined or do not fit
|
|
93
|
-
# into this structure well, leave locality empty and use address_lines
|
|
93
|
+
# into this structure well, leave `locality` empty and use `address_lines`.
|
|
94
94
|
# @!attribute [rw] sublocality
|
|
95
95
|
# @return [::String]
|
|
96
96
|
# Optional. Sublocality of the address.
|
|
97
|
-
# For example, this can be
|
|
97
|
+
# For example, this can be a neighborhood, borough, or district.
|
|
98
98
|
# @!attribute [rw] address_lines
|
|
99
99
|
# @return [::Array<::String>]
|
|
100
100
|
# Unstructured address lines describing the lower levels of an address.
|
|
101
101
|
#
|
|
102
|
-
# Because values in address_lines do not have type information and may
|
|
103
|
-
# sometimes contain multiple values in a single field (
|
|
102
|
+
# Because values in `address_lines` do not have type information and may
|
|
103
|
+
# sometimes contain multiple values in a single field (for example,
|
|
104
104
|
# "Austin, TX"), it is important that the line order is clear. The order of
|
|
105
|
-
# address lines should be "envelope order" for the country
|
|
106
|
-
# address. In places where this can vary (
|
|
107
|
-
# used to make it explicit (
|
|
108
|
-
# "ja-Latn" or "en" for small-to-large).
|
|
109
|
-
# an address can be selected based on the
|
|
105
|
+
# address lines should be "envelope order" for the country or region of the
|
|
106
|
+
# address. In places where this can vary (for example, Japan),
|
|
107
|
+
# `address_language` is used to make it explicit (for example, "ja" for
|
|
108
|
+
# large-to-small ordering and "ja-Latn" or "en" for small-to-large). In this
|
|
109
|
+
# way, the most specific line of an address can be selected based on the
|
|
110
|
+
# language.
|
|
110
111
|
#
|
|
111
112
|
# The minimum permitted structural representation of an address consists
|
|
112
|
-
# of a region_code with all remaining information placed in the
|
|
113
|
-
# address_lines
|
|
113
|
+
# of a `region_code` with all remaining information placed in the
|
|
114
|
+
# `address_lines`. It would be possible to format such an address very
|
|
114
115
|
# approximately without geocoding, but no semantic reasoning could be
|
|
115
116
|
# made about any of the address components until it was at least
|
|
116
117
|
# partially resolved.
|
|
117
118
|
#
|
|
118
|
-
# Creating an address only containing a region_code and address_lines
|
|
119
|
+
# Creating an address only containing a `region_code` and `address_lines` and
|
|
119
120
|
# then geocoding is the recommended way to handle completely unstructured
|
|
120
121
|
# addresses (as opposed to guessing which parts of the address should be
|
|
121
122
|
# localities or administrative areas).
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-document_ai-v1beta3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.49.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.3'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.3'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|