public final class Rule extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| Rule() | 
| Modifier and Type | Method and Description | 
|---|---|
| Rule | clone() | 
| String | getAction()This is deprecated and has no effect. | 
| List<Condition> | getConditions()This is deprecated and has no effect. | 
| String | getDescription()This is deprecated and has no effect. | 
| List<String> | getIns()This is deprecated and has no effect. | 
| List<LogConfig> | getLogConfigs()This is deprecated and has no effect. | 
| List<String> | getNotIns()This is deprecated and has no effect. | 
| List<String> | getPermissions()This is deprecated and has no effect. | 
| Rule | set(String fieldName,
   Object value) | 
| Rule | setAction(String action)This is deprecated and has no effect. | 
| Rule | setConditions(List<Condition> conditions)This is deprecated and has no effect. | 
| Rule | setDescription(String description)This is deprecated and has no effect. | 
| Rule | setIns(List<String> ins)This is deprecated and has no effect. | 
| Rule | setLogConfigs(List<LogConfig> logConfigs)This is deprecated and has no effect. | 
| Rule | setNotIns(List<String> notIns)This is deprecated and has no effect. | 
| Rule | setPermissions(List<String> permissions)This is deprecated and has no effect. | 
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 String getAction()
null for nonepublic Rule setAction(String action)
action - action or null for nonepublic List<Condition> getConditions()
null for nonepublic Rule setConditions(List<Condition> conditions)
conditions - conditions or null for nonepublic String getDescription()
null for nonepublic Rule setDescription(String description)
description - description or null for nonepublic List<String> getIns()
null for nonepublic Rule setIns(List<String> ins)
ins - ins or null for nonepublic List<LogConfig> getLogConfigs()
null for nonepublic Rule setLogConfigs(List<LogConfig> logConfigs)
logConfigs - logConfigs or null for nonepublic List<String> getNotIns()
null for nonepublic Rule setNotIns(List<String> notIns)
notIns - notIns or null for nonepublic List<String> getPermissions()
null for nonepublic Rule setPermissions(List<String> permissions)
permissions - permissions or null for nonepublic Rule set(String fieldName, Object value)
set in class GenericJsonpublic Rule clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.