google-apis-developerknowledge_v1 0.7.0 → 0.9.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/developerknowledge_v1/classes.rb +8 -0
- data/lib/google/apis/developerknowledge_v1/gem_version.rb +2 -2
- data/lib/google/apis/developerknowledge_v1/representations.rb +1 -0
- data/lib/google/apis/developerknowledge_v1/service.rb +26 -23
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0bb14d0df14b7c84f0ce54d66250387c6242ad4fc3ca36e45c8e38db5171a0c
|
|
4
|
+
data.tar.gz: c42ce5d19203e55265b5ce3ca464c5a39ca8ccc47c23689fa71732e467efe821
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84fe88da66b9007ee00d05ac299d013098b13cd496cb198c3a7a6339916c99309d72fba78d834e1fed0818cd402c6dda558189364797ffb35e980a0ca12a55cc
|
|
7
|
+
data.tar.gz: 7017956b0e7ab0b69e9e5ef2cab2a8ef06591bc60eb9b6c4ee4cdaf92f31d659247e86fd36dba4615e3bc3c0d6969840e6ffb077310897f9d14e202fcbeded5e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-developerknowledge_v1
|
|
2
2
|
|
|
3
|
+
### v0.9.0 (2026-08-23)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260817
|
|
6
|
+
|
|
7
|
+
### v0.8.0 (2026-08-16)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260809
|
|
10
|
+
|
|
3
11
|
### v0.7.0 (2026-08-09)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260802
|
|
@@ -291,6 +291,13 @@ module Google
|
|
|
291
291
|
# @return [String]
|
|
292
292
|
attr_accessor :parent
|
|
293
293
|
|
|
294
|
+
# Output only. Represents the relevance score of the chunk to the search query.
|
|
295
|
+
# Higher score indicates higher chunk relevance. The score is in range [0.0, 1.0]
|
|
296
|
+
# .
|
|
297
|
+
# Corresponds to the JSON property `relevanceScore`
|
|
298
|
+
# @return [Float]
|
|
299
|
+
attr_accessor :relevance_score
|
|
300
|
+
|
|
294
301
|
def initialize(**args)
|
|
295
302
|
update!(**args)
|
|
296
303
|
end
|
|
@@ -301,6 +308,7 @@ module Google
|
|
|
301
308
|
@document = args[:document] if args.key?(:document)
|
|
302
309
|
@id = args[:id] if args.key?(:id)
|
|
303
310
|
@parent = args[:parent] if args.key?(:parent)
|
|
311
|
+
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
|
304
312
|
end
|
|
305
313
|
end
|
|
306
314
|
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.9.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 = "
|
|
25
|
+
REVISION = "20260817"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -136,29 +136,32 @@ module Google
|
|
|
136
136
|
# Optional. Applies a strict filter to the search results. The expression
|
|
137
137
|
# supports a subset of the syntax described at https://google.aip.dev/160. While
|
|
138
138
|
# `SearchDocumentChunks` returns DocumentChunks, the filter is applied to `
|
|
139
|
-
# DocumentChunk.document` fields. Supported fields for filtering: * `
|
|
140
|
-
# (
|
|
141
|
-
#
|
|
142
|
-
#
|
|
143
|
-
#
|
|
144
|
-
#
|
|
145
|
-
# document
|
|
146
|
-
#
|
|
147
|
-
#
|
|
148
|
-
#
|
|
149
|
-
#
|
|
150
|
-
#
|
|
151
|
-
#
|
|
152
|
-
# in
|
|
153
|
-
#
|
|
154
|
-
#
|
|
155
|
-
#
|
|
156
|
-
#
|
|
157
|
-
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
139
|
+
# DocumentChunk.document` fields. Supported fields for filtering: * `
|
|
140
|
+
# content_length_bytes` (INTEGER): The length of the `Document.content` field in
|
|
141
|
+
# bytes. * `data_source` (STRING): The source of the document, e.g. `docs.cloud.
|
|
142
|
+
# google.com`. See https://developers.google.com/knowledge/reference/corpus-
|
|
143
|
+
# reference for the complete list of data sources in the corpus. * `update_time`
|
|
144
|
+
# (TIMESTAMP): The timestamp of when the document was last meaningfully updated.
|
|
145
|
+
# A meaningful update is one that changes document's markdown content or
|
|
146
|
+
# metadata. * `uri` (STRING): The document URI, e.g. `https://docs.cloud.google.
|
|
147
|
+
# com/bigquery/docs/tables`. INTEGER fields support `=`, `<`, `<=`, `>`, and `>=`
|
|
148
|
+
# operators. STRING fields support `=` (equals) and `!=` (not equals) operators
|
|
149
|
+
# for **exact match** on the whole string. Partial match, prefix match, and
|
|
150
|
+
# regexp match are not supported. TIMESTAMP fields support `=`, `<`, `<=`, `>`,
|
|
151
|
+
# and `>=` operators. Timestamps must be in RFC-3339 format, e.g., `"2025-01-
|
|
152
|
+
# 01T00:00:00Z"`. Note: Field names must be in `snake_case` (e.g., `data_source`)
|
|
153
|
+
# . Values on the right-hand side of filtering expressions must be string
|
|
154
|
+
# literals enclosed in double quotes (e.g., `"docs.cloud.google.com"`). You can
|
|
155
|
+
# combine expressions using `AND`, `OR`, and `NOT` (or `-`) logical operators. `
|
|
156
|
+
# OR` has higher precedence than `AND`. Use parentheses for explicit precedence
|
|
157
|
+
# grouping. Examples: * Filter by `Document.content_length_bytes`: `
|
|
158
|
+
# content_length_bytes < 50000` * `data_source = "docs.cloud.google.com" OR
|
|
159
|
+
# data_source = "firebase.google.com"` * `data_source != "firebase.google.com"` *
|
|
160
|
+
# `update_time < "2024-01-01T00:00:00Z"` * `update_time >= "2025-01-22T00:00:
|
|
161
|
+
# 00Z" AND (data_source = "developer.chrome.com" OR data_source = "web.dev")` * `
|
|
162
|
+
# uri = "https://docs.cloud.google.com/release-notes"` The `filter` string must
|
|
163
|
+
# not exceed 500 characters; values longer than 500 characters will result in an
|
|
164
|
+
# `INVALID_ARGUMENT` error.
|
|
162
165
|
# @param [Fixnum] page_size
|
|
163
166
|
# Optional. Specifies the maximum number of results to return. The service may
|
|
164
167
|
# return fewer than this value. If unspecified, at most 5 results will be
|
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.
|
|
4
|
+
version: 0.9.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-developerknowledge_v1/v0.9.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:
|