public final class Service
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 App Engine Admin 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 |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
Service |
clone() |
Map<String,Object> |
getGeneratedCustomerMetadata()
Additional Google Generated Customer Metadata, this field won't be provided by default and can
be requested by setting the IncludeExtraData field in GetServiceRequest
|
String |
getId()
Relative name of the service within the application.
|
Map<String,String> |
getLabels()
A set of labels to apply to this service.
|
String |
getName()
Full path to the Service resource in the API.
|
NetworkSettings |
getNetworkSettings()
Ingress settings for this service.
|
TrafficSplit |
getSplit()
Mapping that defines fractional HTTP traffic diversion to different versions within the
service.
|
Service |
set(String fieldName,
Object value) |
Service |
setGeneratedCustomerMetadata(Map<String,Object> generatedCustomerMetadata)
Additional Google Generated Customer Metadata, this field won't be provided by default and can
be requested by setting the IncludeExtraData field in GetServiceRequest
|
Service |
setId(String id)
Relative name of the service within the application.
|
Service |
setLabels(Map<String,String> labels)
A set of labels to apply to this service.
|
Service |
setName(String name)
Full path to the Service resource in the API.
|
Service |
setNetworkSettings(NetworkSettings networkSettings)
Ingress settings for this service.
|
Service |
setSplit(TrafficSplit split)
Mapping that defines fractional HTTP traffic diversion to different versions within the
service.
|
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,Object> getGeneratedCustomerMetadata()
null for nonepublic Service setGeneratedCustomerMetadata(Map<String,Object> generatedCustomerMetadata)
generatedCustomerMetadata - generatedCustomerMetadata or null for nonepublic String getId()
null for nonepublic Service setId(String id)
id - id or null for nonepublic Map<String,String> getLabels()
null for nonepublic Service setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic Service setName(String name)
name - name or null for nonepublic NetworkSettings getNetworkSettings()
null for nonepublic Service setNetworkSettings(NetworkSettings networkSettings)
networkSettings - networkSettings or null for nonepublic TrafficSplit getSplit()
null for nonepublic Service setSplit(TrafficSplit split)
split - split or null for nonepublic Service set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Service clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.