Module: GClouder::Resources::Compute::ForwardingRules::Local
- Includes:
- Config::Project
- Defined in:
- lib/gclouder/resources/compute/forwarding_rules.rb
Class Method Summary collapse
Methods included from Config::Project
Methods included from Helpers
#hash_to_args, included, #module_exists?, #to_arg, #to_deep_merge_hash, #valid_json?
Methods included from Logging
#add, #bad, #change, #debug, #error, #fatal, #good, included, #info, log, loggers, #remove, report, #resource_state, setup, #warn, #warning
Class Method Details
.list ⇒ Object
47 48 49 |
# File 'lib/gclouder/resources/compute/forwarding_rules.rb', line 47 def self.list Resources::Global.instances(path: %w(compute forwarding_rules)) end |
.validate ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'lib/gclouder/resources/compute/forwarding_rules.rb', line 38 def self.validate info "global", heading: true, indent: 2 Resources::Validate::Global.instances( list, required_keys: GClouder::Config::Arguments.required(%w(compute forwarding-rules)), permitted_keys: GClouder::Config::Arguments.permitted(%w(compute forwarding-rules)), ) end |