google-apis-documentai_v1beta3 0.78.0 → 0.80.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: f2feb1428413253c80ba6c3b428a66cac71aa501ed16da7295b8cd64564e0f2d
4
- data.tar.gz: 4c750aa253a764085e9395ce9f406d4e52758aeffcdaa5331dea05be6d9aabcf
3
+ metadata.gz: a87d4e1f924ef14e0e94121f3cb99744f7083ee18003bd339cd28de8715095c5
4
+ data.tar.gz: 9a9fb0169457c9f7ef47a28ab2e55a2f976679dbf29781ded0d6159ac02d4383
5
5
  SHA512:
6
- metadata.gz: e7c59fb50cb84eb8540668ce57b434f1eb1b8d359a96a116957a943b04ba13fa9445d31fa09db785ec838a4d8e82b9750e9d57adc0f8ea255abc69f38b56993f
7
- data.tar.gz: d623e16eef23c03962b9c00e1b63e6f8b4caf46ed1c9167b3bb15126fe28f7af3691540fada859252c2d2b33d237b2245439987210c141d69ece8da04700aa09
6
+ metadata.gz: 74de878f1dbcbc493a4b94064615365d6943cafafab0907971a3b7fb5e76fcabfcd5b902bea84cc0acc5dadd8177484a42a53f0d6d970f0f6c0312727f40654e
7
+ data.tar.gz: 2949efd3c849aa25e39a514669b14fcbb971c52e4d055ff02c754843f3c9d8c340f2546d3c513a29ebf8c80406f015c5dc9382a7e8c6911e70ad468d1ec26e93
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.80.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230804
6
+
7
+ ### v0.79.0 (2023-08-03)
8
+
9
+ * Regenerated from discovery document revision 20230721
10
+
3
11
  ### v0.78.0 (2023-07-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230719
@@ -772,9 +772,9 @@ module Google
772
772
  end
773
773
  end
774
774
 
775
- # The validation status of each import config. Status is set to errors if there
776
- # is no documents to import in the import_config, or OK if the operation will
777
- # try to proceed at least one document.
775
+ # The validation status of each import config. Status is set to an error if
776
+ # there are no documents to import in the `import_config`, or `OK` if the
777
+ # operation will try to proceed with at least one document.
778
778
  class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
779
779
  include Google::Apis::Core::Hashable
780
780
 
@@ -6370,11 +6370,6 @@ module Google
6370
6370
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix]
6371
6371
  attr_accessor :gcs_prefix
6372
6372
 
6373
- # Specifies a set of raw documents.
6374
- # Corresponds to the JSON property `rawDocuments`
6375
- # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocuments]
6376
- attr_accessor :raw_documents
6377
-
6378
6373
  def initialize(**args)
6379
6374
  update!(**args)
6380
6375
  end
@@ -6383,7 +6378,6 @@ module Google
6383
6378
  def update!(**args)
6384
6379
  @gcs_documents = args[:gcs_documents] if args.key?(:gcs_documents)
6385
6380
  @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
6386
- @raw_documents = args[:raw_documents] if args.key?(:raw_documents)
6387
6381
  end
6388
6382
  end
6389
6383
 
@@ -9697,9 +9691,9 @@ module Google
9697
9691
  end
9698
9692
  end
9699
9693
 
9700
- # The validation status of each import config. Status is set to errors if there
9701
- # is no documents to import in the import_config, or OK if the operation will
9702
- # try to proceed at least one document.
9694
+ # The validation status of each import config. Status is set to an error if
9695
+ # there are no documents to import in the `import_config`, or `OK` if the
9696
+ # operation will try to proceed with at least one document.
9703
9697
  class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
9704
9698
  include Google::Apis::Core::Hashable
9705
9699
 
@@ -9867,15 +9861,19 @@ module Google
9867
9861
  end
9868
9862
 
9869
9863
  # The request message for the ImportProcessorVersion method. Requirements: - The
9870
- # source processor version and destination processor must be in the same
9871
- # location. - The Document AI [Service Agent](https://cloud.google.com/iam/docs/
9872
- # service-agents) of the destination project must have [Document AI Editor role](
9873
- # https://cloud.google.com/document-ai/docs/access-control/iam-roles) on the
9874
- # source project. The destination project is specified as part of the parent
9875
- # field. The source project is specified as part of the source field.
9864
+ # Document AI [Service Agent](https://cloud.google.com/iam/docs/service-agents)
9865
+ # of the destination project must have [Document AI Editor role](https://cloud.
9866
+ # google.com/document-ai/docs/access-control/iam-roles) on the source project.
9867
+ # The destination project is specified as part of the parent field. The source
9868
+ # project is specified as part of the source field.
9876
9869
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
9877
9870
  include Google::Apis::Core::Hashable
9878
9871
 
9872
+ # The external source processor version.
9873
+ # Corresponds to the JSON property `externalProcessorVersionSource`
9874
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource]
9875
+ attr_accessor :external_processor_version_source
9876
+
9879
9877
  # The source processor version to import from. The source processor version and
9880
9878
  # destination processor need to be in the same environment and region.
9881
9879
  # Corresponds to the JSON property `processorVersionSource`
@@ -9888,10 +9886,38 @@ module Google
9888
9886
 
9889
9887
  # Update properties of this object
9890
9888
  def update!(**args)
9889
+ @external_processor_version_source = args[:external_processor_version_source] if args.key?(:external_processor_version_source)
9891
9890
  @processor_version_source = args[:processor_version_source] if args.key?(:processor_version_source)
9892
9891
  end
9893
9892
  end
9894
9893
 
9894
+ # The external source processor version.
9895
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource
9896
+ include Google::Apis::Core::Hashable
9897
+
9898
+ # Required. The processor version name. Format: `projects/`project`/locations/`
9899
+ # location`/processors/`processor`/processorVersions/`processorVersion``
9900
+ # Corresponds to the JSON property `processorVersion`
9901
+ # @return [String]
9902
+ attr_accessor :processor_version
9903
+
9904
+ # Optional. The Document AI service endpoint. For example, 'https://us-
9905
+ # documentai.googleapis.com'
9906
+ # Corresponds to the JSON property `serviceEndpoint`
9907
+ # @return [String]
9908
+ attr_accessor :service_endpoint
9909
+
9910
+ def initialize(**args)
9911
+ update!(**args)
9912
+ end
9913
+
9914
+ # Update properties of this object
9915
+ def update!(**args)
9916
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
9917
+ @service_endpoint = args[:service_endpoint] if args.key?(:service_endpoint)
9918
+ end
9919
+ end
9920
+
9895
9921
  # The response message for the ImportProcessorVersion method.
9896
9922
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
9897
9923
  include Google::Apis::Core::Hashable
@@ -10051,7 +10077,8 @@ module Google
10051
10077
  # @return [Array<String>]
10052
10078
  attr_accessor :advanced_ocr_options
10053
10079
 
10054
- # Turn on font id model and returns font style information.
10080
+ # Turn on font id model and returns font style information. Use PremiumFeatures.
10081
+ # compute_style_info instead.
10055
10082
  # Corresponds to the JSON property `computeStyleInfo`
10056
10083
  # @return [Boolean]
10057
10084
  attr_accessor :compute_style_info
@@ -10279,6 +10306,11 @@ module Google
10279
10306
  # @return [String]
10280
10307
  attr_accessor :process_endpoint
10281
10308
 
10309
+ # Output only. The processor version aliases.
10310
+ # Corresponds to the JSON property `processorVersionAliases`
10311
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionAlias>]
10312
+ attr_accessor :processor_version_aliases
10313
+
10282
10314
  # Output only. The state of the processor.
10283
10315
  # Corresponds to the JSON property `state`
10284
10316
  # @return [String]
@@ -10302,6 +10334,7 @@ module Google
10302
10334
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
10303
10335
  @name = args[:name] if args.key?(:name)
10304
10336
  @process_endpoint = args[:process_endpoint] if args.key?(:process_endpoint)
10337
+ @processor_version_aliases = args[:processor_version_aliases] if args.key?(:processor_version_aliases)
10305
10338
  @state = args[:state] if args.key?(:state)
10306
10339
  @type = args[:type] if args.key?(:type)
10307
10340
  end
@@ -10465,6 +10498,31 @@ module Google
10465
10498
  end
10466
10499
  end
10467
10500
 
10501
+ # Contains the alias and the aliased resource name of processor version.
10502
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
10503
+ include Google::Apis::Core::Hashable
10504
+
10505
+ # The alias in the form of `processor_version` resource name.
10506
+ # Corresponds to the JSON property `alias`
10507
+ # @return [String]
10508
+ attr_accessor :alias
10509
+
10510
+ # The resource name of aliased processor version.
10511
+ # Corresponds to the JSON property `processorVersion`
10512
+ # @return [String]
10513
+ attr_accessor :processor_version
10514
+
10515
+ def initialize(**args)
10516
+ update!(**args)
10517
+ end
10518
+
10519
+ # Update properties of this object
10520
+ def update!(**args)
10521
+ @alias = args[:alias] if args.key?(:alias)
10522
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
10523
+ end
10524
+ end
10525
+
10468
10526
  # Information about the upcoming deprecation of this processor version.
10469
10527
  class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
10470
10528
  include Google::Apis::Core::Hashable
@@ -10520,6 +10578,13 @@ module Google
10520
10578
  # @return [String]
10521
10579
  attr_accessor :content
10522
10580
 
10581
+ # The display name of the document, it supports all Unicode characters except
10582
+ # the following: `*`, `?`, `[`, `]`, `%`, ```, ```,`'`, `\"`, `,` `~`, `=` and `:
10583
+ # ` are reserved. If not specified, a default ID will be generated.
10584
+ # Corresponds to the JSON property `displayName`
10585
+ # @return [String]
10586
+ attr_accessor :display_name
10587
+
10523
10588
  # An IANA MIME type (RFC6838) indicating the nature and format of the content.
10524
10589
  # Corresponds to the JSON property `mimeType`
10525
10590
  # @return [String]
@@ -10532,29 +10597,11 @@ module Google
10532
10597
  # Update properties of this object
10533
10598
  def update!(**args)
10534
10599
  @content = args[:content] if args.key?(:content)
10600
+ @display_name = args[:display_name] if args.key?(:display_name)
10535
10601
  @mime_type = args[:mime_type] if args.key?(:mime_type)
10536
10602
  end
10537
10603
  end
10538
10604
 
10539
- # Specifies a set of raw documents.
10540
- class GoogleCloudDocumentaiV1beta3RawDocuments
10541
- include Google::Apis::Core::Hashable
10542
-
10543
- # Specifies raw document content and mime type.
10544
- # Corresponds to the JSON property `documents`
10545
- # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument>]
10546
- attr_accessor :documents
10547
-
10548
- def initialize(**args)
10549
- update!(**args)
10550
- end
10551
-
10552
- # Update properties of this object
10553
- def update!(**args)
10554
- @documents = args[:documents] if args.key?(:documents)
10555
- end
10556
- end
10557
-
10558
10605
  # The long-running operation metadata for the ReviewDocument method.
10559
10606
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
10560
10607
  include Google::Apis::Core::Hashable
@@ -11184,13 +11231,13 @@ module Google
11184
11231
  # @return [String]
11185
11232
  attr_accessor :name
11186
11233
 
11187
- # The normal response of the operation in case of success. If the original
11188
- # method returns no data on success, such as `Delete`, the response is `google.
11189
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
11190
- # the response should be the resource. For other methods, the response should
11191
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
11192
- # example, if the original method name is `TakeSnapshot()`, the inferred
11193
- # response type is `TakeSnapshotResponse`.
11234
+ # The normal, successful response of the operation. If the original method
11235
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
11236
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
11237
+ # response should be the resource. For other methods, the response should have
11238
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
11239
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
11240
+ # `TakeSnapshotResponse`.
11194
11241
  # Corresponds to the JSON property `response`
11195
11242
  # @return [Hash<String,Object>]
11196
11243
  attr_accessor :response
@@ -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.78.0"
19
+ GEM_VERSION = "0.80.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230719"
25
+ REVISION = "20230804"
26
26
  end
27
27
  end
28
28
  end
@@ -1714,6 +1714,12 @@ module Google
1714
1714
  include Google::Apis::Core::JsonObjectSupport
1715
1715
  end
1716
1716
 
1717
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource
1718
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1719
+
1720
+ include Google::Apis::Core::JsonObjectSupport
1721
+ end
1722
+
1717
1723
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
1718
1724
  class Representation < Google::Apis::Core::JsonRepresentation; end
1719
1725
 
@@ -1804,25 +1810,25 @@ module Google
1804
1810
  include Google::Apis::Core::JsonObjectSupport
1805
1811
  end
1806
1812
 
1807
- class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
1813
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
1808
1814
  class Representation < Google::Apis::Core::JsonRepresentation; end
1809
1815
 
1810
1816
  include Google::Apis::Core::JsonObjectSupport
1811
1817
  end
1812
1818
 
1813
- class GoogleCloudDocumentaiV1beta3PropertyMetadata
1819
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
1814
1820
  class Representation < Google::Apis::Core::JsonRepresentation; end
1815
1821
 
1816
1822
  include Google::Apis::Core::JsonObjectSupport
1817
1823
  end
1818
1824
 
1819
- class GoogleCloudDocumentaiV1beta3RawDocument
1825
+ class GoogleCloudDocumentaiV1beta3PropertyMetadata
1820
1826
  class Representation < Google::Apis::Core::JsonRepresentation; end
1821
1827
 
1822
1828
  include Google::Apis::Core::JsonObjectSupport
1823
1829
  end
1824
1830
 
1825
- class GoogleCloudDocumentaiV1beta3RawDocuments
1831
+ class GoogleCloudDocumentaiV1beta3RawDocument
1826
1832
  class Representation < Google::Apis::Core::JsonRepresentation; end
1827
1833
 
1828
1834
  include Google::Apis::Core::JsonObjectSupport
@@ -3898,8 +3904,6 @@ module Google
3898
3904
 
3899
3905
  property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix::Representation
3900
3906
 
3901
- property :raw_documents, as: 'rawDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocuments, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocuments::Representation
3902
-
3903
3907
  end
3904
3908
  end
3905
3909
 
@@ -4930,10 +4934,20 @@ module Google
4930
4934
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
4931
4935
  # @private
4932
4936
  class Representation < Google::Apis::Core::JsonRepresentation
4937
+ property :external_processor_version_source, as: 'externalProcessorVersionSource', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource::Representation
4938
+
4933
4939
  property :processor_version_source, as: 'processorVersionSource'
4934
4940
  end
4935
4941
  end
4936
4942
 
4943
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource
4944
+ # @private
4945
+ class Representation < Google::Apis::Core::JsonRepresentation
4946
+ property :processor_version, as: 'processorVersion'
4947
+ property :service_endpoint, as: 'serviceEndpoint'
4948
+ end
4949
+ end
4950
+
4937
4951
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
4938
4952
  # @private
4939
4953
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5051,6 +5065,8 @@ module Google
5051
5065
  property :kms_key_name, as: 'kmsKeyName'
5052
5066
  property :name, as: 'name'
5053
5067
  property :process_endpoint, as: 'processEndpoint'
5068
+ collection :processor_version_aliases, as: 'processorVersionAliases', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionAlias, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionAlias::Representation
5069
+
5054
5070
  property :state, as: 'state'
5055
5071
  property :type, as: 'type'
5056
5072
  end
@@ -5096,6 +5112,14 @@ module Google
5096
5112
  end
5097
5113
  end
5098
5114
 
5115
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
5116
+ # @private
5117
+ class Representation < Google::Apis::Core::JsonRepresentation
5118
+ property :alias, as: 'alias'
5119
+ property :processor_version, as: 'processorVersion'
5120
+ end
5121
+ end
5122
+
5099
5123
  class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
5100
5124
  # @private
5101
5125
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5115,18 +5139,11 @@ module Google
5115
5139
  # @private
5116
5140
  class Representation < Google::Apis::Core::JsonRepresentation
5117
5141
  property :content, :base64 => true, as: 'content'
5142
+ property :display_name, as: 'displayName'
5118
5143
  property :mime_type, as: 'mimeType'
5119
5144
  end
5120
5145
  end
5121
5146
 
5122
- class GoogleCloudDocumentaiV1beta3RawDocuments
5123
- # @private
5124
- class Representation < Google::Apis::Core::JsonRepresentation
5125
- collection :documents, as: 'documents', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument::Representation
5126
-
5127
- end
5128
- end
5129
-
5130
5147
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
5131
5148
  # @private
5132
5149
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.78.0
4
+ version: 0.80.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: 2023-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-13 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.78.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.80.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: []