Show / Hide Table of Contents

Class LocationsResource.RegionalWebhookRequest

ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Empty>
CloudBuildBaseServiceRequest<Empty>
LocationsResource.RegionalWebhookRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
CloudBuildBaseServiceRequest<Empty>.Xgafv
CloudBuildBaseServiceRequest<Empty>.AccessToken
CloudBuildBaseServiceRequest<Empty>.Alt
CloudBuildBaseServiceRequest<Empty>.Callback
CloudBuildBaseServiceRequest<Empty>.Fields
CloudBuildBaseServiceRequest<Empty>.Key
CloudBuildBaseServiceRequest<Empty>.OauthToken
CloudBuildBaseServiceRequest<Empty>.PrettyPrint
CloudBuildBaseServiceRequest<Empty>.QuotaUser
CloudBuildBaseServiceRequest<Empty>.UploadType
CloudBuildBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(bool?)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetDefaultETagAction(string)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.ApiVersion
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class LocationsResource.RegionalWebhookRequest : CloudBuildBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

RegionalWebhookRequest(IClientService, HttpBody, string)

Constructs a new RegionalWebhook request.

Declaration
public RegionalWebhookRequest(IClientService service, HttpBody body, string location)
Parameters
Type Name Description
IClientService service
HttpBody body
string location

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.HttpMethod

Location

Required. The location where the webhook should be sent.

Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type Description
string

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.RestPath

WebhookKey

For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation.

Declaration
[RequestParameter("webhookKey", RequestParameterType.Query)]
public virtual string WebhookKey { get; set; }
Property Value
Type Description
string

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Empty>.GetBody()

InitParameters()

Initializes RegionalWebhook parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudBuildBaseServiceRequest<Empty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX