public final class ConsumerPolicy
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 Service Usage 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConsumerPolicy() |
| Modifier and Type | Method and Description |
|---|---|
ConsumerPolicy |
clone() |
Map<String,String> |
getAnnotations()
Optional.
|
List<EnableRule> |
getEnableRules()
Enable rules define usable services and service groups.
|
String |
getEtag()
An opaque tag indicating the current version of the policy, used for concurrency control.
|
String |
getName()
Output only.
|
String |
getUpdateTime()
The last-modified time.
|
ConsumerPolicy |
set(String fieldName,
Object value) |
ConsumerPolicy |
setAnnotations(Map<String,String> annotations)
Optional.
|
ConsumerPolicy |
setEnableRules(List<EnableRule> enableRules)
Enable rules define usable services and service groups.
|
ConsumerPolicy |
setEtag(String etag)
An opaque tag indicating the current version of the policy, used for concurrency control.
|
ConsumerPolicy |
setName(String name)
Output only.
|
ConsumerPolicy |
setUpdateTime(String updateTime)
The last-modified time.
|
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 Map<String,String> getAnnotations()
null for nonepublic ConsumerPolicy setAnnotations(Map<String,String> annotations)
annotations - annotations or null for nonepublic List<EnableRule> getEnableRules()
null for nonepublic ConsumerPolicy setEnableRules(List<EnableRule> enableRules)
enableRules - enableRules or null for nonepublic String getEtag()
null for nonepublic ConsumerPolicy setEtag(String etag)
etag - etag or null for nonepublic String getName()
null for nonepublic ConsumerPolicy setName(String name)
name - name or null for nonepublic String getUpdateTime()
null for nonepublic ConsumerPolicy setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic ConsumerPolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ConsumerPolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.