public final class GitHubEnterpriseConfig
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 |
|---|
GitHubEnterpriseConfig() |
| Modifier and Type | Method and Description |
|---|---|
GitHubEnterpriseConfig |
clone() |
Long |
getAppId()
Required.
|
String |
getCreateTime()
Output only.
|
String |
getDisplayName()
Name to display for this config.
|
String |
getHostUrl()
The URL of the github enterprise host the configuration is for.
|
String |
getName()
Optional.
|
String |
getPeeredNetwork()
Optional.
|
GitHubEnterpriseSecrets |
getSecrets()
Names of secrets in Secret Manager.
|
String |
getSslCa()
Optional.
|
String |
getWebhookKey()
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
|
GitHubEnterpriseConfig |
set(String fieldName,
Object value) |
GitHubEnterpriseConfig |
setAppId(Long appId)
Required.
|
GitHubEnterpriseConfig |
setCreateTime(String createTime)
Output only.
|
GitHubEnterpriseConfig |
setDisplayName(String displayName)
Name to display for this config.
|
GitHubEnterpriseConfig |
setHostUrl(String hostUrl)
The URL of the github enterprise host the configuration is for.
|
GitHubEnterpriseConfig |
setName(String name)
Optional.
|
GitHubEnterpriseConfig |
setPeeredNetwork(String peeredNetwork)
Optional.
|
GitHubEnterpriseConfig |
setSecrets(GitHubEnterpriseSecrets secrets)
Names of secrets in Secret Manager.
|
GitHubEnterpriseConfig |
setSslCa(String sslCa)
Optional.
|
GitHubEnterpriseConfig |
setWebhookKey(String webhookKey)
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
|
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 Long getAppId()
null for nonepublic GitHubEnterpriseConfig setAppId(Long appId)
appId - appId or null for nonepublic String getCreateTime()
null for nonepublic GitHubEnterpriseConfig setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDisplayName()
null for nonepublic GitHubEnterpriseConfig setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getHostUrl()
null for nonepublic GitHubEnterpriseConfig setHostUrl(String hostUrl)
hostUrl - hostUrl or null for nonepublic String getName()
null for nonepublic GitHubEnterpriseConfig setName(String name)
name - name or null for nonepublic String getPeeredNetwork()
null for nonepublic GitHubEnterpriseConfig setPeeredNetwork(String peeredNetwork)
peeredNetwork - peeredNetwork or null for nonepublic GitHubEnterpriseSecrets getSecrets()
null for nonepublic GitHubEnterpriseConfig setSecrets(GitHubEnterpriseSecrets secrets)
secrets - secrets or null for nonepublic String getSslCa()
null for nonepublic GitHubEnterpriseConfig setSslCa(String sslCa)
sslCa - sslCa or null for nonepublic String getWebhookKey()
null for nonepublic GitHubEnterpriseConfig setWebhookKey(String webhookKey)
webhookKey - webhookKey or null for nonepublic GitHubEnterpriseConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GitHubEnterpriseConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.