All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.model.VideoContentDetailsRegionRestriction.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240514-2.0.0
Show newest version






VideoContentDetailsRegionRestriction (YouTube Data API v3 v3-rev20240303-2.0.0)












com.google.api.services.youtube.model

Class VideoContentDetailsRegionRestriction

    • Constructor Detail

      • VideoContentDetailsRegionRestriction

        public VideoContentDetailsRegionRestriction()
    • Method Detail

      • getAllowed

        public List<String> getAllowed()
        A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
        Returns:
        value or null for none
      • setAllowed

        public VideoContentDetailsRegionRestriction setAllowed(List<String> allowed)
        A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
        Parameters:
        allowed - allowed or null for none
      • getBlocked

        public List<String> getBlocked()
        A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
        Returns:
        value or null for none
      • setBlocked

        public VideoContentDetailsRegionRestriction setBlocked(List<String> blocked)
        A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
        Parameters:
        blocked - blocked or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy