8000 docs: Fix formatting of request arg in docstring by gcf-owl-bot[bot] · Pull Request #53 · googleapis/python-api-keys · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions google/cloud/api_keys_v2/services/api_keys/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ async def sample_create_key():

Args:
request (Optional[Union[google.cloud.api_keys_v2.types.CreateKeyRequest, dict]]):
The request object. Request message for `CreateKey`
method.
The request object. Request message for ``CreateKey`` method.
parent (:class:`str`):
Required. The project in which the
API key is created.
Expand Down Expand Up @@ -406,8 +405,7 @@ async def sample_list_keys():

Args:
request (Optional[Union[google.cloud.api_keys_v2.types.ListKeysRequest, dict]]):
The request object. Request message for `ListKeys`
method.
The request object. Request message for ``ListKeys`` method.
parent (:class:`str`):
Required. Lists all API keys
associated with this project.
Expand Down Expand Up @@ -523,7 +521,7 @@ async def sample_get_key():

Args:
request (Optional[Union[google.cloud.api_keys_v2.types.GetKeyRequest, dict]]):
The request object. Request message for `GetKey` method.
The request object. Request message for ``GetKey`` method.
name (:class:`str`):
Required. The resource name of the
API key to get.
Expand Down Expand Up @@ -627,8 +625,7 @@ async def sample_get_key_string():

Args:
request (Optional[Union[google.cloud.api_keys_v2.types.GetKeyStringRequest, dict]]):
The request object. Request message for `GetKeyString`
method.
The request object. Request message for ``GetKeyString`` method.
name (:class:`str`):
Required. The resource name of the
API key to be retrieved.
Expand Down Expand Up @@ -735,8 +732,7 @@ async def sample_update_key():

Args:
request (Optional[Union[google.cloud.api_keys_v2.types.UpdateKeyRequest, dict]]):
The request object. Request message for `UpdateKey`
method.
The request object. Request message for ``UpdateKey`` method.
key (:class:`google.cloud.api_keys_v2.types.Key`):
Required. Set the ``name`` field to the resource name of
the API key to be updated. You can update only the
Expand Down Expand Up @@ -873,8 +869,7 @@ async def sample_delete_key():

Args:
request (Optional[Union[google.cloud.api_keys_v2.types.DeleteKeyRequest, dict]]):
The request object. Request message for `DeleteKey`
method.
The request object. Request message for ``DeleteKey`` method.
name (:class:`str`):
Required. The resource name of the
API key to be deleted.
Expand Down Expand Up @@ -992,8 +987,7 @@ async def sample_undelete_key():

Args:
request (Optional[Union[google.cloud.api_keys_v2.types.UndeleteKeyRequest, dict]]):
The request object. Request message for `UndeleteKey`
method.
The request object. Request message for ``UndeleteKey`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1087,8 +1081,7 @@ async def sample_lookup_key():

Args:
request (Optional[Union[google.cloud.api_keys_v2.types.LookupKeyRequest, dict]]):
The request object. Request message for `LookupKey`
method.
The request object. Request message for ``LookupKey`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
23 changes: 8 additions & 15 deletions google/cloud/api_keys_v2/services/api_keys/client.py
ECDB
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,7 @@ def sample_create_key():

Args:
request (Union[google.cloud.api_keys_v2.types.CreateKeyRequest, dict]):
The request object. Request message for `CreateKey`
method.
The request object. Request message for ``CreateKey`` method.
parent (str):
Required. The project in which the
API key is created.
Expand Down Expand Up @@ -641,8 +640,7 @@ def sample_list_keys():

Args:
request (Union[google.cloud.api_keys_v2.types.ListKeysRequest, dict]):
The request object. Request message for `ListKeys`
method.
The request object. Request message for ``ListKeys`` method.
parent (str):
Required. Lists all API keys
associated with this project.
Expand Down Expand Up @@ -758,7 +756,7 @@ def sample_get_key():

Args:
request (Union[google.cloud.api_keys_v2.types.GetKeyRequest, dict]):
The request object. Request message for `GetKey` method.
The request object. Request message for ``GetKey`` method.
name (str):
Required. The resource name of the
API key to get.
Expand Down Expand Up @@ -862,8 +860,7 @@ def sample_get_key_string():

Args:
request (Union[google.cloud.api_keys_v2.types.GetKeyStringRequest, dict]):
The request object. Request message for `GetKeyString`
method.
The request object. Request message for ``GetKeyString`` method.
name (str):
Required. The resource name of the
API key to be retrieved.
Expand Down Expand Up @@ -970,8 +967,7 @@ def sample_update_key():

Args:
request (Union[google.cloud.api_keys_v2.types.UpdateKeyRequest, dict]):
The request object. Request message for `UpdateKey`
method.
The request object. Request message for ``UpdateKey`` method.
key (google.cloud.api_keys_v2.types.Key):
Required. Set the ``name`` field to the resource name of
the API key to be updated. You can update only the
Expand Down Expand Up @@ -1108,8 +1104,7 @@ def sample_delete_key():

Args:
request (Union[google.cloud.api_keys_v2.types.DeleteKeyRequest, dict]):
The request object. Request message for `DeleteKey`
method.
The request object. Request message for ``DeleteKey`` method.
name (str):
Required. The resource name of the
API key to be deleted.
Expand Down Expand Up @@ -1227,8 +1222,7 @@ def sample_undelete_key():

Args:
request (Union[google.cloud.api_keys_v2.types.UndeleteKeyRequest, dict]):
The request object. Request message for `UndeleteKey`
method.
The request object. Request message for ``UndeleteKey`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1323,8 +1317,7 @@ def sample_lookup_key():

Args:
request (Union[google.cloud.api_keys_v2.types.LookupKeyRequest, dict]):
The request object. Request message for `LookupKey`
method.
The request object. Request message for ``LookupKey`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
0