Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.17 KB

AccessDeniedReason.md

File metadata and controls

28 lines (22 loc) · 1.17 KB

LaunchDarklyApi::AccessDeniedReason

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> and <code>notActions</code> fields 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> and <code>notResources</code> fields must be empty to use this field. [optional]
effect String Whether this statement should allow or deny actions on the resources.
role_name String [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::AccessDeniedReason.new(
  resources: [&quot;proj/*:env/*;qa_*:/flag/*&quot;],
  not_resources: null,
  actions: [&quot;*&quot;],
  not_actions: null,
  effect: allow,
  role_name: null
)