google-cloud-document_ai-v1beta3 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92932d23f129d023c3e281e0df7a35a3542f5ab0e1836ce3654bc13905224b27
4
- data.tar.gz: b16d3f7ddddedbf4cfa635a6d2734c055bbe8188aeaf38a3d8735dc06f6c4cc1
3
+ metadata.gz: 7e07c84fdd36153f3b5e8e6c1f58f4ab7389f213928510d4c8a55cee22f30f3c
4
+ data.tar.gz: 05f1740bbe4f15d7c878c785d3a3d25029f4d418431fe7c3438b40f0feacdbc3
5
5
  SHA512:
6
- metadata.gz: 7a567756d93fdd27b3b4bc92f0299eecbf054f52260a221557698d3a98e212e291d40aaada921c8193072af4772d7ba98cd93c882fe5bd7acd4333a458fe4482
7
- data.tar.gz: 1ffbcd2b9b246621ac6f907768c4a5c10c17e10511b9bf25339bd940c6943c7241b34fcc03fc4e7a757fe3121e72cb6f53ce3eb527474f2ecac922647275df43
6
+ metadata.gz: f7b66607d57e7058822f8efd0c44d51e06ae9c2cd99de38d47a5ab5c74424190a1ac3ccfdeca36879f5f470c9b51895e9a7c59c38e137cb61c794e2f122d9730
7
+ data.tar.gz: 1d30ab4077b15e4f5b7e68970485bf16a0ad4a39298b6dec454a9bb7a3b486f5f3db14d92ece5c97153ea59e5ee94bb15056636a2dbd09a8a14d51db6d34684b
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DocumentAI
23
23
  module V1beta3
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -22,7 +22,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  repeated :pages, :message, 6, "google.cloud.documentai.v1beta3.Document.Page"
23
23
  repeated :entities, :message, 7, "google.cloud.documentai.v1beta3.Document.Entity"
24
24
  repeated :entity_relations, :message, 8, "google.cloud.documentai.v1beta3.Document.EntityRelation"
25
- repeated :translations, :message, 12, "google.cloud.documentai.v1beta3.Document.Translation"
26
25
  repeated :text_changes, :message, 14, "google.cloud.documentai.v1beta3.Document.TextChange"
27
26
  optional :shard_info, :message, 9, "google.cloud.documentai.v1beta3.Document.ShardInfo"
28
27
  optional :error, :message, 10, "google.rpc.Status"
@@ -184,12 +183,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
184
183
  optional :object_id, :string, 2
185
184
  optional :relation, :string, 3
186
185
  end
187
- add_message "google.cloud.documentai.v1beta3.Document.Translation" do
188
- optional :text_anchor, :message, 1, "google.cloud.documentai.v1beta3.Document.TextAnchor"
189
- optional :language_code, :string, 2
190
- optional :translated_text, :string, 3
191
- repeated :provenance, :message, 4, "google.cloud.documentai.v1beta3.Document.Provenance"
192
- end
193
186
  add_message "google.cloud.documentai.v1beta3.Document.TextAnchor" do
194
187
  repeated :text_segments, :message, 1, "google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment"
195
188
  optional :content, :string, 2
@@ -286,7 +279,6 @@ module Google
286
279
  Document::Entity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.Entity").msgclass
287
280
  Document::Entity::NormalizedValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue").msgclass
288
281
  Document::EntityRelation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.EntityRelation").msgclass
289
- Document::Translation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.Translation").msgclass
290
282
  Document::TextAnchor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.TextAnchor").msgclass
291
283
  Document::TextAnchor::TextSegment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment").msgclass
292
284
  Document::PageAnchor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.PageAnchor").msgclass
@@ -59,10 +59,6 @@ module Google
59
59
  # @!attribute [rw] entity_relations
60
60
  # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::EntityRelation>]
61
61
  # Relationship among {::Google::Cloud::DocumentAI::V1beta3::Document#entities Document.entities}.
62
- # @!attribute [rw] translations
63
- # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Translation>]
64
- # A list of translations on {::Google::Cloud::DocumentAI::V1beta3::Document#text Document.text}. For document shards,
65
- # translations in this list may cross shard boundaries.
66
62
  # @!attribute [rw] text_changes
67
63
  # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::TextChange>]
68
64
  # A list of text corrections made to [Document.text]. This is usually
@@ -590,30 +586,6 @@ module Google
590
586
  extend ::Google::Protobuf::MessageExts::ClassMethods
591
587
  end
592
588
 
593
- # A translation of the text segment.
594
- # @!attribute [rw] text_anchor
595
- # @return [::Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor]
596
- # Provenance of the translation.
597
- # Text anchor indexing into the {::Google::Cloud::DocumentAI::V1beta3::Document#text Document.text}. There can only be a
598
- # single `TextAnchor.text_segments` element. If the start and
599
- # end index of the text segment are the same, the text change is inserted
600
- # before that index.
601
- # @!attribute [rw] language_code
602
- # @return [::String]
603
- # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
604
- # information, see
605
- # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
606
- # @!attribute [rw] translated_text
607
- # @return [::String]
608
- # Text translated into the target language.
609
- # @!attribute [rw] provenance
610
- # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance>]
611
- # The history of this annotation.
612
- class Translation
613
- include ::Google::Protobuf::MessageExts
614
- extend ::Google::Protobuf::MessageExts::ClassMethods
615
- end
616
-
617
589
  # Text reference indexing into the {::Google::Cloud::DocumentAI::V1beta3::Document#text Document.text}.
618
590
  # @!attribute [rw] text_segments
619
591
  # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor::TextSegment>]
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.5.0
4
+ version: 0.6.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: 2021-03-09 00:00:00.000000000 Z
11
+ date: 2021-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common