CloudProviders.ProviderExporter¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Bus |
||
r/w/co |
BusName |
||
r/w/co |
BusPath |
||
r/w |
The name of the cloud provider |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class CloudProviders.ProviderExporter(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
CloudProviders.ProviderExporter
is the base object representing a single cloud provider. MultipleCloudProviders.AccountExporter
objects can be added with cloud_providers_provider_exporter_add_account() After adding the initial set of accounts cloud_providers_provider_exporter_export_objects() must be called.- classmethod new(bus, bus_name, bus_path)¶
- Parameters:
bus (
Gio.DBusConnection
) – AGio.DBusConnection
to export the objects tobus_name (
str
) – A DBus name to bind tobus_path (
str
) – A DBus object path
- Return type:
- remove_account(account)¶
- Parameters:
account (
CloudProviders.AccountExporter
) – The account object
Each cloud provider can have a variety of account associated with it. Use this function to remove the accounts that were added when created by
CloudProviders.AccountExporter.new
().
Property Details¶
- CloudProviders.ProviderExporter.props.bus¶
- Name:
bus
- Type:
- Default Value:
- Flags:
Bus
- CloudProviders.ProviderExporter.props.bus_name¶
- Name:
bus-name
- Type:
- Default Value:
- Flags:
BusName
- CloudProviders.ProviderExporter.props.bus_path¶
- Name:
bus-path
- Type:
- Default Value:
- Flags:
BusPath