google-apis-discoveryengine_v1 0.37.0 → 0.38.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: 4a1b7946b1b1c90e633d96f12e5cf01a983efd8a6119a89fd4f539aad1e7fd37
4
- data.tar.gz: facbd9de71fc22cee051738d70a18bb4f670428240ea2b481e9c55eccf763d7f
3
+ metadata.gz: c7e7ad9e5f32225c80a6c1d8a25d4a04d5a29beffe151734f4af10fda342136e
4
+ data.tar.gz: 6f029c267b754ebd1e19beb3b70f4d99619b3c31bb8ab0e73b90c8f83c00eb97
5
5
  SHA512:
6
- metadata.gz: 68f7f5836e525377f1a9801b1d039f24bc654d3f627aba00e7749956e1640c95701d6d1dc4e3e65e0c6e531501f0763a9f6a317e42ac9304d9c5da73a7febf34
7
- data.tar.gz: 730b0e21fa3bec15daad2877914ac8825e3e0c9a50b002ebfb2194264056c10b001afb747084facb88e985fc3dd60f370b18228ef0cd79d40dc44f5a22b6b90f
6
+ metadata.gz: d249c3c3b79f9c241dfa37ea21f65e8424342e8c32f95d0fbac154185ebf7ca39fcafc84659120c0bbfd12de6320da06666ced7bcb1fce548bce3d3122279239
7
+ data.tar.gz: 23b261eb795ba08ed931cbe2f0a3574d13864bcd37fafe3829858d342b1cccf172cd43e5a8101bea77ab4f7695af7855a0d532be458afc7753a036b1a3ec16b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.38.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250519
6
+
3
7
  ### v0.37.0 (2025-05-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20250514
@@ -3176,6 +3176,12 @@ module Google
3176
3176
  # @return [Array<String>]
3177
3177
  attr_accessor :annotation_contents
3178
3178
 
3179
+ # Output only. The annotation metadata includes structured content in the
3180
+ # current chunk.
3181
+ # Corresponds to the JSON property `annotationMetadata`
3182
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata>]
3183
+ attr_accessor :annotation_metadata
3184
+
3179
3185
  # Metadata of the current chunk. This field is only populated on SearchService.
3180
3186
  # Search API.
3181
3187
  # Corresponds to the JSON property `chunkMetadata`
@@ -3238,6 +3244,7 @@ module Google
3238
3244
  # Update properties of this object
3239
3245
  def update!(**args)
3240
3246
  @annotation_contents = args[:annotation_contents] if args.key?(:annotation_contents)
3247
+ @annotation_metadata = args[:annotation_metadata] if args.key?(:annotation_metadata)
3241
3248
  @chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
3242
3249
  @content = args[:content] if args.key?(:content)
3243
3250
  @data_urls = args[:data_urls] if args.key?(:data_urls)
@@ -3250,6 +3257,32 @@ module Google
3250
3257
  end
3251
3258
  end
3252
3259
 
3260
+ # The annotation metadata includes structured content in the current chunk.
3261
+ class GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata
3262
+ include Google::Apis::Core::Hashable
3263
+
3264
+ # Output only. Image id is provided if the structured content is based on an
3265
+ # image.
3266
+ # Corresponds to the JSON property `imageId`
3267
+ # @return [String]
3268
+ attr_accessor :image_id
3269
+
3270
+ # The structured content information.
3271
+ # Corresponds to the JSON property `structuredContent`
3272
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkStructuredContent]
3273
+ attr_accessor :structured_content
3274
+
3275
+ def initialize(**args)
3276
+ update!(**args)
3277
+ end
3278
+
3279
+ # Update properties of this object
3280
+ def update!(**args)
3281
+ @image_id = args[:image_id] if args.key?(:image_id)
3282
+ @structured_content = args[:structured_content] if args.key?(:structured_content)
3283
+ end
3284
+ end
3285
+
3253
3286
  # Metadata of the current chunk. This field is only populated on SearchService.
3254
3287
  # Search API.
3255
3288
  class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
@@ -3338,6 +3371,31 @@ module Google
3338
3371
  end
3339
3372
  end
3340
3373
 
3374
+ # The structured content information.
3375
+ class GoogleCloudDiscoveryengineV1ChunkStructuredContent
3376
+ include Google::Apis::Core::Hashable
3377
+
3378
+ # Output only. The content of the structured content.
3379
+ # Corresponds to the JSON property `content`
3380
+ # @return [String]
3381
+ attr_accessor :content
3382
+
3383
+ # Output only. The structure type of the structured content.
3384
+ # Corresponds to the JSON property `structureType`
3385
+ # @return [String]
3386
+ attr_accessor :structure_type
3387
+
3388
+ def initialize(**args)
3389
+ update!(**args)
3390
+ end
3391
+
3392
+ # Update properties of this object
3393
+ def update!(**args)
3394
+ @content = args[:content] if args.key?(:content)
3395
+ @structure_type = args[:structure_type] if args.key?(:structure_type)
3396
+ end
3397
+ end
3398
+
3341
3399
  # Cloud SQL source import data from.
3342
3400
  class GoogleCloudDiscoveryengineV1CloudSqlSource
3343
3401
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250514"
25
+ REVISION = "20250519"
26
26
  end
27
27
  end
28
28
  end
@@ -550,6 +550,12 @@ module Google
550
550
  include Google::Apis::Core::JsonObjectSupport
551
551
  end
552
552
 
553
+ class GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
553
559
  class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
554
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
561
 
@@ -568,6 +574,12 @@ module Google
568
574
  include Google::Apis::Core::JsonObjectSupport
569
575
  end
570
576
 
577
+ class GoogleCloudDiscoveryengineV1ChunkStructuredContent
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
571
583
  class GoogleCloudDiscoveryengineV1CloudSqlSource
572
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
585
 
@@ -4826,6 +4838,8 @@ module Google
4826
4838
  # @private
4827
4839
  class Representation < Google::Apis::Core::JsonRepresentation
4828
4840
  collection :annotation_contents, as: 'annotationContents'
4841
+ collection :annotation_metadata, as: 'annotationMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata::Representation
4842
+
4829
4843
  property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata::Representation
4830
4844
 
4831
4845
  property :content, as: 'content'
@@ -4841,6 +4855,15 @@ module Google
4841
4855
  end
4842
4856
  end
4843
4857
 
4858
+ class GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata
4859
+ # @private
4860
+ class Representation < Google::Apis::Core::JsonRepresentation
4861
+ property :image_id, as: 'imageId'
4862
+ property :structured_content, as: 'structuredContent', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkStructuredContent, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkStructuredContent::Representation
4863
+
4864
+ end
4865
+ end
4866
+
4844
4867
  class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
4845
4868
  # @private
4846
4869
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4868,6 +4891,14 @@ module Google
4868
4891
  end
4869
4892
  end
4870
4893
 
4894
+ class GoogleCloudDiscoveryengineV1ChunkStructuredContent
4895
+ # @private
4896
+ class Representation < Google::Apis::Core::JsonRepresentation
4897
+ property :content, as: 'content'
4898
+ property :structure_type, as: 'structureType'
4899
+ end
4900
+ end
4901
+
4871
4902
  class GoogleCloudDiscoveryengineV1CloudSqlSource
4872
4903
  # @private
4873
4904
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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-discoveryengine_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.37.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.38.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Discovery Engine API V1
79
79
  test_files: []