Google_VideoContentDetails

The Google Pagespeed Insights Google VideoContentDetails class.

Defined (1)

The class is defined in the following location(s).

/google-api/src/contrib/Google_YouTubeService.php  
  1. class Google_VideoContentDetails extends Google_Model { 
  2. public $caption; 
  3. protected $__contentRatingType = 'Google_ContentRating'; 
  4. protected $__contentRatingDataType = ''; 
  5. public $contentRating; 
  6. protected $__countryRestrictionType = 'Google_AccessPolicy'; 
  7. protected $__countryRestrictionDataType = ''; 
  8. public $countryRestriction; 
  9. public $definition; 
  10. public $dimension; 
  11. public $duration; 
  12. public $licensedContent; 
  13. protected $__regionRestrictionType = 'Google_VideoContentDetailsRegionRestriction'; 
  14. protected $__regionRestrictionDataType = ''; 
  15. public $regionRestriction; 
  16. public function setCaption($caption) { 
  17. $this->caption = $caption; 
  18. public function getCaption() { 
  19. return $this->caption; 
  20. public function setContentRating(Google_ContentRating $contentRating) { 
  21. $this->contentRating = $contentRating; 
  22. public function getContentRating() { 
  23. return $this->contentRating; 
  24. public function setCountryRestriction(Google_AccessPolicy $countryRestriction) { 
  25. $this->countryRestriction = $countryRestriction; 
  26. public function getCountryRestriction() { 
  27. return $this->countryRestriction; 
  28. public function setDefinition($definition) { 
  29. $this->definition = $definition; 
  30. public function getDefinition() { 
  31. return $this->definition; 
  32. public function setDimension($dimension) { 
  33. $this->dimension = $dimension; 
  34. public function getDimension() { 
  35. return $this->dimension; 
  36. public function setDuration($duration) { 
  37. $this->duration = $duration; 
  38. public function getDuration() { 
  39. return $this->duration; 
  40. public function setLicensedContent($licensedContent) { 
  41. $this->licensedContent = $licensedContent; 
  42. public function getLicensedContent() { 
  43. return $this->licensedContent; 
  44. public function setRegionRestriction(Google_VideoContentDetailsRegionRestriction $regionRestriction) { 
  45. $this->regionRestriction = $regionRestriction; 
  46. public function getRegionRestriction() { 
  47. return $this->regionRestriction;