module GClouder::Resources::Compute::URLMaps::PathMatcher
Public Class Methods
ensure(url_map_name, path_matcher)
click to toggle source
# File lib/gclouder/resources/compute/url_maps.rb, line 77 def self.ensure(url_map_name, path_matcher) good "path_matcher: #{path_matcher["name"]}", indent: 4 gcloud "compute url-maps add-path-matcher #{url_map_name} --path-matcher-name #{path_matcher["name"]} --default-backend-bucket #{path_matcher["default_backend_bucket"]} --new-hosts #{path_matcher["hosts"].join(",")}", silent: true end