public final class GitHubEventsConfig
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 |
|---|
GitHubEventsConfig() |
| Modifier and Type | Method and Description |
|---|---|
GitHubEventsConfig |
clone() |
String |
getEnterpriseConfigResourceName()
Optional.
|
Long |
getInstallationId()
The installationID that emits the GitHub event.
|
String |
getName()
Name of the repository.
|
String |
getOwner()
Owner of the repository.
|
PullRequestFilter |
getPullRequest()
filter to match changes in pull requests.
|
PushFilter |
getPush()
filter to match changes in refs like branches, tags.
|
GitHubEventsConfig |
set(String fieldName,
Object value) |
GitHubEventsConfig |
setEnterpriseConfigResourceName(String enterpriseConfigResourceName)
Optional.
|
GitHubEventsConfig |
setInstallationId(Long installationId)
The installationID that emits the GitHub event.
|
GitHubEventsConfig |
setName(String name)
Name of the repository.
|
GitHubEventsConfig |
setOwner(String owner)
Owner of the repository.
|
GitHubEventsConfig |
setPullRequest(PullRequestFilter pullRequest)
filter to match changes in pull requests.
|
GitHubEventsConfig |
setPush(PushFilter push)
filter to match changes in refs like branches, tags.
|
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 getEnterpriseConfigResourceName()
null for nonepublic GitHubEventsConfig setEnterpriseConfigResourceName(String enterpriseConfigResourceName)
enterpriseConfigResourceName - enterpriseConfigResourceName or null for nonepublic Long getInstallationId()
null for nonepublic GitHubEventsConfig setInstallationId(Long installationId)
installationId - installationId or null for nonepublic String getName()
null for nonepublic GitHubEventsConfig setName(String name)
name - name or null for nonepublic String getOwner()
null for nonepublic GitHubEventsConfig setOwner(String owner)
owner - owner or null for nonepublic PullRequestFilter getPullRequest()
null for nonepublic GitHubEventsConfig setPullRequest(PullRequestFilter pullRequest)
pullRequest - pullRequest or null for nonepublic PushFilter getPush()
null for nonepublic GitHubEventsConfig setPush(PushFilter push)
push - push or null for nonepublic GitHubEventsConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GitHubEventsConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.