Documentation
Library Exports.Region
A region.
Constructors
constructor
• new Region(youtube
, data
, full?
)
Parameters
Name | Type | Default value |
---|---|---|
youtube | YouTube | undefined |
data | any | undefined |
full | boolean | true |
Defined in
Properties
data
• data: any
The raw data of this region.
Defined in
full
• full: boolean
= true
Whether or not this is a full region object.
Defined in
gl
• gl: string
The country code that uniquely identifies the region.
Defined in
id
• id: string
The ID of this region.
Defined in
name
• name: string
The region's name.
Defined in
youtube
• youtube: YouTube
The YouTube object that created this region object.
Defined in
endpoint
▪ Static
endpoint: string
= 'i18nRegions'
The name of the endpoint used for this entity.
Defined in
fields
▪ Static
fields: string
= 'items(kind,id,snippet(gl,name))'
The fields to request for this entity.
Defined in
part
▪ Static
part: string
= 'snippet'
The parts to request for this entity.