| Copyright | (c) 2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.YouTube.I18nRegions.List
Description
Returns a list of content regions that the YouTube website supports.
See: YouTube Data API Reference for youtube.i18nRegions.list.
- type I18nRegionsListResource = "youtube" :> ("v3" :> ("i18nRegions" :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` I18nRegionListResponse)))))
- i18nRegionsList :: Text -> I18nRegionsList
- data I18nRegionsList
- irlPart :: Lens' I18nRegionsList Text
- irlHl :: Lens' I18nRegionsList Text
REST Resource
type I18nRegionsListResource = "youtube" :> ("v3" :> ("i18nRegions" :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` I18nRegionListResponse))))) Source
A resource alias for youtube.i18nRegions.list method which the
I18nRegionsList request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> I18nRegionsList |
Creates a value of I18nRegionsList with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data I18nRegionsList Source
Returns a list of content regions that the YouTube website supports.
See: i18nRegionsList smart constructor.
Request Lenses
irlPart :: Lens' I18nRegionsList Text Source
The part parameter specifies the i18nRegion resource properties that the API response will include. Set the parameter value to snippet.
irlHl :: Lens' I18nRegionsList Text Source
The hl parameter specifies the language that should be used for text values in the API response.