google-apis-documentai_v1beta3 0.59.0 → 0.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +90 -71
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +37 -31
- data/lib/google/apis/documentai_v1beta3/service.rb +30 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23635066af827d96b67103d60dba12086d95a5f9dd6c046a8423edff6f350303
|
4
|
+
data.tar.gz: 060a55a4f1ec571f04e4b8dc7529e73eb47a465abb6e7c7fbd2308f93db160b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a83ff07ef07c2437d51bdb49da67b3bf8562db3705e11de2d3e823a999ef268d28526f37c4d62e3c7021160755187c935a555d8fb8dd8adf25386e5f22b6b13
|
7
|
+
data.tar.gz: 06e3093628527e46612e6ca9990807aa58ba6805a33ff3399af4d8efd2b696cb460d687df2221540391e518fb3ef48830553bd415b7fd743a091b2048132f3fb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.61.0 (2023-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230113
|
6
|
+
|
7
|
+
### v0.60.0 (2023-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230106
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.59.0 (2022-12-07)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221201
|
@@ -389,12 +389,17 @@ module Google
|
|
389
389
|
class GoogleCloudDocumentaiUiv1beta3DocumentId
|
390
390
|
include Google::Apis::Core::Hashable
|
391
391
|
|
392
|
-
# Identifies a document uniquely within the scope of a dataset in the
|
393
|
-
# option.
|
392
|
+
# Identifies a document uniquely within the scope of a dataset in the Cloud
|
393
|
+
# Storage option.
|
394
394
|
# Corresponds to the JSON property `gcsManagedDocId`
|
395
395
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
|
396
396
|
attr_accessor :gcs_managed_doc_id
|
397
397
|
|
398
|
+
# The revision reference specifies which revision on the document to read.
|
399
|
+
# Corresponds to the JSON property `revisionRef`
|
400
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef]
|
401
|
+
attr_accessor :revision_ref
|
402
|
+
|
398
403
|
# The revision reference specifies which revision on the document to read.
|
399
404
|
# Corresponds to the JSON property `revisionReference`
|
400
405
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference]
|
@@ -407,16 +412,17 @@ module Google
|
|
407
412
|
# Update properties of this object
|
408
413
|
def update!(**args)
|
409
414
|
@gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
|
415
|
+
@revision_ref = args[:revision_ref] if args.key?(:revision_ref)
|
410
416
|
@revision_reference = args[:revision_reference] if args.key?(:revision_reference)
|
411
417
|
end
|
412
418
|
end
|
413
419
|
|
414
|
-
# Identifies a document uniquely within the scope of a dataset in the
|
415
|
-
# option.
|
420
|
+
# Identifies a document uniquely within the scope of a dataset in the Cloud
|
421
|
+
# Storage option.
|
416
422
|
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
417
423
|
include Google::Apis::Core::Hashable
|
418
424
|
|
419
|
-
#
|
425
|
+
# Id of the document (indexed) managed by Content Warehouse.
|
420
426
|
# Corresponds to the JSON property `cwDocId`
|
421
427
|
# @return [String]
|
422
428
|
attr_accessor :cw_doc_id
|
@@ -883,22 +889,54 @@ module Google
|
|
883
889
|
end
|
884
890
|
end
|
885
891
|
|
892
|
+
# The revision reference specifies which revision on the document to read.
|
893
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionRef
|
894
|
+
include Google::Apis::Core::Hashable
|
895
|
+
|
896
|
+
# Reads the revision generated by the processor version. The format takes the
|
897
|
+
# full resource name of processor version. `projects/`project`/locations/`
|
898
|
+
# location`/processors/`processor`/processorVersions/`processorVersion``
|
899
|
+
# Corresponds to the JSON property `latestProcessorVersion`
|
900
|
+
# @return [String]
|
901
|
+
attr_accessor :latest_processor_version
|
902
|
+
|
903
|
+
# Reads the revision by the predefined case.
|
904
|
+
# Corresponds to the JSON property `revisionCase`
|
905
|
+
# @return [String]
|
906
|
+
attr_accessor :revision_case
|
907
|
+
|
908
|
+
# Reads the revision given by the id.
|
909
|
+
# Corresponds to the JSON property `revisionId`
|
910
|
+
# @return [String]
|
911
|
+
attr_accessor :revision_id
|
912
|
+
|
913
|
+
def initialize(**args)
|
914
|
+
update!(**args)
|
915
|
+
end
|
916
|
+
|
917
|
+
# Update properties of this object
|
918
|
+
def update!(**args)
|
919
|
+
@latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
|
920
|
+
@revision_case = args[:revision_case] if args.key?(:revision_case)
|
921
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
886
925
|
# The revision reference specifies which revision on the document to read.
|
887
926
|
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
888
927
|
include Google::Apis::Core::Hashable
|
889
928
|
|
890
|
-
#
|
891
|
-
# not exist.
|
929
|
+
# Reads the revision generated by the processor version.
|
892
930
|
# Corresponds to the JSON property `latestProcessorVersion`
|
893
931
|
# @return [String]
|
894
932
|
attr_accessor :latest_processor_version
|
895
933
|
|
896
|
-
#
|
934
|
+
# Reads the revision by the predefined case.
|
897
935
|
# Corresponds to the JSON property `revisionCase`
|
898
936
|
# @return [String]
|
899
937
|
attr_accessor :revision_case
|
900
938
|
|
901
|
-
#
|
939
|
+
# Reads the revision given by the id.
|
902
940
|
# Corresponds to the JSON property `revisionId`
|
903
941
|
# @return [String]
|
904
942
|
attr_accessor :revision_id
|
@@ -1567,68 +1605,6 @@ module Google
|
|
1567
1605
|
end
|
1568
1606
|
end
|
1569
1607
|
|
1570
|
-
# The long running operation metadata for AnalyzeHitlData.
|
1571
|
-
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
1572
|
-
include Google::Apis::Core::Hashable
|
1573
|
-
|
1574
|
-
# The common metadata for long running operations.
|
1575
|
-
# Corresponds to the JSON property `commonMetadata`
|
1576
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
|
1577
|
-
attr_accessor :common_metadata
|
1578
|
-
|
1579
|
-
def initialize(**args)
|
1580
|
-
update!(**args)
|
1581
|
-
end
|
1582
|
-
|
1583
|
-
# Update properties of this object
|
1584
|
-
def update!(**args)
|
1585
|
-
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
1586
|
-
end
|
1587
|
-
end
|
1588
|
-
|
1589
|
-
# The common metadata for long running operations.
|
1590
|
-
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
1591
|
-
include Google::Apis::Core::Hashable
|
1592
|
-
|
1593
|
-
# The creation time of the operation.
|
1594
|
-
# Corresponds to the JSON property `createTime`
|
1595
|
-
# @return [String]
|
1596
|
-
attr_accessor :create_time
|
1597
|
-
|
1598
|
-
# A related resource to this operation.
|
1599
|
-
# Corresponds to the JSON property `resource`
|
1600
|
-
# @return [String]
|
1601
|
-
attr_accessor :resource
|
1602
|
-
|
1603
|
-
# The state of the operation.
|
1604
|
-
# Corresponds to the JSON property `state`
|
1605
|
-
# @return [String]
|
1606
|
-
attr_accessor :state
|
1607
|
-
|
1608
|
-
# A message providing more details about the current state of processing.
|
1609
|
-
# Corresponds to the JSON property `stateMessage`
|
1610
|
-
# @return [String]
|
1611
|
-
attr_accessor :state_message
|
1612
|
-
|
1613
|
-
# The last update time of the operation.
|
1614
|
-
# Corresponds to the JSON property `updateTime`
|
1615
|
-
# @return [String]
|
1616
|
-
attr_accessor :update_time
|
1617
|
-
|
1618
|
-
def initialize(**args)
|
1619
|
-
update!(**args)
|
1620
|
-
end
|
1621
|
-
|
1622
|
-
# Update properties of this object
|
1623
|
-
def update!(**args)
|
1624
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
1625
|
-
@resource = args[:resource] if args.key?(:resource)
|
1626
|
-
@state = args[:state] if args.key?(:state)
|
1627
|
-
@state_message = args[:state_message] if args.key?(:state_message)
|
1628
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
1629
|
-
end
|
1630
|
-
end
|
1631
|
-
|
1632
1608
|
# Encodes the detailed information of a barcode.
|
1633
1609
|
class GoogleCloudDocumentaiV1beta1Barcode
|
1634
1610
|
include Google::Apis::Core::Hashable
|
@@ -8176,6 +8152,43 @@ module Google
|
|
8176
8152
|
end
|
8177
8153
|
end
|
8178
8154
|
|
8155
|
+
# Gives a short summary of an evaluation, and links to the evaluation itself.
|
8156
|
+
class GoogleCloudDocumentaiV1beta3EvaluationReference
|
8157
|
+
include Google::Apis::Core::Hashable
|
8158
|
+
|
8159
|
+
# Evaluation metrics, either in aggregate or about a specific entity.
|
8160
|
+
# Corresponds to the JSON property `aggregateMetrics`
|
8161
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
|
8162
|
+
attr_accessor :aggregate_metrics
|
8163
|
+
|
8164
|
+
# Evaluation metrics, either in aggregate or about a specific entity.
|
8165
|
+
# Corresponds to the JSON property `aggregateMetricsExact`
|
8166
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
|
8167
|
+
attr_accessor :aggregate_metrics_exact
|
8168
|
+
|
8169
|
+
# The resource name of the evaluation.
|
8170
|
+
# Corresponds to the JSON property `evaluation`
|
8171
|
+
# @return [String]
|
8172
|
+
attr_accessor :evaluation
|
8173
|
+
|
8174
|
+
# The resource name of the Long Running Operation for the evaluation.
|
8175
|
+
# Corresponds to the JSON property `operation`
|
8176
|
+
# @return [String]
|
8177
|
+
attr_accessor :operation
|
8178
|
+
|
8179
|
+
def initialize(**args)
|
8180
|
+
update!(**args)
|
8181
|
+
end
|
8182
|
+
|
8183
|
+
# Update properties of this object
|
8184
|
+
def update!(**args)
|
8185
|
+
@aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
|
8186
|
+
@aggregate_metrics_exact = args[:aggregate_metrics_exact] if args.key?(:aggregate_metrics_exact)
|
8187
|
+
@evaluation = args[:evaluation] if args.key?(:evaluation)
|
8188
|
+
@operation = args[:operation] if args.key?(:operation)
|
8189
|
+
end
|
8190
|
+
end
|
8191
|
+
|
8179
8192
|
# Response message for fetch processor types.
|
8180
8193
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
8181
8194
|
include Google::Apis::Core::Hashable
|
@@ -8743,6 +8756,11 @@ module Google
|
|
8743
8756
|
# @return [String]
|
8744
8757
|
attr_accessor :kms_key_version_name
|
8745
8758
|
|
8759
|
+
# Gives a short summary of an evaluation, and links to the evaluation itself.
|
8760
|
+
# Corresponds to the JSON property `latestEvaluation`
|
8761
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
|
8762
|
+
attr_accessor :latest_evaluation
|
8763
|
+
|
8746
8764
|
# The resource name of the processor version. Format: `projects/`project`/
|
8747
8765
|
# locations/`location`/processors/`processor`/processorVersions/`
|
8748
8766
|
# processor_version``
|
@@ -8768,6 +8786,7 @@ module Google
|
|
8768
8786
|
@google_managed = args[:google_managed] if args.key?(:google_managed)
|
8769
8787
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
8770
8788
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
8789
|
+
@latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
|
8771
8790
|
@name = args[:name] if args.key?(:name)
|
8772
8791
|
@state = args[:state] if args.key?(:state)
|
8773
8792
|
end
|
@@ -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.61.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230113"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -238,6 +238,12 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionRef
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
241
247
|
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
249
|
|
@@ -418,18 +424,6 @@ module Google
|
|
418
424
|
include Google::Apis::Core::JsonObjectSupport
|
419
425
|
end
|
420
426
|
|
421
|
-
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
422
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
-
|
424
|
-
include Google::Apis::Core::JsonObjectSupport
|
425
|
-
end
|
426
|
-
|
427
|
-
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
428
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
-
|
430
|
-
include Google::Apis::Core::JsonObjectSupport
|
431
|
-
end
|
432
|
-
|
433
427
|
class GoogleCloudDocumentaiV1beta1Barcode
|
434
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
429
|
|
@@ -1438,6 +1432,12 @@ module Google
|
|
1438
1432
|
include Google::Apis::Core::JsonObjectSupport
|
1439
1433
|
end
|
1440
1434
|
|
1435
|
+
class GoogleCloudDocumentaiV1beta3EvaluationReference
|
1436
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1437
|
+
|
1438
|
+
include Google::Apis::Core::JsonObjectSupport
|
1439
|
+
end
|
1440
|
+
|
1441
1441
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
1442
1442
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1443
1443
|
|
@@ -1860,6 +1860,8 @@ module Google
|
|
1860
1860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1861
1861
|
property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
|
1862
1862
|
|
1863
|
+
property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
|
1864
|
+
|
1863
1865
|
property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
|
1864
1866
|
|
1865
1867
|
end
|
@@ -2030,6 +2032,15 @@ module Google
|
|
2030
2032
|
end
|
2031
2033
|
end
|
2032
2034
|
|
2035
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionRef
|
2036
|
+
# @private
|
2037
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2038
|
+
property :latest_processor_version, as: 'latestProcessorVersion'
|
2039
|
+
property :revision_case, as: 'revisionCase'
|
2040
|
+
property :revision_id, as: 'revisionId'
|
2041
|
+
end
|
2042
|
+
end
|
2043
|
+
|
2033
2044
|
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
2034
2045
|
# @private
|
2035
2046
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2276,25 +2287,6 @@ module Google
|
|
2276
2287
|
end
|
2277
2288
|
end
|
2278
2289
|
|
2279
|
-
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
2280
|
-
# @private
|
2281
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2282
|
-
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
|
2283
|
-
|
2284
|
-
end
|
2285
|
-
end
|
2286
|
-
|
2287
|
-
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
2288
|
-
# @private
|
2289
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2290
|
-
property :create_time, as: 'createTime'
|
2291
|
-
property :resource, as: 'resource'
|
2292
|
-
property :state, as: 'state'
|
2293
|
-
property :state_message, as: 'stateMessage'
|
2294
|
-
property :update_time, as: 'updateTime'
|
2295
|
-
end
|
2296
|
-
end
|
2297
|
-
|
2298
2290
|
class GoogleCloudDocumentaiV1beta1Barcode
|
2299
2291
|
# @private
|
2300
2292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4187,6 +4179,18 @@ module Google
|
|
4187
4179
|
end
|
4188
4180
|
end
|
4189
4181
|
|
4182
|
+
class GoogleCloudDocumentaiV1beta3EvaluationReference
|
4183
|
+
# @private
|
4184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4185
|
+
property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
|
4186
|
+
|
4187
|
+
property :aggregate_metrics_exact, as: 'aggregateMetricsExact', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
|
4188
|
+
|
4189
|
+
property :evaluation, as: 'evaluation'
|
4190
|
+
property :operation, as: 'operation'
|
4191
|
+
end
|
4192
|
+
end
|
4193
|
+
|
4190
4194
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
4191
4195
|
# @private
|
4192
4196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4360,6 +4364,8 @@ module Google
|
|
4360
4364
|
property :google_managed, as: 'googleManaged'
|
4361
4365
|
property :kms_key_name, as: 'kmsKeyName'
|
4362
4366
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
4367
|
+
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
|
4368
|
+
|
4363
4369
|
property :name, as: 'name'
|
4364
4370
|
property :state, as: 'state'
|
4365
4371
|
end
|
@@ -271,6 +271,36 @@ module Google
|
|
271
271
|
execute_or_queue_command(command, &block)
|
272
272
|
end
|
273
273
|
|
274
|
+
# Gets a processor type detail.
|
275
|
+
# @param [String] name
|
276
|
+
# Required. The processor type resource name.
|
277
|
+
# @param [String] fields
|
278
|
+
# Selector specifying which fields to include in a partial response.
|
279
|
+
# @param [String] quota_user
|
280
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
281
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
282
|
+
# @param [Google::Apis::RequestOptions] options
|
283
|
+
# Request-specific options
|
284
|
+
#
|
285
|
+
# @yield [result, err] Result & error if block supplied
|
286
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType] parsed result object
|
287
|
+
# @yieldparam err [StandardError] error object if request failed
|
288
|
+
#
|
289
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType]
|
290
|
+
#
|
291
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
292
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
293
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
294
|
+
def get_project_location_processor_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
295
|
+
command = make_simple_command(:get, 'v1beta3/{+name}', options)
|
296
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType::Representation
|
297
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType
|
298
|
+
command.params['name'] = name unless name.nil?
|
299
|
+
command.query['fields'] = fields unless fields.nil?
|
300
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
301
|
+
execute_or_queue_command(command, &block)
|
302
|
+
end
|
303
|
+
|
274
304
|
# Lists the processor types that exist.
|
275
305
|
# @param [String] parent
|
276
306
|
# Required. The location of processor type to list. The available processor
|
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.61.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:
|
11
|
+
date: 2023-01-22 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-documentai_v1beta3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.61.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Document AI API V1beta3
|