Class: DatadogAPIClient::V2::GithubWebhookTriggerWrapper

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_triggerObject

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_namesObject

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