Sha256: f9c1c86296c77d9ed94c099f2580ae5a5ef6e59533947d1365d03b66d660e2ae
Contents?: true
Size: 695 Bytes
Versions: 1
Compression:
Stored size: 695 Bytes
Contents
require "datadog_api_client" DatadogAPIClient::V2.configure do |config| config.unstable_operations[:get_incident_service] = true end api_instance = DatadogAPIClient::V2::IncidentServicesAPI.new service_id = "service_id_example" # String | The ID of the incident service. opts = { include: DatadogAPIClient::V2::IncidentRelatedObject::USERS, # IncidentRelatedObject | Specifies which types of related objects should be included in the response. } begin # Get details of an incident service result = api_instance.get_incident_service(service_id, opts) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling IncidentServicesAPI->get_incident_service: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v2/incident-services/GetIncidentService.rb |