public final class DiskSettings
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DiskSettings() |
| Modifier and Type | Method and Description |
|---|---|
DiskSettings |
clone() |
DiskSettingsAccessLocation |
getAccessLocation()
Policy of which locations are allowed to create regional snapshots.
|
Map<String,DiskSettingsResourcePolicyDetails> |
getDefaultResourcePolicies()
An optional parameter for storing the default resource policies that will be used for the Disks
created in the given scope.
|
DiskSettings |
set(String fieldName,
Object value) |
DiskSettings |
setAccessLocation(DiskSettingsAccessLocation accessLocation)
Policy of which locations are allowed to create regional snapshots.
|
DiskSettings |
setDefaultResourcePolicies(Map<String,DiskSettingsResourcePolicyDetails> defaultResourcePolicies)
An optional parameter for storing the default resource policies that will be used for the Disks
created in the given scope.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic DiskSettingsAccessLocation getAccessLocation()
null for nonepublic DiskSettings setAccessLocation(DiskSettingsAccessLocation accessLocation)
accessLocation - accessLocation or null for nonepublic Map<String,DiskSettingsResourcePolicyDetails> getDefaultResourcePolicies()
null for nonepublic DiskSettings setDefaultResourcePolicies(Map<String,DiskSettingsResourcePolicyDetails> defaultResourcePolicies)
defaultResourcePolicies - defaultResourcePolicies or null for nonepublic DiskSettings set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DiskSettings clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.