Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ConnectionsResource.ProcessWebhookRequest

ProcessWebhook is called by the external SCM for notifying of events.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Empty>
CloudBuildBaseServiceRequest<Empty>
ProjectsResource.LocationsResource.ConnectionsResource.ProcessWebhookRequest
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.v2
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.ProcessWebhookRequest : CloudBuildBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

ProcessWebhookRequest(IClientService, HttpBody, string)

Constructs a new ProcessWebhook request.

Declaration
public ProcessWebhookRequest(IClientService service, HttpBody body, string parent)
Parameters
Type Name Description
IClientService service
HttpBody body
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. Project and location where the webhook will be received. Format: projects/*/locations/*.

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

RestPath

Gets the REST path.

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

WebhookKey

Arbitrary additional key to find the matching repository for a webhook event if needed.

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 ProcessWebhook parameter list.

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

Implements

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