google-apis-developerknowledge_v1alpha 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45d466c1c89c82b02ddb579023ea8d6945246902659ea12934494d771f2c307e
4
- data.tar.gz: 358555ec4db354462935d327d0dc134bca78ec54a5557224b027a1a419655874
3
+ metadata.gz: 7470030a305cea683ced2c8c9a0b5d0da27c04f02e740e8bd9804e16b7e59f8f
4
+ data.tar.gz: 264fccb7546fb08fe0ea690634844d838a5ced762efad45d24b579fa7f7c9f77
5
5
  SHA512:
6
- metadata.gz: 4508e4458cc63dddf8edb4017ec35a26069fe4b690cd5dbd87d716068b1c98b498a97368af94ffb9726030e07a509fb6aaeee5e8cd26bde8c66d60c2018afa46
7
- data.tar.gz: bfb78ace905ddee8d1a81730ff42b27d50a4847662c383d00339df73c7b06b31df021057d0355b4822362dd0d24b8574d4430f7b6dcf39aa9d2073ffd5061eef
6
+ metadata.gz: b748a567b380ecefc69d9cf987083fc38008b3c814e19c46154bda631884fb99d516e6771f0806d0c14a6f5482f0c9b8da379fa154aab7003ae0ff92f7f8c0c2
7
+ data.tar.gz: d37b041dfbd1a55273441b02f70793db71bfa32887fb6504ccb94a311f34d79eca55f99118813229cb1f20d0350f4dec93b6ca4ddb6d14ae97bcd763cecdb47a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-developerknowledge_v1alpha
2
2
 
3
+ ### v0.5.0 (2026-07-12)
4
+
5
+ * Regenerated from discovery document revision 20260705
6
+
7
+ ### v0.4.0 (2026-06-14)
8
+
9
+ * Regenerated using generator version 0.19.0
10
+
3
11
  ### v0.3.0 (2026-05-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20260524
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/knowledge) may provide
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -193,6 +193,11 @@ module Google
193
193
  # @return [String]
194
194
  attr_accessor :content
195
195
 
196
+ # Output only. The length of the `content` field in bytes.
197
+ # Corresponds to the JSON property `contentLengthBytes`
198
+ # @return [Fixnum]
199
+ attr_accessor :content_length_bytes
200
+
196
201
  # Output only. Specifies the data source of the document. Example data source: `
197
202
  # firebase.google.com`
198
203
  # Corresponds to the JSON property `dataSource`
@@ -240,6 +245,7 @@ module Google
240
245
  # Update properties of this object
241
246
  def update!(**args)
242
247
  @content = args[:content] if args.key?(:content)
248
+ @content_length_bytes = args[:content_length_bytes] if args.key?(:content_length_bytes)
243
249
  @data_source = args[:data_source] if args.key?(:data_source)
244
250
  @description = args[:description] if args.key?(:description)
245
251
  @name = args[:name] if args.key?(:name)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DeveloperknowledgeV1alpha
18
18
  # Version of the google-apis-developerknowledge_v1alpha gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260524"
25
+ REVISION = "20260705"
26
26
  end
27
27
  end
28
28
  end
@@ -151,6 +151,7 @@ module Google
151
151
  # @private
152
152
  class Representation < Google::Apis::Core::JsonRepresentation
153
153
  property :content, as: 'content'
154
+ property :content_length_bytes, as: 'contentLengthBytes'
154
155
  property :data_source, as: 'dataSource'
155
156
  property :description, as: 'description'
156
157
  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: * `data_source`
137
- # (STRING): The source of the document, e.g. `docs.cloud.google.com`. See https:
138
- # //developers.google.com/knowledge/reference/corpus-reference for the complete
139
- # list of data sources in the corpus. * `update_time` (TIMESTAMP): The timestamp
140
- # of when the document was last meaningfully updated. A meaningful update is one
141
- # that changes document's markdown content or metadata. * `uri` (STRING): The
142
- # document URI, e.g. `https://docs.cloud.google.com/bigquery/docs/tables`.
143
- # STRING fields support `=` (equals) and `!=` (not equals) operators for **exact
144
- # match** on the whole string. Partial match, prefix match, and regexp match are
145
- # not supported. TIMESTAMP fields support `=`, `<`, `<=`, `>`, and `>=`
146
- # operators. Timestamps must be in RFC-3339 format, e.g., `"2025-01-01T00:00:00Z"
147
- # `. You can combine expressions using `AND`, `OR`, and `NOT` (or `-`) logical
148
- # operators. `OR` has higher precedence than `AND`. Use parentheses for explicit
149
- # precedence grouping. Examples: * `data_source = "docs.cloud.google.com" OR
150
- # data_source = "firebase.google.com"` * `data_source != "firebase.google.com"` *
151
- # `update_time < "2024-01-01T00:00:00Z"` * `update_time >= "2025-01-22T00:00:
152
- # 00Z" AND (data_source = "developer.chrome.com" OR data_source = "web.dev")` * `
153
- # uri = "https://docs.cloud.google.com/release-notes"` The `filter` string must
154
- # not exceed 500 characters; values longer than 500 characters will result in an
155
- # `INVALID_ARGUMENT` error.
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 20; values above 20 will result in an
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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-developerknowledge_v1alpha/v0.3.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-developerknowledge_v1alpha/v0.5.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerknowledge_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="