Skip to content

Commit 2b2093b

Browse files
feat: Automated regeneration of discoveryengine v1 client (googleapis#20259)
Auto-created at 2024-09-22 09:42:53 +0000 using the toys pull request generator.
1 parent 9ddaafe commit 2b2093b

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

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.16.0 (2024-09-22)
4+
5+
* Regenerated from discovery document revision 20240912
6+
37
### v0.15.0 (2024-09-15)
48

59
* Regenerated from discovery document revision 20240906

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,12 +1007,16 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSe
10071007
# @return [String]
10081008
attr_accessor :document
10091009

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

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

1054-
# Document content.
1058+
# Document content to be used for answer generation.
10551059
# Corresponds to the JSON property `content`
10561060
# @return [String]
10571061
attr_accessor :content
@@ -1099,7 +1103,8 @@ def update!(**args)
10991103
end
11001104

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

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.15.0"
19+
GEM_VERSION = "0.16.0"
2020

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

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

0 commit comments

Comments
 (0)