Cloud Build v1 API - Class WebhookConfig (2.3.0)

public sealed class WebhookConfig : IMessage<WebhookConfig>, IEquatable<WebhookConfig>, IDeepCloneable<WebhookConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v1 API class WebhookConfig.

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

GoogleCloudGoogle.Cloud.CloudBuildV1

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
WebhookConfigAuthMethodOneofCase

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
WebhookConfigTypesState