UDisks.VolumeGroup¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
ExtentSize |
||
r/w |
FreeSize |
||
[ |
r/w |
MissingPhysicalVolumes |
|
r/w |
Name |
||
r/w |
NeedsPolling |
||
r/w |
Size |
||
r/w |
UUID |
Signals¶
Name |
Short Description |
---|---|
Signal emitted when a remote caller is invoking the AddDevice() D-Bus method. |
|
Signal emitted when a remote caller is invoking the CreatePlainVolume() D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘CreatePlainVolumeWithLayout() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreatePlainVolumeWithLayout]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the CreateThinPoolVolume() D-Bus method. |
|
Signal emitted when a remote caller is invoking the CreateThinVolume() D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘CreateVDOVolume() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreateVDOVolume]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the Delete() D-Bus method. |
|
Signal emitted when a remote caller is invoking the EmptyDevice() D-Bus method. |
|
Signal emitted when a remote caller is invoking the Poll() D-Bus method. |
|
Signal emitted when a remote caller is invoking the RemoveDevice() D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘RemoveMissingPhysicalVolumes() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.RemoveMissingPhysicalVolumes]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the Rename() D-Bus method. |
Fields¶
None
Class Details¶
- class UDisks.VolumeGroup¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.VolumeGroup.
New in version 2.0.0.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the org.freedesktop.UDisks2.VolumeGroup D-Bus interface.
New in version 2.0.0.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theUDisks.VolumeGroup
interface for a concrete class. The properties are overridden in the order they are defined.New in version 2.0.0.
- call_add_device(arg_block, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_block (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the AddDevice() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_add_device_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_add_device_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_add_device_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_add_device
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_add_device
().New in version 2.0.0.
- call_add_device_sync(arg_block, arg_options, cancellable)¶
- Parameters:
arg_block (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the AddDevice() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_add_device
() for the asynchronous version of this method.New in version 2.0.0.
- call_create_plain_volume(arg_name, arg_size, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_name (
str
) – Argument to pass with the method invocation.arg_size (
int
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the CreatePlainVolume() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_create_plain_volume_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_create_plain_volume_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_create_plain_volume_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_create_plain_volume
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_create_plain_volume
().New in version 2.0.0.
- call_create_plain_volume_sync(arg_name, arg_size, arg_options, cancellable)¶
- Parameters:
arg_name (
str
) – Argument to pass with the method invocation.arg_size (
int
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the CreatePlainVolume() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_create_plain_volume
() for the asynchronous version of this method.New in version 2.0.0.
- call_create_plain_volume_with_layout(arg_name, arg_size, arg_layout, arg_pvs, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_name (
str
) – Argument to pass with the method invocation.arg_size (
int
) – Argument to pass with the method invocation.arg_layout (
str
) – Argument to pass with the method invocation.arg_pvs (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘CreatePlainVolumeWithLayout() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreatePlainVolumeWithLayout]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_create_plain_volume_with_layout_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_create_plain_volume_with_layout_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_create_plain_volume_with_layout_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_create_plain_volume_with_layout
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_create_plain_volume_with_layout
().New in version 2.0.0.
- call_create_plain_volume_with_layout_sync(arg_name, arg_size, arg_layout, arg_pvs, arg_options, cancellable)¶
- Parameters:
arg_name (
str
) – Argument to pass with the method invocation.arg_size (
int
) – Argument to pass with the method invocation.arg_layout (
str
) – Argument to pass with the method invocation.arg_pvs (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the ‘CreatePlainVolumeWithLayout() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreatePlainVolumeWithLayout]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_create_plain_volume_with_layout
() for the asynchronous version of this method.New in version 2.0.0.
- call_create_thin_pool_volume(arg_name, arg_size, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_name (
str
) – Argument to pass with the method invocation.arg_size (
int
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the CreateThinPoolVolume() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_create_thin_pool_volume_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_create_thin_pool_volume_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_create_thin_pool_volume_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_create_thin_pool_volume
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_create_thin_pool_volume
().New in version 2.0.0.
- call_create_thin_pool_volume_sync(arg_name, arg_size, arg_options, cancellable)¶
- Parameters:
arg_name (
str
) – Argument to pass with the method invocation.arg_size (
int
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the CreateThinPoolVolume() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_create_thin_pool_volume
() for the asynchronous version of this method.New in version 2.0.0.
- call_create_thin_volume(arg_name, arg_size, arg_pool, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_name (
str
) – Argument to pass with the method invocation.arg_size (
int
) – Argument to pass with the method invocation.arg_pool (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the CreateThinVolume() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_create_thin_volume_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_create_thin_volume_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_create_thin_volume_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_create_thin_volume
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_create_thin_volume
().New in version 2.0.0.
- call_create_thin_volume_sync(arg_name, arg_size, arg_pool, arg_options, cancellable)¶
- Parameters:
arg_name (
str
) – Argument to pass with the method invocation.arg_size (
int
) – Argument to pass with the method invocation.arg_pool (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the CreateThinVolume() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_create_thin_volume
() for the asynchronous version of this method.New in version 2.0.0.
- call_create_vdo_volume(arg_lv_name, arg_pool_name, arg_data_size, arg_virtual_size, arg_index_memory, arg_compression, arg_deduplication, arg_write_policy, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_lv_name (
str
) – Argument to pass with the method invocation.arg_pool_name (
str
) – Argument to pass with the method invocation.arg_data_size (
int
) – Argument to pass with the method invocation.arg_virtual_size (
int
) – Argument to pass with the method invocation.arg_index_memory (
int
) – Argument to pass with the method invocation.arg_compression (
bool
) – Argument to pass with the method invocation.arg_deduplication (
bool
) – Argument to pass with the method invocation.arg_write_policy (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘CreateVDOVolume() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreateVDOVolume]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_create_vdo_volume_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_create_vdo_volume_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_create_vdo_volume_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_create_vdo_volume
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_create_vdo_volume
().New in version 2.0.0.
- call_create_vdo_volume_sync(arg_lv_name, arg_pool_name, arg_data_size, arg_virtual_size, arg_index_memory, arg_compression, arg_deduplication, arg_write_policy, arg_options, cancellable)¶
- Parameters:
arg_lv_name (
str
) – Argument to pass with the method invocation.arg_pool_name (
str
) – Argument to pass with the method invocation.arg_data_size (
int
) – Argument to pass with the method invocation.arg_virtual_size (
int
) – Argument to pass with the method invocation.arg_index_memory (
int
) – Argument to pass with the method invocation.arg_compression (
bool
) – Argument to pass with the method invocation.arg_deduplication (
bool
) – Argument to pass with the method invocation.arg_write_policy (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the ‘CreateVDOVolume() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreateVDOVolume]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_create_vdo_volume
() for the asynchronous version of this method.New in version 2.0.0.
- call_delete(arg_wipe, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_wipe (
bool
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the Delete() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_delete_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_delete_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_delete_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_delete
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_delete
().New in version 2.0.0.
- call_delete_sync(arg_wipe, arg_options, cancellable)¶
- Parameters:
arg_wipe (
bool
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the Delete() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_delete
() for the asynchronous version of this method.New in version 2.0.0.
- call_empty_device(arg_block, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_block (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the EmptyDevice() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_empty_device_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_empty_device_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_empty_device_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_empty_device
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_empty_device
().New in version 2.0.0.
- call_empty_device_sync(arg_block, arg_options, cancellable)¶
- Parameters:
arg_block (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the EmptyDevice() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_empty_device
() for the asynchronous version of this method.New in version 2.0.0.
- call_poll(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the Poll() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_poll_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_poll_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_poll_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_poll
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_poll
().New in version 2.0.0.
- call_poll_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
Synchronously invokes the Poll() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_poll
() for the asynchronous version of this method.New in version 2.0.0.
- call_remove_device(arg_block, arg_wipe, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_block (
str
) – Argument to pass with the method invocation.arg_wipe (
bool
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the RemoveDevice() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_remove_device_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_remove_device_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_remove_device_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_remove_device
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_remove_device
().New in version 2.0.0.
- call_remove_device_sync(arg_block, arg_wipe, arg_options, cancellable)¶
- Parameters:
arg_block (
str
) – Argument to pass with the method invocation.arg_wipe (
bool
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the RemoveDevice() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_remove_device
() for the asynchronous version of this method.New in version 2.0.0.
- call_remove_missing_physical_volumes(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘RemoveMissingPhysicalVolumes() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.RemoveMissingPhysicalVolumes]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_remove_missing_physical_volumes_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_remove_missing_physical_volumes_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_remove_missing_physical_volumes_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_remove_missing_physical_volumes
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_remove_missing_physical_volumes
().New in version 2.0.0.
- call_remove_missing_physical_volumes_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘RemoveMissingPhysicalVolumes() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.RemoveMissingPhysicalVolumes]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_remove_missing_physical_volumes
() for the asynchronous version of this method.New in version 2.0.0.
- call_rename(arg_new_name, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_new_name (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the Rename() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default
()). You can then callUDisks.VolumeGroup.call_rename_finish
() to get the result of the operation.See
UDisks.VolumeGroup.call_rename_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_rename_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.VolumeGroup.call_rename
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
UDisks.VolumeGroup.call_rename
().New in version 2.0.0.
- call_rename_sync(arg_new_name, arg_options, cancellable)¶
- Parameters:
arg_new_name (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the Rename() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.VolumeGroup.call_rename
() for the asynchronous version of this method.New in version 2.0.0.
- complete_add_device(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the AddDevice() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_create_plain_volume(invocation, result)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.result (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the CreatePlainVolume() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_create_plain_volume_with_layout(invocation, result)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.result (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘CreatePlainVolumeWithLayout() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreatePlainVolumeWithLayout]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_create_thin_pool_volume(invocation, result)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.result (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the CreateThinPoolVolume() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_create_thin_volume(invocation, result)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.result (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the CreateThinVolume() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_create_vdo_volume(invocation, result)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.result (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘CreateVDOVolume() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreateVDOVolume]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_delete(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the Delete() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_empty_device(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the EmptyDevice() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_poll(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the Poll() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_remove_device(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the RemoveDevice() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_remove_missing_physical_volumes(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘RemoveMissingPhysicalVolumes() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.RemoveMissingPhysicalVolumes]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_rename(invocation, result)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.result (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the Rename() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- do_handle_add_device(invocation, arg_block, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_block (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-add-device
signal.
- do_handle_create_plain_volume(invocation, arg_name, arg_size, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_name (
str
) –arg_size (
int
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-create-plain-volume
signal.
- do_handle_create_plain_volume_with_layout(invocation, arg_name, arg_size, arg_layout, arg_pvs, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_name (
str
) –arg_size (
int
) –arg_layout (
str
) –arg_pvs (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-create-plain-volume-with-layout
signal.
- do_handle_create_thin_pool_volume(invocation, arg_name, arg_size, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_name (
str
) –arg_size (
int
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-create-thin-pool-volume
signal.
- do_handle_create_thin_volume(invocation, arg_name, arg_size, arg_pool, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_name (
str
) –arg_size (
int
) –arg_pool (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-create-thin-volume
signal.
- do_handle_create_vdo_volume(invocation, arg_lv_name, arg_pool_name, arg_data_size, arg_virtual_size, arg_index_memory, arg_compression, arg_deduplication, arg_write_policy, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_lv_name (
str
) –arg_pool_name (
str
) –arg_data_size (
int
) –arg_virtual_size (
int
) –arg_index_memory (
int
) –arg_compression (
bool
) –arg_deduplication (
bool
) –arg_write_policy (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-create-vdo-volume
signal.
- do_handle_delete(invocation, arg_wipe, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_wipe (
bool
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-delete
signal.
- do_handle_empty_device(invocation, arg_block, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_block (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-empty-device
signal.
- do_handle_poll(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
Handler for the
UDisks.VolumeGroup
::handle-poll
signal.
- do_handle_remove_device(invocation, arg_block, arg_wipe, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_block (
str
) –arg_wipe (
bool
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-remove-device
signal.
- do_handle_remove_missing_physical_volumes(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-remove-missing-physical-volumes
signal.
- do_handle_rename(invocation, arg_new_name, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_new_name (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.VolumeGroup
::handle-rename
signal.
Signal Details¶
- UDisks.VolumeGroup.signals.handle_add_device(volume_group, invocation, arg_block, arg_options)¶
- Signal Name:
handle-add-device
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_block (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the AddDevice() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_add_device
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_create_plain_volume(volume_group, invocation, arg_name, arg_size, arg_options)¶
- Signal Name:
handle-create-plain-volume
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_name (
str
) – Argument passed by remote caller.arg_size (
int
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the CreatePlainVolume() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_create_plain_volume
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_create_plain_volume_with_layout(volume_group, invocation, arg_name, arg_size, arg_layout, arg_pvs, arg_options)¶
- Signal Name:
handle-create-plain-volume-with-layout
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_name (
str
) – Argument passed by remote caller.arg_size (
int
) – Argument passed by remote caller.arg_layout (
str
) – Argument passed by remote caller.arg_pvs ([
str
]) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘CreatePlainVolumeWithLayout() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreatePlainVolumeWithLayout]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_create_plain_volume_with_layout
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_create_thin_pool_volume(volume_group, invocation, arg_name, arg_size, arg_options)¶
- Signal Name:
handle-create-thin-pool-volume
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_name (
str
) – Argument passed by remote caller.arg_size (
int
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the CreateThinPoolVolume() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_create_thin_pool_volume
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_create_thin_volume(volume_group, invocation, arg_name, arg_size, arg_pool, arg_options)¶
- Signal Name:
handle-create-thin-volume
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_name (
str
) – Argument passed by remote caller.arg_size (
int
) – Argument passed by remote caller.arg_pool (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the CreateThinVolume() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_create_thin_volume
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_create_vdo_volume(volume_group, invocation, arg_lv_name, arg_pool_name, arg_data_size, arg_virtual_size, arg_index_memory, arg_compression, arg_deduplication, arg_write_policy, arg_options)¶
- Signal Name:
handle-create-vdo-volume
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_lv_name (
str
) – Argument passed by remote caller.arg_pool_name (
str
) – Argument passed by remote caller.arg_data_size (
int
) – Argument passed by remote caller.arg_virtual_size (
int
) – Argument passed by remote caller.arg_index_memory (
int
) – Argument passed by remote caller.arg_compression (
bool
) – Argument passed by remote caller.arg_deduplication (
bool
) – Argument passed by remote caller.arg_write_policy (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘CreateVDOVolume() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.CreateVDOVolume]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_create_vdo_volume
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_delete(volume_group, invocation, arg_wipe, arg_options)¶
- Signal Name:
handle-delete
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_wipe (
bool
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the Delete() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_delete
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_empty_device(volume_group, invocation, arg_block, arg_options)¶
- Signal Name:
handle-empty-device
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_block (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the EmptyDevice() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_empty_device
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_poll(volume_group, invocation)¶
- Signal Name:
handle-poll
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the Poll() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_poll
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_remove_device(volume_group, invocation, arg_block, arg_wipe, arg_options)¶
- Signal Name:
handle-remove-device
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_block (
str
) – Argument passed by remote caller.arg_wipe (
bool
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the RemoveDevice() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_remove_device
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_remove_missing_physical_volumes(volume_group, invocation, arg_options)¶
- Signal Name:
handle-remove-missing-physical-volumes
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘RemoveMissingPhysicalVolumes() [gdbus-method-org-freedesktop-UDisks2-VolumeGroup.RemoveMissingPhysicalVolumes]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_remove_missing_physical_volumes
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.VolumeGroup.signals.handle_rename(volume_group, invocation, arg_new_name, arg_options)¶
- Signal Name:
handle-rename
- Flags:
- Parameters:
volume_group (
UDisks.VolumeGroup
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_new_name (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the Rename() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.VolumeGroup.complete_rename
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
Property Details¶
- UDisks.VolumeGroup.props.extent_size¶
-
Represents the D-Bus property “ExtentSize”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.VolumeGroup.props.free_size¶
-
Represents the D-Bus property “FreeSize”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.VolumeGroup.props.missing_physical_volumes¶
-
Represents the D-Bus property ‘“MissingPhysicalVolumes” [gdbus-property-org-freedesktop-UDisks2-VolumeGroup.MissingPhysicalVolumes]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.VolumeGroup.props.name¶
-
Represents the D-Bus property “Name”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.VolumeGroup.props.needs_polling¶
-
Represents the D-Bus property “NeedsPolling”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.VolumeGroup.props.size¶
-
Represents the D-Bus property “Size”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.VolumeGroup.props.uuid¶
-
Represents the D-Bus property “UUID”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.