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 #172

Merged
merged 2 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
11 changes: 6 additions & 5 deletions google/cloud/data_fusion_v1/services/data_fusion/async_client.py
Expand Up @@ -820,9 +820,10 @@ async def sample_update_instance():
Args:
request (Optional[Union[google.cloud.data_fusion_v1.types.UpdateInstanceRequest, dict]]):
The request object. Request message for updating a Data
Fusion instance. Data Fusion allows updating the labels,
options, and stack driver settings. This is also used
for CDF version upgrade.
Fusion instance. Data Fusion allows
updating the labels, options, and stack
driver settings. This is also used for
CDF version upgrade.
instance (:class:`google.cloud.data_fusion_v1.types.Instance`):
Required. The instance resource that
replaces the resource on the server.
Expand Down Expand Up @@ -958,8 +959,8 @@ async def sample_restart_instance():

Args:
request (Optional[Union[google.cloud.data_fusion_v1.types.RestartInstanceRequest, dict]]):
The request object. Request message for restarting a
Data Fusion instance.
The request object. Request message for restarting a Data
Fusion instance.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
11 changes: 6 additions & 5 deletions google/cloud/data_fusion_v1/services/data_fusion/client.py
Expand Up @@ -1077,9 +1077,10 @@ def sample_update_instance():
Args:
request (Union[google.cloud.data_fusion_v1.types.UpdateInstanceRequest, dict]):
The request object. Request message for updating a Data
Fusion instance. Data Fusion allows updating the labels,
options, and stack driver settings. This is also used
for CDF version upgrade.
Fusion instance. Data Fusion allows
updating the labels, options, and stack
driver settings. This is also used for
CDF version upgrade.
instance (google.cloud.data_fusion_v1.types.Instance):
Required. The instance resource that
replaces the resource on the server.
Expand Down Expand Up @@ -1215,8 +1216,8 @@ def sample_restart_instance():

Args:
request (Union[google.cloud.data_fusion_v1.types.RestartInstanceRequest, dict]):
The request object. Request message for restarting a
Data Fusion instance.
The request object. Request message for restarting a Data
Fusion instance.
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 @@ -475,7 +475,6 @@ def __call__(
request (~.datafusion.CreateInstanceRequest):
The request object. Request message for creating a Data
Fusion instance.

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 @@ -573,7 +572,6 @@ def __call__(
request (~.datafusion.DeleteInstanceRequest):
The request object. Request message for deleting a Data
Fusion instance.

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 @@ -662,7 +660,6 @@ def __call__(
request (~.datafusion.GetInstanceRequest):
The request object. Request message for getting details
about a Data Fusion instance.

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 @@ -750,7 +747,6 @@ def __call__(
request (~.datafusion.ListAvailableVersionsRequest):
The request object. Request message for the list
available versions request.

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 @@ -842,7 +838,6 @@ def __call__(
request (~.datafusion.ListInstancesRequest):
The request object. Request message for listing Data
Fusion instances.

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 @@ -932,7 +927,6 @@ def __call__(
request (~.datafusion.RestartInstanceRequest):
The request object. Request message for restarting a Data
Fusion instance.

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 @@ -1035,7 +1029,6 @@ def __call__(
updating the labels, options, and stack
driver settings. This is also used for
CDF version upgrade.

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