OrganizationsLocationsWorkloads
class OrganizationsLocationsWorkloads extends Resource (View source)
The "workloads" collection of methods.
Typical usage is:
$assuredworkloadsService = new Google\Service\Assuredworkloads(...);
$workloads = $assuredworkloadsService->organizations_locations_workloads;
Methods
Analyzes a hypothetical move of a source resource to a target workload to surface compliance risks. The analysis is best effort and is not guaranteed to be exhaustive. (workloads.analyzeWorkloadMove)
Creates Assured Workload. (workloads.create)
Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies. (workloads.delete)
Enable resource violation monitoring for a workload.
Gets Assured Workload associated with a CRM Node (workloads.get)
Lists Assured Workloads under a CRM Node.
Update the permissions settings for an existing partner workload. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress. (workloads.mutatePartnerPermissions)
Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.
Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality. (workloads.restrictAllowedResources)
Details
GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse
analyzeWorkloadMove(string $target, array $optParams = [])
Analyzes a hypothetical move of a source resource to a target workload to surface compliance risks. The analysis is best effort and is not guaranteed to be exhaustive. (workloads.analyzeWorkloadMove)
GoogleLongrunningOperation
create(string $parent, GoogleCloudAssuredworkloadsV1Workload $postBody, array $optParams = [])
Creates Assured Workload. (workloads.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies. (workloads.delete)
GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse
enableResourceMonitoring(string $name, array $optParams = [])
Enable resource violation monitoring for a workload.
(workloads.enableResourceMonitoring)
GoogleCloudAssuredworkloadsV1Workload
get(string $name, array $optParams = [])
Gets Assured Workload associated with a CRM Node (workloads.get)
GoogleCloudAssuredworkloadsV1ListWorkloadsResponse
listOrganizationsLocationsWorkloads(string $parent, array $optParams = [])
Lists Assured Workloads under a CRM Node.
(workloads.listOrganizationsLocationsWorkloads)
GoogleCloudAssuredworkloadsV1Workload
mutatePartnerPermissions(string $name, GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest $postBody, array $optParams = [])
Update the permissions settings for an existing partner workload. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress. (workloads.mutatePartnerPermissions)
GoogleCloudAssuredworkloadsV1Workload
patch(string $name, GoogleCloudAssuredworkloadsV1Workload $postBody, array $optParams = [])
Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.
(workloads.patch)
GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse
restrictAllowedResources(string $name, GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest $postBody, array $optParams = [])
Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality. (workloads.restrictAllowedResources)