public final class ProjectConfig extends 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 Source Repositories API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ProjectConfig() |
| Modifier and Type | Method and Description |
|---|---|
ProjectConfig |
clone() |
Boolean |
getEnablePrivateKeyCheck()
Reject a Git push that contains a private key.
|
String |
getName()
The name of the project.
|
Map<String,PubsubConfig> |
getPubsubConfigs()
How this project publishes a change in the repositories through Cloud Pub/Sub.
|
ProjectConfig |
set(String fieldName,
Object value) |
ProjectConfig |
setEnablePrivateKeyCheck(Boolean enablePrivateKeyCheck)
Reject a Git push that contains a private key.
|
ProjectConfig |
setName(String name)
The name of the project.
|
ProjectConfig |
setPubsubConfigs(Map<String,PubsubConfig> pubsubConfigs)
How this project publishes a change in the repositories through Cloud Pub/Sub.
|
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 Boolean getEnablePrivateKeyCheck()
null for nonepublic ProjectConfig setEnablePrivateKeyCheck(Boolean enablePrivateKeyCheck)
enablePrivateKeyCheck - enablePrivateKeyCheck or null for nonepublic String getName()
null for nonepublic ProjectConfig setName(String name)
name - name or null for nonepublic Map<String,PubsubConfig> getPubsubConfigs()
null for nonepublic ProjectConfig setPubsubConfigs(Map<String,PubsubConfig> pubsubConfigs)
pubsubConfigs - pubsubConfigs or null for nonepublic ProjectConfig set(String fieldName, Object value)
set in class GenericJsonpublic ProjectConfig clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.