LibvirtGConfig.StoragePermissions

g GObject.Object GObject.Object LibvirtGConfig.Object LibvirtGConfig.Object GObject.Object->LibvirtGConfig.Object LibvirtGConfig.StoragePermissions LibvirtGConfig.StoragePermissions LibvirtGConfig.Object->LibvirtGConfig.StoragePermissions

Subclasses:

None

Methods

Inherited:

LibvirtGConfig.Object (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_from_xml (xml)

get_group ()

get_label ()

get_mode ()

get_owner ()

set_group (group)

set_label (label)

set_mode (mode)

set_owner (owner)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

LibvirtGConfig.Object (2)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

LibvirtGConfig.Object

r

Class Details

class LibvirtGConfig.StoragePermissions(**kwargs)
Bases:

LibvirtGConfig.Object

Abstract:

No

Structure:

LibvirtGConfig.StoragePermissionsClass

classmethod new()
Return type:

LibvirtGConfig.StoragePermissions

classmethod new_from_xml(xml)
Parameters:

xml (str) –

Raises:

GLib.Error

Return type:

LibvirtGConfig.StoragePermissions

get_group()
Returns:

numeric group ID

Return type:

int

Gets the numeric group ID associated with self.

get_label()
Returns:

MAC label string.

Return type:

str

Gets the MAC label string associated with self.

get_mode()
Returns:

permission set

Return type:

int

Gets the octal permission set associated with self.

get_owner()
Returns:

numeric user ID.

Return type:

int

Gets the numeric user ID associated with self.

set_group(group)
Parameters:

group (int) –

set_label(label)
Parameters:

label (str or None) –

set_mode(mode)
Parameters:

mode (int) –

set_owner(owner)
Parameters:

owner (int) –