google-apis-documentai_v1beta3 0.77.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: 4a1900e9e5c8b3ba3751f7f27610b396ad66cefff21b9da5cfadfb2ffa1429f4
4
- data.tar.gz: 8054771adaf8469a4f633d3d97c8f8dbc9b9c9e13190677893b6f5c2df59a5fe
3
+ metadata.gz: 55811f7ae22453ad5b4eec16861d82d808af661f3b5df30ce1cb8204f087953d
4
+ data.tar.gz: b7e69b67b9a641065f5a2acb10e555379f8a60e0db83636561b432f2e16ac6d9
5
5
  SHA512:
6
- metadata.gz: a0f2cf6ad57a51d3ebd5a9fde38543b42757e972ace6a7f636de57540a0c6ee1fac8284d1c9737db81a588f2b74c33714cc95dd57f78a3539ed8ecd3606a1384
7
- data.tar.gz: 7e835b39efe4a1aab7e444330ddd3b44c7da7a835046f80664fccaa18f263ef663f6b4c3342bddc752e8f336f75c3248cf3dcd958382a378953f69d7a896eba5
6
+ metadata.gz: 064cf7ebbdc514be92bdfcedd174c98a793e3e629dcd30a94741c9012b3694e2d3f5b0625a396f1f942b82237a2807b01d1634569bac4cd1184ce3a185084943
7
+ data.tar.gz: 41ed65352d25333f3833e58f3ac5189283b364371aad2e367910a6b9de124f9ccc71bfe22596c7b16d6c95a8de361019fcbc4e3f4e9abd878bb69cd2cebd663b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.78.0 (2023-07-23)
8
+
9
+ * Regenerated from discovery document revision 20230719
10
+
3
11
  ### v0.77.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230706
@@ -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
 
@@ -9691,9 +9691,9 @@ module Google
9691
9691
  end
9692
9692
  end
9693
9693
 
9694
- # The validation status of each import config. Status is set to errors if there
9695
- # is no documents to import in the import_config, or OK if the operation will
9696
- # 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.
9697
9697
  class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
9698
9698
  include Google::Apis::Core::Hashable
9699
9699
 
@@ -9861,15 +9861,19 @@ module Google
9861
9861
  end
9862
9862
 
9863
9863
  # The request message for the ImportProcessorVersion method. Requirements: - The
9864
- # source processor version and destination processor must be in the same
9865
- # location. - The Document AI [Service Agent](https://cloud.google.com/iam/docs/
9866
- # service-agents) of the destination project must have [Document AI Editor role](
9867
- # https://cloud.google.com/document-ai/docs/access-control/iam-roles) on the
9868
- # source project. The destination project is specified as part of the parent
9869
- # 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.
9870
9869
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
9871
9870
  include Google::Apis::Core::Hashable
9872
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
+
9873
9877
  # The source processor version to import from. The source processor version and
9874
9878
  # destination processor need to be in the same environment and region.
9875
9879
  # Corresponds to the JSON property `processorVersionSource`
@@ -9882,10 +9886,38 @@ module Google
9882
9886
 
9883
9887
  # Update properties of this object
9884
9888
  def update!(**args)
9889
+ @external_processor_version_source = args[:external_processor_version_source] if args.key?(:external_processor_version_source)
9885
9890
  @processor_version_source = args[:processor_version_source] if args.key?(:processor_version_source)
9886
9891
  end
9887
9892
  end
9888
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
+
9889
9921
  # The response message for the ImportProcessorVersion method.
9890
9922
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
9891
9923
  include Google::Apis::Core::Hashable
@@ -10273,6 +10305,11 @@ module Google
10273
10305
  # @return [String]
10274
10306
  attr_accessor :process_endpoint
10275
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
+
10276
10313
  # Output only. The state of the processor.
10277
10314
  # Corresponds to the JSON property `state`
10278
10315
  # @return [String]
@@ -10296,6 +10333,7 @@ module Google
10296
10333
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
10297
10334
  @name = args[:name] if args.key?(:name)
10298
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)
10299
10337
  @state = args[:state] if args.key?(:state)
10300
10338
  @type = args[:type] if args.key?(:type)
10301
10339
  end
@@ -10407,7 +10445,7 @@ module Google
10407
10445
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
10408
10446
  attr_accessor :document_schema
10409
10447
 
10410
- # Denotes that this `ProcessorVersion` is managed by Google.
10448
+ # Output only. Denotes that this `ProcessorVersion` is managed by Google.
10411
10449
  # Corresponds to the JSON property `googleManaged`
10412
10450
  # @return [Boolean]
10413
10451
  attr_accessor :google_managed
@@ -10459,6 +10497,31 @@ module Google
10459
10497
  end
10460
10498
  end
10461
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
+
10462
10525
  # Information about the upcoming deprecation of this processor version.
10463
10526
  class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
10464
10527
  include Google::Apis::Core::Hashable
@@ -10514,6 +10577,13 @@ module Google
10514
10577
  # @return [String]
10515
10578
  attr_accessor :content
10516
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
+
10517
10587
  # An IANA MIME type (RFC6838) indicating the nature and format of the content.
10518
10588
  # Corresponds to the JSON property `mimeType`
10519
10589
  # @return [String]
@@ -10526,6 +10596,7 @@ module Google
10526
10596
  # Update properties of this object
10527
10597
  def update!(**args)
10528
10598
  @content = args[:content] if args.key?(:content)
10599
+ @display_name = args[:display_name] if args.key?(:display_name)
10529
10600
  @mime_type = args[:mime_type] if args.key?(:mime_type)
10530
10601
  end
10531
10602
  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.77.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 = "20230706"
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,6 +1810,12 @@ module Google
1804
1810
  include Google::Apis::Core::JsonObjectSupport
1805
1811
  end
1806
1812
 
1813
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
1814
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1815
+
1816
+ include Google::Apis::Core::JsonObjectSupport
1817
+ end
1818
+
1807
1819
  class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
1808
1820
  class Representation < Google::Apis::Core::JsonRepresentation; end
1809
1821
 
@@ -4922,10 +4934,20 @@ module Google
4922
4934
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
4923
4935
  # @private
4924
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
+
4925
4939
  property :processor_version_source, as: 'processorVersionSource'
4926
4940
  end
4927
4941
  end
4928
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
+
4929
4951
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
4930
4952
  # @private
4931
4953
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5043,6 +5065,8 @@ module Google
5043
5065
  property :kms_key_name, as: 'kmsKeyName'
5044
5066
  property :name, as: 'name'
5045
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
+
5046
5070
  property :state, as: 'state'
5047
5071
  property :type, as: 'type'
5048
5072
  end
@@ -5088,6 +5112,14 @@ module Google
5088
5112
  end
5089
5113
  end
5090
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
+
5091
5123
  class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
5092
5124
  # @private
5093
5125
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5107,6 +5139,7 @@ module Google
5107
5139
  # @private
5108
5140
  class Representation < Google::Apis::Core::JsonRepresentation
5109
5141
  property :content, :base64 => true, as: 'content'
5142
+ property :display_name, as: 'displayName'
5110
5143
  property :mime_type, as: 'mimeType'
5111
5144
  end
5112
5145
  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.77.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-16 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.77.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: []