|
7 | 7 |
|
8 | 8 | import httpx |
9 | 9 |
|
10 | | -from ..._types import Body, Omit, Query, Headers, NotGiven, omit, not_given |
| 10 | +from ..._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given |
11 | 11 | from ..._utils import path_template, maybe_transform, async_maybe_transform |
12 | 12 | from ..._compat import cached_property |
13 | 13 | from .resources import ( |
@@ -199,10 +199,12 @@ def list( |
199 | 199 | "gateway-destination-ip", |
200 | 200 | "gateway-block-page-settings", |
201 | 201 | "gateway-extended-email-matching", |
| 202 | + "idp-federation-grant", |
202 | 203 | ] |
203 | 204 | ] |
204 | 205 | | Omit = omit, |
205 | 206 | status: Literal["active", "deleting", "deleted"] | Omit = omit, |
| 207 | + tag: SequenceNotStr[str] | Omit = omit, |
206 | 208 | target_type: Literal["account", "organization"] | Omit = omit, |
207 | 209 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
208 | 210 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -235,6 +237,11 @@ def list( |
235 | 237 |
|
236 | 238 | status: Filter shares by status. |
237 | 239 |
|
| 240 | + tag: Filter shares by tag. Each value is either `key=value` (matches shares whose |
| 241 | + tags contain that key/value pair) or `key` alone (matches shares that have any |
| 242 | + value for that key). May be repeated; multiple `tag` parameters are ANDed |
| 243 | + together. Maximum 20 `tag` parameters per request. |
| 244 | +
|
238 | 245 | target_type: Filter shares by target_type. |
239 | 246 |
|
240 | 247 | extra_headers: Send extra headers |
@@ -266,6 +273,7 @@ def list( |
266 | 273 | "per_page": per_page, |
267 | 274 | "resource_types": resource_types, |
268 | 275 | "status": status, |
| 276 | + "tag": tag, |
269 | 277 | "target_type": target_type, |
270 | 278 | }, |
271 | 279 | resource_sharing_list_params.ResourceSharingListParams, |
@@ -527,10 +535,12 @@ def list( |
527 | 535 | "gateway-destination-ip", |
528 | 536 | "gateway-block-page-settings", |
529 | 537 | "gateway-extended-email-matching", |
| 538 | + "idp-federation-grant", |
530 | 539 | ] |
531 | 540 | ] |
532 | 541 | | Omit = omit, |
533 | 542 | status: Literal["active", "deleting", "deleted"] | Omit = omit, |
| 543 | + tag: SequenceNotStr[str] | Omit = omit, |
534 | 544 | target_type: Literal["account", "organization"] | Omit = omit, |
535 | 545 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
536 | 546 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -563,6 +573,11 @@ def list( |
563 | 573 |
|
564 | 574 | status: Filter shares by status. |
565 | 575 |
|
| 576 | + tag: Filter shares by tag. Each value is either `key=value` (matches shares whose |
| 577 | + tags contain that key/value pair) or `key` alone (matches shares that have any |
| 578 | + value for that key). May be repeated; multiple `tag` parameters are ANDed |
| 579 | + together. Maximum 20 `tag` parameters per request. |
| 580 | +
|
566 | 581 | target_type: Filter shares by target_type. |
567 | 582 |
|
568 | 583 | extra_headers: Send extra headers |
@@ -594,6 +609,7 @@ def list( |
594 | 609 | "per_page": per_page, |
595 | 610 | "resource_types": resource_types, |
596 | 611 | "status": status, |
| 612 | + "tag": tag, |
597 | 613 | "target_type": target_type, |
598 | 614 | }, |
599 | 615 | resource_sharing_list_params.ResourceSharingListParams, |
|
0 commit comments