public final class V2ResourceEvent
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 Control 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
V2ResourceEvent() |
Modifier and Type | Method and Description |
---|---|
V2ResourceEvent |
clone() |
Long |
getContextId()
The ESF unique context id of the api request, from which this resource event originated.
|
String |
getDestinations()
The destinations field determines which backend services should handle the event.
|
Resource |
getParent()
The parent resource for the resource.
|
String |
getPath()
The api path the resource event was created in.
|
Map<String,Object> |
getPayload()
The payload contains metadata associated with the resource event.
|
Resource |
getResource()
The resource associated with the event.
|
String |
getType()
The resource event type determines how the backend service should process the event.
|
V2ResourceEvent |
set(String fieldName,
Object value) |
V2ResourceEvent |
setContextId(Long contextId)
The ESF unique context id of the api request, from which this resource event originated.
|
V2ResourceEvent |
setDestinations(String destinations)
The destinations field determines which backend services should handle the event.
|
V2ResourceEvent |
setParent(Resource parent)
The parent resource for the resource.
|
V2ResourceEvent |
setPath(String path)
The api path the resource event was created in.
|
V2ResourceEvent |
setPayload(Map<String,Object> payload)
The payload contains metadata associated with the resource event.
|
V2ResourceEvent |
setResource(Resource resource)
The resource associated with the event.
|
V2ResourceEvent |
setType(String type)
The resource event type determines how the backend service should process the event.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getContextId()
null
for nonepublic V2ResourceEvent setContextId(Long contextId)
contextId
- contextId or null
for nonepublic String getDestinations()
null
for nonepublic V2ResourceEvent setDestinations(String destinations)
destinations
- destinations or null
for nonepublic Resource getParent()
null
for nonepublic V2ResourceEvent setParent(Resource parent)
parent
- parent or null
for nonepublic String getPath()
null
for nonepublic V2ResourceEvent setPath(String path)
path
- path or null
for nonepublic Map<String,Object> getPayload()
null
for nonepublic V2ResourceEvent setPayload(Map<String,Object> payload)
payload
- payload or null
for nonepublic Resource getResource()
null
for nonepublic V2ResourceEvent setResource(Resource resource)
resource
- resource or null
for nonepublic String getType()
null
for nonepublic V2ResourceEvent setType(String type)
type
- type or null
for nonepublic V2ResourceEvent set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public V2ResourceEvent clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.