Sha256: ccce677afde5b335bdc8db43bdd8ffe58324fb24a8fe86b823241f7f6c04d59d
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::SyntheticsAPI.new variable_id = "variable_id_example" # String | The ID of the global variable. body = DatadogAPIClient::V1::SyntheticsGlobalVariable.new({ description: "Example description", name: "MY_VARIABLE", tags: ["tags_example"], value: DatadogAPIClient::V1::SyntheticsGlobalVariableValue.new }) # SyntheticsGlobalVariable | Details of the global variable to update. begin # Edit a global variable result = api_instance.edit_global_variable(variable_id, body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling SyntheticsAPI->edit_global_variable: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/synthetics/EditGlobalVariable.rb |