google-apis-documentai_v1 0.69.0 → 0.71.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: ce89a709df8bf1971bd9242407ba2f2f94e9eef17475ddbb3483c3ffb6ff2256
4
- data.tar.gz: 6686d2a00ab1d4fa85f6d947ca1c943f6673170ef5379e354ae541a2392c6fda
3
+ metadata.gz: 938e6cd21706d1c27185a5c27323bb0bdb5e3f31bd367ce0a827d002a49b11a5
4
+ data.tar.gz: 2a8fd8192e0271db1b7aba2381ba28703970bbf1c6e3adb18b11b576e62dfbb4
5
5
  SHA512:
6
- metadata.gz: 41465e7d1a0610bea2e160bec4792edf39f78110d21b4b983a38e9f6b8d71ae5cc98d819eb9cfb750d96c546c69ae3b3b5990d0b7172bd77328994abe66b6593
7
- data.tar.gz: 2f8098594f0048a1d9488ee26ba59c78011f0df5b347c17b57a7ef72a4ebdc4ba0fab59cf6e1cacddd238e6394338e5e91fdf93ae2e2d04fae39622839f3c289
6
+ metadata.gz: ee0822f912d90d1ceb03f3eeab502eb0cfaf849f9fced138fbbd7c0a909aee51db7e031fb9872bb49babee39b87e88587e127f7f19dc4fda5585e73bff5265e0
7
+ data.tar.gz: 7b4d057de6678ba97398f7c39d43844596b8f3e7abfe9006ae26c0f325758c7291b2eceb0a4c13f901e692d9d1bf69e230926c8658dbc4acb3357d3e2862ce4f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.71.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230721
6
+
7
+ ### v0.70.0 (2023-07-23)
8
+
9
+ * Regenerated from discovery document revision 20230719
10
+
3
11
  ### v0.69.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
 
@@ -4678,6 +4678,11 @@ module Google
4678
4678
  # @return [String]
4679
4679
  attr_accessor :process_endpoint
4680
4680
 
4681
+ # Output only. The processor version aliases.
4682
+ # Corresponds to the JSON property `processorVersionAliases`
4683
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias>]
4684
+ attr_accessor :processor_version_aliases
4685
+
4681
4686
  # Output only. The state of the processor.
4682
4687
  # Corresponds to the JSON property `state`
4683
4688
  # @return [String]
@@ -4701,6 +4706,7 @@ module Google
4701
4706
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
4702
4707
  @name = args[:name] if args.key?(:name)
4703
4708
  @process_endpoint = args[:process_endpoint] if args.key?(:process_endpoint)
4709
+ @processor_version_aliases = args[:processor_version_aliases] if args.key?(:processor_version_aliases)
4704
4710
  @state = args[:state] if args.key?(:state)
4705
4711
  @type = args[:type] if args.key?(:type)
4706
4712
  end
@@ -4812,7 +4818,7 @@ module Google
4812
4818
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
4813
4819
  attr_accessor :document_schema
4814
4820
 
4815
- # Denotes that this `ProcessorVersion` is managed by Google.
4821
+ # Output only. Denotes that this `ProcessorVersion` is managed by Google.
4816
4822
  # Corresponds to the JSON property `googleManaged`
4817
4823
  # @return [Boolean]
4818
4824
  attr_accessor :google_managed
@@ -4864,6 +4870,31 @@ module Google
4864
4870
  end
4865
4871
  end
4866
4872
 
4873
+ # Contains the alias and the aliased resource name of processor version.
4874
+ class GoogleCloudDocumentaiV1ProcessorVersionAlias
4875
+ include Google::Apis::Core::Hashable
4876
+
4877
+ # The alias in the form of `processor_version` resource name.
4878
+ # Corresponds to the JSON property `alias`
4879
+ # @return [String]
4880
+ attr_accessor :alias
4881
+
4882
+ # The resource name of aliased processor version.
4883
+ # Corresponds to the JSON property `processorVersion`
4884
+ # @return [String]
4885
+ attr_accessor :processor_version
4886
+
4887
+ def initialize(**args)
4888
+ update!(**args)
4889
+ end
4890
+
4891
+ # Update properties of this object
4892
+ def update!(**args)
4893
+ @alias = args[:alias] if args.key?(:alias)
4894
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
4895
+ end
4896
+ end
4897
+
4867
4898
  # Information about the upcoming deprecation of this processor version.
4868
4899
  class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
4869
4900
  include Google::Apis::Core::Hashable
@@ -4899,6 +4930,13 @@ module Google
4899
4930
  # @return [String]
4900
4931
  attr_accessor :content
4901
4932
 
4933
+ # The display name of the document, it supports all Unicode characters except
4934
+ # the following: `*`, `?`, `[`, `]`, `%`, ```, ```,`'`, `\"`, `,` `~`, `=` and `:
4935
+ # ` are reserved. If not specified, a default ID will be generated.
4936
+ # Corresponds to the JSON property `displayName`
4937
+ # @return [String]
4938
+ attr_accessor :display_name
4939
+
4902
4940
  # An IANA MIME type (RFC6838) indicating the nature and format of the content.
4903
4941
  # Corresponds to the JSON property `mimeType`
4904
4942
  # @return [String]
@@ -4911,6 +4949,7 @@ module Google
4911
4949
  # Update properties of this object
4912
4950
  def update!(**args)
4913
4951
  @content = args[:content] if args.key?(:content)
4952
+ @display_name = args[:display_name] if args.key?(:display_name)
4914
4953
  @mime_type = args[:mime_type] if args.key?(:mime_type)
4915
4954
  end
4916
4955
  end
@@ -10288,9 +10327,9 @@ module Google
10288
10327
  end
10289
10328
  end
10290
10329
 
10291
- # The validation status of each import config. Status is set to errors if there
10292
- # is no documents to import in the import_config, or OK if the operation will
10293
- # try to proceed at least one document.
10330
+ # The validation status of each import config. Status is set to an error if
10331
+ # there are no documents to import in the `import_config`, or `OK` if the
10332
+ # operation will try to proceed with at least one document.
10294
10333
  class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
10295
10334
  include Google::Apis::Core::Hashable
10296
10335
 
@@ -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.69.0"
19
+ GEM_VERSION = "0.71.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
@@ -904,6 +904,12 @@ module Google
904
904
  include Google::Apis::Core::JsonObjectSupport
905
905
  end
906
906
 
907
+ class GoogleCloudDocumentaiV1ProcessorVersionAlias
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
907
913
  class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
908
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
915
 
@@ -3361,6 +3367,8 @@ module Google
3361
3367
  property :kms_key_name, as: 'kmsKeyName'
3362
3368
  property :name, as: 'name'
3363
3369
  property :process_endpoint, as: 'processEndpoint'
3370
+ collection :processor_version_aliases, as: 'processorVersionAliases', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias::Representation
3371
+
3364
3372
  property :state, as: 'state'
3365
3373
  property :type, as: 'type'
3366
3374
  end
@@ -3406,6 +3414,14 @@ module Google
3406
3414
  end
3407
3415
  end
3408
3416
 
3417
+ class GoogleCloudDocumentaiV1ProcessorVersionAlias
3418
+ # @private
3419
+ class Representation < Google::Apis::Core::JsonRepresentation
3420
+ property :alias, as: 'alias'
3421
+ property :processor_version, as: 'processorVersion'
3422
+ end
3423
+ end
3424
+
3409
3425
  class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
3410
3426
  # @private
3411
3427
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3418,6 +3434,7 @@ module Google
3418
3434
  # @private
3419
3435
  class Representation < Google::Apis::Core::JsonRepresentation
3420
3436
  property :content, :base64 => true, as: 'content'
3437
+ property :display_name, as: 'displayName'
3421
3438
  property :mime_type, as: 'mimeType'
3422
3439
  end
3423
3440
  end
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.69.0
4
+ version: 0.71.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.71.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: []