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 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.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> |
getFeatures()
The list of features enabled on this endpoint.
|
java.lang.String |
getName()
The canonical name of this endpoint.
|
java.lang.String |
getTarget()
The specification of an Internet routable address of API frontend that will handle requests to
this [API Endpoint](https://cloud.google.com/apis/design/glossary).
|
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 |
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.
|
Endpoint |
setTarget(java.lang.String target)
The specification of an Internet routable address of API frontend that will handle requests to
this [API Endpoint](https://cloud.google.com/apis/design/glossary).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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> 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 java.lang.String getTarget()
null
for nonepublic Endpoint setTarget(java.lang.String target)
target
- target or null
for nonepublic Endpoint set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Endpoint clone()
clone
in class com.google.api.client.json.GenericJson