GData.DocumentsMetadata

g GData.DocumentsMetadata GData.DocumentsMetadata GData.Parsable GData.Parsable GData.Parsable->GData.DocumentsMetadata GObject.Object GObject.Object GObject.Object->GData.Parsable

Subclasses:

None

Methods

Inherited:

GData.Parsable (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_quota_total ()

get_quota_used ()

Virtual Methods

Inherited:

GData.Parsable (9), GObject.Object (7)

Properties

Inherited:

GData.Parsable (1)

Name

Type

Flags

Short Description

quota-total

int

r

The user quota limit across all services.

quota-used

int

r

The amount of user quota used up across all services.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.Parsable

r

Class Details

class GData.DocumentsMetadata(**kwargs)
Bases:

GData.Parsable

Abstract:

No

Structure:

GData.DocumentsMetadataClass

All the fields in the GData.DocumentsMetadata structure are private and should never be accessed directly.

New in version 0.17.9.

get_quota_total()
Returns:

the number of quota bytes available in total. Returns -1 if there is no quota limit.

Return type:

int

Gets the GData.DocumentsMetadata :quota-total property.

New in version 0.17.9.

get_quota_used()
Returns:

the number of quota bytes used by the documents service

Return type:

int

Gets the GData.DocumentsMetadata :quota-used property.

New in version 0.17.9.

Property Details

GData.DocumentsMetadata.props.quota_total
Name:

quota-total

Type:

int

Default Value:

0

Flags:

READABLE

The user quota limit across all services. Measured in bytes.

New in version 0.17.9.

GData.DocumentsMetadata.props.quota_used
Name:

quota-used

Type:

int

Default Value:

0

Flags:

READABLE

The amount of user quota used up across all services. Measured in bytes.

New in version 0.17.9.