public final class Endpoint
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 Google 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 |
|---|
Endpoint() |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
clone() |
java.util.List<java.lang.String> |
getAliases()
DEPRECATED: This field is no longer supported.
|
java.lang.Boolean |
getAllowCors()
Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain
traffic, would allow the backends served from this endpoint to receive and respond to HTTP
OPTIONS requests.
|
java.util.List<java.lang.String> |
getApis()
The list of APIs served by this endpoint.
|
java.util.List<java.lang.String> |
getFeatures()
The list of features enabled on this endpoint.
|
java.lang.String |
getName()
The canonical name of this endpoint.
|
Endpoint |
set(java.lang.String fieldName,
java.lang.Object value) |
Endpoint |
setAliases(java.util.List<java.lang.String> aliases)
DEPRECATED: This field is no longer supported.
|
Endpoint |
setAllowCors(java.lang.Boolean allowCors)
Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain
traffic, would allow the backends served from this endpoint to receive and respond to HTTP
OPTIONS requests.
|
Endpoint |
setApis(java.util.List<java.lang.String> apis)
The list of APIs served by this endpoint.
|
Endpoint |
setFeatures(java.util.List<java.lang.String> features)
The list of features enabled on this endpoint.
|
Endpoint |
setName(java.lang.String name)
The canonical name of this endpoint.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<java.lang.String> getAliases()
null for nonepublic Endpoint setAliases(java.util.List<java.lang.String> aliases)
aliases - aliases or null for nonepublic java.lang.Boolean getAllowCors()
null for nonepublic Endpoint setAllowCors(java.lang.Boolean allowCors)
allowCors - allowCors or null for nonepublic java.util.List<java.lang.String> getApis()
null for nonepublic Endpoint setApis(java.util.List<java.lang.String> apis)
apis - apis or null for nonepublic java.util.List<java.lang.String> getFeatures()
null for nonepublic Endpoint setFeatures(java.util.List<java.lang.String> features)
features - features or null for nonepublic java.lang.String getName()
null for nonepublic Endpoint setName(java.lang.String name)
name - name or null for nonepublic Endpoint set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Endpoint clone()
clone in class com.google.api.client.json.GenericJson