Skip to content

Commit 16481b3

Browse files
feat: Automated regeneration of discoveryengine v1alpha client (googleapis#23182)
Auto-created at 2025-05-21 20:11:11 +0000 using the toys pull request generator.
1 parent 5dd21df commit 16481b3

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
@@ -200831,6 +200831,8 @@
200831200831
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk": google_cloud_discoveryengine_v1alpha_chunk
200832200832
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/annotationContents": annotation_contents
200833200833
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/annotationContents/annotation_content": annotation_content
200834+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/annotationMetadata": annotation_metadata
200835+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/annotationMetadata/annotation_metadatum": annotation_metadatum
200834200836
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/chunkMetadata": chunk_metadata
200835200837
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/content": content
200836200838
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/dataUrls": data_urls
@@ -200842,6 +200844,9 @@
200842200844
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/name": name
200843200845
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/pageSpan": page_span
200844200846
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunk/relevanceScore": relevance_score
200847+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata": google_cloud_discoveryengine_v1alpha_chunk_annotation_metadata
200848+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata/imageId": image_id
200849+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata/structuredContent": structured_content
200845200850
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata": google_cloud_discoveryengine_v1alpha_chunk_chunk_metadata
200846200851
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata/nextChunks": next_chunks
200847200852
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata/nextChunks/next_chunk": next_chunk
@@ -200855,6 +200860,9 @@
200855200860
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkPageSpan": google_cloud_discoveryengine_v1alpha_chunk_page_span
200856200861
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkPageSpan/pageEnd": page_end
200857200862
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkPageSpan/pageStart": page_start
200863+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkStructuredContent": google_cloud_discoveryengine_v1alpha_chunk_structured_content
200864+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkStructuredContent/content": content
200865+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkStructuredContent/structureType": structure_type
200858200866
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCloudSqlSource": google_cloud_discoveryengine_v1alpha_cloud_sql_source
200859200867
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCloudSqlSource/databaseId": database_id
200860200868
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCloudSqlSource/gcsStagingDir": gcs_staging_dir

generated/google-apis-discoveryengine_v1alpha/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_v1alpha
22

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

59
* Regenerated from discovery document revision 20250514

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

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8572,6 +8572,12 @@ class GoogleCloudDiscoveryengineV1alphaChunk
85728572
# @return [Array<String>]
85738573
attr_accessor :annotation_contents
85748574

8575+
# Output only. The annotation metadata includes structured content in the
8576+
# current chunk.
8577+
# Corresponds to the JSON property `annotationMetadata`
8578+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata>]
8579+
attr_accessor :annotation_metadata
8580+
85758581
# Metadata of the current chunk. This field is only populated on SearchService.
85768582
# Search API.
85778583
# Corresponds to the JSON property `chunkMetadata`
@@ -8634,6 +8640,7 @@ def initialize(**args)
86348640
# Update properties of this object
86358641
def update!(**args)
86368642
@annotation_contents = args[:annotation_contents] if args.key?(:annotation_contents)
8643+
@annotation_metadata = args[:annotation_metadata] if args.key?(:annotation_metadata)
86378644
@chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
86388645
@content = args[:content] if args.key?(:content)
86398646
@data_urls = args[:data_urls] if args.key?(:data_urls)
@@ -8646,6 +8653,32 @@ def update!(**args)
86468653
end
86478654
end
86488655

8656+
# The annotation metadata includes structured content in the current chunk.
8657+
class GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata
8658+
include Google::Apis::Core::Hashable
8659+
8660+
# Output only. Image id is provided if the structured content is based on an
8661+
# image.
8662+
# Corresponds to the JSON property `imageId`
8663+
# @return [String]
8664+
attr_accessor :image_id
8665+
8666+
# The structured content information.
8667+
# Corresponds to the JSON property `structuredContent`
8668+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkStructuredContent]
8669+
attr_accessor :structured_content
8670+
8671+
def initialize(**args)
8672+
update!(**args)
8673+
end
8674+
8675+
# Update properties of this object
8676+
def update!(**args)
8677+
@image_id = args[:image_id] if args.key?(:image_id)
8678+
@structured_content = args[:structured_content] if args.key?(:structured_content)
8679+
end
8680+
end
8681+
86498682
# Metadata of the current chunk. This field is only populated on SearchService.
86508683
# Search API.
86518684
class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata
@@ -8734,6 +8767,31 @@ def update!(**args)
87348767
end
87358768
end
87368769

8770+
# The structured content information.
8771+
class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent
8772+
include Google::Apis::Core::Hashable
8773+
8774+
# Output only. The content of the structured content.
8775+
# Corresponds to the JSON property `content`
8776+
# @return [String]
8777+
attr_accessor :content
8778+
8779+
# Output only. The structure type of the structured content.
8780+
# Corresponds to the JSON property `structureType`
8781+
# @return [String]
8782+
attr_accessor :structure_type
8783+
8784+
def initialize(**args)
8785+
update!(**args)
8786+
end
8787+
8788+
# Update properties of this object
8789+
def update!(**args)
8790+
@content = args[:content] if args.key?(:content)
8791+
@structure_type = args[:structure_type] if args.key?(:structure_type)
8792+
end
8793+
end
8794+
87378795
# Cloud SQL source import data from.
87388796
class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
87398797
include Google::Apis::Core::Hashable

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/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 DiscoveryengineV1alpha
1818
# Version of the google-apis-discoveryengine_v1alpha gem
19-
GEM_VERSION = "0.62.0"
19+
GEM_VERSION = "0.63.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_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,6 +1354,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
13541354
include Google::Apis::Core::JsonObjectSupport
13551355
end
13561356

1357+
class GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata
1358+
class Representation < Google::Apis::Core::JsonRepresentation; end
1359+
1360+
include Google::Apis::Core::JsonObjectSupport
1361+
end
1362+
13571363
class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata
13581364
class Representation < Google::Apis::Core::JsonRepresentation; end
13591365

@@ -1372,6 +1378,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
13721378
include Google::Apis::Core::JsonObjectSupport
13731379
end
13741380

1381+
class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent
1382+
class Representation < Google::Apis::Core::JsonRepresentation; end
1383+
1384+
include Google::Apis::Core::JsonObjectSupport
1385+
end
1386+
13751387
class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
13761388
class Representation < Google::Apis::Core::JsonRepresentation; end
13771389

@@ -6602,6 +6614,8 @@ class GoogleCloudDiscoveryengineV1alphaChunk
66026614
# @private
66036615
class Representation < Google::Apis::Core::JsonRepresentation
66046616
collection :annotation_contents, as: 'annotationContents'
6617+
collection :annotation_metadata, as: 'annotationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata::Representation
6618+
66056619
property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata::Representation
66066620

66076621
property :content, as: 'content'
@@ -6617,6 +6631,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
66176631
end
66186632
end
66196633

6634+
class GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata
6635+
# @private
6636+
class Representation < Google::Apis::Core::JsonRepresentation
6637+
property :image_id, as: 'imageId'
6638+
property :structured_content, as: 'structuredContent', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkStructuredContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkStructuredContent::Representation
6639+
6640+
end
6641+
end
6642+
66206643
class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata
66216644
# @private
66226645
class Representation < Google::Apis::Core::JsonRepresentation
@@ -6644,6 +6667,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
66446667
end
66456668
end
66466669

6670+
class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent
6671+
# @private
6672+
class Representation < Google::Apis::Core::JsonRepresentation
6673+
property :content, as: 'content'
6674+
property :structure_type, as: 'structureType'
6675+
end
6676+
end
6677+
66476678
class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
66486679
# @private
66496680
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)