UDisks.Object

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

Implementations:

UDisks.ObjectProxy, UDisks.ObjectSkeleton

Methods

get_block ()

get_block_lvm2 ()

get_drive ()

get_drive_ata ()

get_encrypted ()

get_filesystem ()

get_filesystem_btrfs ()

get_job ()

get_logical_volume ()

get_loop ()

get_manager ()

get_manager_btrfs ()

get_manager_lvm2 ()

get_manager_nvme ()

get_mdraid ()

get_nvme_controller ()

get_nvme_fabrics ()

get_nvme_namespace ()

get_partition ()

get_partition_table ()

get_physical_volume ()

get_swapspace ()

get_vdo_volume ()

get_volume_group ()

Virtual Methods

None

Properties

Name

Type

Flags

Short Description

block

UDisks.Block

r/w

block

block-lvm2

UDisks.BlockLVM2

r/w

block-lvm2

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-btrfs

UDisks.ManagerBTRFS

r/w

manager-btrfs

manager-lvm2

UDisks.ManagerLVM2

r/w

manager-lvm2

manager-nvme

UDisks.ManagerNVMe

r/w

manager-nvme

mdraid

UDisks.MDRaid

r/w

mdraid

nvme-controller

UDisks.NVMeController

r/w

nvme-controller

nvme-fabrics

UDisks.NVMeFabrics

r/w

nvme-fabrics

nvme-namespace

UDisks.NVMeNamespace

r/w

nvme-namespace

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()
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_lvm2()
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_drive()
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()
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()
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()
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()
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()
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()
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()
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()
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_btrfs()
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()
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_nvme()
Returns:

A UDisks.ManagerNVMe that must be freed with GObject.Object.unref() or None if self does not implement the interface.

Return type:

UDisks.ManagerNVMe or None

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

get_mdraid()
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_nvme_controller()
Returns:

A UDisks.NVMeController that must be freed with GObject.Object.unref() or None if self does not implement the interface.

Return type:

UDisks.NVMeController or None

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

get_nvme_fabrics()
Returns:

A UDisks.NVMeFabrics that must be freed with GObject.Object.unref() or None if self does not implement the interface.

Return type:

UDisks.NVMeFabrics or None

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

get_nvme_namespace()
Returns:

A UDisks.NVMeNamespace that must be freed with GObject.Object.unref() or None if self does not implement the interface.

Return type:

UDisks.NVMeNamespace or None

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

get_partition()
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()
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()
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()
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()
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()
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_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.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_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_nvme
Name:

manager-nvme

Type:

UDisks.ManagerNVMe

Default Value:

None

Flags:

READABLE, WRITABLE

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

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

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.nvme_controller
Name:

nvme-controller

Type:

UDisks.NVMeController

Default Value:

None

Flags:

READABLE, WRITABLE

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

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

UDisks.Object.props.nvme_fabrics
Name:

nvme-fabrics

Type:

UDisks.NVMeFabrics

Default Value:

None

Flags:

READABLE, WRITABLE

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

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

UDisks.Object.props.nvme_namespace
Name:

nvme-namespace

Type:

UDisks.NVMeNamespace

Default Value:

None

Flags:

READABLE, WRITABLE

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

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

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.