target.apidocs.com.google.api.services.deploymentmanager.model.Operation.Warnings.html Maven / Gradle / Ivy
The newest version!
Operation.Warnings (Cloud Deployment Manager V2 API v2-rev20241122-2.0.0)
com.google.api.services.deploymentmanager.model
Class Operation.Warnings
- 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
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
Operation.Warnings.Data
Model definition for OperationWarningsData.
-
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
Warnings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Operation.Warnings
clone()
String
getCode()
[Output Only] A warning code, if applicable.
List<Operation.Warnings.Data>
getData()
[Output Only] Metadata about this warning in key: value format.
String
getMessage()
[Output Only] A human-readable description of the warning code.
Operation.Warnings
set(String fieldName,
Object value)
Operation.Warnings
setCode(String code)
[Output Only] A warning code, if applicable.
Operation.Warnings
setData(List<Operation.Warnings.Data> data)
[Output Only] Metadata about this warning in key: value format.
Operation.Warnings
setMessage(String message)
[Output Only] A human-readable description of the warning code.
-
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
-
getCode
public String getCode()
[Output Only] A warning code, if applicable. For example, Compute Engine returns
NO_RESULTS_ON_PAGE if there are no results in the response.
- Returns:
- value or
null
for none
-
setCode
public Operation.Warnings setCode(String code)
[Output Only] A warning code, if applicable. For example, Compute Engine returns
NO_RESULTS_ON_PAGE if there are no results in the response.
- Parameters:
code
- code or null
for none
-
getData
public List<Operation.Warnings.Data> getData()
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key":
"scope", "value": "zones/us-east1-d" }
- Returns:
- value or
null
for none
-
setData
public Operation.Warnings setData(List<Operation.Warnings.Data> data)
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key":
"scope", "value": "zones/us-east1-d" }
- Parameters:
data
- data or null
for none
-
getMessage
public String getMessage()
[Output Only] A human-readable description of the warning code.
- Returns:
- value or
null
for none
-
setMessage
public Operation.Warnings setMessage(String message)
[Output Only] A human-readable description of the warning code.
- Parameters:
message
- message or null
for none
-
set
public Operation.Warnings set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Operation.Warnings 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