target.apidocs.com.google.api.services.deploymentmanager.model.Operation.Warnings.Data.html Maven / Gradle / Ivy
The newest version!
Operation.Warnings.Data (Cloud Deployment Manager V2 API v2-rev20241122-2.0.0)
com.google.api.services.deploymentmanager.model
Class Operation.Warnings.Data
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.deploymentmanager.model.Operation.Warnings.Data
-
- Enclosing class:
- Operation.Warnings
public static final class Operation.Warnings.Data
extends com.google.api.client.json.GenericJson
Model definition for OperationWarningsData.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.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
Data()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Operation.Warnings.Data
clone()
String
getKey()
[Output Only] A key that provides more detail on the warning being returned.
String
getValue()
[Output Only] A warning data value corresponding to the key.
Operation.Warnings.Data
set(String fieldName,
Object value)
Operation.Warnings.Data
setKey(String key)
[Output Only] A key that provides more detail on the warning being returned.
Operation.Warnings.Data
setValue(String value)
[Output Only] A warning data value corresponding to the key.
-
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
-
getKey
public String getKey()
[Output Only] A key that provides more detail on the warning being returned. For example, for
warnings where there are no results in a list request for a particular zone, this key might be
scope and the key value might be the zone name. Other examples might be a key indicating a
deprecated resource and a suggested replacement, or a warning about invalid network settings
(for example, if an instance attempts to perform IP forwarding but is not enabled for IP
forwarding).
- Returns:
- value or
null
for none
-
setKey
public Operation.Warnings.Data setKey(String key)
[Output Only] A key that provides more detail on the warning being returned. For example, for
warnings where there are no results in a list request for a particular zone, this key might be
scope and the key value might be the zone name. Other examples might be a key indicating a
deprecated resource and a suggested replacement, or a warning about invalid network settings
(for example, if an instance attempts to perform IP forwarding but is not enabled for IP
forwarding).
- Parameters:
key
- key or null
for none
-
getValue
public String getValue()
[Output Only] A warning data value corresponding to the key.
- Returns:
- value or
null
for none
-
setValue
public Operation.Warnings.Data setValue(String value)
[Output Only] A warning data value corresponding to the key.
- Parameters:
value
- value or null
for none
-
set
public Operation.Warnings.Data set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Operation.Warnings.Data clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy