Skip to content

Commit 2174c2f

Browse files
feat: Automated regeneration of discoveryengine v1beta client (googleapis#23197)
Auto-created at 2025-05-21 20:44:42 +0000 using the toys pull request generator.
1 parent 5f433ae commit 2174c2f

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
@@ -206627,6 +206627,8 @@
206627206627
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk": google_cloud_discoveryengine_v1beta_chunk
206628206628
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/annotationContents": annotation_contents
206629206629
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/annotationContents/annotation_content": annotation_content
206630+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/annotationMetadata": annotation_metadata
206631+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/annotationMetadata/annotation_metadatum": annotation_metadatum
206630206632
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/chunkMetadata": chunk_metadata
206631206633
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/content": content
206632206634
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/dataUrls": data_urls
@@ -206638,6 +206640,9 @@
206638206640
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/name": name
206639206641
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/pageSpan": page_span
206640206642
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunk/relevanceScore": relevance_score
206643+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata": google_cloud_discoveryengine_v1beta_chunk_annotation_metadata
206644+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata/imageId": image_id
206645+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata/structuredContent": structured_content
206641206646
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkChunkMetadata": google_cloud_discoveryengine_v1beta_chunk_chunk_metadata
206642206647
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkChunkMetadata/nextChunks": next_chunks
206643206648
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkChunkMetadata/nextChunks/next_chunk": next_chunk
@@ -206651,6 +206656,9 @@
206651206656
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkPageSpan": google_cloud_discoveryengine_v1beta_chunk_page_span
206652206657
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkPageSpan/pageEnd": page_end
206653206658
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkPageSpan/pageStart": page_start
206659+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkStructuredContent": google_cloud_discoveryengine_v1beta_chunk_structured_content
206660+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkStructuredContent/content": content
206661+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaChunkStructuredContent/structureType": structure_type
206654206662
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaCloudSqlSource": google_cloud_discoveryengine_v1beta_cloud_sql_source
206655206663
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaCloudSqlSource/databaseId": database_id
206656206664
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaCloudSqlSource/gcsStagingDir": gcs_staging_dir

generated/google-apis-discoveryengine_v1beta/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_v1beta
22

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

59
* Regenerated from discovery document revision 20250514

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

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15168,6 +15168,12 @@ class GoogleCloudDiscoveryengineV1betaChunk
1516815168
# @return [Array<String>]
1516915169
attr_accessor :annotation_contents
1517015170

15171+
# Output only. The annotation metadata includes structured content in the
15172+
# current chunk.
15173+
# Corresponds to the JSON property `annotationMetadata`
15174+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata>]
15175+
attr_accessor :annotation_metadata
15176+
1517115177
# Metadata of the current chunk. This field is only populated on SearchService.
1517215178
# Search API.
1517315179
# Corresponds to the JSON property `chunkMetadata`
@@ -15230,6 +15236,7 @@ def initialize(**args)
1523015236
# Update properties of this object
1523115237
def update!(**args)
1523215238
@annotation_contents = args[:annotation_contents] if args.key?(:annotation_contents)
15239+
@annotation_metadata = args[:annotation_metadata] if args.key?(:annotation_metadata)
1523315240
@chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
1523415241
@content = args[:content] if args.key?(:content)
1523515242
@data_urls = args[:data_urls] if args.key?(:data_urls)
@@ -15242,6 +15249,32 @@ def update!(**args)
1524215249
end
1524315250
end
1524415251

15252+
# The annotation metadata includes structured content in the current chunk.
15253+
class GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata
15254+
include Google::Apis::Core::Hashable
15255+
15256+
# Output only. Image id is provided if the structured content is based on an
15257+
# image.
15258+
# Corresponds to the JSON property `imageId`
15259+
# @return [String]
15260+
attr_accessor :image_id
15261+
15262+
# The structured content information.
15263+
# Corresponds to the JSON property `structuredContent`
15264+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkStructuredContent]
15265+
attr_accessor :structured_content
15266+
15267+
def initialize(**args)
15268+
update!(**args)
15269+
end
15270+
15271+
# Update properties of this object
15272+
def update!(**args)
15273+
@image_id = args[:image_id] if args.key?(:image_id)
15274+
@structured_content = args[:structured_content] if args.key?(:structured_content)
15275+
end
15276+
end
15277+
1524515278
# Metadata of the current chunk. This field is only populated on SearchService.
1524615279
# Search API.
1524715280
class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
@@ -15330,6 +15363,31 @@ def update!(**args)
1533015363
end
1533115364
end
1533215365

15366+
# The structured content information.
15367+
class GoogleCloudDiscoveryengineV1betaChunkStructuredContent
15368+
include Google::Apis::Core::Hashable
15369+
15370+
# Output only. The content of the structured content.
15371+
# Corresponds to the JSON property `content`
15372+
# @return [String]
15373+
attr_accessor :content
15374+
15375+
# Output only. The structure type of the structured content.
15376+
# Corresponds to the JSON property `structureType`
15377+
# @return [String]
15378+
attr_accessor :structure_type
15379+
15380+
def initialize(**args)
15381+
update!(**args)
15382+
end
15383+
15384+
# Update properties of this object
15385+
def update!(**args)
15386+
@content = args[:content] if args.key?(:content)
15387+
@structure_type = args[:structure_type] if args.key?(:structure_type)
15388+
end
15389+
end
15390+
1533315391
# Cloud SQL source import data from.
1533415392
class GoogleCloudDiscoveryengineV1betaCloudSqlSource
1533515393
include Google::Apis::Core::Hashable

generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/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 DiscoveryengineV1beta
1818
# Version of the google-apis-discoveryengine_v1beta gem
19-
GEM_VERSION = "0.65.0"
19+
GEM_VERSION = "0.66.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_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2446,6 +2446,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
24462446
include Google::Apis::Core::JsonObjectSupport
24472447
end
24482448

2449+
class GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata
2450+
class Representation < Google::Apis::Core::JsonRepresentation; end
2451+
2452+
include Google::Apis::Core::JsonObjectSupport
2453+
end
2454+
24492455
class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
24502456
class Representation < Google::Apis::Core::JsonRepresentation; end
24512457

@@ -2464,6 +2470,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
24642470
include Google::Apis::Core::JsonObjectSupport
24652471
end
24662472

2473+
class GoogleCloudDiscoveryengineV1betaChunkStructuredContent
2474+
class Representation < Google::Apis::Core::JsonRepresentation; end
2475+
2476+
include Google::Apis::Core::JsonObjectSupport
2477+
end
2478+
24672479
class GoogleCloudDiscoveryengineV1betaCloudSqlSource
24682480
class Representation < Google::Apis::Core::JsonRepresentation; end
24692481

@@ -8240,6 +8252,8 @@ class GoogleCloudDiscoveryengineV1betaChunk
82408252
# @private
82418253
class Representation < Google::Apis::Core::JsonRepresentation
82428254
collection :annotation_contents, as: 'annotationContents'
8255+
collection :annotation_metadata, as: 'annotationMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata::Representation
8256+
82438257
property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkChunkMetadata::Representation
82448258

82458259
property :content, as: 'content'
@@ -8255,6 +8269,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
82558269
end
82568270
end
82578271

8272+
class GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata
8273+
# @private
8274+
class Representation < Google::Apis::Core::JsonRepresentation
8275+
property :image_id, as: 'imageId'
8276+
property :structured_content, as: 'structuredContent', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkStructuredContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkStructuredContent::Representation
8277+
8278+
end
8279+
end
8280+
82588281
class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
82598282
# @private
82608283
class Representation < Google::Apis::Core::JsonRepresentation
@@ -8282,6 +8305,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
82828305
end
82838306
end
82848307

8308+
class GoogleCloudDiscoveryengineV1betaChunkStructuredContent
8309+
# @private
8310+
class Representation < Google::Apis::Core::JsonRepresentation
8311+
property :content, as: 'content'
8312+
property :structure_type, as: 'structureType'
8313+
end
8314+
end
8315+
82858316
class GoogleCloudDiscoveryengineV1betaCloudSqlSource
82868317
# @private
82878318
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)