class OvirtSDK4::PermissionService

def get(opts = {})

Returns:
  • (Permission) -

Options Hash: (**opts)
  • :wait (Boolean) -- If `true` wait for the response.
  • :timeout (Integer) -- The timeout for this request, in seconds. If no value is explicitly
  • :query (Hash) -- Additional URL query parameters.
  • :headers (Hash) -- Additional HTTP headers.
  • :follow (String) -- Indicates which inner links should be _followed_. The objects referenced by these links will be fetched as part

Parameters:
  • opts (Hash) -- Additional options.
def get(opts = {})
  internal_get(GET, opts)
end

def remove(opts = {})

Options Hash: (**opts)
  • :wait (Boolean) -- If `true` wait for the response.
  • :timeout (Integer) -- The timeout for this request, in seconds. If no value is explicitly
  • :query (Hash) -- Additional URL query parameters.
  • :headers (Hash) -- Additional HTTP headers.
  • :async (Boolean) -- Indicates if the remove should be performed asynchronously.

Parameters:
  • opts (Hash) -- Additional options.
def remove(opts = {})
  internal_remove(REMOVE, opts)
end

def service(path)

Returns:
  • (Service) - A reference to the service.

Parameters:
  • path (String) -- The path of the service.
def service(path)
  if path.nil? || path == ''
    return self
  end
  raise Error.new("The path \"#{path}\" doesn't correspond to any service")
end