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

Commit

Permalink
docs: Fix formatting of request arg in docstring (#239)
Browse files Browse the repository at this point in the history
* 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: googleapis/googleapis-gen@b2ab4b0
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 23, 2023
1 parent 2af147b commit 448999e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
Expand Up @@ -531,7 +531,8 @@ async def sample_restrict_allowed_resources():
Args:
request (Optional[Union[google.cloud.assuredworkloads_v1.types.RestrictAllowedResourcesRequest, dict]]):
The request object. Request for restricting list of
available resources in Workload environment.
available resources in Workload
environment.
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 @@ -929,8 +930,8 @@ async def sample_list_violations():
Args:
request (Optional[Union[google.cloud.assuredworkloads_v1.types.ListViolationsRequest, dict]]):
The request object. Request for fetching violations in
an organization.
The request object. Request for fetching violations in an
organization.
parent (:class:`str`):
Required. The Workload name. Format
``organizations/{org_id}/locations/{location}/workloads/{workload}``.
Expand Down
Expand Up @@ -773,7 +773,8 @@ def sample_restrict_allowed_resources():
Args:
request (Union[google.cloud.assuredworkloads_v1.types.RestrictAllowedResourcesRequest, dict]):
The request object. Request for restricting list of
available resources in Workload environment.
available resources in Workload
environment.
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 @@ -1174,8 +1175,8 @@ def sample_list_violations():
Args:
request (Union[google.cloud.assuredworkloads_v1.types.ListViolationsRequest, dict]):
The request object. Request for fetching violations in
an organization.
The request object. Request for fetching violations in an
organization.
parent (str):
Required. The Workload name. Format
``organizations/{org_id}/locations/{location}/workloads/{workload}``.
Expand Down
Expand Up @@ -824,7 +824,6 @@ def __call__(
request (~.assuredworkloads.ListWorkloadsRequest):
The request object. Request for fetching workloads in an
organization.
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 @@ -914,7 +913,6 @@ def __call__(
The request object. Request for restricting list of
available resources in Workload
environment.
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 @@ -522,7 +522,8 @@ async def sample_restrict_allowed_resources():
Args:
request (Optional[Union[google.cloud.assuredworkloads_v1beta1.types.RestrictAllowedResourcesRequest, dict]]):
The request object. Request for restricting list of
available resources in Workload environment.
available resources in Workload
environment.
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 @@ -821,8 +822,9 @@ async def sample_analyze_workload_move():
Args:
request (Optional[Union[google.cloud.assuredworkloads_v1beta1.types.AnalyzeWorkloadMoveRequest, dict]]):
The request object. A request to analyze a hypothetical
move of a source project or project-based workload to a
target (destination) folder-based workload.
move of a source project or
project-based workload to a target
(destination) folder-based workload.
project (:class:`str`):
The source type is a project. Specify the project's
relative resource name, formatted as either a project
Expand Down
Expand Up @@ -744,7 +744,8 @@ def sample_restrict_allowed_resources():
Args:
request (Union[google.cloud.assuredworkloads_v1beta1.types.RestrictAllowedResourcesRequest, dict]):
The request object. Request for restricting list of
available resources in Workload environment.
available resources in Workload
environment.
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 @@ -1028,8 +1029,9 @@ def sample_analyze_workload_move():
Args:
request (Union[google.cloud.assuredworkloads_v1beta1.types.AnalyzeWorkloadMoveRequest, dict]):
The request object. A request to analyze a hypothetical
move of a source project or project-based workload to a
target (destination) folder-based workload.
move of a source project or
project-based workload to a target
(destination) folder-based workload.
project (str):
The source type is a project. Specify the project's
relative resource name, formatted as either a project
Expand Down
Expand Up @@ -653,7 +653,6 @@ def __call__(
The request object. Request for restricting list of
available resources in Workload
environment.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down

0 comments on commit 448999e

Please sign in to comment.