public final class PollingOptions
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 Deployment Manager V2 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 |
---|
PollingOptions() |
Modifier and Type | Method and Description |
---|---|
PollingOptions |
clone() |
List<Diagnostic> |
getDiagnostics()
An array of diagnostics to be collected by Deployment Manager, these diagnostics will be
displayed to the user.
|
String |
getFailCondition()
JsonPath expression that determines if the request failed.
|
String |
getFinishCondition()
JsonPath expression that determines if the request is completed.
|
String |
getPollingLink()
JsonPath expression that evaluates to string, it indicates where to poll.
|
String |
getTargetLink()
JsonPath expression, after polling is completed, indicates where to fetch the resource.
|
PollingOptions |
set(String fieldName,
Object value) |
PollingOptions |
setDiagnostics(List<Diagnostic> diagnostics)
An array of diagnostics to be collected by Deployment Manager, these diagnostics will be
displayed to the user.
|
PollingOptions |
setFailCondition(String failCondition)
JsonPath expression that determines if the request failed.
|
PollingOptions |
setFinishCondition(String finishCondition)
JsonPath expression that determines if the request is completed.
|
PollingOptions |
setPollingLink(String pollingLink)
JsonPath expression that evaluates to string, it indicates where to poll.
|
PollingOptions |
setTargetLink(String targetLink)
JsonPath expression, after polling is completed, indicates where to fetch the resource.
|
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 List<Diagnostic> getDiagnostics()
null
for nonepublic PollingOptions setDiagnostics(List<Diagnostic> diagnostics)
diagnostics
- diagnostics or null
for nonepublic String getFailCondition()
null
for nonepublic PollingOptions setFailCondition(String failCondition)
failCondition
- failCondition or null
for nonepublic String getFinishCondition()
null
for nonepublic PollingOptions setFinishCondition(String finishCondition)
finishCondition
- finishCondition or null
for nonepublic String getPollingLink()
null
for nonepublic PollingOptions setPollingLink(String pollingLink)
pollingLink
- pollingLink or null
for nonepublic String getTargetLink()
null
for nonepublic PollingOptions setTargetLink(String targetLink)
targetLink
- targetLink or null
for nonepublic PollingOptions set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PollingOptions clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.