Class: Google::Compute::Data::UrlMapPathMatchCatalog

Inherits:
UrlMapPathMatch show all
Defined in:
lib/google/compute/property/urlmap_path_matchers.rb

Overview

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

Instance Attribute Summary

Attributes inherited from UrlMapPathMatch

#default_service, #description, #name, #path_rules

Instance Method Summary collapse

Methods inherited from UrlMapPathMatch

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

Constructor Details

#initialize(args) ⇒ UrlMapPathMatchCatalog

Returns a new instance of UrlMapPathMatchCatalog.



115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/google/compute/property/urlmap_path_matchers.rb', line 115

def initialize(args)
  @default_service =
    Google::Compute::Property::BackServSelfLinkRef.unsafe_munge(
      args['default_service']
    )
  @description =
    Google::Compute::Property::String.unsafe_munge(args['description'])
  @name = Google::Compute::Property::String.unsafe_munge(args['name'])
  @path_rules =
    Google::Compute::Property::UrlMapPathRulesArray.unsafe_munge(
      args['path_rules']
    )
end