google-apis-documentai_v1beta3 0.78.0 → 0.79.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2feb1428413253c80ba6c3b428a66cac71aa501ed16da7295b8cd64564e0f2d
4
- data.tar.gz: 4c750aa253a764085e9395ce9f406d4e52758aeffcdaa5331dea05be6d9aabcf
3
+ metadata.gz: 55811f7ae22453ad5b4eec16861d82d808af661f3b5df30ce1cb8204f087953d
4
+ data.tar.gz: b7e69b67b9a641065f5a2acb10e555379f8a60e0db83636561b432f2e16ac6d9
5
5
  SHA512:
6
- metadata.gz: e7c59fb50cb84eb8540668ce57b434f1eb1b8d359a96a116957a943b04ba13fa9445d31fa09db785ec838a4d8e82b9750e9d57adc0f8ea255abc69f38b56993f
7
- data.tar.gz: d623e16eef23c03962b9c00e1b63e6f8b4caf46ed1c9167b3bb15126fe28f7af3691540fada859252c2d2b33d237b2245439987210c141d69ece8da04700aa09
6
+ metadata.gz: 064cf7ebbdc514be92bdfcedd174c98a793e3e629dcd30a94741c9012b3694e2d3f5b0625a396f1f942b82237a2807b01d1634569bac4cd1184ce3a185084943
7
+ data.tar.gz: 41ed65352d25333f3833e58f3ac5189283b364371aad2e367910a6b9de124f9ccc71bfe22596c7b16d6c95a8de361019fcbc4e3f4e9abd878bb69cd2cebd663b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.79.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230721
6
+
3
7
  ### v0.78.0 (2023-07-23)
4
8
 
5
9
  * 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
@@ -10279,6 +10305,11 @@ module Google
10279
10305
  # @return [String]
10280
10306
  attr_accessor :process_endpoint
10281
10307
 
10308
+ # Output only. The processor version aliases.
10309
+ # Corresponds to the JSON property `processorVersionAliases`
10310
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionAlias>]
10311
+ attr_accessor :processor_version_aliases
10312
+
10282
10313
  # Output only. The state of the processor.
10283
10314
  # Corresponds to the JSON property `state`
10284
10315
  # @return [String]
@@ -10302,6 +10333,7 @@ module Google
10302
10333
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
10303
10334
  @name = args[:name] if args.key?(:name)
10304
10335
  @process_endpoint = args[:process_endpoint] if args.key?(:process_endpoint)
10336
+ @processor_version_aliases = args[:processor_version_aliases] if args.key?(:processor_version_aliases)
10305
10337
  @state = args[:state] if args.key?(:state)
10306
10338
  @type = args[:type] if args.key?(:type)
10307
10339
  end
@@ -10465,6 +10497,31 @@ module Google
10465
10497
  end
10466
10498
  end
10467
10499
 
10500
+ # Contains the alias and the aliased resource name of processor version.
10501
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
10502
+ include Google::Apis::Core::Hashable
10503
+
10504
+ # The alias in the form of `processor_version` resource name.
10505
+ # Corresponds to the JSON property `alias`
10506
+ # @return [String]
10507
+ attr_accessor :alias
10508
+
10509
+ # The resource name of aliased processor version.
10510
+ # Corresponds to the JSON property `processorVersion`
10511
+ # @return [String]
10512
+ attr_accessor :processor_version
10513
+
10514
+ def initialize(**args)
10515
+ update!(**args)
10516
+ end
10517
+
10518
+ # Update properties of this object
10519
+ def update!(**args)
10520
+ @alias = args[:alias] if args.key?(:alias)
10521
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
10522
+ end
10523
+ end
10524
+
10468
10525
  # Information about the upcoming deprecation of this processor version.
10469
10526
  class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
10470
10527
  include Google::Apis::Core::Hashable
@@ -10520,6 +10577,13 @@ module Google
10520
10577
  # @return [String]
10521
10578
  attr_accessor :content
10522
10579
 
10580
+ # The display name of the document, it supports all Unicode characters except
10581
+ # the following: `*`, `?`, `[`, `]`, `%`, ```, ```,`'`, `\"`, `,` `~`, `=` and `:
10582
+ # ` are reserved. If not specified, a default ID will be generated.
10583
+ # Corresponds to the JSON property `displayName`
10584
+ # @return [String]
10585
+ attr_accessor :display_name
10586
+
10523
10587
  # An IANA MIME type (RFC6838) indicating the nature and format of the content.
10524
10588
  # Corresponds to the JSON property `mimeType`
10525
10589
  # @return [String]
@@ -10532,29 +10596,11 @@ module Google
10532
10596
  # Update properties of this object
10533
10597
  def update!(**args)
10534
10598
  @content = args[:content] if args.key?(:content)
10599
+ @display_name = args[:display_name] if args.key?(:display_name)
10535
10600
  @mime_type = args[:mime_type] if args.key?(:mime_type)
10536
10601
  end
10537
10602
  end
10538
10603
 
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
10604
  # The long-running operation metadata for the ReviewDocument method.
10559
10605
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
10560
10606
  include Google::Apis::Core::Hashable
@@ -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.79.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 = "20230721"
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.79.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-06 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.79.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: []