|
18 | 18 | PatternsResourceWithStreamingResponse, |
19 | 19 | AsyncPatternsResourceWithStreamingResponse, |
20 | 20 | ) |
| 21 | +from .settings import ( |
| 22 | + SettingsResource, |
| 23 | + AsyncSettingsResource, |
| 24 | + SettingsResourceWithRawResponse, |
| 25 | + AsyncSettingsResourceWithRawResponse, |
| 26 | + SettingsResourceWithStreamingResponse, |
| 27 | + AsyncSettingsResourceWithStreamingResponse, |
| 28 | +) |
21 | 29 | from ...._compat import cached_property |
22 | 30 | from .email.email import ( |
23 | 31 | EmailResource, |
@@ -77,6 +85,10 @@ def patterns(self) -> PatternsResource: |
77 | 85 | def payload_logs(self) -> PayloadLogsResource: |
78 | 86 | return PayloadLogsResource(self._client) |
79 | 87 |
|
| 88 | + @cached_property |
| 89 | + def settings(self) -> SettingsResource: |
| 90 | + return SettingsResource(self._client) |
| 91 | + |
80 | 92 | @cached_property |
81 | 93 | def email(self) -> EmailResource: |
82 | 94 | return EmailResource(self._client) |
@@ -126,6 +138,10 @@ def patterns(self) -> AsyncPatternsResource: |
126 | 138 | def payload_logs(self) -> AsyncPayloadLogsResource: |
127 | 139 | return AsyncPayloadLogsResource(self._client) |
128 | 140 |
|
| 141 | + @cached_property |
| 142 | + def settings(self) -> AsyncSettingsResource: |
| 143 | + return AsyncSettingsResource(self._client) |
| 144 | + |
129 | 145 | @cached_property |
130 | 146 | def email(self) -> AsyncEmailResource: |
131 | 147 | return AsyncEmailResource(self._client) |
@@ -178,6 +194,10 @@ def patterns(self) -> PatternsResourceWithRawResponse: |
178 | 194 | def payload_logs(self) -> PayloadLogsResourceWithRawResponse: |
179 | 195 | return PayloadLogsResourceWithRawResponse(self._dlp.payload_logs) |
180 | 196 |
|
| 197 | + @cached_property |
| 198 | + def settings(self) -> SettingsResourceWithRawResponse: |
| 199 | + return SettingsResourceWithRawResponse(self._dlp.settings) |
| 200 | + |
181 | 201 | @cached_property |
182 | 202 | def email(self) -> EmailResourceWithRawResponse: |
183 | 203 | return EmailResourceWithRawResponse(self._dlp.email) |
@@ -211,6 +231,10 @@ def patterns(self) -> AsyncPatternsResourceWithRawResponse: |
211 | 231 | def payload_logs(self) -> AsyncPayloadLogsResourceWithRawResponse: |
212 | 232 | return AsyncPayloadLogsResourceWithRawResponse(self._dlp.payload_logs) |
213 | 233 |
|
| 234 | + @cached_property |
| 235 | + def settings(self) -> AsyncSettingsResourceWithRawResponse: |
| 236 | + return AsyncSettingsResourceWithRawResponse(self._dlp.settings) |
| 237 | + |
214 | 238 | @cached_property |
215 | 239 | def email(self) -> AsyncEmailResourceWithRawResponse: |
216 | 240 | return AsyncEmailResourceWithRawResponse(self._dlp.email) |
@@ -244,6 +268,10 @@ def patterns(self) -> PatternsResourceWithStreamingResponse: |
244 | 268 | def payload_logs(self) -> PayloadLogsResourceWithStreamingResponse: |
245 | 269 | return PayloadLogsResourceWithStreamingResponse(self._dlp.payload_logs) |
246 | 270 |
|
| 271 | + @cached_property |
| 272 | + def settings(self) -> SettingsResourceWithStreamingResponse: |
| 273 | + return SettingsResourceWithStreamingResponse(self._dlp.settings) |
| 274 | + |
247 | 275 | @cached_property |
248 | 276 | def email(self) -> EmailResourceWithStreamingResponse: |
249 | 277 | return EmailResourceWithStreamingResponse(self._dlp.email) |
@@ -277,6 +305,10 @@ def patterns(self) -> AsyncPatternsResourceWithStreamingResponse: |
277 | 305 | def payload_logs(self) -> AsyncPayloadLogsResourceWithStreamingResponse: |
278 | 306 | return AsyncPayloadLogsResourceWithStreamingResponse(self._dlp.payload_logs) |
279 | 307 |
|
| 308 | + @cached_property |
| 309 | + def settings(self) -> AsyncSettingsResourceWithStreamingResponse: |
| 310 | + return AsyncSettingsResourceWithStreamingResponse(self._dlp.settings) |
| 311 | + |
280 | 312 | @cached_property |
281 | 313 | def email(self) -> AsyncEmailResourceWithStreamingResponse: |
282 | 314 | return AsyncEmailResourceWithStreamingResponse(self._dlp.email) |
|
0 commit comments