public final class UsageRule
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 Management 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
Constructor and Description |
---|
UsageRule() |
Modifier and Type | Method and Description |
---|---|
UsageRule |
clone() |
java.lang.Boolean |
getAllowUnregisteredCalls()
If true, the selected method allows unregistered calls, e.g.
|
java.lang.String |
getSelector()
Selects the methods to which this rule applies.
|
java.lang.Boolean |
getSkipServiceControl()
If true, the selected method should skip service control and the control plane features, such
as quota and billing, will not be available.
|
UsageRule |
set(java.lang.String fieldName,
java.lang.Object value) |
UsageRule |
setAllowUnregisteredCalls(java.lang.Boolean allowUnregisteredCalls)
If true, the selected method allows unregistered calls, e.g.
|
UsageRule |
setSelector(java.lang.String selector)
Selects the methods to which this rule applies.
|
UsageRule |
setSkipServiceControl(java.lang.Boolean skipServiceControl)
If true, the selected method should skip service control and the control plane features, such
as quota and billing, will not be available.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getAllowUnregisteredCalls()
null
for nonepublic UsageRule setAllowUnregisteredCalls(java.lang.Boolean allowUnregisteredCalls)
allowUnregisteredCalls
- allowUnregisteredCalls or null
for nonepublic java.lang.String getSelector()
null
for nonepublic UsageRule setSelector(java.lang.String selector)
selector
- selector or null
for nonepublic java.lang.Boolean getSkipServiceControl()
null
for nonepublic UsageRule setSkipServiceControl(java.lang.Boolean skipServiceControl)
skipServiceControl
- skipServiceControl or null
for nonepublic UsageRule set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UsageRule clone()
clone
in class com.google.api.client.json.GenericJson