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