google-apis-documentai_v1beta3 0.103.0 → 0.105.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: ecdfb89070c4633f18cbaed7837a9107743ad61e1427f56d323b1308f148e94e
4
- data.tar.gz: 50ce7c59dd0dc6f2c5308af7350a7d929b1c7188e4051b22fac45cb93c7e204e
3
+ metadata.gz: 383795c443c31ec1bb304dcd4ec8175868d7864f87ce7ae75750e28e5b108262
4
+ data.tar.gz: 71a9a31a2757751ce4707719590d8f2c84dbeb09fdbccf5c91a20fe77705878e
5
5
  SHA512:
6
- metadata.gz: b19133b19c5bf609ada9940b053b8c9bc40da44981e004a32f1d28cf320e60a0d907899d5a345f77200296ee84508704b9d5f6b78f28760bf9bfc5aa0c9d914a
7
- data.tar.gz: bd34e94e432d2cb05bf2992d698d65c0d21b76339013ea56be5eb421f648cd0bfdd2462089b59cb1ac963a8fdf78813e30ce60e48c6f8bdb06fba226cb13ad9e
6
+ metadata.gz: 05f8f6959853c96015654a3dbb3856bc32ed6b4cdc7778d26c5609bff999f89d1c2b85ef729efd195c86310268595201479c09e633248c5ad080e182db1e5e6f
7
+ data.tar.gz: 999cc79610055308a1c29a7c81581509de8a307f8acedde6d4735cc63d410119036ab49ca063c4a079d96892e5c5d84afd51ae04c14029ceb53eef8481f1cc53
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.105.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250421
6
+
7
+ ### v0.104.0 (2025-04-20)
8
+
9
+ * Regenerated from discovery document revision 20250416
10
+
3
11
  ### v0.103.0 (2025-03-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20250321
@@ -2783,6 +2783,13 @@ module Google
2783
2783
  class GoogleCloudDocumentaiV1beta3Document
2784
2784
  include Google::Apis::Core::Hashable
2785
2785
 
2786
+ # Optional. The blob assets in this document. This is used to store the content
2787
+ # of the inline blobs in this document, e.g. image bytes, such that it can be
2788
+ # referenced by other fields in the document via asset id.
2789
+ # Corresponds to the JSON property `blobAssets`
2790
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentBlobAsset>]
2791
+ attr_accessor :blob_assets
2792
+
2786
2793
  # Represents the chunks that the document is divided into.
2787
2794
  # Corresponds to the JSON property `chunkedDocument`
2788
2795
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocument]
@@ -2796,6 +2803,11 @@ module Google
2796
2803
  # @return [String]
2797
2804
  attr_accessor :content
2798
2805
 
2806
+ # Optional. An internal identifier for document. Should be loggable (no PII).
2807
+ # Corresponds to the JSON property `docid`
2808
+ # @return [String]
2809
+ attr_accessor :docid
2810
+
2799
2811
  # Represents the parsed layout of a document as a collection of blocks that the
2800
2812
  # document is divided into.
2801
2813
  # Corresponds to the JSON property `documentLayout`
@@ -2876,8 +2888,10 @@ module Google
2876
2888
 
2877
2889
  # Update properties of this object
2878
2890
  def update!(**args)
2891
+ @blob_assets = args[:blob_assets] if args.key?(:blob_assets)
2879
2892
  @chunked_document = args[:chunked_document] if args.key?(:chunked_document)
2880
2893
  @content = args[:content] if args.key?(:content)
2894
+ @docid = args[:docid] if args.key?(:docid)
2881
2895
  @document_layout = args[:document_layout] if args.key?(:document_layout)
2882
2896
  @entities = args[:entities] if args.key?(:entities)
2883
2897
  @entity_relations = args[:entity_relations] if args.key?(:entity_relations)
@@ -2893,6 +2907,60 @@ module Google
2893
2907
  end
2894
2908
  end
2895
2909
 
2910
+ # Represents the annotation of a block or a chunk.
2911
+ class GoogleCloudDocumentaiV1beta3DocumentAnnotations
2912
+ include Google::Apis::Core::Hashable
2913
+
2914
+ # The description of the content with this annotation.
2915
+ # Corresponds to the JSON property `description`
2916
+ # @return [String]
2917
+ attr_accessor :description
2918
+
2919
+ def initialize(**args)
2920
+ update!(**args)
2921
+ end
2922
+
2923
+ # Update properties of this object
2924
+ def update!(**args)
2925
+ @description = args[:description] if args.key?(:description)
2926
+ end
2927
+ end
2928
+
2929
+ # Represents a blob asset. It's used to store the content of the inline blob in
2930
+ # this document, e.g. image bytes, such that it can be referenced by other
2931
+ # fields in the document via asset id.
2932
+ class GoogleCloudDocumentaiV1beta3DocumentBlobAsset
2933
+ include Google::Apis::Core::Hashable
2934
+
2935
+ # Optional. The id of the blob asset.
2936
+ # Corresponds to the JSON property `assetId`
2937
+ # @return [String]
2938
+ attr_accessor :asset_id
2939
+
2940
+ # Optional. The content of the blob asset, e.g. image bytes.
2941
+ # Corresponds to the JSON property `content`
2942
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2943
+ # @return [String]
2944
+ attr_accessor :content
2945
+
2946
+ # The mime type of the blob asset. An IANA published [media type (MIME type)](
2947
+ # https://www.iana.org/assignments/media-types/media-types.xhtml).
2948
+ # Corresponds to the JSON property `mimeType`
2949
+ # @return [String]
2950
+ attr_accessor :mime_type
2951
+
2952
+ def initialize(**args)
2953
+ update!(**args)
2954
+ end
2955
+
2956
+ # Update properties of this object
2957
+ def update!(**args)
2958
+ @asset_id = args[:asset_id] if args.key?(:asset_id)
2959
+ @content = args[:content] if args.key?(:content)
2960
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
2961
+ end
2962
+ end
2963
+
2896
2964
  # Represents the chunks that the document is divided into.
2897
2965
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument
2898
2966
  include Google::Apis::Core::Hashable
@@ -2916,6 +2984,11 @@ module Google
2916
2984
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk
2917
2985
  include Google::Apis::Core::Hashable
2918
2986
 
2987
+ # Chunk fields inside this chunk.
2988
+ # Corresponds to the JSON property `chunkFields`
2989
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField>]
2990
+ attr_accessor :chunk_fields
2991
+
2919
2992
  # ID of the chunk.
2920
2993
  # Corresponds to the JSON property `chunkId`
2921
2994
  # @return [String]
@@ -2952,6 +3025,7 @@ module Google
2952
3025
 
2953
3026
  # Update properties of this object
2954
3027
  def update!(**args)
3028
+ @chunk_fields = args[:chunk_fields] if args.key?(:chunk_fields)
2955
3029
  @chunk_id = args[:chunk_id] if args.key?(:chunk_id)
2956
3030
  @content = args[:content] if args.key?(:content)
2957
3031
  @page_footers = args[:page_footers] if args.key?(:page_footers)
@@ -2961,6 +3035,32 @@ module Google
2961
3035
  end
2962
3036
  end
2963
3037
 
3038
+ # The chunk field in the chunk. A chunk field could be one of the various types (
3039
+ # e.g. image, table) supported.
3040
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField
3041
+ include Google::Apis::Core::Hashable
3042
+
3043
+ # The image chunk field in the chunk.
3044
+ # Corresponds to the JSON property `imageChunkField`
3045
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField]
3046
+ attr_accessor :image_chunk_field
3047
+
3048
+ # The table chunk field in the chunk.
3049
+ # Corresponds to the JSON property `tableChunkField`
3050
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField]
3051
+ attr_accessor :table_chunk_field
3052
+
3053
+ def initialize(**args)
3054
+ update!(**args)
3055
+ end
3056
+
3057
+ # Update properties of this object
3058
+ def update!(**args)
3059
+ @image_chunk_field = args[:image_chunk_field] if args.key?(:image_chunk_field)
3060
+ @table_chunk_field = args[:table_chunk_field] if args.key?(:table_chunk_field)
3061
+ end
3062
+ end
3063
+
2964
3064
  # Represents the page footer associated with the chunk.
2965
3065
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter
2966
3066
  include Google::Apis::Core::Hashable
@@ -3036,6 +3136,65 @@ module Google
3036
3136
  end
3037
3137
  end
3038
3138
 
3139
+ # The image chunk field in the chunk.
3140
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField
3141
+ include Google::Apis::Core::Hashable
3142
+
3143
+ # Represents the annotation of a block or a chunk.
3144
+ # Corresponds to the JSON property `annotations`
3145
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations]
3146
+ attr_accessor :annotations
3147
+
3148
+ # Optional. Asset id of the inline image. If set, find the image content in the
3149
+ # blob_assets field.
3150
+ # Corresponds to the JSON property `blobAssetId`
3151
+ # @return [String]
3152
+ attr_accessor :blob_asset_id
3153
+
3154
+ # Optional. Data uri of the image. It is composed of four parts: a prefix (data:)
3155
+ # , a MIME type indicating the type of data, an optional base64 token if non-
3156
+ # textual, and the data itself: data:,
3157
+ # Corresponds to the JSON property `dataUri`
3158
+ # @return [String]
3159
+ attr_accessor :data_uri
3160
+
3161
+ # Optional. Google Cloud Storage uri of the image.
3162
+ # Corresponds to the JSON property `gcsUri`
3163
+ # @return [String]
3164
+ attr_accessor :gcs_uri
3165
+
3166
+ def initialize(**args)
3167
+ update!(**args)
3168
+ end
3169
+
3170
+ # Update properties of this object
3171
+ def update!(**args)
3172
+ @annotations = args[:annotations] if args.key?(:annotations)
3173
+ @blob_asset_id = args[:blob_asset_id] if args.key?(:blob_asset_id)
3174
+ @data_uri = args[:data_uri] if args.key?(:data_uri)
3175
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
3176
+ end
3177
+ end
3178
+
3179
+ # The table chunk field in the chunk.
3180
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField
3181
+ include Google::Apis::Core::Hashable
3182
+
3183
+ # Represents the annotation of a block or a chunk.
3184
+ # Corresponds to the JSON property `annotations`
3185
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations]
3186
+ attr_accessor :annotations
3187
+
3188
+ def initialize(**args)
3189
+ update!(**args)
3190
+ end
3191
+
3192
+ # Update properties of this object
3193
+ def update!(**args)
3194
+ @annotations = args[:annotations] if args.key?(:annotations)
3195
+ end
3196
+ end
3197
+
3039
3198
  # Represents the parsed layout of a document as a collection of blocks that the
3040
3199
  # document is divided into.
3041
3200
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout
@@ -3066,6 +3225,16 @@ module Google
3066
3225
  # @return [String]
3067
3226
  attr_accessor :block_id
3068
3227
 
3228
+ # A bounding polygon for the detected image annotation.
3229
+ # Corresponds to the JSON property `boundingBox`
3230
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BoundingPoly]
3231
+ attr_accessor :bounding_box
3232
+
3233
+ # Represents an image type block.
3234
+ # Corresponds to the JSON property `imageBlock`
3235
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock]
3236
+ attr_accessor :image_block
3237
+
3069
3238
  # Represents a list type block.
3070
3239
  # Corresponds to the JSON property `listBlock`
3071
3240
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock]
@@ -3093,6 +3262,8 @@ module Google
3093
3262
  # Update properties of this object
3094
3263
  def update!(**args)
3095
3264
  @block_id = args[:block_id] if args.key?(:block_id)
3265
+ @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
3266
+ @image_block = args[:image_block] if args.key?(:image_block)
3096
3267
  @list_block = args[:list_block] if args.key?(:list_block)
3097
3268
  @page_span = args[:page_span] if args.key?(:page_span)
3098
3269
  @table_block = args[:table_block] if args.key?(:table_block)
@@ -3100,6 +3271,59 @@ module Google
3100
3271
  end
3101
3272
  end
3102
3273
 
3274
+ # Represents an image type block.
3275
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock
3276
+ include Google::Apis::Core::Hashable
3277
+
3278
+ # Represents the annotation of a block or a chunk.
3279
+ # Corresponds to the JSON property `annotations`
3280
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations]
3281
+ attr_accessor :annotations
3282
+
3283
+ # Optional. Asset id of the inline image. If set, find the image content in the
3284
+ # blob_assets field.
3285
+ # Corresponds to the JSON property `blobAssetId`
3286
+ # @return [String]
3287
+ attr_accessor :blob_asset_id
3288
+
3289
+ # Optional. Data uri of the image. It is composed of four parts: a prefix (data:)
3290
+ # , a MIME type indicating the type of data, an optional base64 token if non-
3291
+ # textual, and the data itself: data:,
3292
+ # Corresponds to the JSON property `dataUri`
3293
+ # @return [String]
3294
+ attr_accessor :data_uri
3295
+
3296
+ # Optional. Google Cloud Storage uri of the image.
3297
+ # Corresponds to the JSON property `gcsUri`
3298
+ # @return [String]
3299
+ attr_accessor :gcs_uri
3300
+
3301
+ # Text extracted from the image using OCR or alt text describing the image.
3302
+ # Corresponds to the JSON property `imageText`
3303
+ # @return [String]
3304
+ attr_accessor :image_text
3305
+
3306
+ # Mime type of the image. An IANA published [media type (MIME type)] (https://
3307
+ # www.iana.org/assignments/media-types/media-types.xhtml).
3308
+ # Corresponds to the JSON property `mimeType`
3309
+ # @return [String]
3310
+ attr_accessor :mime_type
3311
+
3312
+ def initialize(**args)
3313
+ update!(**args)
3314
+ end
3315
+
3316
+ # Update properties of this object
3317
+ def update!(**args)
3318
+ @annotations = args[:annotations] if args.key?(:annotations)
3319
+ @blob_asset_id = args[:blob_asset_id] if args.key?(:blob_asset_id)
3320
+ @data_uri = args[:data_uri] if args.key?(:data_uri)
3321
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
3322
+ @image_text = args[:image_text] if args.key?(:image_text)
3323
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
3324
+ end
3325
+ end
3326
+
3103
3327
  # Represents a list type block.
3104
3328
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
3105
3329
  include Google::Apis::Core::Hashable
@@ -5030,6 +5254,11 @@ module Google
5030
5254
  # @return [String]
5031
5255
  attr_accessor :display_name
5032
5256
 
5257
+ # Grounding config of the entity type.
5258
+ # Corresponds to the JSON property `groundingConfig`
5259
+ # @return [String]
5260
+ attr_accessor :grounding_config
5261
+
5033
5262
  # The name of the property. Follows the same guidelines as the EntityType name.
5034
5263
  # Corresponds to the JSON property `name`
5035
5264
  # @return [String]
@@ -5060,6 +5289,7 @@ module Google
5060
5289
  def update!(**args)
5061
5290
  @description = args[:description] if args.key?(:description)
5062
5291
  @display_name = args[:display_name] if args.key?(:display_name)
5292
+ @grounding_config = args[:grounding_config] if args.key?(:grounding_config)
5063
5293
  @name = args[:name] if args.key?(:name)
5064
5294
  @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
5065
5295
  @property_metadata = args[:property_metadata] if args.key?(:property_metadata)
@@ -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.103.0"
19
+ GEM_VERSION = "0.105.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250321"
25
+ REVISION = "20250421"
26
26
  end
27
27
  end
28
28
  end
@@ -700,6 +700,18 @@ module Google
700
700
  include Google::Apis::Core::JsonObjectSupport
701
701
  end
702
702
 
703
+ class GoogleCloudDocumentaiV1beta3DocumentAnnotations
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class GoogleCloudDocumentaiV1beta3DocumentBlobAsset
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
703
715
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument
704
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
717
 
@@ -712,6 +724,12 @@ module Google
712
724
  include Google::Apis::Core::JsonObjectSupport
713
725
  end
714
726
 
727
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
715
733
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter
716
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
735
 
@@ -730,6 +748,18 @@ module Google
730
748
  include Google::Apis::Core::JsonObjectSupport
731
749
  end
732
750
 
751
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
733
763
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout
734
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
765
 
@@ -742,6 +772,12 @@ module Google
742
772
  include Google::Apis::Core::JsonObjectSupport
743
773
  end
744
774
 
775
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
745
781
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
746
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
783
 
@@ -2585,9 +2621,12 @@ module Google
2585
2621
  class GoogleCloudDocumentaiV1beta3Document
2586
2622
  # @private
2587
2623
  class Representation < Google::Apis::Core::JsonRepresentation
2624
+ collection :blob_assets, as: 'blobAssets', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentBlobAsset, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentBlobAsset::Representation
2625
+
2588
2626
  property :chunked_document, as: 'chunkedDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocument::Representation
2589
2627
 
2590
2628
  property :content, :base64 => true, as: 'content'
2629
+ property :docid, as: 'docid'
2591
2630
  property :document_layout, as: 'documentLayout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayout::Representation
2592
2631
 
2593
2632
  collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity::Representation
@@ -2612,6 +2651,22 @@ module Google
2612
2651
  end
2613
2652
  end
2614
2653
 
2654
+ class GoogleCloudDocumentaiV1beta3DocumentAnnotations
2655
+ # @private
2656
+ class Representation < Google::Apis::Core::JsonRepresentation
2657
+ property :description, as: 'description'
2658
+ end
2659
+ end
2660
+
2661
+ class GoogleCloudDocumentaiV1beta3DocumentBlobAsset
2662
+ # @private
2663
+ class Representation < Google::Apis::Core::JsonRepresentation
2664
+ property :asset_id, as: 'assetId'
2665
+ property :content, :base64 => true, as: 'content'
2666
+ property :mime_type, as: 'mimeType'
2667
+ end
2668
+ end
2669
+
2615
2670
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument
2616
2671
  # @private
2617
2672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2623,6 +2678,8 @@ module Google
2623
2678
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk
2624
2679
  # @private
2625
2680
  class Representation < Google::Apis::Core::JsonRepresentation
2681
+ collection :chunk_fields, as: 'chunkFields', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField::Representation
2682
+
2626
2683
  property :chunk_id, as: 'chunkId'
2627
2684
  property :content, as: 'content'
2628
2685
  collection :page_footers, as: 'pageFooters', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter::Representation
@@ -2635,6 +2692,16 @@ module Google
2635
2692
  end
2636
2693
  end
2637
2694
 
2695
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField
2696
+ # @private
2697
+ class Representation < Google::Apis::Core::JsonRepresentation
2698
+ property :image_chunk_field, as: 'imageChunkField', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField::Representation
2699
+
2700
+ property :table_chunk_field, as: 'tableChunkField', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField::Representation
2701
+
2702
+ end
2703
+ end
2704
+
2638
2705
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter
2639
2706
  # @private
2640
2707
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2661,6 +2728,25 @@ module Google
2661
2728
  end
2662
2729
  end
2663
2730
 
2731
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField
2732
+ # @private
2733
+ class Representation < Google::Apis::Core::JsonRepresentation
2734
+ property :annotations, as: 'annotations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations::Representation
2735
+
2736
+ property :blob_asset_id, as: 'blobAssetId'
2737
+ property :data_uri, as: 'dataUri'
2738
+ property :gcs_uri, as: 'gcsUri'
2739
+ end
2740
+ end
2741
+
2742
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField
2743
+ # @private
2744
+ class Representation < Google::Apis::Core::JsonRepresentation
2745
+ property :annotations, as: 'annotations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations::Representation
2746
+
2747
+ end
2748
+ end
2749
+
2664
2750
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout
2665
2751
  # @private
2666
2752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2673,6 +2759,10 @@ module Google
2673
2759
  # @private
2674
2760
  class Representation < Google::Apis::Core::JsonRepresentation
2675
2761
  property :block_id, as: 'blockId'
2762
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BoundingPoly, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BoundingPoly::Representation
2763
+
2764
+ property :image_block, as: 'imageBlock', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock::Representation
2765
+
2676
2766
  property :list_block, as: 'listBlock', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock::Representation
2677
2767
 
2678
2768
  property :page_span, as: 'pageSpan', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan::Representation
@@ -2684,6 +2774,19 @@ module Google
2684
2774
  end
2685
2775
  end
2686
2776
 
2777
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock
2778
+ # @private
2779
+ class Representation < Google::Apis::Core::JsonRepresentation
2780
+ property :annotations, as: 'annotations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations::Representation
2781
+
2782
+ property :blob_asset_id, as: 'blobAssetId'
2783
+ property :data_uri, as: 'dataUri'
2784
+ property :gcs_uri, as: 'gcsUri'
2785
+ property :image_text, as: 'imageText'
2786
+ property :mime_type, as: 'mimeType'
2787
+ end
2788
+ end
2789
+
2687
2790
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
2688
2791
  # @private
2689
2792
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3237,6 +3340,7 @@ module Google
3237
3340
  class Representation < Google::Apis::Core::JsonRepresentation
3238
3341
  property :description, as: 'description'
3239
3342
  property :display_name, as: 'displayName'
3343
+ property :grounding_config, as: 'groundingConfig'
3240
3344
  property :name, as: 'name'
3241
3345
  property :occurrence_type, as: 'occurrenceType'
3242
3346
  property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata::Representation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.103.0
4
+ version: 0.105.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.103.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.105.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
62
62
  rdoc_options: []
63
63
  require_paths: