Sha256: 243a9a924ac94f0d540986880606a9ced8a6c925f50dd96d1ae7220feff86997

Contents?: true

Size: 545 Bytes

Versions: 14

Compression:

Stored size: 545 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_zone_view_resources(_zone_view)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def list_zone_view_resources(zone_view)
          api_method = @resourceviews.zone_views.list_resources
          parameters = {
            "projectName" => @project,
            "zone" => zone_view.zone,
            "resourceViewName" => zone_view.name
          }

          request(api_method, parameters)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.5.5 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.5.4 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.5.3 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.5.2 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.5.1 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.5.0 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.4.2 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.4.1 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.4.0 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.3.2 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.3.1 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.3.0 lib/fog/compute/google/requests/list_zone_view_resources.rb
fog-google-0.2.0 lib/fog/compute/google/requests/list_zone_view_resources.rb