google-apis-documentai_v1 0.51.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1
|
18
18
|
# Version of the google-apis-documentai_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.53.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -436,6 +436,12 @@ module Google
|
|
436
436
|
include Google::Apis::Core::JsonObjectSupport
|
437
437
|
end
|
438
438
|
|
439
|
+
class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
439
445
|
class GoogleCloudDocumentaiV1DocumentPage
|
440
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
447
|
|
@@ -676,12 +682,6 @@ module Google
|
|
676
682
|
include Google::Apis::Core::JsonObjectSupport
|
677
683
|
end
|
678
684
|
|
679
|
-
class GoogleCloudDocumentaiV1EntityTypeMetadata
|
680
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
-
|
682
|
-
include Google::Apis::Core::JsonObjectSupport
|
683
|
-
end
|
684
|
-
|
685
685
|
class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
|
686
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
687
|
|
@@ -706,24 +706,12 @@ module Google
|
|
706
706
|
include Google::Apis::Core::JsonObjectSupport
|
707
707
|
end
|
708
708
|
|
709
|
-
class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
|
710
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
-
|
712
|
-
include Google::Apis::Core::JsonObjectSupport
|
713
|
-
end
|
714
|
-
|
715
709
|
class GoogleCloudDocumentaiV1HumanReviewStatus
|
716
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
711
|
|
718
712
|
include Google::Apis::Core::JsonObjectSupport
|
719
713
|
end
|
720
714
|
|
721
|
-
class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
|
722
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
-
|
724
|
-
include Google::Apis::Core::JsonObjectSupport
|
725
|
-
end
|
726
|
-
|
727
715
|
class GoogleCloudDocumentaiV1ListProcessorTypesResponse
|
728
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
717
|
|
@@ -790,12 +778,6 @@ module Google
|
|
790
778
|
include Google::Apis::Core::JsonObjectSupport
|
791
779
|
end
|
792
780
|
|
793
|
-
class GoogleCloudDocumentaiV1PropertyMetadata
|
794
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
|
-
|
796
|
-
include Google::Apis::Core::JsonObjectSupport
|
797
|
-
end
|
798
|
-
|
799
781
|
class GoogleCloudDocumentaiV1RawDocument
|
800
782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
783
|
|
@@ -820,12 +802,6 @@ module Google
|
|
820
802
|
include Google::Apis::Core::JsonObjectSupport
|
821
803
|
end
|
822
804
|
|
823
|
-
class GoogleCloudDocumentaiV1SchemaMutabilityMetadata
|
824
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
-
|
826
|
-
include Google::Apis::Core::JsonObjectSupport
|
827
|
-
end
|
828
|
-
|
829
805
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
830
806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
807
|
|
@@ -1522,6 +1498,18 @@ module Google
|
|
1522
1498
|
include Google::Apis::Core::JsonObjectSupport
|
1523
1499
|
end
|
1524
1500
|
|
1501
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
1502
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
|
+
|
1504
|
+
include Google::Apis::Core::JsonObjectSupport
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
|
+
|
1510
|
+
include Google::Apis::Core::JsonObjectSupport
|
1511
|
+
end
|
1512
|
+
|
1525
1513
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
1526
1514
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1527
1515
|
|
@@ -1552,6 +1540,24 @@ module Google
|
|
1552
1540
|
include Google::Apis::Core::JsonObjectSupport
|
1553
1541
|
end
|
1554
1542
|
|
1543
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
|
1544
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1545
|
+
|
1546
|
+
include Google::Apis::Core::JsonObjectSupport
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
|
1550
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1551
|
+
|
1552
|
+
include Google::Apis::Core::JsonObjectSupport
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
|
1556
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1557
|
+
|
1558
|
+
include Google::Apis::Core::JsonObjectSupport
|
1559
|
+
end
|
1560
|
+
|
1555
1561
|
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
1556
1562
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1557
1563
|
|
@@ -2263,6 +2269,16 @@ module Google
|
|
2263
2269
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2264
2270
|
property :field_mask, as: 'fieldMask'
|
2265
2271
|
property :gcs_uri, as: 'gcsUri'
|
2272
|
+
property :sharding_config, as: 'shardingConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig::Representation
|
2273
|
+
|
2274
|
+
end
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig
|
2278
|
+
# @private
|
2279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2280
|
+
property :pages_overlap, as: 'pagesOverlap'
|
2281
|
+
property :pages_per_shard, as: 'pagesPerShard'
|
2266
2282
|
end
|
2267
2283
|
end
|
2268
2284
|
|
@@ -2593,8 +2609,6 @@ module Google
|
|
2593
2609
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2594
2610
|
collection :base_types, as: 'baseTypes'
|
2595
2611
|
property :display_name, as: 'displayName'
|
2596
|
-
property :entity_type_metadata, as: 'entityTypeMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata::Representation
|
2597
|
-
|
2598
2612
|
property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues::Representation
|
2599
2613
|
|
2600
2614
|
property :name, as: 'name'
|
@@ -2615,8 +2629,6 @@ module Google
|
|
2615
2629
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2616
2630
|
property :name, as: 'name'
|
2617
2631
|
property :occurrence_type, as: 'occurrenceType'
|
2618
|
-
property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata::Representation
|
2619
|
-
|
2620
2632
|
property :value_type, as: 'valueType'
|
2621
2633
|
end
|
2622
2634
|
end
|
@@ -2714,19 +2726,6 @@ module Google
|
|
2714
2726
|
end
|
2715
2727
|
end
|
2716
2728
|
|
2717
|
-
class GoogleCloudDocumentaiV1EntityTypeMetadata
|
2718
|
-
# @private
|
2719
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2720
|
-
property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata::Representation
|
2721
|
-
|
2722
|
-
property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
|
2723
|
-
|
2724
|
-
property :inactive, as: 'inactive'
|
2725
|
-
property :schema_mutability_metadata, as: 'schemaMutabilityMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata::Representation
|
2726
|
-
|
2727
|
-
end
|
2728
|
-
end
|
2729
|
-
|
2730
2729
|
class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
|
2731
2730
|
# @private
|
2732
2731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2758,13 +2757,6 @@ module Google
|
|
2758
2757
|
end
|
2759
2758
|
end
|
2760
2759
|
|
2761
|
-
class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
|
2762
|
-
# @private
|
2763
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2764
|
-
property :enable_normalization_editing, as: 'enableNormalizationEditing'
|
2765
|
-
end
|
2766
|
-
end
|
2767
|
-
|
2768
2760
|
class GoogleCloudDocumentaiV1HumanReviewStatus
|
2769
2761
|
# @private
|
2770
2762
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2774,14 +2766,6 @@ module Google
|
|
2774
2766
|
end
|
2775
2767
|
end
|
2776
2768
|
|
2777
|
-
class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
|
2778
|
-
# @private
|
2779
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2780
|
-
property :confidence_threshold, as: 'confidenceThreshold'
|
2781
|
-
property :enable_validation, as: 'enableValidation'
|
2782
|
-
end
|
2783
|
-
end
|
2784
|
-
|
2785
2769
|
class GoogleCloudDocumentaiV1ListProcessorTypesResponse
|
2786
2770
|
# @private
|
2787
2771
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2862,6 +2846,7 @@ module Google
|
|
2862
2846
|
property :category, as: 'category'
|
2863
2847
|
property :launch_stage, as: 'launchStage'
|
2864
2848
|
property :name, as: 'name'
|
2849
|
+
collection :sample_document_uris, as: 'sampleDocumentUris'
|
2865
2850
|
property :type, as: 'type'
|
2866
2851
|
end
|
2867
2852
|
end
|
@@ -2880,6 +2865,8 @@ module Google
|
|
2880
2865
|
property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo::Representation
|
2881
2866
|
|
2882
2867
|
property :display_name, as: 'displayName'
|
2868
|
+
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema::Representation
|
2869
|
+
|
2883
2870
|
property :google_managed, as: 'googleManaged'
|
2884
2871
|
property :kms_key_name, as: 'kmsKeyName'
|
2885
2872
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
@@ -2896,19 +2883,6 @@ module Google
|
|
2896
2883
|
end
|
2897
2884
|
end
|
2898
2885
|
|
2899
|
-
class GoogleCloudDocumentaiV1PropertyMetadata
|
2900
|
-
# @private
|
2901
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2902
|
-
property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata::Representation
|
2903
|
-
|
2904
|
-
property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
|
2905
|
-
|
2906
|
-
property :inactive, as: 'inactive'
|
2907
|
-
property :schema_mutability_metadata, as: 'schemaMutabilityMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata::Representation
|
2908
|
-
|
2909
|
-
end
|
2910
|
-
end
|
2911
|
-
|
2912
2886
|
class GoogleCloudDocumentaiV1RawDocument
|
2913
2887
|
# @private
|
2914
2888
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2947,14 +2921,6 @@ module Google
|
|
2947
2921
|
end
|
2948
2922
|
end
|
2949
2923
|
|
2950
|
-
class GoogleCloudDocumentaiV1SchemaMutabilityMetadata
|
2951
|
-
# @private
|
2952
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2953
|
-
property :editable, as: 'editable'
|
2954
|
-
collection :processor_versions, as: 'processorVersions'
|
2955
|
-
end
|
2956
|
-
end
|
2957
|
-
|
2958
2924
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
2959
2925
|
# @private
|
2960
2926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4221,6 +4187,21 @@ module Google
|
|
4221
4187
|
end
|
4222
4188
|
end
|
4223
4189
|
|
4190
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
4191
|
+
# @private
|
4192
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4193
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4194
|
+
|
4195
|
+
end
|
4196
|
+
end
|
4197
|
+
|
4198
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
|
4199
|
+
# @private
|
4200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4201
|
+
property :evaluation, as: 'evaluation'
|
4202
|
+
end
|
4203
|
+
end
|
4204
|
+
|
4224
4205
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
4225
4206
|
# @private
|
4226
4207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4266,6 +4247,37 @@ module Google
|
|
4266
4247
|
end
|
4267
4248
|
end
|
4268
4249
|
|
4250
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
|
4251
|
+
# @private
|
4252
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4253
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4254
|
+
|
4255
|
+
property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
4256
|
+
|
4257
|
+
property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
4258
|
+
|
4259
|
+
end
|
4260
|
+
end
|
4261
|
+
|
4262
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
|
4263
|
+
# @private
|
4264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4265
|
+
property :dataset_error_count, as: 'datasetErrorCount'
|
4266
|
+
collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
4267
|
+
|
4268
|
+
property :document_error_count, as: 'documentErrorCount'
|
4269
|
+
collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
4270
|
+
|
4271
|
+
end
|
4272
|
+
end
|
4273
|
+
|
4274
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
|
4275
|
+
# @private
|
4276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4277
|
+
property :processor_version, as: 'processorVersion'
|
4278
|
+
end
|
4279
|
+
end
|
4280
|
+
|
4269
4281
|
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
4270
4282
|
# @private
|
4271
4283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -960,193 +960,6 @@ module Google
|
|
960
960
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
961
961
|
execute_or_queue_command(command, &block)
|
962
962
|
end
|
963
|
-
|
964
|
-
# Gets information about a location.
|
965
|
-
# @param [String] name
|
966
|
-
# Resource name for the location.
|
967
|
-
# @param [String] fields
|
968
|
-
# Selector specifying which fields to include in a partial response.
|
969
|
-
# @param [String] quota_user
|
970
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
971
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
972
|
-
# @param [Google::Apis::RequestOptions] options
|
973
|
-
# Request-specific options
|
974
|
-
#
|
975
|
-
# @yield [result, err] Result & error if block supplied
|
976
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudLocationLocation] parsed result object
|
977
|
-
# @yieldparam err [StandardError] error object if request failed
|
978
|
-
#
|
979
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudLocationLocation]
|
980
|
-
#
|
981
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
982
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
983
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
984
|
-
def get_uiv1beta3_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
985
|
-
command = make_simple_command(:get, 'uiv1beta3/{+name}', options)
|
986
|
-
command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationLocation::Representation
|
987
|
-
command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationLocation
|
988
|
-
command.params['name'] = name unless name.nil?
|
989
|
-
command.query['fields'] = fields unless fields.nil?
|
990
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
991
|
-
execute_or_queue_command(command, &block)
|
992
|
-
end
|
993
|
-
|
994
|
-
# Lists information about the supported locations for this service.
|
995
|
-
# @param [String] name
|
996
|
-
# The resource that owns the locations collection, if applicable.
|
997
|
-
# @param [String] filter
|
998
|
-
# A filter to narrow down results to a preferred subset. The filtering language
|
999
|
-
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
1000
|
-
# in [AIP-160](https://google.aip.dev/160).
|
1001
|
-
# @param [Fixnum] page_size
|
1002
|
-
# The maximum number of results to return. If not set, the service selects a
|
1003
|
-
# default.
|
1004
|
-
# @param [String] page_token
|
1005
|
-
# A page token received from the `next_page_token` field in the response. Send
|
1006
|
-
# that page token to receive the subsequent page.
|
1007
|
-
# @param [String] fields
|
1008
|
-
# Selector specifying which fields to include in a partial response.
|
1009
|
-
# @param [String] quota_user
|
1010
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1011
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1012
|
-
# @param [Google::Apis::RequestOptions] options
|
1013
|
-
# Request-specific options
|
1014
|
-
#
|
1015
|
-
# @yield [result, err] Result & error if block supplied
|
1016
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse] parsed result object
|
1017
|
-
# @yieldparam err [StandardError] error object if request failed
|
1018
|
-
#
|
1019
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse]
|
1020
|
-
#
|
1021
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1022
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1023
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1024
|
-
def list_uiv1beta3_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1025
|
-
command = make_simple_command(:get, 'uiv1beta3/{+name}/locations', options)
|
1026
|
-
command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse::Representation
|
1027
|
-
command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse
|
1028
|
-
command.params['name'] = name unless name.nil?
|
1029
|
-
command.query['filter'] = filter unless filter.nil?
|
1030
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1031
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1032
|
-
command.query['fields'] = fields unless fields.nil?
|
1033
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1034
|
-
execute_or_queue_command(command, &block)
|
1035
|
-
end
|
1036
|
-
|
1037
|
-
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1038
|
-
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1039
|
-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1040
|
-
# Clients can use Operations.GetOperation or other methods to check whether the
|
1041
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
1042
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1043
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
1044
|
-
# corresponding to `Code.CANCELLED`.
|
1045
|
-
# @param [String] name
|
1046
|
-
# The name of the operation resource to be cancelled.
|
1047
|
-
# @param [String] fields
|
1048
|
-
# Selector specifying which fields to include in a partial response.
|
1049
|
-
# @param [String] quota_user
|
1050
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1051
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1052
|
-
# @param [Google::Apis::RequestOptions] options
|
1053
|
-
# Request-specific options
|
1054
|
-
#
|
1055
|
-
# @yield [result, err] Result & error if block supplied
|
1056
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleProtobufEmpty] parsed result object
|
1057
|
-
# @yieldparam err [StandardError] error object if request failed
|
1058
|
-
#
|
1059
|
-
# @return [Google::Apis::DocumentaiV1::GoogleProtobufEmpty]
|
1060
|
-
#
|
1061
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1062
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1063
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1064
|
-
def cancel_uiv1beta3_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1065
|
-
command = make_simple_command(:post, 'uiv1beta3/{+name}:cancel', options)
|
1066
|
-
command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
|
1067
|
-
command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
|
1068
|
-
command.params['name'] = name unless name.nil?
|
1069
|
-
command.query['fields'] = fields unless fields.nil?
|
1070
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1071
|
-
execute_or_queue_command(command, &block)
|
1072
|
-
end
|
1073
|
-
|
1074
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
1075
|
-
# to poll the operation result at intervals as recommended by the API service.
|
1076
|
-
# @param [String] name
|
1077
|
-
# The name of the operation resource.
|
1078
|
-
# @param [String] fields
|
1079
|
-
# Selector specifying which fields to include in a partial response.
|
1080
|
-
# @param [String] quota_user
|
1081
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1082
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1083
|
-
# @param [Google::Apis::RequestOptions] options
|
1084
|
-
# Request-specific options
|
1085
|
-
#
|
1086
|
-
# @yield [result, err] Result & error if block supplied
|
1087
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningOperation] parsed result object
|
1088
|
-
# @yieldparam err [StandardError] error object if request failed
|
1089
|
-
#
|
1090
|
-
# @return [Google::Apis::DocumentaiV1::GoogleLongrunningOperation]
|
1091
|
-
#
|
1092
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1093
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1094
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1095
|
-
def get_uiv1beta3_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1096
|
-
command = make_simple_command(:get, 'uiv1beta3/{+name}', options)
|
1097
|
-
command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningOperation::Representation
|
1098
|
-
command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningOperation
|
1099
|
-
command.params['name'] = name unless name.nil?
|
1100
|
-
command.query['fields'] = fields unless fields.nil?
|
1101
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1102
|
-
execute_or_queue_command(command, &block)
|
1103
|
-
end
|
1104
|
-
|
1105
|
-
# Lists operations that match the specified filter in the request. If the server
|
1106
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
1107
|
-
# binding allows API services to override the binding to use different resource
|
1108
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1109
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1110
|
-
# service configuration. For backwards compatibility, the default name includes
|
1111
|
-
# the operations collection id, however overriding users must ensure the name
|
1112
|
-
# binding is the parent resource, without the operations collection id.
|
1113
|
-
# @param [String] name
|
1114
|
-
# The name of the operation's parent resource.
|
1115
|
-
# @param [String] filter
|
1116
|
-
# The standard list filter.
|
1117
|
-
# @param [Fixnum] page_size
|
1118
|
-
# The standard list page size.
|
1119
|
-
# @param [String] page_token
|
1120
|
-
# The standard list page token.
|
1121
|
-
# @param [String] fields
|
1122
|
-
# Selector specifying which fields to include in a partial response.
|
1123
|
-
# @param [String] quota_user
|
1124
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1125
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1126
|
-
# @param [Google::Apis::RequestOptions] options
|
1127
|
-
# Request-specific options
|
1128
|
-
#
|
1129
|
-
# @yield [result, err] Result & error if block supplied
|
1130
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse] parsed result object
|
1131
|
-
# @yieldparam err [StandardError] error object if request failed
|
1132
|
-
#
|
1133
|
-
# @return [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse]
|
1134
|
-
#
|
1135
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1136
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1137
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1138
|
-
def list_uiv1beta3_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1139
|
-
command = make_simple_command(:get, 'uiv1beta3/{+name}', options)
|
1140
|
-
command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse::Representation
|
1141
|
-
command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse
|
1142
|
-
command.params['name'] = name unless name.nil?
|
1143
|
-
command.query['filter'] = filter unless filter.nil?
|
1144
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1145
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1146
|
-
command.query['fields'] = fields unless fields.nil?
|
1147
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1148
|
-
execute_or_queue_command(command, &block)
|
1149
|
-
end
|
1150
963
|
|
1151
964
|
protected
|
1152
965
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.53.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: 2022-
|
11
|
+
date: 2022-12-12 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.53.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|