google-apis-developerknowledge_v1 0.4.0 → 0.5.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 +4 -0
- data/lib/google/apis/developerknowledge_v1/classes.rb +6 -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 +24 -22
- 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: '09c7934b521cb507226acc8da25163437cebc4990f9a9fff215b82bb9a3d66df'
|
|
4
|
+
data.tar.gz: 9c562926f90c0df9ad88edde054d2a0c22b527bcfbe9816e0cb6dd944bdc9a38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acbfa320263a37921b9cdb06a843d90b005d2bdc38fbeb2dc5440f8b3ab939567e66f42c05cb4de3d0ac36478eb72474152e6947f8a7cd2d0ce83b60ef223e23
|
|
7
|
+
data.tar.gz: d5feddddbffe7668cb327ad8007a4edce79196b9b419a4d8aa60ee147601d1d54c5206d557c1132e350e4bbd93ee15a3d15204a5d330fac6d9a70d51a8137cd7
|
data/CHANGELOG.md
CHANGED
|
@@ -50,6 +50,11 @@ module Google
|
|
|
50
50
|
# @return [String]
|
|
51
51
|
attr_accessor :content
|
|
52
52
|
|
|
53
|
+
# Output only. The length of the `content` field in bytes.
|
|
54
|
+
# Corresponds to the JSON property `contentLengthBytes`
|
|
55
|
+
# @return [Fixnum]
|
|
56
|
+
attr_accessor :content_length_bytes
|
|
57
|
+
|
|
53
58
|
# Output only. Specifies the data source of the document. Example data source: `
|
|
54
59
|
# firebase.google.com`
|
|
55
60
|
# Corresponds to the JSON property `dataSource`
|
|
@@ -97,6 +102,7 @@ module Google
|
|
|
97
102
|
# Update properties of this object
|
|
98
103
|
def update!(**args)
|
|
99
104
|
@content = args[:content] if args.key?(:content)
|
|
105
|
+
@content_length_bytes = args[:content_length_bytes] if args.key?(:content_length_bytes)
|
|
100
106
|
@data_source = args[:data_source] if args.key?(:data_source)
|
|
101
107
|
@description = args[:description] if args.key?(:description)
|
|
102
108
|
@name = args[:name] if args.key?(:name)
|
|
@@ -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.5.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 = "20260705"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -58,6 +58,7 @@ module Google
|
|
|
58
58
|
# @private
|
|
59
59
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
60
60
|
property :content, as: 'content'
|
|
61
|
+
property :content_length_bytes, as: 'contentLengthBytes'
|
|
61
62
|
property :data_source, as: 'dataSource'
|
|
62
63
|
property :description, as: 'description'
|
|
63
64
|
property :name, as: 'name'
|
|
@@ -133,31 +133,33 @@ module Google
|
|
|
133
133
|
# Optional. Applies a strict filter to the search results. The expression
|
|
134
134
|
# supports a subset of the syntax described at https://google.aip.dev/160. While
|
|
135
135
|
# `SearchDocumentChunks` returns DocumentChunks, the filter is applied to `
|
|
136
|
-
# DocumentChunk.document` fields. Supported fields for filtering: * `
|
|
137
|
-
# (
|
|
138
|
-
#
|
|
139
|
-
#
|
|
140
|
-
#
|
|
141
|
-
#
|
|
142
|
-
# document
|
|
143
|
-
#
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
147
|
-
#
|
|
148
|
-
# operators.
|
|
149
|
-
#
|
|
150
|
-
#
|
|
151
|
-
#
|
|
152
|
-
#
|
|
153
|
-
#
|
|
154
|
-
#
|
|
155
|
-
#
|
|
136
|
+
# DocumentChunk.document` fields. Supported fields for filtering: * `
|
|
137
|
+
# content_length_bytes` (INTEGER): The length of the `Document.content` field in
|
|
138
|
+
# bytes. * `data_source` (STRING): The source of the document, e.g. `docs.cloud.
|
|
139
|
+
# google.com`. See https://developers.google.com/knowledge/reference/corpus-
|
|
140
|
+
# reference for the complete list of data sources in the corpus. * `update_time`
|
|
141
|
+
# (TIMESTAMP): The timestamp of when the document was last meaningfully updated.
|
|
142
|
+
# A meaningful update is one that changes document's markdown content or
|
|
143
|
+
# metadata. * `uri` (STRING): The document URI, e.g. `https://docs.cloud.google.
|
|
144
|
+
# com/bigquery/docs/tables`. INTEGER fields support `=`, `<`, `<=`, `>`, and `>=`
|
|
145
|
+
# operators. STRING fields support `=` (equals) and `!=` (not equals) operators
|
|
146
|
+
# for **exact match** on the whole string. Partial match, prefix match, and
|
|
147
|
+
# regexp match are not supported. TIMESTAMP fields support `=`, `<`, `<=`, `>`,
|
|
148
|
+
# and `>=` operators. Timestamps must be in RFC-3339 format, e.g., `"2025-01-
|
|
149
|
+
# 01T00:00:00Z"`. You can combine expressions using `AND`, `OR`, and `NOT` (or `-
|
|
150
|
+
# `) logical operators. `OR` has higher precedence than `AND`. Use parentheses
|
|
151
|
+
# for explicit precedence grouping. Examples: * Filter by `Document.
|
|
152
|
+
# content_length_bytes`: `content_length_bytes < 50000` * `data_source = "docs.
|
|
153
|
+
# cloud.google.com" OR data_source = "firebase.google.com"` * `data_source != "
|
|
154
|
+
# firebase.google.com"` * `update_time < "2024-01-01T00:00:00Z"` * `update_time >
|
|
155
|
+
# = "2025-01-22T00:00:00Z" AND (data_source = "developer.chrome.com" OR
|
|
156
|
+
# data_source = "web.dev")` * `uri = "https://docs.cloud.google.com/release-
|
|
157
|
+
# notes"` The `filter` string must not exceed 500 characters; values longer than
|
|
158
|
+
# 500 characters will result in an `INVALID_ARGUMENT` error.
|
|
156
159
|
# @param [Fixnum] page_size
|
|
157
160
|
# Optional. Specifies the maximum number of results to return. The service may
|
|
158
161
|
# return fewer than this value. If unspecified, at most 5 results will be
|
|
159
|
-
# returned. The maximum value is
|
|
160
|
-
# INVALID_ARGUMENT error.
|
|
162
|
+
# returned. The maximum value is 100; values above 100 will be coerced to 100.
|
|
161
163
|
# @param [String] page_token
|
|
162
164
|
# Optional. Contains a page token, received from a previous `
|
|
163
165
|
# SearchDocumentChunks` call. Provide this to retrieve the subsequent page.
|
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.5.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.5.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:
|