@BetaApi
  public final Operation moveInstanceProject(
      ProjectName project, InstanceMoveRequest instanceMoveRequestResource) {

    MoveInstanceProjectHttpRequest request =
        MoveInstanceProjectHttpRequest.newBuilder()
            .setProject(project == null ? null : project.toString())
            .setInstanceMoveRequestResource(instanceMoveRequestResource)
            .build();
    return moveInstanceProject(request);
  }
@ BetaApi public final Operation moveInstanceProject ( ProjectName project , InstanceMoveRequest instanceMoveRequestResource ) { MoveInstanceProjectHttpRequest request = MoveInstanceProjectHttpRequest . newBuilder ( ) . setProject ( project == null ? null : project . toString ( ) ) . setInstanceMoveRequestResource ( instanceMoveRequestResource ) . build ( ) ; return moveInstanceProject ( request ) ; }
Moves an instance and its attached persistent disks from one zone to another.

<p>Sample code:

<pre><code>
try (ProjectClient projectClient = ProjectClient.create()) {
ProjectName project = ProjectName.of("[PROJECT]");
InstanceMoveRequest instanceMoveRequestResource = InstanceMoveRequest.newBuilder().build();
Operation response = projectClient.moveInstanceProject(project, instanceMoveRequestResource);
}
</code></pre>

@param project Project ID for this request.
@param instanceMoveRequestResource
@throws com.google.api.gax.rpc.ApiException if the remote call fails