docs/RelayProxyConfigurationsApi.md in launchdarkly_api-9.0.1 vs docs/RelayProxyConfigurationsApi.md in launchdarkly_api-10.0.0
- old
+ new
@@ -16,11 +16,11 @@
> delete_relay_auto_config(id)
Delete Relay Proxy config by ID
-Delete a Relay Proxy config
+Delete a Relay Proxy config.
### Examples
```ruby
require 'time'
@@ -86,11 +86,11 @@
> <RelayAutoConfigRep> get_relay_proxy_config(id)
Get Relay Proxy config
-Get a single Relay Proxy Auto Config by ID
+Get a single Relay Proxy auto config by ID.
### Examples
```ruby
require 'time'
@@ -225,11 +225,11 @@
> <RelayAutoConfigRep> patch_relay_auto_config(id, patch_with_comment)
Update a Relay Proxy config
-Update a Relay Proxy config.
+Update a Relay Proxy config using the JSON patch format.
### Examples
```ruby
require 'time'
@@ -298,11 +298,11 @@
> <RelayAutoConfigRep> post_relay_auto_config(relay_auto_config_post)
Create a new Relay Proxy config
-Create a Relay Proxy config
+Create a Relay Proxy config.
### Examples
```ruby
require 'time'
@@ -314,10 +314,10 @@
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['ApiKey'] = 'Bearer'
end
api_instance = LaunchDarklyApi::RelayProxyConfigurationsApi.new
-relay_auto_config_post = LaunchDarklyApi::RelayAutoConfigPost.new({name: 'name_example', policy: [LaunchDarklyApi::StatementRep.new({effect: 'effect_example'})]}) # RelayAutoConfigPost |
+relay_auto_config_post = LaunchDarklyApi::RelayAutoConfigPost.new({name: 'name_example', policy: [LaunchDarklyApi::Statement.new({effect: 'effect_example'})]}) # RelayAutoConfigPost |
begin
# Create a new Relay Proxy config
result = api_instance.post_relay_auto_config(relay_auto_config_post)
p result