google-apis-documentai_v1beta3 0.12.0 → 0.13.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: e0d9f23688289774b0302f492ef3e77abc84b6b11ebb8092eb5161ffcbf8adae
4
- data.tar.gz: 9d96727aba37b152dbafe454489decb3790f8c51fd2baa61b2e5bab70adb96cf
3
+ metadata.gz: a11fc86d5bd724a3193ac62b86c11fc40c64dd28701368c6ad74d2174b64557f
4
+ data.tar.gz: 0ac384ee62d07dda9c47bf7a98c6ab48a3c1ab91705662cd3f5cbff63d77aa53
5
5
  SHA512:
6
- metadata.gz: 2d166d8572f0f375496c58dfcd037a0411c1ac7a49f14bd6bba07e60981b4a97517975e6b9070f63ed10d3490585b9138bbd278faa06c040ec68199e5afdcffb
7
- data.tar.gz: ce9c0ff579fbb1ab87fd47f282cf4fd09dfc6b9e55f57a591705ec99cc190e6a2fa72b6bd75ed35b8efeac32061ce4916bb1b45924012c7e7f4828d21c858541
6
+ metadata.gz: ff249d354f7e0c2dace85fdeb6832502144f7d611ac1d9de8baf0bd4d8b8f6b45b735f6af31c889c4624f7e84a2afb18600e75c8866fffe95fd486d7d2bf1567
7
+ data.tar.gz: f54d1a6e9aa70055ce89942e0ec29778bc5a36114703605826b185981a9e2d9b83f12b7db79448812c67477bd74dc3e8d8b2e8b13a7bcf3f864d0db349840147
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.13.0 (2021-06-03)
4
+
5
+ * Regenerated from discovery document revision 20210527
6
+ * Regenerated using generator version 0.3.0
7
+
3
8
  ### v0.12.0 (2021-05-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20210520
@@ -4353,6 +4353,44 @@ module Google
4353
4353
  end
4354
4354
  end
4355
4355
 
4356
+ # The long running operation metadata for delete processor method.
4357
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
4358
+ include Google::Apis::Core::Hashable
4359
+
4360
+ # The common metadata for long running operations.
4361
+ # Corresponds to the JSON property `commonMetadata`
4362
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4363
+ attr_accessor :common_metadata
4364
+
4365
+ def initialize(**args)
4366
+ update!(**args)
4367
+ end
4368
+
4369
+ # Update properties of this object
4370
+ def update!(**args)
4371
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4372
+ end
4373
+ end
4374
+
4375
+ # The long running operation metadata for disable processor method.
4376
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
4377
+ include Google::Apis::Core::Hashable
4378
+
4379
+ # The common metadata for long running operations.
4380
+ # Corresponds to the JSON property `commonMetadata`
4381
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4382
+ attr_accessor :common_metadata
4383
+
4384
+ def initialize(**args)
4385
+ update!(**args)
4386
+ end
4387
+
4388
+ # Update properties of this object
4389
+ def update!(**args)
4390
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4391
+ end
4392
+ end
4393
+
4356
4394
  # Request message for the disable processor method.
4357
4395
  class GoogleCloudDocumentaiV1beta3DisableProcessorRequest
4358
4396
  include Google::Apis::Core::Hashable
@@ -4366,6 +4404,20 @@ module Google
4366
4404
  end
4367
4405
  end
4368
4406
 
4407
+ # Response message for the disable processor method. Intentionally empty proto
4408
+ # for adding fields in future.
4409
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
4410
+ include Google::Apis::Core::Hashable
4411
+
4412
+ def initialize(**args)
4413
+ update!(**args)
4414
+ end
4415
+
4416
+ # Update properties of this object
4417
+ def update!(**args)
4418
+ end
4419
+ end
4420
+
4369
4421
  # Document represents the canonical document resource in Document Understanding
4370
4422
  # AI. It is an interchange format that provides insights into documents and
4371
4423
  # allows for collaboration between users and Document Understanding AI to
@@ -5812,6 +5864,25 @@ module Google
5812
5864
  end
5813
5865
  end
5814
5866
 
5867
+ # The long running operation metadata for enable processor method.
5868
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
5869
+ include Google::Apis::Core::Hashable
5870
+
5871
+ # The common metadata for long running operations.
5872
+ # Corresponds to the JSON property `commonMetadata`
5873
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5874
+ attr_accessor :common_metadata
5875
+
5876
+ def initialize(**args)
5877
+ update!(**args)
5878
+ end
5879
+
5880
+ # Update properties of this object
5881
+ def update!(**args)
5882
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5883
+ end
5884
+ end
5885
+
5815
5886
  # Request message for the enable processor method.
5816
5887
  class GoogleCloudDocumentaiV1beta3EnableProcessorRequest
5817
5888
  include Google::Apis::Core::Hashable
@@ -5825,6 +5896,20 @@ module Google
5825
5896
  end
5826
5897
  end
5827
5898
 
5899
+ # Response message for the enable processor method. Intentionally empty proto
5900
+ # for adding fields in future.
5901
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
5902
+ include Google::Apis::Core::Hashable
5903
+
5904
+ def initialize(**args)
5905
+ update!(**args)
5906
+ end
5907
+
5908
+ # Update properties of this object
5909
+ def update!(**args)
5910
+ end
5911
+ end
5912
+
5828
5913
  # Response message for fetch processor types.
5829
5914
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
5830
5915
  include Google::Apis::Core::Hashable
@@ -6296,7 +6381,7 @@ module Google
6296
6381
  end
6297
6382
  end
6298
6383
 
6299
- # Request message for review document method.
6384
+ # Request message for review document method. Next Id: 5.
6300
6385
  class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
6301
6386
  include Google::Apis::Core::Hashable
6302
6387
 
@@ -6308,6 +6393,12 @@ module Google
6308
6393
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
6309
6394
  attr_accessor :document
6310
6395
 
6396
+ # Whether the validation should be performed on the ad-hoc review request.
6397
+ # Corresponds to the JSON property `enableSchemaValidation`
6398
+ # @return [Boolean]
6399
+ attr_accessor :enable_schema_validation
6400
+ alias_method :enable_schema_validation?, :enable_schema_validation
6401
+
6311
6402
  # Document represents the canonical document resource in Document Understanding
6312
6403
  # AI. It is an interchange format that provides insights into documents and
6313
6404
  # allows for collaboration between users and Document Understanding AI to
@@ -6323,6 +6414,7 @@ module Google
6323
6414
  # Update properties of this object
6324
6415
  def update!(**args)
6325
6416
  @document = args[:document] if args.key?(:document)
6417
+ @enable_schema_validation = args[:enable_schema_validation] if args.key?(:enable_schema_validation)
6326
6418
  @inline_document = args[:inline_document] if args.key?(:inline_document)
6327
6419
  end
6328
6420
  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.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210520"
25
+ REVISION = "20210527"
26
26
  end
27
27
  end
28
28
  end
@@ -760,12 +760,30 @@ module Google
760
760
  include Google::Apis::Core::JsonObjectSupport
761
761
  end
762
762
 
763
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
763
775
  class GoogleCloudDocumentaiV1beta3DisableProcessorRequest
764
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
765
777
 
766
778
  include Google::Apis::Core::JsonObjectSupport
767
779
  end
768
780
 
781
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
769
787
  class GoogleCloudDocumentaiV1beta3Document
770
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
789
 
@@ -970,12 +988,24 @@ module Google
970
988
  include Google::Apis::Core::JsonObjectSupport
971
989
  end
972
990
 
991
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
973
997
  class GoogleCloudDocumentaiV1beta3EnableProcessorRequest
974
998
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
999
 
976
1000
  include Google::Apis::Core::JsonObjectSupport
977
1001
  end
978
1002
 
1003
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
979
1009
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
980
1010
  class Representation < Google::Apis::Core::JsonRepresentation; end
981
1011
 
@@ -2461,12 +2491,34 @@ module Google
2461
2491
  end
2462
2492
  end
2463
2493
 
2494
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
2495
+ # @private
2496
+ class Representation < Google::Apis::Core::JsonRepresentation
2497
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2498
+
2499
+ end
2500
+ end
2501
+
2502
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
2503
+ # @private
2504
+ class Representation < Google::Apis::Core::JsonRepresentation
2505
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2506
+
2507
+ end
2508
+ end
2509
+
2464
2510
  class GoogleCloudDocumentaiV1beta3DisableProcessorRequest
2465
2511
  # @private
2466
2512
  class Representation < Google::Apis::Core::JsonRepresentation
2467
2513
  end
2468
2514
  end
2469
2515
 
2516
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
2517
+ # @private
2518
+ class Representation < Google::Apis::Core::JsonRepresentation
2519
+ end
2520
+ end
2521
+
2470
2522
  class GoogleCloudDocumentaiV1beta3Document
2471
2523
  # @private
2472
2524
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2875,12 +2927,26 @@ module Google
2875
2927
  end
2876
2928
  end
2877
2929
 
2930
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
2931
+ # @private
2932
+ class Representation < Google::Apis::Core::JsonRepresentation
2933
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2934
+
2935
+ end
2936
+ end
2937
+
2878
2938
  class GoogleCloudDocumentaiV1beta3EnableProcessorRequest
2879
2939
  # @private
2880
2940
  class Representation < Google::Apis::Core::JsonRepresentation
2881
2941
  end
2882
2942
  end
2883
2943
 
2944
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
2945
+ # @private
2946
+ class Representation < Google::Apis::Core::JsonRepresentation
2947
+ end
2948
+ end
2949
+
2884
2950
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
2885
2951
  # @private
2886
2952
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3022,6 +3088,7 @@ module Google
3022
3088
  class Representation < Google::Apis::Core::JsonRepresentation
3023
3089
  property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
3024
3090
 
3091
+ property :enable_schema_validation, as: 'enableSchemaValidation'
3025
3092
  property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
3026
3093
 
3027
3094
  end
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.12.0
4
+ version: 0.13.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-05-31 00:00:00.000000000 Z
11
+ date: 2021-06-07 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.12.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.13.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: []