Sha256: 5d778ec2caf3d0fcd49351fdd3359e0bc6a9ab14e987ab6f765cace45a856514
Contents?: true
Size: 696 Bytes
Versions: 4
Compression:
Stored size: 696 Bytes
Contents
# Create a TOTP global variable returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V1::SyntheticsAPI.new body = DatadogAPIClient::V1::SyntheticsGlobalVariableRequest.new({ description: "", is_totp: true, name: "GLOBAL_VARIABLE_TOTP_PAYLOAD_EXAMPLESYNTHETIC", tags: [], value: DatadogAPIClient::V1::SyntheticsGlobalVariableValue.new({ secure: false, value: "", options: DatadogAPIClient::V1::SyntheticsGlobalVariableOptions.new({ totp_parameters: DatadogAPIClient::V1::SyntheticsGlobalVariableTOTPParameters.new({ digits: 6, refresh_interval: 30, }), }), }), }) p api_instance.create_global_variable(body)
Version data entries
4 entries across 4 versions & 1 rubygems