Sha256: 7694b4330f649cba719c3b76abb0cbf92370c7a1de995bda36c6b628042adbf0

Contents?: true

Size: 755 Bytes

Versions: 2

Compression:

Stored size: 755 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve metadata associated with a media object.
        #
        # @param [String] id Object identifier of the media object
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-MediaMetadata.html
        # @since vCloud API version 1.5
        def get_media_metadata(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "media/#{id}/metadata"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/requests/compute/get_media_metadata.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_media_metadata.rb