AnalyzeWorkloadMoveRequest

A request to analyze a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload.

JSON representation
{
  "target": string,

  // Union field projectOrWorkloadResource can be only one of the following:
  "source": string,
  "project": string
  // End of list of possible types for union field projectOrWorkloadResource.
}
Fields
target

string

Required. The resource ID of the folder-based destination workload. This workload is where the source project 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"

Union field projectOrWorkloadResource. The resource type to be moved to the destination workload. It can be either an existing project or a project-based workload. projectOrWorkloadResource can be only one of the following:
source

string

The source type is a project-based workload. Specify the workloads'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-1"

project

string

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.