Skip to content

Commit

Permalink
feat: Automated regeneration of discoveryengine v1 client (#20259)
Browse files Browse the repository at this point in the history
Auto-created at 2024-09-22 09:42:53 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Sep 22, 2024
1 parent 9ddaafe commit 2b2093b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
4 changes: 4 additions & 0 deletions generated/google-apis-discoveryengine_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-discoveryengine_v1

### v0.16.0 (2024-09-22)

* Regenerated from discovery document revision 20240912

### v0.15.0 (2024-09-15)

* Regenerated from discovery document revision 20240906
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1007,12 +1007,16 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSe
# @return [String]
attr_accessor :document

# List of document contexts.
# List of document contexts. The content will be used for Answer Generation.
# This is supposed to be the main content of the document that can be long and
# comprehensive.
# Corresponds to the JSON property `documentContexts`
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext>]
attr_accessor :document_contexts

# List of extractive answers.
# Deprecated: This field is deprecated and will have no effect on the Answer
# generation. Please use document_contexts and extractive_segments fields. List
# of extractive answers.
# Corresponds to the JSON property `extractiveAnswers`
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer>]
attr_accessor :extractive_answers
Expand Down Expand Up @@ -1051,7 +1055,7 @@ def update!(**args)
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
include Google::Apis::Core::Hashable

# Document content.
# Document content to be used for answer generation.
# Corresponds to the JSON property `content`
# @return [String]
attr_accessor :content
Expand Down Expand Up @@ -1099,7 +1103,8 @@ def update!(**args)
end

# Extractive segment. [Guide](https://cloud.google.com/generative-ai-app-builder/
# docs/snippets#extractive-segments)
# docs/snippets#extractive-segments) Answer generation will only use it if
# document_contexts is empty. This is supposed to be shorter snippets.
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment
include Google::Apis::Core::Hashable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DiscoveryengineV1
# Version of the google-apis-discoveryengine_v1 gem
GEM_VERSION = "0.15.0"
GEM_VERSION = "0.16.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240906"
REVISION = "20240912"
end
end
end

0 comments on commit 2b2093b

Please sign in to comment.