public final class Rule
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 com.google.api.client.json.GenericJson
public Rule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.