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