This repository was archived by the owner on Sep 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +18
-15
lines changed
assuredworkloads_v1beta1/services/assured_workloads_service
assuredworkloads_v1/services/assured_workloads_service Expand file tree Collapse file tree 6 files changed +18
-15
lines changed Original file line number Diff line number Diff 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}``.
Original file line number Diff line number Diff 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}``.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments