smplkit 3.0.39 → 3.0.40
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: 0fcd53eadb7f6ed50ef7478b8e8ab15779b324f3cbe9887fcfc686916e0ca5e3
|
|
4
|
+
data.tar.gz: 8a8c7ef2b7b6e1db8bd8fefcc354a91364b0142a4af0b523ce74a2c527136a98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f6a46e32bf42eb8ed732fbf43c06add6b9b2039db0d36af9d8dc61f83215e215b674375fab27a458d06f4ee4c47cebcb0a7e50fcf2b5c994ed577cff0eeac7c
|
|
7
|
+
data.tar.gz: 43891d85ea7cde96e4df0e187ebd7dbf336084af023998cdafc81f93384b13754226296d3277fbd6b9748cff7c9e2b574867fb7e1e7f073c147b490a9585a12c
|
|
@@ -214,11 +214,12 @@ module SmplkitGeneratedClient::Logging
|
|
|
214
214
|
end
|
|
215
215
|
|
|
216
216
|
# List Loggers
|
|
217
|
-
# List loggers for this account. Default sort is `key` ascending. Supports `filter[managed]` to narrow to managed (or unmanaged) loggers, `filter[service]` to keep only loggers observed in a specific service,
|
|
217
|
+
# List loggers for this account. Default sort is `key` ascending. Supports `filter[managed]` to narrow to managed (or unmanaged) loggers, `filter[service]` to keep only loggers observed in a specific service, `filter[last_seen]` (interval notation `[<from>,*)`) to keep only loggers with a source observation at or after the given timestamp, and `filter[search]` for a case-insensitive substring match against `key` or `name`. ``filter[service]`` and ``filter[last_seen]`` are applied via a cross-table membership check in Python after the SQL fetch, so pagination for those calls is applied in memory after the filter; the common path (no source-bound filter) paginates at the SQL level.
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
|
219
219
|
# @option opts [Boolean] :filter_managed
|
|
220
220
|
# @option opts [String] :filter_service
|
|
221
221
|
# @option opts [String] :filter_last_seen
|
|
222
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the logger `key` and `name`. A logger is returned if either field contains the search term.
|
|
222
223
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`. (default to 'key')
|
|
223
224
|
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error. (default to 1)
|
|
224
225
|
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error. (default to 1000)
|
|
@@ -230,11 +231,12 @@ module SmplkitGeneratedClient::Logging
|
|
|
230
231
|
end
|
|
231
232
|
|
|
232
233
|
# List Loggers
|
|
233
|
-
# List loggers for this account. Default sort is `key` ascending. Supports `filter[managed]` to narrow to managed (or unmanaged) loggers, `filter[service]` to keep only loggers observed in a specific service,
|
|
234
|
+
# List loggers for this account. Default sort is `key` ascending. Supports `filter[managed]` to narrow to managed (or unmanaged) loggers, `filter[service]` to keep only loggers observed in a specific service, `filter[last_seen]` (interval notation `[<from>,*)`) to keep only loggers with a source observation at or after the given timestamp, and `filter[search]` for a case-insensitive substring match against `key` or `name`. ``filter[service]`` and ``filter[last_seen]`` are applied via a cross-table membership check in Python after the SQL fetch, so pagination for those calls is applied in memory after the filter; the common path (no source-bound filter) paginates at the SQL level.
|
|
234
235
|
# @param [Hash] opts the optional parameters
|
|
235
236
|
# @option opts [Boolean] :filter_managed
|
|
236
237
|
# @option opts [String] :filter_service
|
|
237
238
|
# @option opts [String] :filter_last_seen
|
|
239
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the logger `key` and `name`. A logger is returned if either field contains the search term.
|
|
238
240
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`. (default to 'key')
|
|
239
241
|
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error. (default to 1)
|
|
240
242
|
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error. (default to 1000)
|
|
@@ -256,6 +258,7 @@ module SmplkitGeneratedClient::Logging
|
|
|
256
258
|
query_params[:'filter[managed]'] = opts[:'filter_managed'] if !opts[:'filter_managed'].nil?
|
|
257
259
|
query_params[:'filter[service]'] = opts[:'filter_service'] if !opts[:'filter_service'].nil?
|
|
258
260
|
query_params[:'filter[last_seen]'] = opts[:'filter_last_seen'] if !opts[:'filter_last_seen'].nil?
|
|
261
|
+
query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
|
|
259
262
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
260
263
|
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
261
264
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
@@ -70,11 +70,12 @@ describe 'LoggersApi' do
|
|
|
70
70
|
|
|
71
71
|
# unit tests for list_loggers
|
|
72
72
|
# List Loggers
|
|
73
|
-
# List loggers for this account. Default sort is `key` ascending. Supports `filter[managed]` to narrow to managed (or unmanaged) loggers, `filter[service]` to keep only loggers observed in a specific service,
|
|
73
|
+
# List loggers for this account. Default sort is `key` ascending. Supports `filter[managed]` to narrow to managed (or unmanaged) loggers, `filter[service]` to keep only loggers observed in a specific service, `filter[last_seen]` (interval notation `[<from>,*)`) to keep only loggers with a source observation at or after the given timestamp, and `filter[search]` for a case-insensitive substring match against `key` or `name`. ``filter[service]`` and ``filter[last_seen]`` are applied via a cross-table membership check in Python after the SQL fetch, so pagination for those calls is applied in memory after the filter; the common path (no source-bound filter) paginates at the SQL level.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [Boolean] :filter_managed
|
|
76
76
|
# @option opts [String] :filter_service
|
|
77
77
|
# @option opts [String] :filter_last_seen
|
|
78
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the logger `key` and `name`. A logger is returned if either field contains the search term.
|
|
78
79
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
|
|
79
80
|
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
80
81
|
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|