google-apis-developerknowledge_v1 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eff02db1843f216ac9e89ae22d902ab78f775a750bab4394f696869d2e120c52
4
- data.tar.gz: 25b0fb08dff1b3a69f6ec02db4fc01223b980ea12af00884dee3dfdabfab3784
3
+ metadata.gz: 4d594150e8f373a22331139f4d90ecce9ba5ccd88e445d5b74ac69af0237bdbf
4
+ data.tar.gz: 10e7605630198c75416d87509fb6e6cbfaf2bfcc9fc7668a7cc5d185ce279130
5
5
  SHA512:
6
- metadata.gz: e6895fac614533ab6f5f6ebc916e48410049a13fc7b599e33da931528c38140c9a57f751143f6f84b5d069b7d0fcd68a1ea11cd256c496358deb6e601ef059ef
7
- data.tar.gz: 30b636131ecb0d6f932fda4665b36d4548da247f3794f4a282915d6e05bad3800593375064edc39c604b759efbc1e32f354badf2986a752428f4d679f426d9cf
6
+ metadata.gz: d063d5acd7856f8f75749a839c61e772a9b0c41d5b0b9860b27a2e1c50a342c1ada2afbc29956075f77057e04f1ecea927b9c95040569ba385f6dc10c6b9ddc7
7
+ data.tar.gz: 2011f258316ef2aa77fdd3d7a160cf484d6500acae383811ec9b9d019721fbc9ba46f25e71a4471dfbb36911e8c9b6d339267622ed63206b1e9499026a7dc2f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-developerknowledge_v1
2
2
 
3
+ ### v0.10.0 (2026-08-30)
4
+
5
+ * Regenerated from discovery document revision 20260823
6
+
7
+ ### v0.9.0 (2026-08-23)
8
+
9
+ * Regenerated from discovery document revision 20260817
10
+
3
11
  ### v0.8.0 (2026-08-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20260809
@@ -92,6 +92,35 @@ module Google
92
92
  class AnswerQueryRequest
93
93
  include Google::Apis::Core::Hashable
94
94
 
95
+ # Optional. Applies a strict filter to the search results used to ground the
96
+ # answer. The expression supports a subset of the syntax described at https://
97
+ # google.aip.dev/160. Supported fields for filtering: * `content_length_bytes` (
98
+ # INTEGER): The length of the `Document.content` field in bytes. * `data_source`
99
+ # (STRING): The source of the document, e.g. `docs.cloud.google.com`. See https:/
100
+ # /developers.google.com/knowledge/reference/corpus-reference for the complete
101
+ # list of data sources in the corpus. * `update_time` (TIMESTAMP): The timestamp
102
+ # of when the document was last meaningfully updated. A meaningful update is one
103
+ # that changes document's markdown content or metadata. * `uri` (STRING): The
104
+ # document URI, e.g. `https://docs.cloud.google.com/bigquery/docs/tables`.
105
+ # INTEGER fields support `=`, `<`, `<=`, `>`, and `>=` operators. STRING fields
106
+ # support `=` (equals) and `!=` (not equals) operators for **exact match** on
107
+ # the whole string. Partial match, prefix match, and regexp match are not
108
+ # supported. TIMESTAMP fields support `=`, `<`, `<=`, `>`, and `>=` operators.
109
+ # Timestamps must be in RFC-3339 format, e.g., `"2025-01-01T00:00:00Z"`. You can
110
+ # combine expressions using `AND`, `OR`, and `NOT` (or `-`) logical operators. `
111
+ # OR` has higher precedence than `AND`. Use parentheses for explicit precedence
112
+ # grouping. Examples: * Filter by `Document.content_length_bytes`: `
113
+ # content_length_bytes < 50000` * `data_source = "docs.cloud.google.com" OR
114
+ # data_source = "firebase.google.com"` * `data_source != "firebase.google.com"` *
115
+ # `update_time < "2024-01-01T00:00:00Z"` * `update_time >= "2025-01-22T00:00:
116
+ # 00Z" AND (data_source = "developer.chrome.com" OR data_source = "web.dev")` * `
117
+ # uri = "https://docs.cloud.google.com/release-notes"` The `filter` string must
118
+ # not exceed 500 characters; values longer than 500 characters will result in an
119
+ # `INVALID_ARGUMENT` error.
120
+ # Corresponds to the JSON property `filter`
121
+ # @return [String]
122
+ attr_accessor :filter
123
+
95
124
  # Required. The query to answer.
96
125
  # Corresponds to the JSON property `query`
97
126
  # @return [String]
@@ -103,6 +132,7 @@ module Google
103
132
 
104
133
  # Update properties of this object
105
134
  def update!(**args)
135
+ @filter = args[:filter] if args.key?(:filter)
106
136
  @query = args[:query] if args.key?(:query)
107
137
  end
108
138
  end
@@ -291,6 +321,13 @@ module Google
291
321
  # @return [String]
292
322
  attr_accessor :parent
293
323
 
324
+ # Output only. Represents the relevance score of the chunk to the search query.
325
+ # Higher score indicates higher chunk relevance. The score is in range [0.0, 1.0]
326
+ # .
327
+ # Corresponds to the JSON property `relevanceScore`
328
+ # @return [Float]
329
+ attr_accessor :relevance_score
330
+
294
331
  def initialize(**args)
295
332
  update!(**args)
296
333
  end
@@ -301,6 +338,7 @@ module Google
301
338
  @document = args[:document] if args.key?(:document)
302
339
  @id = args[:id] if args.key?(:id)
303
340
  @parent = args[:parent] if args.key?(:parent)
341
+ @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
304
342
  end
305
343
  end
306
344
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DeveloperknowledgeV1
18
18
  # Version of the google-apis-developerknowledge_v1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260809"
25
+ REVISION = "20260823"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,7 @@ module Google
112
112
  class AnswerQueryRequest
113
113
  # @private
114
114
  class Representation < Google::Apis::Core::JsonRepresentation
115
+ property :filter, as: 'filter'
115
116
  property :query, as: 'query'
116
117
  end
117
118
  end
@@ -170,6 +171,7 @@ module Google
170
171
 
171
172
  property :id, as: 'id'
172
173
  property :parent, as: 'parent'
174
+ property :relevance_score, as: 'relevanceScore'
173
175
  end
174
176
  end
175
177
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-developerknowledge_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerknowledge_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-developerknowledge_v1/v0.8.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-developerknowledge_v1/v0.10.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerknowledge_v1
62
62
  rdoc_options: []
63
63
  require_paths: