Class: OvirtSDK4::OpenstackVolumeAuthenticationKeyService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ OpenstackVolumeAuthenticationKey
Returns the representation of the object managed by this service.
-
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
-
#update(key, opts = {}) ⇒ OpenstackVolumeAuthenticationKey
Update the specified authentication key.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ OpenstackVolumeAuthenticationKey
Returns the representation of the object managed by this service.
16767 16768 16769 |
# File 'lib/ovirtsdk4/services.rb', line 16767 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
16792 16793 16794 |
# File 'lib/ovirtsdk4/services.rb', line 16792 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
16829 16830 16831 16832 16833 16834 |
# File 'lib/ovirtsdk4/services.rb', line 16829 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |
#update(key, opts = {}) ⇒ OpenstackVolumeAuthenticationKey
Update the specified authentication key.
16818 16819 16820 |
# File 'lib/ovirtsdk4/services.rb', line 16818 def update(key, opts = {}) internal_update(key, OpenstackVolumeAuthenticationKey, UPDATE, opts) end |