Class: Google::Compute::Data::UrlMapHostRulesCatalog

Inherits:
UrlMapHostRules show all
Defined in:
lib/google/compute/property/urlmap_host_rules.rb

Overview

Manages a UrlMapHostRules nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from UrlMapHostRules

#description, #hosts, #path_matcher

Instance Method Summary collapse

Methods inherited from UrlMapHostRules

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ UrlMapHostRulesCatalog

Returns a new instance of UrlMapHostRulesCatalog.



104
105
106
107
108
109
110
111
# File 'lib/google/compute/property/urlmap_host_rules.rb', line 104

def initialize(args)
  @description =
    Google::Compute::Property::String.unsafe_munge(args['description'])
  @hosts =
    Google::Compute::Property::StringArray.unsafe_munge(args['hosts'])
  @path_matcher =
    Google::Compute::Property::String.unsafe_munge(args['path_matcher'])
end