Guestfs.AddDriveScratch

g GObject.Object GObject.Object Guestfs.AddDriveScratch Guestfs.AddDriveScratch GObject.Object->Guestfs.AddDriveScratch

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

blocksize

int

r/w/c

A 32-bit integer.

label

str

r/w/c

A string.

name

str

r/w/c

A string.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Guestfs.AddDriveScratch(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Guestfs.AddDriveScratchClass

An object encapsulating optional arguments for Guestfs.Session.add_drive_scratch.

classmethod new()
Returns:

a new Guestfs.AddDriveScratch object

Return type:

Guestfs.AddDriveScratch

Create a new Guestfs.AddDriveScratch object

Property Details

Guestfs.AddDriveScratch.props.blocksize
Name:

blocksize

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE, CONSTRUCT

A 32-bit integer.

Guestfs.AddDriveScratch.props.label
Name:

label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

A string.

Guestfs.AddDriveScratch.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

A string.