public class CloudBuild.Locations.RegionalWebhook extends CloudBuildRequest<Empty>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
RegionalWebhook(String location,
HttpBody content)
ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocation()
Required.
|
String |
getWebhookKey()
For GitHub Enterprise webhooks, this key is used to associate the webhook request with the
GitHubEnterpriseConfig to use for validation.
|
CloudBuild.Locations.RegionalWebhook |
set(String parameterName,
Object value) |
CloudBuild.Locations.RegionalWebhook |
set$Xgafv(String $Xgafv)
V1 error format.
|
CloudBuild.Locations.RegionalWebhook |
setAccessToken(String accessToken)
OAuth access token.
|
CloudBuild.Locations.RegionalWebhook |
setAlt(String alt)
Data format for response.
|
CloudBuild.Locations.RegionalWebhook |
setCallback(String callback)
JSONP
|
CloudBuild.Locations.RegionalWebhook |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
CloudBuild.Locations.RegionalWebhook |
setKey(String key)
API key.
|
CloudBuild.Locations.RegionalWebhook |
setLocation(String location)
Required.
|
CloudBuild.Locations.RegionalWebhook |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
CloudBuild.Locations.RegionalWebhook |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
CloudBuild.Locations.RegionalWebhook |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
CloudBuild.Locations.RegionalWebhook |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
CloudBuild.Locations.RegionalWebhook |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
CloudBuild.Locations.RegionalWebhook |
setWebhookKey(String webhookKey)
For GitHub Enterprise webhooks, this key is used to associate the webhook request with the
GitHubEnterpriseConfig to use for validation.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected RegionalWebhook(String location, HttpBody content)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. RegionalWebhook#initialize(com.google.api.client.googleapis.services.Abst
ractGoogleClientRequest) must be called to initialize this instance immediately after invoking
the constructor.
location - Required. The location where the webhook should be sent.content - the HttpBodypublic CloudBuild.Locations.RegionalWebhook set$Xgafv(String $Xgafv)
CloudBuildRequestset$Xgafv in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setAccessToken(String accessToken)
CloudBuildRequestsetAccessToken in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setAlt(String alt)
CloudBuildRequestsetAlt in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setCallback(String callback)
CloudBuildRequestsetCallback in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setFields(String fields)
CloudBuildRequestsetFields in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setKey(String key)
CloudBuildRequestsetKey in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setOauthToken(String oauthToken)
CloudBuildRequestsetOauthToken in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setPrettyPrint(Boolean prettyPrint)
CloudBuildRequestsetPrettyPrint in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setQuotaUser(String quotaUser)
CloudBuildRequestsetQuotaUser in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setUploadType(String uploadType)
CloudBuildRequestsetUploadType in class CloudBuildRequest<Empty>public CloudBuild.Locations.RegionalWebhook setUploadProtocol(String uploadProtocol)
CloudBuildRequestsetUploadProtocol in class CloudBuildRequest<Empty>public String getLocation()
public CloudBuild.Locations.RegionalWebhook setLocation(String location)
public String getWebhookKey()
public CloudBuild.Locations.RegionalWebhook setWebhookKey(String webhookKey)
public CloudBuild.Locations.RegionalWebhook set(String parameterName, Object value)
set in class CloudBuildRequest<Empty>Copyright © 2011–2024 Google. All rights reserved.