1414from .types import (
1515 DataKeyAlgorithmSymmetricEncryption ,
1616 KeyOrigin ,
17- KeyProtectionLevel ,
1817 ListAlgorithmsRequestUsage ,
1918 ListKeysRequestOrderBy ,
2019 ListKeysRequestUsage ,
@@ -76,7 +75,6 @@ async def create_key(
7675 tags : Optional [list [str ]] = None ,
7776 rotation_policy : Optional [KeyRotationPolicy ] = None ,
7877 origin : Optional [KeyOrigin ] = None ,
79- protection_level : Optional [KeyProtectionLevel ] = None ,
8078 ) -> Key :
8179 """
8280 Create a key.
@@ -90,7 +88,6 @@ async def create_key(
9088 :param tags: (Optional) List of the key's tags.
9189 :param rotation_policy: If not specified, no rotation policy will be applied to the key.
9290 :param origin: Refer to the `Key.Origin` enum for a description of values.
93- :param protection_level: Refer to the `Key.Protection` enum for a description of values.
9491 :return: :class:`Key <Key>`
9592
9693 Usage:
@@ -119,7 +116,6 @@ async def create_key(
119116 tags = tags ,
120117 rotation_policy = rotation_policy ,
121118 origin = origin ,
122- protection_level = protection_level ,
123119 ),
124120 self .client ,
125121 ),
@@ -469,7 +465,6 @@ async def list_keys(
469465 tags : Optional [list [str ]] = None ,
470466 name : Optional [str ] = None ,
471467 usage : Optional [ListKeysRequestUsage ] = None ,
472- protection_level : Optional [KeyProtectionLevel ] = None ,
473468 ) -> ListKeysResponse :
474469 """
475470 List keys.
@@ -484,7 +479,6 @@ async def list_keys(
484479 :param tags: (Optional) List of tags to filter on.
485480 :param name: (Optional) Filter by key name.
486481 :param usage: Select from symmetric encryption, asymmetric encryption, or asymmetric signing.
487- :param protection_level: Select from software or hsm.
488482 :return: :class:`ListKeysResponse <ListKeysResponse>`
489483
490484 Usage:
@@ -510,7 +504,6 @@ async def list_keys(
510504 "page" : page ,
511505 "page_size" : page_size or self .client .default_page_size ,
512506 "project_id" : project_id or self .client .default_project_id ,
513- "protection_level" : protection_level ,
514507 "scheduled_for_deletion" : scheduled_for_deletion ,
515508 "tags" : tags ,
516509 "usage" : usage ,
@@ -533,7 +526,6 @@ async def list_keys_all(
533526 tags : Optional [list [str ]] = None ,
534527 name : Optional [str ] = None ,
535528 usage : Optional [ListKeysRequestUsage ] = None ,
536- protection_level : Optional [KeyProtectionLevel ] = None ,
537529 ) -> list [Key ]:
538530 """
539531 List keys.
@@ -548,7 +540,6 @@ async def list_keys_all(
548540 :param tags: (Optional) List of tags to filter on.
549541 :param name: (Optional) Filter by key name.
550542 :param usage: Select from symmetric encryption, asymmetric encryption, or asymmetric signing.
551- :param protection_level: Select from software or hsm.
552543 :return: :class:`list[Key] <list[Key]>`
553544
554545 Usage:
@@ -574,7 +565,6 @@ async def list_keys_all(
574565 "tags" : tags ,
575566 "name" : name ,
576567 "usage" : usage ,
577- "protection_level" : protection_level ,
578568 },
579569 )
580570
0 commit comments