google-cloud-document_ai-v1beta3 0.35.0 → 0.36.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb +56 -24
  4. data/lib/google/cloud/document_ai/v1beta3/document_processor_service/operations.rb +13 -5
  5. data/lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb +56 -24
  6. data/lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/operations.rb +11 -4
  7. data/lib/google/cloud/document_ai/v1beta3/document_service/client.rb +22 -7
  8. data/lib/google/cloud/document_ai/v1beta3/document_service/operations.rb +13 -5
  9. data/lib/google/cloud/document_ai/v1beta3/document_service/rest/client.rb +22 -7
  10. data/lib/google/cloud/document_ai/v1beta3/document_service/rest/operations.rb +11 -4
  11. data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
  12. data/lib/google/cloud/documentai/v1beta3/dataset_pb.rb +1 -1
  13. data/lib/google/cloud/documentai/v1beta3/document_processor_service_pb.rb +1 -1
  14. data/lib/google/cloud/documentai/v1beta3/document_processor_service_services_pb.rb +4 -0
  15. data/lib/google/cloud/documentai/v1beta3/document_service_services_pb.rb +5 -0
  16. data/lib/google/cloud/documentai/v1beta3/processor_pb.rb +5 -1
  17. data/proto_docs/google/api/client.rb +31 -10
  18. data/proto_docs/google/api/resource.rb +7 -2
  19. data/proto_docs/google/cloud/documentai/v1beta3/dataset.rb +6 -0
  20. data/proto_docs/google/cloud/documentai/v1beta3/document.rb +1 -3
  21. data/proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb +3 -0
  22. data/proto_docs/google/cloud/documentai/v1beta3/processor.rb +67 -0
  23. metadata +2 -2
@@ -60,6 +60,16 @@ module Google
60
60
  # @!attribute [r] model_type
61
61
  # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::ModelType]
62
62
  # Output only. The model type of this processor version.
63
+ # @!attribute [r] satisfies_pzs
64
+ # @return [::Boolean]
65
+ # Output only. Reserved for future use.
66
+ # @!attribute [r] satisfies_pzi
67
+ # @return [::Boolean]
68
+ # Output only. Reserved for future use.
69
+ # @!attribute [r] gen_ai_model_info
70
+ # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo]
71
+ # Output only. Information about Generative AI model-based processor
72
+ # versions.
63
73
  class ProcessorVersion
64
74
  include ::Google::Protobuf::MessageExts
65
75
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -76,6 +86,57 @@ module Google
76
86
  extend ::Google::Protobuf::MessageExts::ClassMethods
77
87
  end
78
88
 
89
+ # Information about Generative AI model-based processor versions.
90
+ # @!attribute [rw] foundation_gen_ai_model_info
91
+ # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::FoundationGenAiModelInfo]
92
+ # Information for a pretrained Google-managed foundation model.
93
+ # @!attribute [rw] custom_gen_ai_model_info
94
+ # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::CustomGenAiModelInfo]
95
+ # Information for a custom Generative AI model created by the user.
96
+ class GenAiModelInfo
97
+ include ::Google::Protobuf::MessageExts
98
+ extend ::Google::Protobuf::MessageExts::ClassMethods
99
+
100
+ # Information for a pretrained Google-managed foundation model.
101
+ # @!attribute [rw] finetuning_allowed
102
+ # @return [::Boolean]
103
+ # Whether finetuning is allowed for this base processor version.
104
+ # @!attribute [rw] min_train_labeled_documents
105
+ # @return [::Integer]
106
+ # The minimum number of labeled documents in the training dataset
107
+ # required for finetuning.
108
+ class FoundationGenAiModelInfo
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+ end
112
+
113
+ # Information for a custom Generative AI model created by the user. These
114
+ # are created with `Create New Version` in either the `Call foundation
115
+ # model` or `Fine tuning` tabs.
116
+ # @!attribute [rw] custom_model_type
117
+ # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::GenAiModelInfo::CustomGenAiModelInfo::CustomModelType]
118
+ # The type of custom model created by the user.
119
+ # @!attribute [rw] base_processor_version_id
120
+ # @return [::String]
121
+ # The base processor version ID for the custom model.
122
+ class CustomGenAiModelInfo
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
+
126
+ # The type of custom model created by the user.
127
+ module CustomModelType
128
+ # The model type is unspecified.
129
+ CUSTOM_MODEL_TYPE_UNSPECIFIED = 0
130
+
131
+ # The model is a versioned foundation model.
132
+ VERSIONED_FOUNDATION = 1
133
+
134
+ # The model is a finetuned foundation model.
135
+ FINE_TUNED = 2
136
+ end
137
+ end
138
+ end
139
+
79
140
  # The possible states of the processor version.
80
141
  module State
81
142
  # The processor version is in an unspecified state.
@@ -165,6 +226,12 @@ module Google
165
226
  # @return [::String]
166
227
  # The [KMS key](https://cloud.google.com/security-key-management) used for
167
228
  # encryption and decryption in CMEK scenarios.
229
+ # @!attribute [r] satisfies_pzs
230
+ # @return [::Boolean]
231
+ # Output only. Reserved for future use.
232
+ # @!attribute [r] satisfies_pzi
233
+ # @return [::Boolean]
234
+ # Output only. Reserved for future use.
168
235
  class Processor
169
236
  include ::Google::Protobuf::MessageExts
170
237
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-document_ai-v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.1
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-04-25 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common