Cloud Build v1 API - Class WebhookConfig (2.9.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

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

WebhookConfig()

public WebhookConfig()

WebhookConfig(WebhookConfig)

public WebhookConfig(WebhookConfig other)
Parameter
Name Description
other WebhookConfig

Properties

AuthMethodCase

public WebhookConfig.AuthMethodOneofCase AuthMethodCase { get; }
Property Value
Type Description
WebhookConfigAuthMethodOneofCase

HasSecret

public bool HasSecret { get; }

Gets whether the "secret" field is set

Property Value
Type Description
bool

Secret

public string Secret { get; set; }

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

Property Value
Type Description
string

SecretAsSecretVersionName

public SecretVersionName SecretAsSecretVersionName { get; set; }

SecretVersionName-typed view over the Secret resource name property.

Property Value
Type Description
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
Type Description
WebhookConfigTypesState