diff --git a/google/cloud/api_keys_v2/services/api_keys/async_client.py b/google/cloud/api_keys_v2/services/api_keys/async_client.py index 378425c..4f43809 100644 --- a/google/cloud/api_keys_v2/services/api_keys/async_client.py +++ b/google/cloud/api_keys_v2/services/api_keys/async_client.py @@ -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. @@ -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. @@ -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. @@ -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. @@ -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 @@ -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. @@ -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. @@ -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. diff --git a/google/cloud/api_keys_v2/services/api_keys/client.py b/google/cloud/api_keys_v2/services/api_keys/client.py index f4de9a8..dba9021 100644 --- a/google/cloud/api_keys_v2/services/api_keys/client.py +++ b/google/cloud/api_keys_v2/services/api_keys/client.py @@ -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. @@ -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. @@ -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. @@ -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. @@ -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 @@ -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. @@ -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. @@ -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.