examples/v1/synthetics/CreatePrivateLocation.rb in datadog_api_client-2.9.0 vs examples/v1/synthetics/CreatePrivateLocation.rb in datadog_api_client-2.10.0
- old
+ new
@@ -5,17 +5,17 @@
# there is a valid "role" in the system
ROLE_DATA_ID = ENV["ROLE_DATA_ID"]
body = DatadogAPIClient::V1::SyntheticsPrivateLocation.new({
- description: "Test Example-Create_a_private_location_returns_OK_response description",
+ description: "Test Example-Synthetic description",
metadata: DatadogAPIClient::V1::SyntheticsPrivateLocationMetadata.new({
restricted_roles: [
ROLE_DATA_ID,
],
}),
- name: "Example-Create_a_private_location_returns_OK_response",
+ name: "Example-Synthetic",
tags: [
- "test:examplecreateaprivatelocationreturnsokresponse",
+ "test:examplesynthetic",
],
})
p api_instance.create_private_location(body)