| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d1ef1b7 commit 4f7489f
11 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - configured_endpoints: 2277 | ||
| 1 | + configured_endpoints: 2279 | ||
| 2 | 2 | openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a6c352830d1270d0abb5bb983058ea21815e1bb7d2e163965335dcb0e706f057.yml | |
| 3 | 3 | openapi_spec_hash: c0d553c22ef1e807dd815f71023050f4 | |
| 4 | - config_hash: 245f966442f3af14c23b79cbfdf06161 | ||
| 4 | + config_hash: 2d1850b4aac63bb32193367c174c33cd | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -337,3 +337,16 @@ Methods: | |||
| 337 | 337 | - <code title="patch /accounts/{account_id}/workers/observability/destinations/{slug}">client.workers.observability.destinations.<a href="./src/cloudflare/resources/workers/observability/destinations.py">update</a>(slug, \*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/destination_update_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/destination_update_response.py">DestinationUpdateResponse</a></code> | |
| 338 | 338 | - <code title="get /accounts/{account_id}/workers/observability/destinations">client.workers.observability.destinations.<a href="./src/cloudflare/resources/workers/observability/destinations.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/destination_list_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/destination_list_response.py">SyncSinglePage[DestinationListResponse]</a></code> | |
| 339 | 339 | - <code title="delete /accounts/{account_id}/workers/observability/destinations/{slug}">client.workers.observability.destinations.<a href="./src/cloudflare/resources/workers/observability/destinations.py">delete</a>(slug, \*, account_id) -> <a href="./src/cloudflare/types/workers/observability/destination_delete_response.py">Optional[DestinationDeleteResponse]</a></code> | |
| 340 | + | ||
| 341 | + ### Queries | ||
| 342 | + | ||
| 343 | + Types: | ||
| 344 | + | ||
| 345 | + ```python | ||
| 346 | + from cloudflare.types.workers.observability import QueryCreateResponse, QueryListResponse | ||
| 347 | + ``` | ||
| 348 | + | ||
| 349 | + Methods: | ||
| 350 | + | ||
| 351 | + - <code title="post /accounts/{account_id}/workers/observability/queries">client.workers.observability.queries.<a href="./src/cloudflare/resources/workers/observability/queries.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/query_create_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/query_create_response.py">QueryCreateResponse</a></code> | ||
| 352 | + - <code title="get /accounts/{account_id}/workers/observability/queries">client.workers.observability.queries.<a href="./src/cloudflare/resources/workers/observability/queries.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/query_list_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/query_list_response.py">SyncSinglePage[QueryListResponse]</a></code> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,13 @@ | |||
| 1 | 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | |
| 2 | 2 | ||
| 3 | + from .queries import ( | ||
| 4 | + QueriesResource, | ||
| 5 | + AsyncQueriesResource, | ||
| 6 | + QueriesResourceWithRawResponse, | ||
| 7 | + AsyncQueriesResourceWithRawResponse, | ||
| 8 | + QueriesResourceWithStreamingResponse, | ||
| 9 | + AsyncQueriesResourceWithStreamingResponse, | ||
| 10 | + ) | ||
| 3 | 11 | from .telemetry import ( | |
| 4 | 12 | TelemetryResource, | |
| 5 | 13 | AsyncTelemetryResource, | |
@@ -38,6 +46,12 @@ | |||
| 38 | 46 | "AsyncDestinationsResourceWithRawResponse", | |
| 39 | 47 | "DestinationsResourceWithStreamingResponse", | |
| 40 | 48 | "AsyncDestinationsResourceWithStreamingResponse", | |
| 49 | + "QueriesResource", | ||
| 50 | + "AsyncQueriesResource", | ||
| 51 | + "QueriesResourceWithRawResponse", | ||
| 52 | + "AsyncQueriesResourceWithRawResponse", | ||
| 53 | + "QueriesResourceWithStreamingResponse", | ||
| 54 | + "AsyncQueriesResourceWithStreamingResponse", | ||
| 41 | 55 | "ObservabilityResource", | |
| 42 | 56 | "AsyncObservabilityResource", | |
| 43 | 57 | "ObservabilityResourceWithRawResponse", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,14 @@ | |||
| 2 | 2 | ||
| 3 | 3 | from __future__ import annotations | |
| 4 | 4 | ||
| 5 | + from .queries import ( | ||
| 6 | + QueriesResource, | ||
| 7 | + AsyncQueriesResource, | ||
| 8 | + QueriesResourceWithRawResponse, | ||
| 9 | + AsyncQueriesResourceWithRawResponse, | ||
| 10 | + QueriesResourceWithStreamingResponse, | ||
| 11 | + AsyncQueriesResourceWithStreamingResponse, | ||
| 12 | + ) | ||
| 5 | 13 | from .telemetry import ( | |
| 6 | 14 | TelemetryResource, | |
| 7 | 15 | AsyncTelemetryResource, | |
@@ -33,6 +41,10 @@ def telemetry(self) -> TelemetryResource: | |||
| 33 | 41 | def destinations(self) -> DestinationsResource: | |
| 34 | 42 | return DestinationsResource(self._client) | |
| 35 | 43 | ||
| 44 | + @cached_property | ||
| 45 | + def queries(self) -> QueriesResource: | ||
| 46 | + return QueriesResource(self._client) | ||
| 47 | + | ||
| 36 | 48 | @cached_property | |
| 37 | 49 | def with_raw_response(self) -> ObservabilityResourceWithRawResponse: | |
| 38 | 50 | """ | |
@@ -62,6 +74,10 @@ def telemetry(self) -> AsyncTelemetryResource: | |||
| 62 | 74 | def destinations(self) -> AsyncDestinationsResource: | |
| 63 | 75 | return AsyncDestinationsResource(self._client) | |
| 64 | 76 | ||
| 77 | + @cached_property | ||
| 78 | + def queries(self) -> AsyncQueriesResource: | ||
| 79 | + return AsyncQueriesResource(self._client) | ||
| 80 | + | ||
| 65 | 81 | @cached_property | |
| 66 | 82 | def with_raw_response(self) -> AsyncObservabilityResourceWithRawResponse: | |
| 67 | 83 | """ | |
@@ -94,6 +110,10 @@ def telemetry(self) -> TelemetryResourceWithRawResponse: | |||
| 94 | 110 | def destinations(self) -> DestinationsResourceWithRawResponse: | |
| 95 | 111 | return DestinationsResourceWithRawResponse(self._observability.destinations) | |
| 96 | 112 | ||
| 113 | + @cached_property | ||
| 114 | + def queries(self) -> QueriesResourceWithRawResponse: | ||
| 115 | + return QueriesResourceWithRawResponse(self._observability.queries) | ||
| 116 | + | ||
| 97 | 117 | ||
| 98 | 118 | class AsyncObservabilityResourceWithRawResponse: | |
| 99 | 119 | def __init__(self, observability: AsyncObservabilityResource) -> None: | |
@@ -107,6 +127,10 @@ def telemetry(self) -> AsyncTelemetryResourceWithRawResponse: | |||
| 107 | 127 | def destinations(self) -> AsyncDestinationsResourceWithRawResponse: | |
| 108 | 128 | return AsyncDestinationsResourceWithRawResponse(self._observability.destinations) | |
| 109 | 129 | ||
| 130 | + @cached_property | ||
| 131 | + def queries(self) -> AsyncQueriesResourceWithRawResponse: | ||
| 132 | + return AsyncQueriesResourceWithRawResponse(self._observability.queries) | ||
| 133 | + | ||
| 110 | 134 | ||
| 111 | 135 | class ObservabilityResourceWithStreamingResponse: | |
| 112 | 136 | def __init__(self, observability: ObservabilityResource) -> None: | |
@@ -120,6 +144,10 @@ def telemetry(self) -> TelemetryResourceWithStreamingResponse: | |||
| 120 | 144 | def destinations(self) -> DestinationsResourceWithStreamingResponse: | |
| 121 | 145 | return DestinationsResourceWithStreamingResponse(self._observability.destinations) | |
| 122 | 146 | ||
| 147 | + @cached_property | ||
| 148 | + def queries(self) -> QueriesResourceWithStreamingResponse: | ||
| 149 | + return QueriesResourceWithStreamingResponse(self._observability.queries) | ||
| 150 | + | ||
| 123 | 151 | ||
| 124 | 152 | class AsyncObservabilityResourceWithStreamingResponse: | |
| 125 | 153 | def __init__(self, observability: AsyncObservabilityResource) -> None: | |
@@ -132,3 +160,7 @@ def telemetry(self) -> AsyncTelemetryResourceWithStreamingResponse: | |||
| 132 | 160 | @cached_property | |
| 133 | 161 | def destinations(self) -> AsyncDestinationsResourceWithStreamingResponse: | |
| 134 | 162 | return AsyncDestinationsResourceWithStreamingResponse(self._observability.destinations) | |
| 163 | + | ||
| 164 | + @cached_property | ||
| 165 | + def queries(self) -> AsyncQueriesResourceWithStreamingResponse: | ||
| 166 | + return AsyncQueriesResourceWithStreamingResponse(self._observability.queries) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments