Sha256: d160429a9e5c6a2253ea52f2540a2e43b51cb4904c123b2db112de41ca0a5650
Contents?: true
Size: 993 Bytes
Versions: 14
Compression:
Stored size: 993 Bytes
Contents
module Fog module Compute class Google class Mock def insert_address(_address_name, _region_name, _options = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real # Create an address resource in the specified project # https://cloud.google.com/compute/docs/reference/latest/addresses/insert # # @param address_name [String] Project ID for this address # @param region_name [String] Region for address # @param options [Hash] Optional hash of options # @option options [String] :description Description of resource def insert_address(address_name, region_name, options = {}) address = ::Google::Apis::ComputeV1::Address.new( name: address_name, description: options[:description] ) @compute.insert_address(@project, region_name, address) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems