google-apis-developerknowledge_v1 0.9.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d594150e8f373a22331139f4d90ecce9ba5ccd88e445d5b74ac69af0237bdbf
|
|
4
|
+
data.tar.gz: 10e7605630198c75416d87509fb6e6cbfaf2bfcc9fc7668a7cc5d185ce279130
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d063d5acd7856f8f75749a839c61e772a9b0c41d5b0b9860b27a2e1c50a342c1ada2afbc29956075f77057e04f1ecea927b9c95040569ba385f6dc10c6b9ddc7
|
|
7
|
+
data.tar.gz: 2011f258316ef2aa77fdd3d7a160cf484d6500acae383811ec9b9d019721fbc9ba46f25e71a4471dfbb36911e8c9b6d339267622ed63206b1e9499026a7dc2f2
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -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.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 = "
|
|
25
|
+
REVISION = "20260823"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
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.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.
|
|
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:
|