target.apidocs.com.google.api.services.compute.model.Image.RawDisk.html Maven / Gradle / Ivy
Image.RawDisk (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute.model
Class Image.RawDisk
- 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.Image.RawDisk
-
-
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
RawDisk()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Image.RawDisk
clone()
String
getContainerType()
The format used to encode and transmit the block device, which should be TAR.
String
getSha1Checksum()
[Deprecated] This field is deprecated.
String
getSource()
The full Google Cloud Storage URL where the disk image is stored.
Image.RawDisk
set(String fieldName,
Object value)
Image.RawDisk
setContainerType(String containerType)
The format used to encode and transmit the block device, which should be TAR.
Image.RawDisk
setSha1Checksum(String sha1Checksum)
[Deprecated] This field is deprecated.
Image.RawDisk
setSource(String source)
The full Google Cloud Storage URL where the disk image is stored.
-
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
-
getContainerType
public String getContainerType()
The format used to encode and transmit the block device, which should be TAR. This is just a
container and transmission format and not a runtime format. Provided by the client when the
disk image is created.
- Returns:
- value or
null
for none
-
setContainerType
public Image.RawDisk setContainerType(String containerType)
The format used to encode and transmit the block device, which should be TAR. This is just a
container and transmission format and not a runtime format. Provided by the client when the
disk image is created.
- Parameters:
containerType
- containerType or null
for none
-
getSha1Checksum
public String getSha1Checksum()
[Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before
unpackaging provided by the client when the disk image is created.
- Returns:
- value or
null
for none
-
setSha1Checksum
public Image.RawDisk setSha1Checksum(String sha1Checksum)
[Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before
unpackaging provided by the client when the disk image is created.
- Parameters:
sha1Checksum
- sha1Checksum or null
for none
-
getSource
public String getSource()
The full Google Cloud Storage URL where the disk image is stored. You must provide either this
property or the sourceDisk property but not both.
- Returns:
- value or
null
for none
-
setSource
public Image.RawDisk setSource(String source)
The full Google Cloud Storage URL where the disk image is stored. You must provide either this
property or the sourceDisk property but not both.
- Parameters:
source
- source or null
for none
-
set
public Image.RawDisk set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Image.RawDisk clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy