Skip to content

Commit 5d8f2b3

Browse files
feat: Automated regeneration of discoveryengine v1 client (googleapis#23199)
Auto-created at 2025-05-21 20:50:39 +0000 using the toys pull request generator.
1 parent e461305 commit 5d8f2b3

File tree

5 files changed

+103
-2
lines changed

5 files changed

+103
-2
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196246,6 +196246,8 @@
196246196246
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk": google_cloud_discoveryengine_v1_chunk
196247196247
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/annotationContents": annotation_contents
196248196248
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/annotationContents/annotation_content": annotation_content
196249+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/annotationMetadata": annotation_metadata
196250+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/annotationMetadata/annotation_metadatum": annotation_metadatum
196249196251
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/chunkMetadata": chunk_metadata
196250196252
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/content": content
196251196253
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/dataUrls": data_urls
@@ -196257,6 +196259,9 @@
196257196259
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/name": name
196258196260
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/pageSpan": page_span
196259196261
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1Chunk/relevanceScore": relevance_score
196262+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata": google_cloud_discoveryengine_v1_chunk_annotation_metadata
196263+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata/imageId": image_id
196264+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata/structuredContent": structured_content
196260196265
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkChunkMetadata": google_cloud_discoveryengine_v1_chunk_chunk_metadata
196261196266
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkChunkMetadata/nextChunks": next_chunks
196262196267
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkChunkMetadata/nextChunks/next_chunk": next_chunk
@@ -196270,6 +196275,9 @@
196270196275
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkPageSpan": google_cloud_discoveryengine_v1_chunk_page_span
196271196276
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkPageSpan/pageEnd": page_end
196272196277
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkPageSpan/pageStart": page_start
196278+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkStructuredContent": google_cloud_discoveryengine_v1_chunk_structured_content
196279+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkStructuredContent/content": content
196280+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ChunkStructuredContent/structureType": structure_type
196273196281
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1CloudSqlSource": google_cloud_discoveryengine_v1_cloud_sql_source
196274196282
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1CloudSqlSource/databaseId": database_id
196275196283
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1CloudSqlSource/gcsStagingDir": gcs_staging_dir

generated/google-apis-discoveryengine_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-discoveryengine_v1
22

3+
### v0.38.0 (2025-05-21)
4+
5+
* Regenerated from discovery document revision 20250519
6+
37
### v0.37.0 (2025-05-18)
48

59
* Regenerated from discovery document revision 20250514

generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3176,6 +3176,12 @@ class GoogleCloudDiscoveryengineV1Chunk
31763176
# @return [Array<String>]
31773177
attr_accessor :annotation_contents
31783178

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+
31793185
# Metadata of the current chunk. This field is only populated on SearchService.
31803186
# Search API.
31813187
# Corresponds to the JSON property `chunkMetadata`
@@ -3238,6 +3244,7 @@ def initialize(**args)
32383244
# Update properties of this object
32393245
def update!(**args)
32403246
@annotation_contents = args[:annotation_contents] if args.key?(:annotation_contents)
3247+
@annotation_metadata = args[:annotation_metadata] if args.key?(:annotation_metadata)
32413248
@chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
32423249
@content = args[:content] if args.key?(:content)
32433250
@data_urls = args[:data_urls] if args.key?(:data_urls)
@@ -3250,6 +3257,32 @@ def update!(**args)
32503257
end
32513258
end
32523259

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+
32533286
# Metadata of the current chunk. This field is only populated on SearchService.
32543287
# Search API.
32553288
class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
@@ -3338,6 +3371,31 @@ def update!(**args)
33383371
end
33393372
end
33403373

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+
33413399
# Cloud SQL source import data from.
33423400
class GoogleCloudDiscoveryengineV1CloudSqlSource
33433401
include Google::Apis::Core::Hashable

generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DiscoveryengineV1
1818
# Version of the google-apis-discoveryengine_v1 gem
19-
GEM_VERSION = "0.37.0"
19+
GEM_VERSION = "0.38.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.17.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250514"
25+
REVISION = "20250519"
2626
end
2727
end
2828
end

generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
550550
include Google::Apis::Core::JsonObjectSupport
551551
end
552552

553+
class GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata
554+
class Representation < Google::Apis::Core::JsonRepresentation; end
555+
556+
include Google::Apis::Core::JsonObjectSupport
557+
end
558+
553559
class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
554560
class Representation < Google::Apis::Core::JsonRepresentation; end
555561

@@ -568,6 +574,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
568574
include Google::Apis::Core::JsonObjectSupport
569575
end
570576

577+
class GoogleCloudDiscoveryengineV1ChunkStructuredContent
578+
class Representation < Google::Apis::Core::JsonRepresentation; end
579+
580+
include Google::Apis::Core::JsonObjectSupport
581+
end
582+
571583
class GoogleCloudDiscoveryengineV1CloudSqlSource
572584
class Representation < Google::Apis::Core::JsonRepresentation; end
573585

@@ -4826,6 +4838,8 @@ class GoogleCloudDiscoveryengineV1Chunk
48264838
# @private
48274839
class Representation < Google::Apis::Core::JsonRepresentation
48284840
collection :annotation_contents, as: 'annotationContents'
4841+
collection :annotation_metadata, as: 'annotationMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata::Representation
4842+
48294843
property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata::Representation
48304844

48314845
property :content, as: 'content'
@@ -4841,6 +4855,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
48414855
end
48424856
end
48434857

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+
48444867
class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
48454868
# @private
48464869
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4868,6 +4891,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
48684891
end
48694892
end
48704893

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+
48714902
class GoogleCloudDiscoveryengineV1CloudSqlSource
48724903
# @private
48734904
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)