GData.YouTubeState

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

get_help_uri ()

get_message ()

get_name ()

get_reason_code ()

Virtual Methods

Inherited:

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

Properties

Inherited:

GData.Parsable (1)

Name

Type

Flags

Short Description

help-uri

str

r/w/co

A URI for a YouTube Help Center page.

message

str

r/w/co

A human-readable description of why the video failed to upload.

name

str

r/w/co

The name of the status of the unpublished video.

reason-code

str

r/w/co

The reason code explaining why the video failed to upload.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.Parsable

r

Class Details

class GData.YouTubeState(**kwargs)
Bases:

GData.Parsable

Abstract:

No

Structure:

GData.YouTubeStateClass

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

get_help_uri()
Returns:

the help URI, or None

Return type:

str

Gets the GData.YouTubeState :help-uri property.

New in version 0.4.0.

get_message()
Returns:

the status message, or None

Return type:

str

Gets the GData.YouTubeState :message property.

New in version 0.4.0.

get_name()
Returns:

the status name

Return type:

str

Gets the GData.YouTubeState :name property.

New in version 0.4.0.

get_reason_code()
Returns:

the status reason code, or None

Return type:

str

Gets the GData.YouTubeState :reason-code property.

New in version 0.4.0.

Property Details

GData.YouTubeState.props.help_uri
Name:

help-uri

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

A URI for a YouTube Help Center page that may help the developer or the video owner to diagnose the reason that an upload failed or was rejected.

For more information, see the

online documentation.

New in version 0.4.0.

GData.YouTubeState.props.message
Name:

message

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

A human-readable description of why the video failed to upload.

For more information, see the

online documentation.

New in version 0.4.0.

GData.YouTubeState.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The name of the status of the unpublished video. Valid values are: “processing”, “restricted”, “deleted”, “rejected” and “failed”.

For more information, see the

online documentation.

New in version 0.4.0.

GData.YouTubeState.props.reason_code
Name:

reason-code

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The reason code explaining why the video failed to upload.

For more information, see the

online documentation.

New in version 0.4.0.