public sealed class ReceiveTriggerWebhookRequest : IMessage<ReceiveTriggerWebhookRequest>, IEquatable<ReceiveTriggerWebhookRequest>, IDeepCloneable<ReceiveTriggerWebhookRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class ReceiveTriggerWebhookRequest.
ReceiveTriggerWebhookRequest [Experimental] is the request object accepted by the ReceiveTriggerWebhook method.
Implements
IMessageReceiveTriggerWebhookRequest, IEquatableReceiveTriggerWebhookRequest, IDeepCloneableReceiveTriggerWebhookRequest, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
ReceiveTriggerWebhookRequest()
public ReceiveTriggerWebhookRequest()
ReceiveTriggerWebhookRequest(ReceiveTriggerWebhookRequest)
public ReceiveTriggerWebhookRequest(ReceiveTriggerWebhookRequest other)
Parameter | |
---|---|
Name | Description |
other | ReceiveTriggerWebhookRequest |
Properties
Body
public HttpBody Body { get; set; }
HTTP request body.
Property Value | |
---|---|
Type | Description |
HttpBody |
Name
public string Name { get; set; }
The name of the ReceiveTriggerWebhook
to retrieve.
Format: projects/{project}/locations/{location}/triggers/{trigger}
Property Value | |
---|---|
Type | Description |
string |
ProjectId
public string ProjectId { get; set; }
Project in which the specified trigger lives
Property Value | |
---|---|
Type | Description |
string |
Secret
public string Secret { get; set; }
Secret token used for authorization if an OAuth token isn't provided.
Property Value | |
---|---|
Type | Description |
string |
Trigger
public string Trigger { get; set; }
Name of the trigger to run the payload against
Property Value | |
---|---|
Type | Description |
string |