public final class GitLabConfig
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 |
|---|
GitLabConfig() |
| Modifier and Type | Method and Description |
|---|---|
GitLabConfig |
clone() |
List<GitLabRepositoryId> |
getConnectedRepositories()
Connected GitLab.com or GitLabEnterprise repositories for this config.
|
String |
getCreateTime()
Output only.
|
GitLabEnterpriseConfig |
getEnterpriseConfig()
Optional.
|
String |
getName()
The resource name for the config.
|
GitLabSecrets |
getSecrets()
Required.
|
String |
getUsername()
Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
|
String |
getWebhookKey()
Output only.
|
GitLabConfig |
set(String fieldName,
Object value) |
GitLabConfig |
setConnectedRepositories(List<GitLabRepositoryId> connectedRepositories)
Connected GitLab.com or GitLabEnterprise repositories for this config.
|
GitLabConfig |
setCreateTime(String createTime)
Output only.
|
GitLabConfig |
setEnterpriseConfig(GitLabEnterpriseConfig enterpriseConfig)
Optional.
|
GitLabConfig |
setName(String name)
The resource name for the config.
|
GitLabConfig |
setSecrets(GitLabSecrets secrets)
Required.
|
GitLabConfig |
setUsername(String username)
Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
|
GitLabConfig |
setWebhookKey(String webhookKey)
Output only.
|
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 List<GitLabRepositoryId> getConnectedRepositories()
null for nonepublic GitLabConfig setConnectedRepositories(List<GitLabRepositoryId> connectedRepositories)
connectedRepositories - connectedRepositories or null for nonepublic String getCreateTime()
null for nonepublic GitLabConfig setCreateTime(String createTime)
createTime - createTime or null for nonepublic GitLabEnterpriseConfig getEnterpriseConfig()
null for nonepublic GitLabConfig setEnterpriseConfig(GitLabEnterpriseConfig enterpriseConfig)
enterpriseConfig - enterpriseConfig or null for nonepublic String getName()
null for nonepublic GitLabConfig setName(String name)
name - name or null for nonepublic GitLabSecrets getSecrets()
null for nonepublic GitLabConfig setSecrets(GitLabSecrets secrets)
secrets - secrets or null for nonepublic String getUsername()
null for nonepublic GitLabConfig setUsername(String username)
username - username or null for nonepublic String getWebhookKey()
null for nonepublic GitLabConfig setWebhookKey(String webhookKey)
webhookKey - webhookKey or null for nonepublic GitLabConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GitLabConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.