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

Commit 448999e

Browse files
docs: Fix formatting of request arg in docstring (#239)
* 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 2af147b commit 448999e

File tree

6 files changed

+18
-15
lines changed

6 files changed

+18
-15
lines changed

google/cloud/assuredworkloads_v1/services/assured_workloads_service/async_client.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,8 @@ async def sample_restrict_allowed_resources():
531531
Args:
532532
request (Optional[Union[google.cloud.assuredworkloads_v1.types.RestrictAllowedResourcesRequest, dict]]):
533533
The request object. Request for restricting list of
534-
available resources in Workload environment.
534+
available resources in Workload
535+
environment.
535536
retry (google.api_core.retry.Retry): Designation of what errors, if any,
536537
should be retried.
537538
timeout (float): The timeout for this request.
@@ -929,8 +930,8 @@ async def sample_list_violations():
929930
930931
Args:
931932
request (Optional[Union[google.cloud.assuredworkloads_v1.types.ListViolationsRequest, dict]]):
932-
The request object. Request for fetching violations in
933-
an organization.
933+
The request object. Request for fetching violations in an
934+
organization.
934935
parent (:class:`str`):
935936
Required. The Workload name. Format
936937
``organizations/{org_id}/locations/{location}/workloads/{workload}``.

google/cloud/assuredworkloads_v1/services/assured_workloads_service/client.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,8 @@ def sample_restrict_allowed_resources():
773773
Args:
774774
request (Union[google.cloud.assuredworkloads_v1.types.RestrictAllowedResourcesRequest, dict]):
775775
The request object. Request for restricting list of
776-
available resources in Workload environment.
776+
available resources in Workload
777+
environment.
777778
retry (google.api_core.retry.Retry): Designation of what errors, if any,
778779
should be retried.
779780
timeout (float): The timeout for this request.
@@ -1174,8 +1175,8 @@ def sample_list_violations():
11741175
11751176
Args:
11761177
request (Union[google.cloud.assuredworkloads_v1.types.ListViolationsRequest, dict]):
1177-
The request object. Request for fetching violations in
1178-
an organization.
1178+
The request object. Request for fetching violations in an
1179+
organization.
11791180
parent (str):
11801181
Required. The Workload name. Format
11811182
``organizations/{org_id}/locations/{location}/workloads/{workload}``.

google/cloud/assuredworkloads_v1/services/assured_workloads_service/transports/rest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ def __call__(
824824
request (~.assuredworkloads.ListWorkloadsRequest):
825825
The request object. Request for fetching workloads in an
826826
organization.
827-
828827
retry (google.api_core.retry.Retry): Designation of what errors, if any,
829828
should be retried.
830829
timeout (float): The timeout for this request.
@@ -914,7 +913,6 @@ def __call__(
914913
The request object. Request for restricting list of
915914
available resources in Workload
916915
environment.
917-
918916
retry (google.api_core.retry.Retry): Designation of what errors, if any,
919917
should be retried.
920918
timeout (float): The timeout for this request.

google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/async_client.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,8 @@ async def sample_restrict_allowed_resources():
522522
Args:
523523
request (Optional[Union[google.cloud.assuredworkloads_v1beta1.types.RestrictAllowedResourcesRequest, dict]]):
524524
The request object. Request for restricting list of
525-
available resources in Workload environment.
525+
available resources in Workload
526+
environment.
526527
retry (google.api_core.retry.Retry): Designation of what errors, if any,
527528
should be retried.
528529
timeout (float): The timeout for this request.
@@ -821,8 +822,9 @@ async def sample_analyze_workload_move():
821822
Args:
822823
request (Optional[Union[google.cloud.assuredworkloads_v1beta1.types.AnalyzeWorkloadMoveRequest, dict]]):
823824
The request object. A request to analyze a hypothetical
824-
move of a source project or project-based workload to a
825-
target (destination) folder-based workload.
825+
move of a source project or
826+
project-based workload to a target
827+
(destination) folder-based workload.
826828
project (:class:`str`):
827829
The source type is a project. Specify the project's
828830
relative resource name, formatted as either a project

google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/client.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,8 @@ def sample_restrict_allowed_resources():
744744
Args:
745745
request (Union[google.cloud.assuredworkloads_v1beta1.types.RestrictAllowedResourcesRequest, dict]):
746746
The request object. Request for restricting list of
747-
available resources in Workload environment.
747+
available resources in Workload
748+
environment.
748749
retry (google.api_core.retry.Retry): Designation of what errors, if any,
749750
should be retried.
750751
timeout (float): The timeout for this request.
@@ -1028,8 +1029,9 @@ def sample_analyze_workload_move():
10281029
Args:
10291030
request (Union[google.cloud.assuredworkloads_v1beta1.types.AnalyzeWorkloadMoveRequest, dict]):
10301031
The request object. A request to analyze a hypothetical
1031-
move of a source project or project-based workload to a
1032-
target (destination) folder-based workload.
1032+
move of a source project or
1033+
project-based workload to a target
1034+
(destination) folder-based workload.
10331035
project (str):
10341036
The source type is a project. Specify the project's
10351037
relative resource name, formatted as either a project

google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/transports/rest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,6 @@ def __call__(
653653
The request object. Request for restricting list of
654654
available resources in Workload
655655
environment.
656-
657656
retry (google.api_core.retry.Retry): Designation of what errors, if any,
658657
should be retried.
659658
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)