Class WebhookConfig (2.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class WebhookConfig : IMessage<WebhookConfig>, IEquatable<WebhookConfig>, IDeepCloneable<WebhookConfig>, IBufferMessage, IMessage

WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.

Inheritance

Object > WebhookConfig

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

WebhookConfig()

public WebhookConfig()

WebhookConfig(WebhookConfig)

public WebhookConfig(WebhookConfig other)
Parameter
NameDescription
otherWebhookConfig

Properties

AuthMethodCase

public WebhookConfig.AuthMethodOneofCase AuthMethodCase { get; }
Property Value
TypeDescription
WebhookConfig.AuthMethodOneofCase

Secret

public string Secret { get; set; }

Required. Resource name for the secret required as a URL parameter.

Property Value
TypeDescription
String

SecretAsSecretVersionName

public SecretVersionName SecretAsSecretVersionName { get; set; }

SecretVersionName-typed view over the Secret resource name property.

Property Value
TypeDescription
SecretVersionName

State

public WebhookConfig.Types.State State { get; set; }

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

Property Value
TypeDescription
WebhookConfig.Types.State