public static final class Operation.OperationWarning extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Returns a warning identifier for this warning.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
message()
Returns a human-readable error message.
|
Map<String,String> |
metadata()
Returns metadata about this warning.
|
String |
toString() |
public String code()
NO_RESULTS_ON_PAGE if
there are no results in the response.public String message()
public Map<String,String> metadata()
scope and the key's 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).Copyright © 2016 Google. All rights reserved.