Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit c7806f5

Browse files
docs: Fix formatting of request arg in docstring (#528)
* chore: Update gapic-generator-python to v1.9.0 PiperOrigin-RevId: 517425588 Source-Link: googleapis/googleapis@33c93eb Source-Link: https://github.com/googleapis/googleapis-gen/commit/d5f59789d19fc43270ff2124967d4ec8992b8e8f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVmNTk3ODlkMTlmYzQzMjcwZmYyMTI0OTY3ZDRlYzg5OTJiOGU4ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: googleapis/googleapis@8a085ae Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 8d21624 commit c7806f5

File tree

14 files changed

+17
-35
lines changed

14 files changed

+17
-35
lines changed

google/cloud/dataproc_v1/services/autoscaling_policy_service/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,8 @@ async def sample_delete_autoscaling_policy():
785785
request (Optional[Union[google.cloud.dataproc_v1.types.DeleteAutoscalingPolicyRequest, dict]]):
786786
The request object. A request to delete an autoscaling
787787
policy.
788-
Autoscaling policies in use by one or more clusters will
789-
not be deleted.
788+
Autoscaling policies in use by one or
789+
more clusters will not be deleted.
790790
name (:class:`str`):
791791
Required. The "resource name" of the autoscaling policy,
792792
as described in

google/cloud/dataproc_v1/services/autoscaling_policy_service/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -981,8 +981,8 @@ def sample_delete_autoscaling_policy():
981981
request (Union[google.cloud.dataproc_v1.types.DeleteAutoscalingPolicyRequest, dict]):
982982
The request object. A request to delete an autoscaling
983983
policy.
984-
Autoscaling policies in use by one or more clusters will
985-
not be deleted.
984+
Autoscaling policies in use by one or
985+
more clusters will not be deleted.
986986
name (str):
987987
Required. The "resource name" of the autoscaling policy,
988988
as described in

google/cloud/dataproc_v1/services/autoscaling_policy_service/transports/rest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,6 @@ def __call__(
508508
request (~.autoscaling_policies.CreateAutoscalingPolicyRequest):
509509
The request object. A request to create an autoscaling
510510
policy.
511-
512511
retry (google.api_core.retry.Retry): Designation of what errors, if any,
513512
should be retried.
514513
timeout (float): The timeout for this request.
@@ -616,7 +615,6 @@ def __call__(
616615
policy.
617616
Autoscaling policies in use by one or
618617
more clusters will not be deleted.
619-
620618
retry (google.api_core.retry.Retry): Designation of what errors, if any,
621619
should be retried.
622620
timeout (float): The timeout for this request.
@@ -698,7 +696,6 @@ def __call__(
698696
request (~.autoscaling_policies.GetAutoscalingPolicyRequest):
699697
The request object. A request to fetch an autoscaling
700698
policy.
701-
702699
retry (google.api_core.retry.Retry): Designation of what errors, if any,
703700
should be retried.
704701
timeout (float): The timeout for this request.
@@ -794,7 +791,6 @@ def __call__(
794791
request (~.autoscaling_policies.ListAutoscalingPoliciesRequest):
795792
The request object. A request to list autoscaling
796793
policies in a project.
797-
798794
retry (google.api_core.retry.Retry): Designation of what errors, if any,
799795
should be retried.
800796
timeout (float): The timeout for this request.
@@ -890,7 +886,6 @@ def __call__(
890886
request (~.autoscaling_policies.UpdateAutoscalingPolicyRequest):
891887
The request object. A request to update an autoscaling
892888
policy.
893-
894889
retry (google.api_core.retry.Retry): Designation of what errors, if any,
895890
should be retried.
896891
timeout (float): The timeout for this request.

google/cloud/dataproc_v1/services/batch_controller/async_client.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,7 @@ async def sample_create_batch():
275275
276276
Args:
277277
request (Optional[Union[google.cloud.dataproc_v1.types.CreateBatchRequest, dict]]):
278-
The request object. A request to create a batch
279-
workload.
278+
The request object. A request to create a batch workload.
280279
parent (:class:`str`):
281280
Required. The parent resource where
282281
this batch will be created.
@@ -623,8 +622,7 @@ async def sample_delete_batch():
623622
624623
Args:
625624
request (Optional[Union[google.cloud.dataproc_v1.types.DeleteBatchRequest, dict]]):
626-
The request object. A request to delete a batch
627-
workload.
625+
The request object. A request to delete a batch workload.
628626
name (:class:`str`):
629627
Required. The fully qualified name of the batch to
630628
retrieve in the format

google/cloud/dataproc_v1/services/batch_controller/client.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,7 @@ def sample_create_batch():
524524
525525
Args:
526526
request (Union[google.cloud.dataproc_v1.types.CreateBatchRequest, dict]):
527-
The request object. A request to create a batch
528-
workload.
527+
The request object. A request to create a batch workload.
529528
parent (str):
530529
Required. The parent resource where
531530
this batch will be created.
@@ -872,8 +871,7 @@ def sample_delete_batch():
872871
873872
Args:
874873
request (Union[google.cloud.dataproc_v1.types.DeleteBatchRequest, dict]):
875-
The request object. A request to delete a batch
876-
workload.
874+
The request object. A request to delete a batch workload.
877875
name (str):
878876
Required. The fully qualified name of the batch to
879877
retrieve in the format

google/cloud/dataproc_v1/services/batch_controller/transports/rest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,6 @@ def __call__(
698698
request (~.batches.GetBatchRequest):
699699
The request object. A request to get the resource
700700
representation for a batch workload.
701-
702701
retry (google.api_core.retry.Retry): Designation of what errors, if any,
703702
should be retried.
704703
timeout (float): The timeout for this request.
@@ -788,7 +787,6 @@ def __call__(
788787
request (~.batches.ListBatchesRequest):
789788
The request object. A request to list batch workloads in
790789
a project.
791-
792790
retry (google.api_core.retry.Retry): Designation of what errors, if any,
793791
should be retried.
794792
timeout (float): The timeout for this request.

google/cloud/dataproc_v1/services/cluster_controller/async_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,8 @@ async def sample_get_cluster():
10341034
Args:
10351035
request (Optional[Union[google.cloud.dataproc_v1.types.GetClusterRequest, dict]]):
10361036
The request object. Request to get the resource
1037-
representation for a cluster in a project.
1037+
representation for a cluster in a
1038+
project.
10381039
project_id (:class:`str`):
10391040
Required. The ID of the Google Cloud
10401041
Platform project that the cluster

google/cloud/dataproc_v1/services/cluster_controller/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,8 @@ def sample_get_cluster():
12801280
Args:
12811281
request (Union[google.cloud.dataproc_v1.types.GetClusterRequest, dict]):
12821282
The request object. Request to get the resource
1283-
representation for a cluster in a project.
1283+
representation for a cluster in a
1284+
project.
12841285
project_id (str):
12851286
Required. The ID of the Google Cloud
12861287
Platform project that the cluster

google/cloud/dataproc_v1/services/cluster_controller/transports/rest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,6 @@ def __call__(
849849
request (~.clusters.DiagnoseClusterRequest):
850850
The request object. A request to collect cluster
851851
diagnostic information.
852-
853852
retry (google.api_core.retry.Retry): Designation of what errors, if any,
854853
should be retried.
855854
timeout (float): The timeout for this request.
@@ -950,7 +949,6 @@ def __call__(
950949
The request object. Request to get the resource
951950
representation for a cluster in a
952951
project.
953-
954952
retry (google.api_core.retry.Retry): Designation of what errors, if any,
955953
should be retried.
956954
timeout (float): The timeout for this request.
@@ -1041,7 +1039,6 @@ def __call__(
10411039
request (~.clusters.ListClustersRequest):
10421040
The request object. A request to list the clusters in a
10431041
project.
1044-
10451042
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10461043
should be retried.
10471044
timeout (float): The timeout for this request.

google/cloud/dataproc_v1/services/job_controller/transports/rest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,6 @@ def __call__(
775775
request (~.jobs.GetJobRequest):
776776
The request object. A request to get the resource
777777
representation for a job in a project.
778-
779778
retry (google.api_core.retry.Retry): Designation of what errors, if any,
780779
should be retried.
781780
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)