Sha256: dbd2969de649c55bfebb48e22109d8f42169d9e7ff4673459caef304fea3aab9
Contents?: true
Size: 684 Bytes
Versions: 20
Compression:
Stored size: 684 Bytes
Contents
module Fog module Compute class Google class Mock def patch_firewall(_firewall_name, _firewall_opts = {}) Fog::Mock.not_implemented end end class Real ## # Patch a Firewall resource. Supports PATCH semantics. # # @see https://cloud.google.com/compute/docs/reference/latest/firewalls/patch def patch_firewall(firewall_name, opts = {}) opts = opts.select { |k, _| UPDATABLE_FIREWALL_FIELDS.include? k } @compute.patch_firewall( @project, firewall_name, ::Google::Apis::ComputeV1::Firewall.new(opts) ) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems