---
title: "GET /v1/{v1Id}/{v1Id1}:analyzeMove"
method: GET
path: "/v1/{v1Id}/{v1Id1}:analyzeMove"
tags: ["v1"]
---

# GET /v1/{v1Id}/{v1Id1}:analyzeMove

`GET /v1/{v1Id}/{v1Id1}:analyzeMove`

## Request

- Base URL: `https://cloudasset.googleapis.com`
- URL: `https://cloudasset.googleapis.com/v1/{v1Id}/{v1Id1}:analyzeMove`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.

## Path parameters

- `v1Id` string, required
- `v1Id1` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `destinationParent` string
- `view` 'ANALYSIS_VIEW_UNSPECIFIED' | 'FULL' | 'BASIC'

## Response `200`

Successful response

- AnalyzeMoveResponse: The response message for resource move analysis.
  - `moveAnalysis` MoveAnalysis[]: The list of analyses returned from performing the intended resource move analysis. The analysis is grouped by different Google Cloud services.
    - `analysis` MoveAnalysisResult: An analysis result including blockers and warnings.
      - `blockers` MoveImpact[]: Blocking information that would prevent the target resource from moving to the specified destination at runtime.
        - `detail` string: User friendly impact detail in a free form message.
      - `warnings` MoveImpact[]: Warning information indicating that moving the target resource to the specified destination might be unsafe. This can include important policy information and configuration changes, but will not block moves at runtime.
        - `detail` string: User friendly impact detail in a free form message.
    - `displayName` string: The user friendly display name of the analysis. E.g. IAM, organization policy etc.
    - `error` Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
      - `code` integer: The status code, which should be an enum value of google.rpc.Code.
      - `details` object[]: A list of messages that carry the error details. There is a common set of message types for APIs to use.
      - `message` string: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

---

[API](https://skmtc.dev/google/apis/cloudasset.md) - [All operations](https://skmtc.dev/google/apis/cloudasset/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/cloudasset/revisions/77b8c018c1d7?raw)
