2023-09-12
▼ ▲ assuredworkloads.organizations.locations.workloads.analyzeWorkloadMove
Parameter Order : target
Parameters :
assetTypes
Description : 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](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types).
Type : string
Location : query
Repeated : Yes
pageSize
Type : integer
Location : query
Description : Optional. Page size. If a value is not specified, the default value of 10 is used.
Format : int32
project
Location : query
Description : 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.
Type : string
target
Type : string
Required : Yes
Pattern : ^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$
Location : path
Description : 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"
pageToken
Type : string
Description : Optional. The page token from the previous response. It needs to be passed in the second and following requests.
Location : query
Scopes : https://www.googleapis.com/auth/cloud-platform
HTTP Method : GET
Path : v1/{+target}:analyzeWorkloadMove
Flat Path : v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:analyzeWorkloadMove
Description : 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.