public final class StoragePoolDisk
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
StoragePoolDisk() |
Modifier and Type | Method and Description |
---|---|
StoragePoolDisk |
clone() |
List<String> |
getAttachedInstances()
[Output Only] Instances this disk is attached to.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDisk()
[Output Only] The URL of the disk.
|
String |
getName()
[Output Only] The name of the disk.
|
Long |
getProvisionedIops()
[Output Only] The number of IOPS provisioned for the disk.
|
Long |
getProvisionedThroughput()
[Output Only] The throughput provisioned for the disk.
|
List<String> |
getResourcePolicies()
[Output Only] Resource policies applied to disk for automatic snapshot creations.
|
Long |
getSizeGb()
[Output Only] The disk size, in GB.
|
String |
getStatus()
[Output Only] The disk status.
|
String |
getType()
[Output Only] The disk type.
|
Long |
getUsedBytes()
[Output Only] Amount of disk space used.
|
StoragePoolDisk |
set(String fieldName,
Object value) |
StoragePoolDisk |
setAttachedInstances(List<String> attachedInstances)
[Output Only] Instances this disk is attached to.
|
StoragePoolDisk |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
StoragePoolDisk |
setDisk(String disk)
[Output Only] The URL of the disk.
|
StoragePoolDisk |
setName(String name)
[Output Only] The name of the disk.
|
StoragePoolDisk |
setProvisionedIops(Long provisionedIops)
[Output Only] The number of IOPS provisioned for the disk.
|
StoragePoolDisk |
setProvisionedThroughput(Long provisionedThroughput)
[Output Only] The throughput provisioned for the disk.
|
StoragePoolDisk |
setResourcePolicies(List<String> resourcePolicies)
[Output Only] Resource policies applied to disk for automatic snapshot creations.
|
StoragePoolDisk |
setSizeGb(Long sizeGb)
[Output Only] The disk size, in GB.
|
StoragePoolDisk |
setStatus(String status)
[Output Only] The disk status.
|
StoragePoolDisk |
setType(String type)
[Output Only] The disk type.
|
StoragePoolDisk |
setUsedBytes(Long usedBytes)
[Output Only] Amount of disk space used.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<String> getAttachedInstances()
null
for nonepublic StoragePoolDisk setAttachedInstances(List<String> attachedInstances)
attachedInstances
- attachedInstances or null
for nonepublic String getCreationTimestamp()
null
for nonepublic StoragePoolDisk setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic String getDisk()
null
for nonepublic StoragePoolDisk setDisk(String disk)
disk
- disk or null
for nonepublic String getName()
null
for nonepublic StoragePoolDisk setName(String name)
name
- name or null
for nonepublic Long getProvisionedIops()
null
for nonepublic StoragePoolDisk setProvisionedIops(Long provisionedIops)
provisionedIops
- provisionedIops or null
for nonepublic Long getProvisionedThroughput()
null
for nonepublic StoragePoolDisk setProvisionedThroughput(Long provisionedThroughput)
provisionedThroughput
- provisionedThroughput or null
for nonepublic List<String> getResourcePolicies()
null
for nonepublic StoragePoolDisk setResourcePolicies(List<String> resourcePolicies)
resourcePolicies
- resourcePolicies or null
for nonepublic Long getSizeGb()
null
for nonepublic StoragePoolDisk setSizeGb(Long sizeGb)
sizeGb
- sizeGb or null
for nonepublic String getStatus()
null
for nonepublic StoragePoolDisk setStatus(String status)
status
- status or null
for nonepublic String getType()
null
for nonepublic StoragePoolDisk setType(String type)
type
- type or null
for nonepublic Long getUsedBytes()
null
for nonepublic StoragePoolDisk setUsedBytes(Long usedBytes)
usedBytes
- usedBytes or null
for nonepublic StoragePoolDisk set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public StoragePoolDisk clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.