@@ -261,8 +261,7 @@ async def sample_create_key():
261
261
262
262
Args:
263
263
request (Optional[Union[google.cloud.api_keys_v2.types.CreateKeyRequest, dict]]):
264
- The request object. Request message for `CreateKey`
265
- method.
264
+ The request object. Request message for ``CreateKey`` method.
266
265
parent (:class:`str`):
267
266
Required. The project in which the
268
267
API key is created.
@@ -406,8 +405,7 @@ async def sample_list_keys():
406
405
407
406
Args:
408
407
request (Optional[Union[google.cloud.api_keys_v2.types.ListKeysRequest, dict]]):
409
- The request object. Request message for `ListKeys`
410
- method.
408
+ The request object. Request message for ``ListKeys`` method.
411
409
parent (:class:`str`):
412
410
Required. Lists all API keys
413
411
associated with this project.
@@ -523,7 +521,7 @@ async def sample_get_key():
523
521
524
522
Args:
525
523
request (Optional[Union[google.cloud.api_keys_v2.types.GetKeyRequest, dict]]):
526
- The request object. Request message for `GetKey` method.
524
+ The request object. Request message for `` GetKey` ` method.
527
525
name (:class:`str`):
528
526
Required. The resource name of the
529
527
API key to get.
@@ -627,8 +625,7 @@ async def sample_get_key_string():
627
625
628
626
Args:
629
627
request (Optional[Union[google.cloud.api_keys_v2.types.GetKeyStringRequest, dict]]):
630
- The request object. Request message for `GetKeyString`
631
- method.
628
+ The request object. Request message for ``GetKeyString`` method.
632
629
name (:class:`str`):
633
630
Required. The resource name of the
634
631
API key to be retrieved.
@@ -735,8 +732,7 @@ async def sample_update_key():
735
732
736
733
Args:
737
734
request (Optional[Union[google.cloud.api_keys_v2.types.UpdateKeyRequest, dict]]):
738
- The request object. Request message for `UpdateKey`
739
- method.
735
+ The request object. Request message for ``UpdateKey`` method.
740
736
key (:class:`google.cloud.api_keys_v2.types.Key`):
741
737
Required. Set the ``name`` field to the resource name of
742
738
the API key to be updated. You can update only the
@@ -873,8 +869,7 @@ async def sample_delete_key():
873
869
874
870
Args:
875
871
request (Optional[Union[google.cloud.api_keys_v2.types.DeleteKeyRequest, dict]]):
876
- The request object. Request message for `DeleteKey`
877
- method.
872
+ The request object. Request message for ``DeleteKey`` method.
878
873
name (:class:`str`):
879
874
Required. The resource name of the
880
875
API key to be deleted.
@@ -992,8 +987,7 @@ async def sample_undelete_key():
992
987
993
988
Args:
994
989
request (Optional[Union[google.cloud.api_keys_v2.types.UndeleteKeyRequest, dict]]):
995
- The request object. Request message for `UndeleteKey`
996
- method.
990
+ The request object. Request message for ``UndeleteKey`` method.
997
991
retry (google.api_core.retry.Retry): Designation of what errors, if any,
998
992
should be retried.
999
993
timeout (float): The timeout for this request.
@@ -1087,8 +1081,7 @@ async def sample_lookup_key():
1087
1081
1088
1082
Args:
1089
1083
request (Optional[Union[google.cloud.api_keys_v2.types.LookupKeyRequest, dict]]):
1090
- The request object. Request message for `LookupKey`
1091
- method.
1084
+ The request object. Request message for ``LookupKey`` method.
1092
1085
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1093
1086
should be retried.
1094
1087
timeout (float): The timeout for this request.
0 commit comments