v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13195274.7 KB
organizations

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.

get/v1/{+target}:analyzeWorkloadMove

Path parameters

targetstring required

Required. The resource ID of the folder-based destination workload. This workload is where the source resource will hypothetically be moved to. Specify the workload's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-2"

Query parameters

assetTypesstring[]

Optional. List of asset types to be analyzed, including and under the source resource. If empty, all assets are analyzed. The complete list of asset types is available here.

pageSizeinteger

Optional. Page size. If a value is not specified, the default value of 10 is used. The maximum value is 50.

pageTokenstring

Optional. The page token from the previous response. It needs to be passed in the second and following requests.

projectstring

The source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example: "projects/951040570662" when specifying a project number, or "projects/my-project-123" when specifying a project ID.

Response

Successful response