Class: Google::Compute::Data::UrlMapPathMatchApi
- Inherits:
-
UrlMapPathMatch
- Object
- UrlMapPathMatch
- Google::Compute::Data::UrlMapPathMatchApi
- Defined in:
- lib/google/compute/property/urlmap_path_matchers.rb
Overview
Manages a UrlMapPathMatch nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from UrlMapPathMatch
#default_service, #description, #name, #path_rules
Instance Method Summary collapse
-
#initialize(args) ⇒ UrlMapPathMatchApi
constructor
A new instance of UrlMapPathMatchApi.
Methods inherited from UrlMapPathMatch
Constructor Details
#initialize(args) ⇒ UrlMapPathMatchApi
Returns a new instance of UrlMapPathMatchApi.
97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/google/compute/property/urlmap_path_matchers.rb', line 97 def initialize(args) @default_service = Google::Compute::Property::BackServSelfLinkRef.api_munge( args['defaultService'] ) @description = Google::Compute::Property::String.api_munge(args['description']) @name = Google::Compute::Property::String.api_munge(args['name']) @path_rules = Google::Compute::Property::UrlMapPathRulesArray.api_munge( args['pathRules'] ) end |