Class: Google::Compute::Data::UrlMapPathRulesApi

Inherits:
UrlMapPathRules show all
Defined in:
lib/google/compute/property/urlmap_path_rules.rb

Overview

Manages a UrlMapPathRules nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from UrlMapPathRules

#paths, #service

Instance Method Summary collapse

Methods inherited from UrlMapPathRules

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

Constructor Details

#initialize(args) ⇒ UrlMapPathRulesApi

Returns a new instance of UrlMapPathRulesApi.



87
88
89
90
91
92
93
# File 'lib/google/compute/property/urlmap_path_rules.rb', line 87

def initialize(args)
  @paths =
    Google::Compute::Property::StringArray.api_munge(args['paths'])
  @service = Google::Compute::Property::BackServSelfLinkRef.api_munge(
    args['service']
  )
end