CloudProviders.ProviderExporter

g CloudProviders.ProviderExporter CloudProviders.ProviderExporter GObject.Object GObject.Object GObject.Object->CloudProviders.ProviderExporter

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (bus, bus_name, bus_path)

get_name ()

remove_account (account)

set_name (name)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

bus

Gio.DBusConnection

r/w/co

Bus

bus-name

str

r/w/co

BusName

bus-path

str

r/w/co

BusPath

name

str

r/w

The name of the cloud provider

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class CloudProviders.ProviderExporter(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

CloudProviders.ProviderExporterClass

CloudProviders.ProviderExporter is the base object representing a single cloud provider. Multiple CloudProviders.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:
Return type:

CloudProviders.ProviderExporter

get_name()
Return type:

str

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().

set_name(name)
Parameters:

name (str) –

Property Details

CloudProviders.ProviderExporter.props.bus
Name:

bus

Type:

Gio.DBusConnection

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Bus

CloudProviders.ProviderExporter.props.bus_name
Name:

bus-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

BusName

CloudProviders.ProviderExporter.props.bus_path
Name:

bus-path

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

BusPath

CloudProviders.ProviderExporter.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The name of the cloud provider