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 Cloud Run 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() |
String |
getApiVersion()
The API version for this call.
|
String |
getKind()
The kind of resource.
|
ObjectMeta |
getMetadata()
Metadata associated with this Service, including name, namespace, labels, and annotations.
|
ServiceSpec |
getSpec()
Holds the desired state of the Service (from the client).
|
ServiceStatus |
getStatus()
Communicates the system-controlled state of the Service.
|
Service |
set(String fieldName,
Object value) |
Service |
setApiVersion(String apiVersion)
The API version for this call.
|
Service |
setKind(String kind)
The kind of resource.
|
Service |
setMetadata(ObjectMeta metadata)
Metadata associated with this Service, including name, namespace, labels, and annotations.
|
Service |
setSpec(ServiceSpec spec)
Holds the desired state of the Service (from the client).
|
Service |
setStatus(ServiceStatus status)
Communicates the system-controlled state of 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 String getApiVersion()
null for nonepublic Service setApiVersion(String apiVersion)
apiVersion - apiVersion or null for nonepublic String getKind()
null for nonepublic Service setKind(String kind)
kind - kind or null for nonepublic ObjectMeta getMetadata()
null for nonepublic Service setMetadata(ObjectMeta metadata)
metadata - metadata or null for nonepublic ServiceSpec getSpec()
null for nonepublic Service setSpec(ServiceSpec spec)
spec - spec or null for nonepublic ServiceStatus getStatus()
null for nonepublic Service setStatus(ServiceStatus status)
status - status 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.