Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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