![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.DiskMoveRequest.html Maven / Gradle / Ivy
DiskMoveRequest (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class DiskMoveRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.DiskMoveRequest
-
public final class DiskMoveRequest
extends GenericJson
Model definition for DiskMoveRequest.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
DiskMoveRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DiskMoveRequest
clone()
String
getDestinationZone()
The URL of the destination zone to move the disk.
String
getTargetDisk()
The URL of the target disk to move.
DiskMoveRequest
set(String fieldName,
Object value)
DiskMoveRequest
setDestinationZone(String destinationZone)
The URL of the destination zone to move the disk.
DiskMoveRequest
setTargetDisk(String targetDisk)
The URL of the target disk to move.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDestinationZone
public String getDestinationZone()
The URL of the destination zone to move the disk. This can be a full or partial URL. For
example, the following are all valid URLs to a zone: -
https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone
- zones/zone
- Returns:
- value or
null
for none
-
setDestinationZone
public DiskMoveRequest setDestinationZone(String destinationZone)
The URL of the destination zone to move the disk. This can be a full or partial URL. For
example, the following are all valid URLs to a zone: -
https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone
- zones/zone
- Parameters:
destinationZone
- destinationZone or null
for none
-
getTargetDisk
public String getTargetDisk()
The URL of the target disk to move. This can be a full or partial URL. For example, the
following are all valid URLs to a disk: -
https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk -
projects/project/zones/zone/disks/disk - zones/zone/disks/disk
- Returns:
- value or
null
for none
-
setTargetDisk
public DiskMoveRequest setTargetDisk(String targetDisk)
The URL of the target disk to move. This can be a full or partial URL. For example, the
following are all valid URLs to a disk: -
https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk -
projects/project/zones/zone/disks/disk - zones/zone/disks/disk
- Parameters:
targetDisk
- targetDisk or null
for none
-
set
public DiskMoveRequest set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public DiskMoveRequest clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy