google-apis-documentai_v1 0.88.0 → 0.89.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: 18451549ba3d2769791a1070ce84395ba13dc12aa710c2be787780586df8c9e6
4
- data.tar.gz: 3c69f4c557136d21864a18296f517b51c58cbb48e00e45ef404c692fdbf8646d
3
+ metadata.gz: 87fc1ec1195d97901cdc226643a146a8f49db7327a240bb92373f8cf2974361a
4
+ data.tar.gz: 19c25e5d7226e94c7484c1467309142cb06ff2c92cd33600b82218b156a230d6
5
5
  SHA512:
6
- metadata.gz: a9c483c7db92e7fdcc8bbba6d8b674d6be21458fdfbbaeb6141dbfc2af9a78f02cb300d1dce0499379ced12190455111cb1a36dd81d706d8d20e84608e798d0f
7
- data.tar.gz: e4fc90dca16df8584b76195c8d0955e2391b1f4fae3642e11282381d665a2f33ab599ed19ab6db1c7251ef9726933b82609a9976c000c9d2e5f640774ef85fb3
6
+ metadata.gz: 953dba38d07f2f5b0d03fecd0e31980ca0f8e9fecb0b5f8b2bbdb8a285b338161852e32f7cce08e3176351674a2e72bcedbd8bd477ae13e8176eefe313ba1bb7
7
+ data.tar.gz: e1c993bd6e60a8bca7a70b06efa6d772d372651f2366e2cc94b8cfc1310a1b6a10f2ba1b77306575ae3460b1cf2e021e71280bbddc30084ec3b2ba516c373e9a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.89.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240716
6
+
3
7
  ### v0.88.0 (2024-06-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20240615
@@ -5477,6 +5477,11 @@ module Google
5477
5477
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
5478
5478
  attr_accessor :document_schema
5479
5479
 
5480
+ # Information about Generative AI model-based processor versions.
5481
+ # Corresponds to the JSON property `genAiModelInfo`
5482
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo]
5483
+ attr_accessor :gen_ai_model_info
5484
+
5480
5485
  # Output only. Denotes that this `ProcessorVersion` is managed by Google.
5481
5486
  # Corresponds to the JSON property `googleManaged`
5482
5487
  # @return [Boolean]
@@ -5537,6 +5542,7 @@ module Google
5537
5542
  @deprecation_info = args[:deprecation_info] if args.key?(:deprecation_info)
5538
5543
  @display_name = args[:display_name] if args.key?(:display_name)
5539
5544
  @document_schema = args[:document_schema] if args.key?(:document_schema)
5545
+ @gen_ai_model_info = args[:gen_ai_model_info] if args.key?(:gen_ai_model_info)
5540
5546
  @google_managed = args[:google_managed] if args.key?(:google_managed)
5541
5547
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
5542
5548
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
@@ -5599,6 +5605,87 @@ module Google
5599
5605
  end
5600
5606
  end
5601
5607
 
5608
+ # Information about Generative AI model-based processor versions.
5609
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo
5610
+ include Google::Apis::Core::Hashable
5611
+
5612
+ # Information for a custom Generative AI model created by the user. These are
5613
+ # created with `Create New Version` in either the `Call foundation model` or `
5614
+ # Fine tuning` tabs.
5615
+ # Corresponds to the JSON property `customGenAiModelInfo`
5616
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo]
5617
+ attr_accessor :custom_gen_ai_model_info
5618
+
5619
+ # Information for a pretrained Google-managed foundation model.
5620
+ # Corresponds to the JSON property `foundationGenAiModelInfo`
5621
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo]
5622
+ attr_accessor :foundation_gen_ai_model_info
5623
+
5624
+ def initialize(**args)
5625
+ update!(**args)
5626
+ end
5627
+
5628
+ # Update properties of this object
5629
+ def update!(**args)
5630
+ @custom_gen_ai_model_info = args[:custom_gen_ai_model_info] if args.key?(:custom_gen_ai_model_info)
5631
+ @foundation_gen_ai_model_info = args[:foundation_gen_ai_model_info] if args.key?(:foundation_gen_ai_model_info)
5632
+ end
5633
+ end
5634
+
5635
+ # Information for a custom Generative AI model created by the user. These are
5636
+ # created with `Create New Version` in either the `Call foundation model` or `
5637
+ # Fine tuning` tabs.
5638
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
5639
+ include Google::Apis::Core::Hashable
5640
+
5641
+ # The base processor version ID for the custom model.
5642
+ # Corresponds to the JSON property `baseProcessorVersionId`
5643
+ # @return [String]
5644
+ attr_accessor :base_processor_version_id
5645
+
5646
+ # The type of custom model created by the user.
5647
+ # Corresponds to the JSON property `customModelType`
5648
+ # @return [String]
5649
+ attr_accessor :custom_model_type
5650
+
5651
+ def initialize(**args)
5652
+ update!(**args)
5653
+ end
5654
+
5655
+ # Update properties of this object
5656
+ def update!(**args)
5657
+ @base_processor_version_id = args[:base_processor_version_id] if args.key?(:base_processor_version_id)
5658
+ @custom_model_type = args[:custom_model_type] if args.key?(:custom_model_type)
5659
+ end
5660
+ end
5661
+
5662
+ # Information for a pretrained Google-managed foundation model.
5663
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
5664
+ include Google::Apis::Core::Hashable
5665
+
5666
+ # Whether finetuning is allowed for this base processor version.
5667
+ # Corresponds to the JSON property `finetuningAllowed`
5668
+ # @return [Boolean]
5669
+ attr_accessor :finetuning_allowed
5670
+ alias_method :finetuning_allowed?, :finetuning_allowed
5671
+
5672
+ # The minimum number of labeled documents in the training dataset required for
5673
+ # finetuning.
5674
+ # Corresponds to the JSON property `minTrainLabeledDocuments`
5675
+ # @return [Fixnum]
5676
+ attr_accessor :min_train_labeled_documents
5677
+
5678
+ def initialize(**args)
5679
+ update!(**args)
5680
+ end
5681
+
5682
+ # Update properties of this object
5683
+ def update!(**args)
5684
+ @finetuning_allowed = args[:finetuning_allowed] if args.key?(:finetuning_allowed)
5685
+ @min_train_labeled_documents = args[:min_train_labeled_documents] if args.key?(:min_train_labeled_documents)
5686
+ end
5687
+ end
5688
+
5602
5689
  # Payload message of raw document content (bytes).
5603
5690
  class GoogleCloudDocumentaiV1RawDocument
5604
5691
  include Google::Apis::Core::Hashable
@@ -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.88.0"
19
+ GEM_VERSION = "0.89.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240615"
25
+ REVISION = "20240716"
26
26
  end
27
27
  end
28
28
  end
@@ -1042,6 +1042,24 @@ module Google
1042
1042
  include Google::Apis::Core::JsonObjectSupport
1043
1043
  end
1044
1044
 
1045
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo
1046
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1047
+
1048
+ include Google::Apis::Core::JsonObjectSupport
1049
+ end
1050
+
1051
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
1057
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
1058
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1059
+
1060
+ include Google::Apis::Core::JsonObjectSupport
1061
+ end
1062
+
1045
1063
  class GoogleCloudDocumentaiV1RawDocument
1046
1064
  class Representation < Google::Apis::Core::JsonRepresentation; end
1047
1065
 
@@ -3919,6 +3937,8 @@ module Google
3919
3937
  property :display_name, as: 'displayName'
3920
3938
  property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema::Representation
3921
3939
 
3940
+ property :gen_ai_model_info, as: 'genAiModelInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo::Representation
3941
+
3922
3942
  property :google_managed, as: 'googleManaged'
3923
3943
  property :kms_key_name, as: 'kmsKeyName'
3924
3944
  property :kms_key_version_name, as: 'kmsKeyVersionName'
@@ -3948,6 +3968,32 @@ module Google
3948
3968
  end
3949
3969
  end
3950
3970
 
3971
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo
3972
+ # @private
3973
+ class Representation < Google::Apis::Core::JsonRepresentation
3974
+ property :custom_gen_ai_model_info, as: 'customGenAiModelInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo::Representation
3975
+
3976
+ property :foundation_gen_ai_model_info, as: 'foundationGenAiModelInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo::Representation
3977
+
3978
+ end
3979
+ end
3980
+
3981
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
3982
+ # @private
3983
+ class Representation < Google::Apis::Core::JsonRepresentation
3984
+ property :base_processor_version_id, as: 'baseProcessorVersionId'
3985
+ property :custom_model_type, as: 'customModelType'
3986
+ end
3987
+ end
3988
+
3989
+ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
3990
+ # @private
3991
+ class Representation < Google::Apis::Core::JsonRepresentation
3992
+ property :finetuning_allowed, as: 'finetuningAllowed'
3993
+ property :min_train_labeled_documents, as: 'minTrainLabeledDocuments'
3994
+ end
3995
+ end
3996
+
3951
3997
  class GoogleCloudDocumentaiV1RawDocument
3952
3998
  # @private
3953
3999
  class Representation < Google::Apis::Core::JsonRepresentation
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.88.0
4
+ version: 0.89.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: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-07-25 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.88.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.89.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: []