Class: Google::Compute::Data::UrlMapHostRulesApi
- Inherits:
-
UrlMapHostRules
- Object
- UrlMapHostRules
- Google::Compute::Data::UrlMapHostRulesApi
- Defined in:
- lib/google/compute/property/urlmap_host_rules.rb
Overview
Manages a UrlMapHostRules nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from UrlMapHostRules
#description, #hosts, #path_matcher
Instance Method Summary collapse
-
#initialize(args) ⇒ UrlMapHostRulesApi
constructor
A new instance of UrlMapHostRulesApi.
Methods inherited from UrlMapHostRules
Constructor Details
#initialize(args) ⇒ UrlMapHostRulesApi
Returns a new instance of UrlMapHostRulesApi.
91 92 93 94 95 96 97 98 |
# File 'lib/google/compute/property/urlmap_host_rules.rb', line 91 def initialize(args) @description = Google::Compute::Property::String.api_munge(args['description']) @hosts = Google::Compute::Property::StringArray.api_munge(args['hosts']) @path_matcher = Google::Compute::Property::String.api_munge(args['pathMatcher']) end |