google-apis-documentai_v1beta3 0.104.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: a1fad5cb56ca19eb7cce1c048fb1a08965ea0ce3ba3315c901711c6e9e30b7c2
4
- data.tar.gz: ae7788539eca3cfbd0b54f7eaedc30864056fb4cff4cd99733e5afc19fe8304c
3
+ metadata.gz: 383795c443c31ec1bb304dcd4ec8175868d7864f87ce7ae75750e28e5b108262
4
+ data.tar.gz: 71a9a31a2757751ce4707719590d8f2c84dbeb09fdbccf5c91a20fe77705878e
5
5
  SHA512:
6
- metadata.gz: 2a6ea739c2b6382682df2397e53809b12362ac1601f77c69aa71ddff8131e895b2c7c809c90a962011a5212ba4d7cf9361843b303cacec2bea9c28613b7a0f5e
7
- data.tar.gz: f696f3e1b43ab116859ec6fc45e5d3eaa627840cda4ca2f559b390185e6812263d0aee0e9023b2fe714744448542f1173924fee9bdfb9ab5048b3cf5de1ea920
6
+ metadata.gz: 05f8f6959853c96015654a3dbb3856bc32ed6b4cdc7778d26c5609bff999f89d1c2b85ef729efd195c86310268595201479c09e633248c5ad080e182db1e5e6f
7
+ data.tar.gz: 999cc79610055308a1c29a7c81581509de8a307f8acedde6d4735cc63d410119036ab49ca063c4a079d96892e5c5d84afd51ae04c14029ceb53eef8481f1cc53
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.104.0 (2025-04-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20250416
@@ -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]
@@ -2881,6 +2888,7 @@ module Google
2881
2888
 
2882
2889
  # Update properties of this object
2883
2890
  def update!(**args)
2891
+ @blob_assets = args[:blob_assets] if args.key?(:blob_assets)
2884
2892
  @chunked_document = args[:chunked_document] if args.key?(:chunked_document)
2885
2893
  @content = args[:content] if args.key?(:content)
2886
2894
  @docid = args[:docid] if args.key?(:docid)
@@ -2899,6 +2907,60 @@ module Google
2899
2907
  end
2900
2908
  end
2901
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
+
2902
2964
  # Represents the chunks that the document is divided into.
2903
2965
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument
2904
2966
  include Google::Apis::Core::Hashable
@@ -2922,6 +2984,11 @@ module Google
2922
2984
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk
2923
2985
  include Google::Apis::Core::Hashable
2924
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
+
2925
2992
  # ID of the chunk.
2926
2993
  # Corresponds to the JSON property `chunkId`
2927
2994
  # @return [String]
@@ -2958,6 +3025,7 @@ module Google
2958
3025
 
2959
3026
  # Update properties of this object
2960
3027
  def update!(**args)
3028
+ @chunk_fields = args[:chunk_fields] if args.key?(:chunk_fields)
2961
3029
  @chunk_id = args[:chunk_id] if args.key?(:chunk_id)
2962
3030
  @content = args[:content] if args.key?(:content)
2963
3031
  @page_footers = args[:page_footers] if args.key?(:page_footers)
@@ -2967,6 +3035,32 @@ module Google
2967
3035
  end
2968
3036
  end
2969
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
+
2970
3064
  # Represents the page footer associated with the chunk.
2971
3065
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter
2972
3066
  include Google::Apis::Core::Hashable
@@ -3042,6 +3136,65 @@ module Google
3042
3136
  end
3043
3137
  end
3044
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
+
3045
3198
  # Represents the parsed layout of a document as a collection of blocks that the
3046
3199
  # document is divided into.
3047
3200
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout
@@ -3077,6 +3230,11 @@ module Google
3077
3230
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BoundingPoly]
3078
3231
  attr_accessor :bounding_box
3079
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
+
3080
3238
  # Represents a list type block.
3081
3239
  # Corresponds to the JSON property `listBlock`
3082
3240
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock]
@@ -3105,6 +3263,7 @@ module Google
3105
3263
  def update!(**args)
3106
3264
  @block_id = args[:block_id] if args.key?(:block_id)
3107
3265
  @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
3266
+ @image_block = args[:image_block] if args.key?(:image_block)
3108
3267
  @list_block = args[:list_block] if args.key?(:list_block)
3109
3268
  @page_span = args[:page_span] if args.key?(:page_span)
3110
3269
  @table_block = args[:table_block] if args.key?(:table_block)
@@ -3112,6 +3271,59 @@ module Google
3112
3271
  end
3113
3272
  end
3114
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
+
3115
3327
  # Represents a list type block.
3116
3328
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
3117
3329
  include Google::Apis::Core::Hashable
@@ -5042,6 +5254,11 @@ module Google
5042
5254
  # @return [String]
5043
5255
  attr_accessor :display_name
5044
5256
 
5257
+ # Grounding config of the entity type.
5258
+ # Corresponds to the JSON property `groundingConfig`
5259
+ # @return [String]
5260
+ attr_accessor :grounding_config
5261
+
5045
5262
  # The name of the property. Follows the same guidelines as the EntityType name.
5046
5263
  # Corresponds to the JSON property `name`
5047
5264
  # @return [String]
@@ -5072,6 +5289,7 @@ module Google
5072
5289
  def update!(**args)
5073
5290
  @description = args[:description] if args.key?(:description)
5074
5291
  @display_name = args[:display_name] if args.key?(:display_name)
5292
+ @grounding_config = args[:grounding_config] if args.key?(:grounding_config)
5075
5293
  @name = args[:name] if args.key?(:name)
5076
5294
  @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
5077
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.104.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 = "20250416"
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,6 +2621,8 @@ 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'
@@ -2613,6 +2651,22 @@ module Google
2613
2651
  end
2614
2652
  end
2615
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
+
2616
2670
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument
2617
2671
  # @private
2618
2672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2624,6 +2678,8 @@ module Google
2624
2678
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk
2625
2679
  # @private
2626
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
+
2627
2683
  property :chunk_id, as: 'chunkId'
2628
2684
  property :content, as: 'content'
2629
2685
  collection :page_footers, as: 'pageFooters', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter::Representation
@@ -2636,6 +2692,16 @@ module Google
2636
2692
  end
2637
2693
  end
2638
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
+
2639
2705
  class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter
2640
2706
  # @private
2641
2707
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2662,6 +2728,25 @@ module Google
2662
2728
  end
2663
2729
  end
2664
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
+
2665
2750
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout
2666
2751
  # @private
2667
2752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2676,6 +2761,8 @@ module Google
2676
2761
  property :block_id, as: 'blockId'
2677
2762
  property :bounding_box, as: 'boundingBox', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BoundingPoly, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BoundingPoly::Representation
2678
2763
 
2764
+ property :image_block, as: 'imageBlock', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock::Representation
2765
+
2679
2766
  property :list_block, as: 'listBlock', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock::Representation
2680
2767
 
2681
2768
  property :page_span, as: 'pageSpan', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan::Representation
@@ -2687,6 +2774,19 @@ module Google
2687
2774
  end
2688
2775
  end
2689
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
+
2690
2790
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
2691
2791
  # @private
2692
2792
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3240,6 +3340,7 @@ module Google
3240
3340
  class Representation < Google::Apis::Core::JsonRepresentation
3241
3341
  property :description, as: 'description'
3242
3342
  property :display_name, as: 'displayName'
3343
+ property :grounding_config, as: 'groundingConfig'
3243
3344
  property :name, as: 'name'
3244
3345
  property :occurrence_type, as: 'occurrenceType'
3245
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.104.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-04-20 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.104.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: