Sha256: 4e4a2c23e415ed903cd18cfd9676e76dc0d6d73d7fd918a0219ff74bd441be4e
Contents?: true
Size: 636 Bytes
Versions: 1
Compression:
Stored size: 636 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::SyntheticsAPI.new location_id = "location_id_example" # String | The ID of the private location. body = DatadogAPIClient::V1::SyntheticsPrivateLocation.new({ description: "Description of private location", name: "New private location", tags: ["team:front"] }) # SyntheticsPrivateLocation | Details of the private location to be updated. begin # Edit a private location result = api_instance.update_private_location(location_id, body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling SyntheticsAPI->update_private_location: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/synthetics/UpdatePrivateLocation.rb |