public final class PubsubConfig
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 Build 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 |
|---|
PubsubConfig() |
| Modifier and Type | Method and Description |
|---|---|
PubsubConfig |
clone() |
String |
getServiceAccountEmail()
Service account that will make the push request.
|
String |
getState()
Potential issues with the underlying Pub/Sub subscription configuration.
|
String |
getSubscription()
Output only.
|
String |
getTopic()
The name of the topic from which this subscription is receiving messages.
|
PubsubConfig |
set(String fieldName,
Object value) |
PubsubConfig |
setServiceAccountEmail(String serviceAccountEmail)
Service account that will make the push request.
|
PubsubConfig |
setState(String state)
Potential issues with the underlying Pub/Sub subscription configuration.
|
PubsubConfig |
setSubscription(String subscription)
Output only.
|
PubsubConfig |
setTopic(String topic)
The name of the topic from which this subscription is receiving messages.
|
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 getServiceAccountEmail()
null for nonepublic PubsubConfig setServiceAccountEmail(String serviceAccountEmail)
serviceAccountEmail - serviceAccountEmail or null for nonepublic String getState()
null for nonepublic PubsubConfig setState(String state)
state - state or null for nonepublic String getSubscription()
null for nonepublic PubsubConfig setSubscription(String subscription)
subscription - subscription or null for nonepublic String getTopic()
null for nonepublic PubsubConfig setTopic(String topic)
topic - topic or null for nonepublic PubsubConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PubsubConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.