![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.ResourcePolicySnapshotSchedulePolicySnapshotProperties.html Maven / Gradle / Ivy
ResourcePolicySnapshotSchedulePolicySnapshotProperties (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class ResourcePolicySnapshotSchedulePolicySnapshotProperties
- 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.ResourcePolicySnapshotSchedulePolicySnapshotProperties
-
public final class ResourcePolicySnapshotSchedulePolicySnapshotProperties
extends GenericJson
Specified snapshot properties for scheduled snapshots created by this policy.
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
ResourcePolicySnapshotSchedulePolicySnapshotProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ResourcePolicySnapshotSchedulePolicySnapshotProperties
clone()
String
getChainName()
Chain name that the snapshot is created in.
Boolean
getGuestFlush()
Indication to perform a 'guest aware' snapshot.
Map<String,String>
getLabels()
Labels to apply to scheduled snapshots.
List<String>
getStorageLocations()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
ResourcePolicySnapshotSchedulePolicySnapshotProperties
set(String fieldName,
Object value)
ResourcePolicySnapshotSchedulePolicySnapshotProperties
setChainName(String chainName)
Chain name that the snapshot is created in.
ResourcePolicySnapshotSchedulePolicySnapshotProperties
setGuestFlush(Boolean guestFlush)
Indication to perform a 'guest aware' snapshot.
ResourcePolicySnapshotSchedulePolicySnapshotProperties
setLabels(Map<String,String> labels)
Labels to apply to scheduled snapshots.
ResourcePolicySnapshotSchedulePolicySnapshotProperties
setStorageLocations(List<String> storageLocations)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
-
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
-
-
Constructor Detail
-
ResourcePolicySnapshotSchedulePolicySnapshotProperties
public ResourcePolicySnapshotSchedulePolicySnapshotProperties()
-
Method Detail
-
getChainName
public String getChainName()
Chain name that the snapshot is created in.
- Returns:
- value or
null
for none
-
setChainName
public ResourcePolicySnapshotSchedulePolicySnapshotProperties setChainName(String chainName)
Chain name that the snapshot is created in.
- Parameters:
chainName
- chainName or null
for none
-
getGuestFlush
public Boolean getGuestFlush()
Indication to perform a 'guest aware' snapshot.
- Returns:
- value or
null
for none
-
setGuestFlush
public ResourcePolicySnapshotSchedulePolicySnapshotProperties setGuestFlush(Boolean guestFlush)
Indication to perform a 'guest aware' snapshot.
- Parameters:
guestFlush
- guestFlush or null
for none
-
getLabels
public Map<String,String> getLabels()
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method.
Label values may be empty.
- Returns:
- value or
null
for none
-
setLabels
public ResourcePolicySnapshotSchedulePolicySnapshotProperties setLabels(Map<String,String> labels)
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method.
Label values may be empty.
- Parameters:
labels
- labels or null
for none
-
getStorageLocations
public List<String> getStorageLocations()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- Returns:
- value or
null
for none
-
setStorageLocations
public ResourcePolicySnapshotSchedulePolicySnapshotProperties setStorageLocations(List<String> storageLocations)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- Parameters:
storageLocations
- storageLocations or null
for none
-
set
public ResourcePolicySnapshotSchedulePolicySnapshotProperties set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ResourcePolicySnapshotSchedulePolicySnapshotProperties clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy