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.
Implements
IMessage<WebhookConfig>, IEquatable<WebhookConfig>, IDeepCloneable<WebhookConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
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 |
WebhookConfig.AuthMethodOneofCase |
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 |
WebhookConfig.Types.State |