Class GithubDotComWebhookResource.ReceiveRequest
ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook.
Inheritance
GithubDotComWebhookResource.ReceiveRequest
Inherited Members
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class GithubDotComWebhookResource.ReceiveRequest : CloudBuildBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
ReceiveRequest(IClientService, HttpBody)
Constructs a new Receive request.
Declaration
public ReceiveRequest(IClientService service, HttpBody body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
HttpBody | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
InitParameters()
Initializes Receive parameter list.
Declaration
protected override void InitParameters()