Class: DatadogAPIClient::V2::GithubWebhookTriggerWrapper
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::GithubWebhookTriggerWrapper
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/github_webhook_trigger_wrapper.rb
Overview
Schema for a GitHub webhook-based trigger.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#github_webhook_trigger ⇒ Object
readonly
Trigger a workflow VIA GitHub webhook.
-
#start_step_names ⇒ Object
A list of steps that run first after a trigger fires.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/github_webhook_trigger_wrapper.rb', line 30 def additional_properties @additional_properties end |
#github_webhook_trigger ⇒ Object
Trigger a workflow VIA GitHub webhook. To trigger a workflow from GitHub, you must set a webhookSecret
. In your GitHub Webhook Settings, set the Payload URL to "base_url"/api/v2/workflows/"workflow_id"/webhook?orgId="org_id", select application/json for the content type, and be highly recommend enabling SSL verification for security. The workflow must be published.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/github_webhook_trigger_wrapper.rb', line 25 def github_webhook_trigger @github_webhook_trigger end |
#start_step_names ⇒ Object
A list of steps that run first after a trigger fires.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/github_webhook_trigger_wrapper.rb', line 28 def start_step_names @start_step_names end |