UDisks.Object

g GObject.GInterface GObject.GInterface UDisks.Object UDisks.Object GObject.GInterface->UDisks.Object

Implementations:
 UDisks.ObjectProxy, UDisks.ObjectSkeleton

Virtual Methods

None

Properties

Name Type Flags Short Description
block UDisks.Block r/w block
block-bcache UDisks.BlockBcache r/w block-bcache
block-lvm2 UDisks.BlockLVM2 r/w block-lvm2
block-zram UDisks.BlockZRAM r/w block-zram
drive UDisks.Drive r/w drive
drive-ata UDisks.DriveAta r/w drive-ata
encrypted UDisks.Encrypted r/w encrypted
filesystem UDisks.Filesystem r/w filesystem
filesystem-btrfs UDisks.FilesystemBTRFS r/w filesystem-btrfs
job UDisks.Job r/w job
logical-volume UDisks.LogicalVolume r/w logical-volume
loop UDisks.Loop r/w loop
manager UDisks.Manager r/w manager
manager-bcache UDisks.ManagerBcache r/w manager-bcache
manager-btrfs UDisks.ManagerBTRFS r/w manager-btrfs
manager-lvm2 UDisks.ManagerLVM2 r/w manager-lvm2
manager-zram UDisks.ManagerZRAM r/w manager-zram
mdraid UDisks.MDRaid r/w mdraid
partition UDisks.Partition r/w partition
partition-table UDisks.PartitionTable r/w partition-table
physical-volume UDisks.PhysicalVolume r/w physical-volume
swapspace UDisks.Swapspace r/w swapspace
vdo-volume UDisks.VDOVolume r/w vdo-volume
volume-group UDisks.VolumeGroup r/w volume-group

Signals

None

Fields

None

Class Details

class UDisks.Object
Bases:GObject.GInterface
Structure:UDisks.ObjectIface

The UDisks.Object type is a specialized container of interfaces.

get_block()[source]
Returns:A UDisks.Block that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Block or None

Gets the UDisks.Block instance for the D-Bus interface org.freedesktop.UDisks2.Block on self, if any.

get_block_bcache()[source]
Returns:A UDisks.BlockBcache that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.BlockBcache or None

Gets the UDisks.BlockBcache instance for the D-Bus interface org.freedesktop.UDisks2.Block.Bcache on self, if any.

get_block_lvm2()[source]
Returns:A UDisks.BlockLVM2 that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.BlockLVM2 or None

Gets the UDisks.BlockLVM2 instance for the D-Bus interface org.freedesktop.UDisks2.Block.LVM2 on self, if any.

New in version 2.0.0.

get_block_zram()[source]
Returns:A UDisks.BlockZRAM that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.BlockZRAM or None

Gets the UDisks.BlockZRAM instance for the D-Bus interface org.freedesktop.UDisks2.Block.ZRAM on self, if any.

New in version 2.3.0.

get_drive()[source]
Returns:A UDisks.Drive that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Drive or None

Gets the UDisks.Drive instance for the D-Bus interface org.freedesktop.UDisks2.Drive on self, if any.

get_drive_ata()[source]
Returns:A UDisks.DriveAta that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.DriveAta or None

Gets the UDisks.DriveAta instance for the D-Bus interface org.freedesktop.UDisks2.Drive.Ata on self, if any.

get_encrypted()[source]
Returns:A UDisks.Encrypted that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Encrypted or None

Gets the UDisks.Encrypted instance for the D-Bus interface org.freedesktop.UDisks2.Encrypted on self, if any.

get_filesystem()[source]
Returns:A UDisks.Filesystem that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Filesystem or None

Gets the UDisks.Filesystem instance for the D-Bus interface org.freedesktop.UDisks2.Filesystem on self, if any.

get_filesystem_btrfs()[source]
Returns:A UDisks.FilesystemBTRFS that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.FilesystemBTRFS or None

Gets the UDisks.FilesystemBTRFS instance for the D-Bus interface org.freedesktop.UDisks2.Filesystem.BTRFS on self, if any.

New in version 2.1.3.

get_job()[source]
Returns:A UDisks.Job that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Job or None

Gets the UDisks.Job instance for the D-Bus interface org.freedesktop.UDisks2.Job on self, if any.

get_logical_volume()[source]
Returns:A UDisks.LogicalVolume that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.LogicalVolume or None

Gets the UDisks.LogicalVolume instance for the D-Bus interface org.freedesktop.UDisks2.LogicalVolume on self, if any.

New in version 2.0.0.

get_loop()[source]
Returns:A UDisks.Loop that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Loop or None

Gets the UDisks.Loop instance for the D-Bus interface org.freedesktop.UDisks2.Loop on self, if any.

get_manager()[source]
Returns:A UDisks.Manager that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Manager or None

Gets the UDisks.Manager instance for the D-Bus interface org.freedesktop.UDisks2.Manager on self, if any.

get_manager_bcache()[source]
Returns:A UDisks.ManagerBcache that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.ManagerBcache or None

Gets the UDisks.ManagerBcache instance for the D-Bus interface org.freedesktop.UDisks2.Manager.Bcache on self, if any.

get_manager_btrfs()[source]
Returns:A UDisks.ManagerBTRFS that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.ManagerBTRFS or None

Gets the UDisks.ManagerBTRFS instance for the D-Bus interface org.freedesktop.UDisks2.Manager.BTRFS on self, if any.

New in version 2.1.3.

get_manager_lvm2()[source]
Returns:A UDisks.ManagerLVM2 that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.ManagerLVM2 or None

Gets the UDisks.ManagerLVM2 instance for the D-Bus interface org.freedesktop.UDisks2.Manager.LVM2 on self, if any.

New in version 2.0.0.

get_manager_zram()[source]
Returns:A UDisks.ManagerZRAM that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.ManagerZRAM or None

Gets the UDisks.ManagerZRAM instance for the D-Bus interface org.freedesktop.UDisks2.Manager.ZRAM on self, if any.

New in version 2.3.0.

get_mdraid()[source]
Returns:A UDisks.MDRaid that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.MDRaid or None

Gets the UDisks.MDRaid instance for the D-Bus interface org.freedesktop.UDisks2.MDRaid on self, if any.

New in version 2.0.0.

get_partition()[source]
Returns:A UDisks.Partition that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Partition or None

Gets the UDisks.Partition instance for the D-Bus interface org.freedesktop.UDisks2.Partition on self, if any.

get_partition_table()[source]
Returns:A UDisks.PartitionTable that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.PartitionTable or None

Gets the UDisks.PartitionTable instance for the D-Bus interface org.freedesktop.UDisks2.PartitionTable on self, if any.

get_physical_volume()[source]
Returns:A UDisks.PhysicalVolume that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.PhysicalVolume or None

Gets the UDisks.PhysicalVolume instance for the D-Bus interface org.freedesktop.UDisks2.PhysicalVolume on self, if any.

New in version 2.0.0.

get_swapspace()[source]
Returns:A UDisks.Swapspace that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.Swapspace or None

Gets the UDisks.Swapspace instance for the D-Bus interface org.freedesktop.UDisks2.Swapspace on self, if any.

get_vdo_volume()[source]
Returns:A UDisks.VDOVolume that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.VDOVolume or None

Gets the UDisks.VDOVolume instance for the D-Bus interface ‘org.freedesktop.UDisks2.VDOVolume [gdbus-interface-org-freedesktop-UDisks2-VDOVolume.top_of_page]’ on self, if any.

New in version 2.9.0.

get_volume_group()[source]
Returns:A UDisks.VolumeGroup that must be freed with GObject.Object.unref() or None if self does not implement the interface.
Return type:UDisks.VolumeGroup or None

Gets the UDisks.VolumeGroup instance for the D-Bus interface org.freedesktop.UDisks2.VolumeGroup on self, if any.

New in version 2.0.0.

Property Details

UDisks.Object.props.block
Name:block
Type:UDisks.Block
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Block instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Block, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.block_bcache
Name:block-bcache
Type:UDisks.BlockBcache
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.BlockBcache instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Block.Bcache, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.block_lvm2
Name:block-lvm2
Type:UDisks.BlockLVM2
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.BlockLVM2 instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Block.LVM2, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.0.0.

UDisks.Object.props.block_zram
Name:block-zram
Type:UDisks.BlockZRAM
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.BlockZRAM instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Block.ZRAM, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.3.0.

UDisks.Object.props.drive
Name:drive
Type:UDisks.Drive
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Drive instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Drive, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.drive_ata
Name:drive-ata
Type:UDisks.DriveAta
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.DriveAta instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Drive.Ata, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.encrypted
Name:encrypted
Type:UDisks.Encrypted
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Encrypted instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Encrypted, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.filesystem
Name:filesystem
Type:UDisks.Filesystem
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Filesystem instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Filesystem, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.filesystem_btrfs
Name:filesystem-btrfs
Type:UDisks.FilesystemBTRFS
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.FilesystemBTRFS instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Filesystem.BTRFS, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.1.3.

UDisks.Object.props.job
Name:job
Type:UDisks.Job
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Job instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Job, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.logical_volume
Name:logical-volume
Type:UDisks.LogicalVolume
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.LogicalVolume instance corresponding to the D-Bus interface org.freedesktop.UDisks2.LogicalVolume, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.0.0.

UDisks.Object.props.loop
Name:loop
Type:UDisks.Loop
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Loop instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Loop, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.manager
Name:manager
Type:UDisks.Manager
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Manager instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Manager, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.manager_bcache
Name:manager-bcache
Type:UDisks.ManagerBcache
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.ManagerBcache instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Manager.Bcache, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.manager_btrfs
Name:manager-btrfs
Type:UDisks.ManagerBTRFS
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.ManagerBTRFS instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Manager.BTRFS, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.1.3.

UDisks.Object.props.manager_lvm2
Name:manager-lvm2
Type:UDisks.ManagerLVM2
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.ManagerLVM2 instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Manager.LVM2, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.0.0.

UDisks.Object.props.manager_zram
Name:manager-zram
Type:UDisks.ManagerZRAM
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.ManagerZRAM instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Manager.ZRAM, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.3.0.

UDisks.Object.props.mdraid
Name:mdraid
Type:UDisks.MDRaid
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.MDRaid instance corresponding to the D-Bus interface org.freedesktop.UDisks2.MDRaid, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.0.0.

UDisks.Object.props.partition
Name:partition
Type:UDisks.Partition
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Partition instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Partition, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.partition_table
Name:partition-table
Type:UDisks.PartitionTable
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.PartitionTable instance corresponding to the D-Bus interface org.freedesktop.UDisks2.PartitionTable, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.physical_volume
Name:physical-volume
Type:UDisks.PhysicalVolume
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.PhysicalVolume instance corresponding to the D-Bus interface org.freedesktop.UDisks2.PhysicalVolume, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.0.0.

UDisks.Object.props.swapspace
Name:swapspace
Type:UDisks.Swapspace
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.Swapspace instance corresponding to the D-Bus interface org.freedesktop.UDisks2.Swapspace, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

UDisks.Object.props.vdo_volume
Name:vdo-volume
Type:UDisks.VDOVolume
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.VDOVolume instance corresponding to the D-Bus interface ‘org.freedesktop.UDisks2.VDOVolume [gdbus-interface-org-freedesktop-UDisks2-VDOVolume.top_of_page]’, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.9.0.

UDisks.Object.props.volume_group
Name:volume-group
Type:UDisks.VolumeGroup
Default Value:None
Flags:READABLE, WRITABLE

The UDisks.VolumeGroup instance corresponding to the D-Bus interface org.freedesktop.UDisks2.VolumeGroup, if any.

Connect to the GObject.Object ::notify signal to get informed of property changes.

New in version 2.0.0.