Cloud Build v1 API - Class ReceiveTriggerWebhookRequest (2.2.0)

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.

Inheritance

Object > ReceiveTriggerWebhookRequest

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

ReceiveTriggerWebhookRequest()

public ReceiveTriggerWebhookRequest()

ReceiveTriggerWebhookRequest(ReceiveTriggerWebhookRequest)

public ReceiveTriggerWebhookRequest(ReceiveTriggerWebhookRequest other)
Parameter
NameDescription
otherReceiveTriggerWebhookRequest

Properties

Body

public HttpBody Body { get; set; }

HTTP request body.

Property Value
TypeDescription
HttpBody

Name

public string Name { get; set; }

The name of the ReceiveTriggerWebhook to retrieve. Format: projects/{project}/locations/{location}/triggers/{trigger}

Property Value
TypeDescription
String

ProjectId

public string ProjectId { get; set; }

Project in which the specified trigger lives

Property Value
TypeDescription
String

Secret

public string Secret { get; set; }

Secret token used for authorization if an OAuth token isn't provided.

Property Value
TypeDescription
String

Trigger

public string Trigger { get; set; }

Name of the trigger to run the payload against

Property Value
TypeDescription
String