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.
18147 18148 18149 |
# File 'lib/ovirtsdk4/services.rb', line 18147 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
18172 18173 18174 |
# File 'lib/ovirtsdk4/services.rb', line 18172 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
18209 18210 18211 18212 18213 18214 |
# File 'lib/ovirtsdk4/services.rb', line 18209 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.
18198 18199 18200 |
# File 'lib/ovirtsdk4/services.rb', line 18198 def update(key, opts = {}) internal_update(key, OpenstackVolumeAuthenticationKey, UPDATE, opts) end |