Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

docs: Fix formatting of request arg in docstring #213

Merged
merged 4 commits into from Mar 23, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -1538,8 +1538,7 @@ async def sample_restore_service():

Args:
request (Optional[Union[google.cloud.metastore_v1.types.RestoreServiceRequest, dict]]):
The request object. Request message for
[DataprocMetastore.Restore][].
The request object. Request message for [DataprocMetastore.Restore][].
service (:class:`str`):
Required. The relative resource name of the metastore
service to run restore, in the following form:
Expand Down
Expand Up @@ -1847,8 +1847,7 @@ def sample_restore_service():

Args:
request (Union[google.cloud.metastore_v1.types.RestoreServiceRequest, dict]):
The request object. Request message for
[DataprocMetastore.Restore][].
The request object. Request message for [DataprocMetastore.Restore][].
service (str):
Required. The relative resource name of the metastore
service to run restore, in the following form:
Expand Down
Expand Up @@ -909,7 +909,6 @@ def __call__(
request (~.metastore.CreateBackupRequest):
The request object. Request message for
[DataprocMetastore.CreateBackup][google.cloud.metastore.v1.DataprocMetastore.CreateBackup].

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 @@ -1009,7 +1008,6 @@ def __call__(
request (~.metastore.CreateMetadataImportRequest):
The request object. Request message for
[DataprocMetastore.CreateMetadataImport][google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImport].

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 @@ -1111,7 +1109,6 @@ def __call__(
request (~.metastore.CreateServiceRequest):
The request object. Request message for
[DataprocMetastore.CreateService][google.cloud.metastore.v1.DataprocMetastore.CreateService].

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 @@ -1209,7 +1206,6 @@ def __call__(
request (~.metastore.DeleteBackupRequest):
The request object. Request message for
[DataprocMetastore.DeleteBackup][google.cloud.metastore.v1.DataprocMetastore.DeleteBackup].

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 @@ -1298,7 +1294,6 @@ def __call__(
request (~.metastore.DeleteServiceRequest):
The request object. Request message for
[DataprocMetastore.DeleteService][google.cloud.metastore.v1.DataprocMetastore.DeleteService].

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 @@ -1387,7 +1382,6 @@ def __call__(
request (~.metastore.ExportMetadataRequest):
The request object. Request message for
[DataprocMetastore.ExportMetadata][google.cloud.metastore.v1.DataprocMetastore.ExportMetadata].

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 @@ -1485,7 +1479,6 @@ def __call__(
request (~.metastore.GetBackupRequest):
The request object. Request message for
[DataprocMetastore.GetBackup][google.cloud.metastore.v1.DataprocMetastore.GetBackup].

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 @@ -1573,7 +1566,6 @@ def __call__(
request (~.metastore.GetMetadataImportRequest):
The request object. Request message for
[DataprocMetastore.GetMetadataImport][google.cloud.metastore.v1.DataprocMetastore.GetMetadataImport].

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 @@ -1665,7 +1657,6 @@ def __call__(
request (~.metastore.GetServiceRequest):
The request object. Request message for
[DataprocMetastore.GetService][google.cloud.metastore.v1.DataprocMetastore.GetService].

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 @@ -1755,7 +1746,6 @@ def __call__(
request (~.metastore.ListBackupsRequest):
The request object. Request message for
[DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups].

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 @@ -1845,7 +1835,6 @@ def __call__(
request (~.metastore.ListMetadataImportsRequest):
The request object. Request message for
[DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports].

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 @@ -1937,7 +1926,6 @@ def __call__(
request (~.metastore.ListServicesRequest):
The request object. Request message for
[DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices].

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 @@ -2125,7 +2113,6 @@ def __call__(
request (~.metastore.UpdateMetadataImportRequest):
The request object. Request message for
[DataprocMetastore.UpdateMetadataImport][google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImport].

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 @@ -2227,7 +2214,6 @@ def __call__(
request (~.metastore.UpdateServiceRequest):
The request object. Request message for
[DataprocMetastore.UpdateService][google.cloud.metastore.v1.DataprocMetastore.UpdateService].

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 @@ -518,8 +518,7 @@ async def sample_create_federation():

Args:
request (Optional[Union[google.cloud.metastore_v1.types.CreateFederationRequest, dict]]):
The request object. Request message for
CreateFederation.
The request object. Request message for CreateFederation.
parent (:class:`str`):
Required. The relative resource name of the location in
which to create a federation service, in the following
Expand Down Expand Up @@ -667,8 +666,7 @@ async def sample_update_federation():

Args:
request (Optional[Union[google.cloud.metastore_v1.types.UpdateFederationRequest, dict]]):
The request object. Request message for
UpdateFederation.
The request object. Request message for UpdateFederation.
federation (:class:`google.cloud.metastore_v1.types.Federation`):
Required. The metastore federation to update. The server
only merges fields in the service if they are specified
Expand Down Expand Up @@ -804,8 +802,7 @@ async def sample_delete_federation():

Args:
request (Optional[Union[google.cloud.metastore_v1.types.DeleteFederationRequest, dict]]):
The request object. Request message for
DeleteFederation.
The request object. Request message for DeleteFederation.
name (:class:`str`):
Required. The relative resource name of the metastore
federation to delete, in the following form:
Expand Down
Expand Up @@ -744,8 +744,7 @@ def sample_create_federation():

Args:
request (Union[google.cloud.metastore_v1.types.CreateFederationRequest, dict]):
The request object. Request message for
CreateFederation.
The request object. Request message for CreateFederation.
parent (str):
Required. The relative resource name of the location in
which to create a federation service, in the following
Expand Down Expand Up @@ -893,8 +892,7 @@ def sample_update_federation():

Args:
request (Union[google.cloud.metastore_v1.types.UpdateFederationRequest, dict]):
The request object. Request message for
UpdateFederation.
The request object. Request message for UpdateFederation.
federation (google.cloud.metastore_v1.types.Federation):
Required. The metastore federation to update. The server
only merges fields in the service if they are specified
Expand Down Expand Up @@ -1030,8 +1028,7 @@ def sample_delete_federation():

Args:
request (Union[google.cloud.metastore_v1.types.DeleteFederationRequest, dict]):
The request object. Request message for
DeleteFederation.
The request object. Request message for DeleteFederation.
name (str):
Required. The relative resource name of the metastore
federation to delete, in the following form:
Expand Down
Expand Up @@ -1540,8 +1540,7 @@ async def sample_restore_service():

Args:
request (Optional[Union[google.cloud.metastore_v1alpha.types.RestoreServiceRequest, dict]]):
The request object. Request message for
[DataprocMetastore.Restore][].
The request object. Request message for [DataprocMetastore.Restore][].
service (:class:`str`):
Required. The relative resource name of the metastore
service to run restore, in the following form:
Expand Down
Expand Up @@ -1869,8 +1869,7 @@ def sample_restore_service():

Args:
request (Union[google.cloud.metastore_v1alpha.types.RestoreServiceRequest, dict]):
The request object. Request message for
[DataprocMetastore.Restore][].
The request object. Request message for [DataprocMetastore.Restore][].
service (str):
Required. The relative resource name of the metastore
service to run restore, in the following form:
Expand Down
Expand Up @@ -1034,7 +1034,6 @@ def __call__(
request (~.metastore.AlterMetadataResourceLocationRequest):
The request object. Request message for
[DataprocMetastore.AlterMetadataResourceLocation][google.cloud.metastore.v1alpha.DataprocMetastore.AlterMetadataResourceLocation].

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 @@ -1136,7 +1135,6 @@ def __call__(
request (~.metastore.CreateBackupRequest):
The request object. Request message for
[DataprocMetastore.CreateBackup][google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackup].

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 @@ -1236,7 +1234,6 @@ def __call__(
request (~.metastore.CreateMetadataImportRequest):
The request object. Request message for
[DataprocMetastore.CreateMetadataImport][google.cloud.metastore.v1alpha.DataprocMetastore.CreateMetadataImport].

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 @@ -1338,7 +1335,6 @@ def __call__(
request (~.metastore.CreateServiceRequest):
The request object. Request message for
[DataprocMetastore.CreateService][google.cloud.metastore.v1alpha.DataprocMetastore.CreateService].

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 @@ -1436,7 +1432,6 @@ def __call__(
request (~.metastore.DeleteBackupRequest):
The request object. Request message for
[DataprocMetastore.DeleteBackup][google.cloud.metastore.v1alpha.DataprocMetastore.DeleteBackup].

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 @@ -1525,7 +1520,6 @@ def __call__(
request (~.metastore.DeleteServiceRequest):
The request object. Request message for
[DataprocMetastore.DeleteService][google.cloud.metastore.v1alpha.DataprocMetastore.DeleteService].

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 @@ -1614,7 +1608,6 @@ def __call__(
request (~.metastore.ExportMetadataRequest):
The request object. Request message for
[DataprocMetastore.ExportMetadata][google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadata].

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 @@ -1712,7 +1705,6 @@ def __call__(
request (~.metastore.GetBackupRequest):
The request object. Request message for
[DataprocMetastore.GetBackup][google.cloud.metastore.v1alpha.DataprocMetastore.GetBackup].

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 @@ -1800,7 +1792,6 @@ def __call__(
request (~.metastore.GetMetadataImportRequest):
The request object. Request message for
[DataprocMetastore.GetMetadataImport][google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImport].

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 @@ -1892,7 +1883,6 @@ def __call__(
request (~.metastore.GetServiceRequest):
The request object. Request message for
[DataprocMetastore.GetService][google.cloud.metastore.v1alpha.DataprocMetastore.GetService].

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 @@ -1982,7 +1972,6 @@ def __call__(
request (~.metastore.ListBackupsRequest):
The request object. Request message for
[DataprocMetastore.ListBackups][google.cloud.metastore.v1alpha.DataprocMetastore.ListBackups].

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 @@ -2072,7 +2061,6 @@ def __call__(
request (~.metastore.ListMetadataImportsRequest):
The request object. Request message for
[DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImports].

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 @@ -2164,7 +2152,6 @@ def __call__(
request (~.metastore.ListServicesRequest):
The request object. Request message for
[DataprocMetastore.ListServices][google.cloud.metastore.v1alpha.DataprocMetastore.ListServices].

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 @@ -2254,7 +2241,6 @@ def __call__(
request (~.metastore.MoveTableToDatabaseRequest):
The request object. Request message for
[DataprocMetastore.MoveTableToDatabase][google.cloud.metastore.v1alpha.DataprocMetastore.MoveTableToDatabase].

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 @@ -2354,7 +2340,6 @@ def __call__(
request (~.metastore.QueryMetadataRequest):
The request object. Request message for
[DataprocMetastore.QueryMetadata][google.cloud.metastore.v1alpha.DataprocMetastore.QueryMetadata].

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 @@ -2452,7 +2437,6 @@ def __call__(
request (~.metastore.RemoveIamPolicyRequest):
The request object. Request message for
[DataprocMetastore.RemoveIamPolicy][google.cloud.metastore.v1alpha.DataprocMetastore.RemoveIamPolicy].

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 @@ -2651,7 +2635,6 @@ def __call__(
request (~.metastore.UpdateMetadataImportRequest):
The request object. Request message for
[DataprocMetastore.UpdateMetadataImport][google.cloud.metastore.v1alpha.DataprocMetastore.UpdateMetadataImport].

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 @@ -2753,7 +2736,6 @@ def __call__(
request (~.metastore.UpdateServiceRequest):
The request object. Request message for
[DataprocMetastore.UpdateService][google.cloud.metastore.v1alpha.DataprocMetastore.UpdateService].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down