Class ProjectsResource.TriggersResource.WebhookRequest
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<ReceiveTriggerWebhookResponse>
ProjectsResource.TriggersResource.WebhookRequest
Implements
Google.Apis.Requests.IClientServiceRequest<ReceiveTriggerWebhookResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class WebhookRequest : CloudBuildBaseServiceRequest<ReceiveTriggerWebhookResponse>, IClientServiceRequest<ReceiveTriggerWebhookResponse>, IClientServiceRequest
Constructors
WebhookRequest(IClientService, HttpBody, String, String)
Constructs a new Webhook request.
Declaration
public WebhookRequest(IClientService service, HttpBody body, string projectId, string trigger)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service | |
| HttpBody | body | |
| System.String | projectId | |
| System.String | trigger |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.MethodName
ProjectId
Project in which the specified trigger lives
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.RestPath
Secret
Secret token used for authorization if an OAuth token isn't provided.
Declaration
[RequestParameter("secret", RequestParameterType.Query)]
public virtual string Secret { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Trigger
Name of the trigger to run the payload against
Declaration
[RequestParameter("trigger", RequestParameterType.Path)]
public virtual string Trigger { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.GetBody()
InitParameters()
Initializes Webhook parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudBuild.v1.CloudBuildBaseServiceRequest<Google.Apis.CloudBuild.v1.Data.ReceiveTriggerWebhookResponse>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest