Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.01 KB

StatementPost.md

File metadata and controls

26 lines (20 loc) · 1.01 KB

LaunchDarklyApi::StatementPost

Properties

Name Type Description Notes
resources Array<String> Resource specifier strings [optional]
not_resources Array<String> Targeted resources are the resources NOT in this list. The <code>resources</code> field must be empty to use this field. [optional]
actions Array<String> Actions to perform on a resource [optional]
not_actions Array<String> Targeted actions are the actions NOT in this list. The <code>actions</code> field must be empty to use this field. [optional]
effect String Whether this statement should allow or deny actions on the resources.

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::StatementPost.new(
  resources: [&quot;proj/*:env/*:flag/*;testing-tag&quot;],
  not_resources: null,
  actions: [&quot;*&quot;],
  not_actions: null,
  effect: allow
)