public final class EnableRule
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 |
|---|
EnableRule() |
| Modifier and Type | Method and Description |
|---|---|
EnableRule |
clone() |
String |
getEnableType()
Client and resource project enable type.
|
List<String> |
getGroups()
DEPRECATED: Please use field `values`.
|
List<String> |
getServices()
DEPRECATED: Please use field `values`.
|
List<String> |
getValues()
The names of the services or service groups that are enabled.
|
EnableRule |
set(String fieldName,
Object value) |
EnableRule |
setEnableType(String enableType)
Client and resource project enable type.
|
EnableRule |
setGroups(List<String> groups)
DEPRECATED: Please use field `values`.
|
EnableRule |
setServices(List<String> services)
DEPRECATED: Please use field `values`.
|
EnableRule |
setValues(List<String> values)
The names of the services or service groups that are enabled.
|
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 getEnableType()
null for nonepublic EnableRule setEnableType(String enableType)
enableType - enableType or null for nonepublic List<String> getGroups()
null for nonepublic EnableRule setGroups(List<String> groups)
groups - groups or null for nonepublic List<String> getServices()
null for nonepublic EnableRule setServices(List<String> services)
services - services or null for nonepublic List<String> getValues()
null for nonepublic EnableRule setValues(List<String> values)
values - values or null for nonepublic EnableRule set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic EnableRule clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.