{
  "servicePath": "",
  "title": "YouTube Data API v3",
  "name": "youtube",
  "documentationLink": "https://developers.google.com/youtube/",
  "schemas": {
    "VideoLiveStreamingDetails": {
      "id": "VideoLiveStreamingDetails",
      "type": "object",
      "properties": {
        "concurrentViewers": {
          "type": "string",
          "format": "uint64",
          "description": "The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended."
        },
        "actualStartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the broadcast actually started. This value will not be available until the broadcast begins."
        },
        "actualEndTime": {
          "description": "The time that the broadcast actually ended. This value will not be available until the broadcast is over.",
          "type": "string",
          "format": "date-time"
        },
        "scheduledEndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely."
        },
        "scheduledStartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the broadcast is scheduled to begin."
        },
        "activeLiveChatId": {
          "type": "string",
          "description": "The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page."
        }
      },
      "description": "Details about the live streaming metadata."
    },
    "LiveStreamContentDetails": {
      "description": "Detailed settings of a stream.",
      "id": "LiveStreamContentDetails",
      "type": "object",
      "properties": {
        "closedCaptionsIngestionUrl": {
          "type": "string",
          "description": "The ingestion URL where the closed captions of this stream are sent."
        },
        "isReusable": {
          "type": "boolean",
          "description": "Indicates whether the stream is reusable, which means that it can be bound to multiple broadcasts. It is common for broadcasters to reuse the same stream for many different broadcasts if those broadcasts occur at different times. If you set this value to false, then the stream will not be reusable, which means that it can only be bound to one broadcast. Non-reusable streams differ from reusable streams in the following ways: - A non-reusable stream can only be bound to one broadcast. - A non-reusable stream might be deleted by an automated process after the broadcast ends. - The liveStreams.list method does not list non-reusable streams if you call the method and set the mine parameter to true. The only way to use that method to retrieve the resource for a non-reusable stream is to use the id parameter to identify the stream. "
        }
      }
    },
    "SubscriptionSubscriberSnippet": {
      "description": "Basic details about a subscription's subscriber including title, description, channel ID and thumbnails.",
      "id": "SubscriptionSubscriberSnippet",
      "type": "object",
      "properties": {
        "channelId": {
          "description": "The channel ID of the subscriber.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "The description of the subscriber."
        },
        "title": {
          "description": "The title of the subscriber.",
          "type": "string"
        },
        "thumbnails": {
          "description": "Thumbnails for this subscriber.",
          "$ref": "ThumbnailDetails"
        }
      }
    },
    "ActivityContentDetailsBulletin": {
      "description": "Details about a channel bulletin post.",
      "id": "ActivityContentDetailsBulletin",
      "type": "object",
      "properties": {
        "resourceId": {
          "description": "The resourceId object contains information that identifies the resource associated with a bulletin post. @mutable youtube.activities.insert",
          "$ref": "ResourceId"
        }
      }
    },
    "VideoSuggestions": {
      "id": "VideoSuggestions",
      "type": "object",
      "properties": {
        "processingWarnings": {
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "Unrecognized file format, transcoding is likely to fail.",
              "Unrecognized video codec, transcoding is likely to fail.",
              "Unrecognized audio codec, transcoding is likely to fail.",
              "Conflicting container and stream resolutions.",
              "Edit lists are not currently supported.",
              "Video codec that is known to cause problems was used.",
              "Audio codec that is known to cause problems was used.",
              "Unsupported VR video stereo mode.",
              "Unsupported spherical video projection type.",
              "Unsupported HDR pixel format.",
              "Unspecified HDR color metadata.",
              "Problematic HDR lookup table attached."
            ],
            "enum": [
              "unknownContainer",
              "unknownVideoCodec",
              "unknownAudioCodec",
              "inconsistentResolution",
              "hasEditlist",
              "problematicVideoCodec",
              "problematicAudioCodec",
              "unsupportedVrStereoMode",
              "unsupportedSphericalProjectionType",
              "unsupportedHdrPixelFormat",
              "unsupportedHdrColorMetadata",
              "problematicHdrLookupTable"
            ]
          },
          "description": "A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track."
        },
        "processingHints": {
          "description": "A list of suggestions that may improve YouTube's ability to process the video.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "The MP4 file is not streamable, this will slow down the processing. MOOV atom was not found at the beginning of the file.",
              "Probably a better quality version of the video exists. The video has wide screen aspect ratio, but is not an HD video.",
              "Uploaded video is spherical video.",
              "Uploaded video has spatial audio.",
              "Uploaded video is VR video.",
              "Uploaded video is HDR video."
            ],
            "enum": [
              "nonStreamableMov",
              "sendBestQualityVideo",
              "sphericalVideo",
              "spatialAudio",
              "vrVideo",
              "hdrVideo"
            ]
          }
        },
        "processingErrors": {
          "description": "A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "File contains audio only (e.g., an MP3 file).",
              "Image file (e.g., a JPEG image).",
              "Movie project file (e.g., Microsoft Windows Movie Maker project).",
              "Other non-video file.",
              "Document or text file (e.g., MS Word document).",
              "An archive file (e.g., a ZIP archive).",
              "Unsupported spatial audio layout type."
            ],
            "enum": [
              "audioFile",
              "imageFile",
              "projectFile",
              "notAVideoFile",
              "docFile",
              "archiveFile",
              "unsupportedSpatialAudioLayout"
            ]
          }
        },
        "tagSuggestions": {
          "description": "A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube.",
          "type": "array",
          "items": {
            "$ref": "VideoSuggestionsTagSuggestion"
          }
        },
        "editorSuggestions": {
          "description": "A list of video editing operations that might improve the video quality or playback experience of the uploaded video.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "Picture brightness levels seem off and could be corrected.",
              "The video appears shaky and could be stabilized.",
              "Margins (mattes) detected around the picture could be cropped.",
              "The audio track appears silent and could be swapped with a better quality one."
            ],
            "enum": [
              "videoAutoLevels",
              "videoStabilize",
              "videoCrop",
              "audioQuietAudioSwap"
            ]
          }
        }
      },
      "description": "Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions."
    },
    "MembershipsDurationAtLevel": {
      "id": "MembershipsDurationAtLevel",
      "type": "object",
      "properties": {
        "memberSince": {
          "description": "The date and time when the user became a continuous member for the given level.",
          "type": "string"
        },
        "memberTotalDurationMonths": {
          "type": "integer",
          "format": "int32",
          "description": "The cumulative time the user has been a member for the given level in complete months (the time is rounded down to the nearest integer)."
        },
        "level": {
          "type": "string",
          "description": "Pricing level ID."
        }
      }
    },
    "LevelDetails": {
      "id": "LevelDetails",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "The name that should be used when referring to this level.",
          "type": "string"
        }
      }
    },
    "LocalizedProperty": {
      "id": "LocalizedProperty",
      "type": "object",
      "properties": {
        "default": {
          "type": "string"
        },
        "defaultLanguage": {
          "description": "The language of the default property.",
          "$ref": "LanguageTag"
        },
        "localized": {
          "type": "array",
          "items": {
            "$ref": "LocalizedString"
          }
        }
      }
    },
    "ChannelSectionLocalization": {
      "id": "ChannelSectionLocalization",
      "type": "object",
      "properties": {
        "title": {
          "description": "The localized strings for channel section's title.",
          "type": "string",
          "deprecated": true
        }
      },
      "description": "ChannelSection localization setting"
    },
    "PlaylistImage": {
      "id": "PlaylistImage",
      "type": "object",
      "properties": {
        "snippet": {
          "$ref": "PlaylistImageSnippet"
        },
        "id": {
          "description": "Identifies this resource (playlist id and image type).",
          "type": "string"
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistImages\".",
          "type": "string",
          "default": "youtube#playlistImage"
        }
      }
    },
    "TokenPagination": {
      "description": "Stub token pagination template to suppress results.",
      "id": "TokenPagination",
      "type": "object",
      "properties": {}
    },
    "SuperChatEventSnippet": {
      "id": "SuperChatEventSnippet",
      "type": "object",
      "properties": {
        "commentText": {
          "type": "string",
          "description": "The text contents of the comment left by the user."
        },
        "createdAt": {
          "description": "The date and time when the event occurred.",
          "type": "string",
          "format": "date-time"
        },
        "amountMicros": {
          "description": "The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000.",
          "type": "string",
          "format": "uint64"
        },
        "currency": {
          "description": "The currency in which the purchase was made. ISO 4217.",
          "type": "string"
        },
        "channelId": {
          "description": "Channel id where the event occurred.",
          "type": "string"
        },
        "displayString": {
          "type": "string",
          "description": "A rendered string that displays the purchase amount and currency (e.g., \"$1.00\"). The string is rendered for the given language."
        },
        "supporterDetails": {
          "description": "Details about the supporter.",
          "$ref": "ChannelProfileDetails"
        },
        "superStickerMetadata": {
          "description": "If this event is a Super Sticker event, this field will contain metadata about the Super Sticker.",
          "$ref": "SuperStickerMetadata"
        },
        "isSuperStickerEvent": {
          "description": "True if this event is a Super Sticker event.",
          "type": "boolean"
        },
        "messageType": {
          "type": "integer",
          "format": "uint32",
          "description": "The tier for the paid message, which is based on the amount of money spent to purchase the message."
        }
      }
    },
    "ChannelProfileDetails": {
      "id": "ChannelProfileDetails",
      "type": "object",
      "properties": {
        "profileImageUrl": {
          "type": "string",
          "description": "The channels's avatar URL."
        },
        "channelId": {
          "description": "The YouTube channel ID.",
          "type": "string"
        },
        "channelUrl": {
          "description": "The channel's URL.",
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "The channel's display name."
        }
      }
    },
    "SuperStickerMetadata": {
      "id": "SuperStickerMetadata",
      "type": "object",
      "properties": {
        "stickerId": {
          "description": "Unique identifier of the Super Sticker. This is a shorter form of the alt_text that includes pack name and a recognizable characteristic of the sticker.",
          "type": "string"
        },
        "altTextLanguage": {
          "type": "string",
          "description": "Specifies the localization language in which the alt text is returned."
        },
        "altText": {
          "description": "Internationalized alt text that describes the sticker image and any animation associated with it.",
          "type": "string"
        }
      }
    },
    "Entity": {
      "id": "Entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "typeId": {
          "type": "string"
        }
      }
    },
    "LiveChatMemberMilestoneChatDetails": {
      "id": "LiveChatMemberMilestoneChatDetails",
      "type": "object",
      "properties": {
        "userComment": {
          "description": "The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member.",
          "type": "string"
        },
        "memberMonth": {
          "type": "integer",
          "format": "uint32",
          "description": "The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users."
        },
        "memberLevelName": {
          "description": "The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.",
          "type": "string"
        }
      }
    },
    "ChannelSectionSnippet": {
      "id": "ChannelSectionSnippet",
      "type": "object",
      "properties": {
        "style": {
          "description": "The style of the channel section.",
          "deprecated": true,
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "channelsectionStyleUnspecified",
            "horizontalRow",
            "verticalList"
          ]
        },
        "title": {
          "description": "The channel section's title for multiple_playlists and multiple_channels.",
          "type": "string"
        },
        "localized": {
          "description": "Localized title, read-only.",
          "deprecated": true,
          "$ref": "ChannelSectionLocalization"
        },
        "position": {
          "description": "The position of the channel section in the channel.",
          "type": "integer",
          "format": "uint32"
        },
        "type": {
          "description": "The type of the channel section.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "channelsectionTypeUndefined",
            "singlePlaylist",
            "multiplePlaylists",
            "popularUploads",
            "recentUploads",
            "likes",
            "allPlaylists",
            "likedPlaylists",
            "recentPosts",
            "recentActivity",
            "liveEvents",
            "upcomingEvents",
            "completedEvents",
            "multipleChannels",
            "postedVideos",
            "postedPlaylists",
            "subscriptions"
          ],
          "enumDeprecated": [
            false,
            false,
            false,
            false,
            false,
            true,
            false,
            true,
            true,
            true,
            false,
            false,
            false,
            false,
            true,
            true,
            false
          ]
        },
        "channelId": {
          "description": "The ID that YouTube uses to uniquely identify the channel that published the channel section.",
          "type": "string"
        },
        "defaultLanguage": {
          "deprecated": true,
          "type": "string",
          "description": "The language of the channel section's default title and description."
        }
      },
      "description": "Basic details about a channel section, including title, style and position."
    },
    "InvideoBranding": {
      "id": "InvideoBranding",
      "type": "object",
      "properties": {
        "imageUrl": {
          "type": "string",
          "description": "The url of the uploaded image. Only used in apiary to api communication."
        },
        "timing": {
          "description": "The temporal position within the video where watermark will be displayed.",
          "$ref": "InvideoTiming"
        },
        "imageBytes": {
          "description": "The bytes the uploaded image. Only used in api to youtube communication.",
          "type": "string",
          "format": "byte"
        },
        "position": {
          "description": "The spatial position within the video where the branding watermark will be displayed.",
          "deprecated": true,
          "$ref": "InvideoPosition"
        },
        "targetChannelId": {
          "description": "The channel to which this branding links. If not present it defaults to the current channel.",
          "type": "string"
        }
      },
      "description": "Describes an invideo branding."
    },
    "CommentThreadReplies": {
      "description": "Comments written in (direct or indirect) reply to the top level comment.",
      "id": "CommentThreadReplies",
      "type": "object",
      "properties": {
        "comments": {
          "description": "A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of the total number of replies.",
          "type": "array",
          "items": {
            "$ref": "Comment"
          }
        }
      }
    },
    "ChannelListResponse": {
      "id": "ChannelListResponse",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set."
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "Channel"
          }
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "eventId": {
          "deprecated": true,
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string"
        },
        "visitorId": {
          "description": "The visitorId identifies the visitor.",
          "type": "string",
          "deprecated": true
        },
        "kind": {
          "default": "youtube#channelListResponse",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelListResponse\".",
          "type": "string"
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "prevPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.",
          "type": "string"
        }
      }
    },
    "GeoPoint": {
      "id": "GeoPoint",
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number",
          "format": "double",
          "description": "Latitude in degrees."
        },
        "altitude": {
          "description": "Altitude above the reference ellipsoid, in meters.",
          "type": "number",
          "format": "double"
        },
        "longitude": {
          "type": "number",
          "format": "double",
          "description": "Longitude in degrees."
        }
      },
      "description": "Geographical coordinates of a point, in WGS84."
    },
    "VideoFileDetailsVideoStream": {
      "id": "VideoFileDetailsVideoStream",
      "type": "object",
      "properties": {
        "frameRateFps": {
          "description": "The video stream's frame rate, in frames per second.",
          "type": "number",
          "format": "double"
        },
        "codec": {
          "description": "The video codec that the stream uses.",
          "type": "string"
        },
        "widthPixels": {
          "type": "integer",
          "format": "uint32",
          "description": "The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels."
        },
        "heightPixels": {
          "description": "The encoded video content's height in pixels.",
          "type": "integer",
          "format": "uint32"
        },
        "bitrateBps": {
          "description": "The video stream's bitrate, in bits per second.",
          "type": "string",
          "format": "uint64"
        },
        "vendor": {
          "type": "string",
          "description": "A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code."
        },
        "aspectRatio": {
          "type": "number",
          "format": "double",
          "description": "The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed."
        },
        "rotation": {
          "description": "The amount that YouTube needs to rotate the original source content to properly display the video.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "none",
            "clockwise",
            "upsideDown",
            "counterClockwise",
            "other"
          ]
        }
      },
      "description": "Information about a video stream."
    },
    "LiveChatMembershipGiftingDetails": {
      "id": "LiveChatMembershipGiftingDetails",
      "type": "object",
      "properties": {
        "giftMembershipsLevelName": {
          "type": "string",
          "description": "The name of the level of the gift memberships purchased by the user. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled."
        },
        "giftMembershipsCount": {
          "description": "The number of gift memberships purchased by the user.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "I18nLanguageListResponse": {
      "id": "I18nLanguageListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "eventId": {
          "type": "string",
          "description": "Serialized EventId of the request which produced this response."
        },
        "visitorId": {
          "type": "string",
          "description": "The visitorId identifies the visitor."
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nLanguageListResponse\".",
          "default": "youtube#i18nLanguageListResponse"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "I18nLanguage"
          },
          "description": "A list of supported i18n languages. In this map, the i18n language ID is the map key, and its value is the corresponding i18nLanguage resource."
        }
      }
    },
    "ChannelConversionPing": {
      "id": "ChannelConversionPing",
      "type": "object",
      "properties": {
        "context": {
          "description": "Defines the context of the ping.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "subscribe",
            "unsubscribe",
            "cview"
          ]
        },
        "conversionUrl": {
          "type": "string",
          "description": "The url (without the schema) that the player shall send the ping to. It's at caller's descretion to decide which schema to use (http vs https) Example of a returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping."
        }
      },
      "description": "Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping."
    },
    "ThirdPartyLinkListResponse": {
      "id": "ThirdPartyLinkListResponse",
      "type": "object",
      "properties": {
        "kind": {
          "default": "youtube#thirdPartyLinkListResponse",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#thirdPartyLinkListResponse\".",
          "type": "string"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "ThirdPartyLink"
          }
        }
      }
    },
    "ActivityContentDetailsPlaylistItem": {
      "description": "Information about a new playlist item.",
      "id": "ActivityContentDetailsPlaylistItem",
      "type": "object",
      "properties": {
        "playlistId": {
          "description": "The value that YouTube uses to uniquely identify the playlist.",
          "type": "string"
        },
        "playlistItemId": {
          "description": "ID of the item within the playlist.",
          "type": "string"
        },
        "resourceId": {
          "description": "The resourceId object contains information about the resource that was added to the playlist.",
          "$ref": "ResourceId"
        }
      }
    },
    "WatchSettings": {
      "id": "WatchSettings",
      "type": "object",
      "properties": {
        "featuredPlaylistId": {
          "description": "An ID that uniquely identifies a playlist that displays next to the video player.",
          "type": "string"
        },
        "textColor": {
          "type": "string",
          "description": "The background color for the video watch page's branded area."
        },
        "backgroundColor": {
          "description": "The text color for the video watch page's branded area.",
          "type": "string"
        }
      },
      "description": "Branding properties for the watch. All deprecated."
    },
    "SearchResultSnippet": {
      "id": "SearchResultSnippet",
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "description": "The title of the search result."
        },
        "thumbnails": {
          "description": "A map of thumbnail images associated with the search result. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.",
          "$ref": "ThumbnailDetails"
        },
        "description": {
          "type": "string",
          "description": "A description of the search result."
        },
        "channelTitle": {
          "type": "string",
          "description": "The title of the channel that published the resource that the search result identifies."
        },
        "publishedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The creation date and time of the resource that the search result identifies."
        },
        "liveBroadcastContent": {
          "type": "string",
          "enumDescriptions": [
            "",
            "The live broadcast is upcoming.",
            "The live broadcast is active.",
            "The live broadcast has been completed."
          ],
          "enum": [
            "none",
            "upcoming",
            "live",
            "completed"
          ],
          "description": "It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's \"none\" if there is not any upcoming/active live broadcasts."
        },
        "channelId": {
          "description": "The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies.",
          "type": "string"
        }
      },
      "description": "Basic details about a search result, including title, description and thumbnails of the item referenced by the search result."
    },
    "I18nRegionSnippet": {
      "id": "I18nRegionSnippet",
      "type": "object",
      "properties": {
        "name": {
          "description": "The human-readable name of the region.",
          "type": "string"
        },
        "gl": {
          "description": "The region code as a 2-letter ISO country code.",
          "type": "string"
        }
      },
      "description": "Basic details about an i18n region, such as region code and human-readable name."
    },
    "PlaylistPlayer": {
      "id": "PlaylistPlayer",
      "type": "object",
      "properties": {
        "embedHtml": {
          "type": "string",
          "description": "An \u003ciframe\u003e tag that embeds a player that will play the playlist."
        }
      }
    },
    "ChannelTopicDetails": {
      "description": "Freebase topic information related to the channel.",
      "id": "ChannelTopicDetails",
      "type": "object",
      "properties": {
        "topicIds": {
          "description": "A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.",
          "type": "array",
          "items": {
            "type": "string"
          },
          "deprecated": true
        },
        "topicCategories": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of Wikipedia URLs that describe the channel's content."
        }
      }
    },
    "VideoTopicDetails": {
      "id": "VideoTopicDetails",
      "type": "object",
      "properties": {
        "topicIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the \u003c a href=\"http://wiki.freebase.com/wiki/Topic_API\"\u003eFreebase Topic API."
        },
        "relevantTopicIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API."
        },
        "topicCategories": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of Wikipedia URLs that provide a high-level description of the video's content."
        }
      },
      "description": "Freebase topic information related to the video."
    },
    "MembershipsDuration": {
      "id": "MembershipsDuration",
      "type": "object",
      "properties": {
        "memberSince": {
          "description": "The date and time when the user became a continuous member across all levels.",
          "type": "string"
        },
        "memberTotalDurationMonths": {
          "type": "integer",
          "format": "int32",
          "description": "The cumulative time the user has been a member across all levels in complete months (the time is rounded down to the nearest integer)."
        }
      }
    },
    "ChannelToStoreLinkDetails": {
      "description": "Information specific to a store on a merchandising platform linked to a YouTube channel.",
      "id": "ChannelToStoreLinkDetails",
      "type": "object",
      "properties": {
        "storeUrl": {
          "type": "string",
          "description": "Landing page of the store."
        },
        "billingDetails": {
          "description": "Information specific to billing (read-only).",
          "$ref": "ChannelToStoreLinkDetailsBillingDetails"
        },
        "storeName": {
          "type": "string",
          "description": "Name of the store."
        },
        "merchantId": {
          "description": "Google Merchant Center id of the store.",
          "type": "string",
          "format": "uint64"
        },
        "merchantAffiliateProgramDetails": {
          "description": "Information specific to merchant affiliate program (read-only).",
          "$ref": "ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails"
        }
      }
    },
    "SubscriptionContentDetails": {
      "id": "SubscriptionContentDetails",
      "type": "object",
      "properties": {
        "totalItemCount": {
          "type": "integer",
          "format": "uint32",
          "description": "The approximate number of items that the subscription points to."
        },
        "newItemCount": {
          "type": "integer",
          "format": "uint32",
          "description": "The number of new items in the subscription since its content was last read."
        },
        "activityType": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "subscriptionActivityTypeUnspecified",
            "all",
            "uploads"
          ],
          "description": "The type of activity this subscription is for (only uploads, everything)."
        }
      },
      "description": "Details about the content to witch a subscription refers."
    },
    "I18nRegionListResponse": {
      "id": "I18nRegionListResponse",
      "type": "object",
      "properties": {
        "visitorId": {
          "type": "string",
          "description": "The visitorId identifies the visitor.",
          "deprecated": true
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "eventId": {
          "deprecated": true,
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "I18nRegion"
          },
          "description": "A list of regions where YouTube is available. In this map, the i18n region ID is the map key, and its value is the corresponding i18nRegion resource."
        },
        "kind": {
          "default": "youtube#i18nRegionListResponse",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nRegionListResponse\".",
          "type": "string"
        }
      }
    },
    "LiveBroadcastMonetizationDetails": {
      "description": "Monetization settings of a broadcast.",
      "id": "LiveBroadcastMonetizationDetails",
      "type": "object",
      "properties": {
        "cuepointSchedule": {
          "$ref": "CuepointSchedule"
        }
      }
    },
    "AbuseType": {
      "id": "AbuseType",
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        }
      }
    },
    "Caption": {
      "id": "Caption",
      "type": "object",
      "properties": {
        "snippet": {
          "description": "The snippet object contains basic details about the caption.",
          "$ref": "CaptionSnippet"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the caption track.",
          "annotations": {
            "required": [
              "youtube.captions.update"
            ]
          }
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#caption\".",
          "type": "string",
          "default": "youtube#caption"
        }
      },
      "description": "A *caption* resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video."
    },
    "ResourceId": {
      "id": "ResourceId",
      "type": "object",
      "properties": {
        "channelId": {
          "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel.",
          "type": "string"
        },
        "kind": {
          "type": "string",
          "description": "The type of the API resource."
        },
        "videoId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video."
        },
        "playlistId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist."
        }
      },
      "description": "A resource id is a generic reference that points to another YouTube resource."
    },
    "SuperChatEventListResponse": {
      "id": "SuperChatEventListResponse",
      "type": "object",
      "properties": {
        "visitorId": {
          "deprecated": true,
          "description": "The visitorId identifies the visitor.",
          "type": "string"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        },
        "pageInfo": {
          "$ref": "PageInfo"
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "nextPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set."
        },
        "items": {
          "description": "A list of Super Chat purchases that match the request criteria.",
          "type": "array",
          "items": {
            "$ref": "SuperChatEvent"
          }
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#superChatEventListResponse\".",
          "default": "youtube#superChatEventListResponse"
        }
      }
    },
    "CommentListResponse": {
      "id": "CommentListResponse",
      "type": "object",
      "properties": {
        "visitorId": {
          "type": "string",
          "description": "The visitorId identifies the visitor.",
          "deprecated": true
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "eventId": {
          "deprecated": true,
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string"
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "Comment"
          },
          "description": "A list of comments that match the request criteria."
        },
        "nextPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentListResponse\".",
          "type": "string",
          "default": "youtube#commentListResponse"
        }
      }
    },
    "LiveBroadcastListResponse": {
      "id": "LiveBroadcastListResponse",
      "type": "object",
      "properties": {
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "nextPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set."
        },
        "items": {
          "description": "A list of broadcasts that match the request criteria.",
          "type": "array",
          "items": {
            "$ref": "LiveBroadcast"
          }
        },
        "visitorId": {
          "deprecated": true,
          "description": "The visitorId identifies the visitor.",
          "type": "string"
        },
        "eventId": {
          "deprecated": true,
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string"
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "kind": {
          "default": "youtube#liveBroadcastListResponse",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveBroadcastListResponse\"."
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "prevPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.",
          "type": "string"
        }
      }
    },
    "Playlist": {
      "id": "Playlist",
      "type": "object",
      "properties": {
        "status": {
          "description": "The status object contains status information for the playlist.",
          "$ref": "PlaylistStatus"
        },
        "contentDetails": {
          "description": "The contentDetails object contains information like video count.",
          "$ref": "PlaylistContentDetails"
        },
        "kind": {
          "default": "youtube#playlist",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlist\".",
          "type": "string"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the playlist, such as its title and description.",
          "$ref": "PlaylistSnippet"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the playlist."
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "player": {
          "description": "The player object contains information that you would use to play the playlist in an embedded player.",
          "$ref": "PlaylistPlayer"
        },
        "localizations": {
          "additionalProperties": {
            "$ref": "PlaylistLocalization"
          },
          "description": "Localizations for different languages",
          "type": "object"
        }
      },
      "description": "A *playlist* resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private. YouTube also uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods."
    },
    "LiveChatPollDetails": {
      "id": "LiveChatPollDetails",
      "type": "object",
      "properties": {
        "metadata": {
          "$ref": "LiveChatPollDetailsPollMetadata"
        },
        "status": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "unknown",
            "active",
            "closed"
          ]
        }
      }
    },
    "ThumbnailSetResponse": {
      "id": "ThumbnailSetResponse",
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "ThumbnailDetails"
          },
          "description": "A list of thumbnails."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#thumbnailSetResponse\".",
          "type": "string",
          "default": "youtube#thumbnailSetResponse"
        },
        "visitorId": {
          "type": "string",
          "description": "The visitorId identifies the visitor.",
          "deprecated": true
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "eventId": {
          "deprecated": true,
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string"
        }
      }
    },
    "LiveChatSuperStickerDetails": {
      "id": "LiveChatSuperStickerDetails",
      "type": "object",
      "properties": {
        "amountMicros": {
          "type": "string",
          "format": "uint64",
          "description": "The amount purchased by the user, in micros (1,750,000 micros = 1.75)."
        },
        "currency": {
          "type": "string",
          "description": "The currency in which the purchase was made."
        },
        "tier": {
          "type": "integer",
          "format": "uint32",
          "description": "The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1."
        },
        "amountDisplayString": {
          "type": "string",
          "description": "A rendered string that displays the fund amount and currency to the user."
        },
        "superStickerMetadata": {
          "description": "Information about the Super Sticker.",
          "$ref": "SuperStickerMetadata"
        }
      }
    },
    "AbuseReport": {
      "id": "AbuseReport",
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "subject": {
          "$ref": "Entity"
        },
        "abuseTypes": {
          "type": "array",
          "items": {
            "$ref": "AbuseType"
          }
        },
        "relatedEntities": {
          "type": "array",
          "items": {
            "$ref": "RelatedEntity"
          }
        }
      }
    },
    "PlaylistItem": {
      "id": "PlaylistItem",
      "type": "object",
      "properties": {
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "id": {
          "description": "The ID that YouTube uses to uniquely identify the playlist item.",
          "type": "string"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the playlist item, such as its title and position in the playlist.",
          "$ref": "PlaylistItemSnippet"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItem\".",
          "default": "youtube#playlistItem"
        },
        "contentDetails": {
          "description": "The contentDetails object is included in the resource if the included item is a YouTube video. The object contains additional information about the video.",
          "$ref": "PlaylistItemContentDetails"
        },
        "status": {
          "description": "The status object contains information about the playlist item's privacy status.",
          "$ref": "PlaylistItemStatus"
        }
      },
      "description": "A *playlistItem* resource identifies another resource, such as a video, that is included in a playlist. In addition, the playlistItem resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods. For example, if a user gives a positive rating to a video, you would insert that video into the liked videos playlist for that user's channel."
    },
    "MembershipsLevelSnippet": {
      "id": "MembershipsLevelSnippet",
      "type": "object",
      "properties": {
        "creatorChannelId": {
          "description": "The id of the channel that's offering channel memberships.",
          "type": "string"
        },
        "levelDetails": {
          "description": "Details about the pricing level.",
          "$ref": "LevelDetails"
        }
      }
    },
    "ActivityContentDetailsRecommendation": {
      "id": "ActivityContentDetailsRecommendation",
      "type": "object",
      "properties": {
        "seedResourceId": {
          "description": "The seedResourceId object contains information about the resource that caused the recommendation.",
          "$ref": "ResourceId"
        },
        "reason": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "reasonUnspecified",
            "videoFavorited",
            "videoLiked",
            "videoWatched"
          ],
          "description": "The reason that the resource is recommended to the user."
        },
        "resourceId": {
          "description": "The resourceId object contains information that identifies the recommended resource.",
          "$ref": "ResourceId"
        }
      },
      "description": "Information that identifies the recommended resource."
    },
    "VideoTrainability": {
      "description": "Specifies who is allowed to train on the video.",
      "id": "VideoTrainability",
      "type": "object",
      "properties": {
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "permitted": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies who is allowed to train on the video. Valid values are: - a single string \"all\" - a single string \"none\" - a list of allowed parties"
        },
        "videoId": {
          "type": "string",
          "description": "The ID of the video."
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoTrainability\".",
          "default": "youtube#videoTrainability"
        }
      }
    },
    "ChannelBrandingSettings": {
      "id": "ChannelBrandingSettings",
      "type": "object",
      "properties": {
        "image": {
          "description": "Branding properties for branding images.",
          "$ref": "ImageSettings"
        },
        "hints": {
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "PropertyValue"
          },
          "description": "Additional experimental branding properties."
        },
        "channel": {
          "description": "Branding properties for the channel view.",
          "$ref": "ChannelSettings"
        },
        "watch": {
          "description": "Branding properties for the watch page.",
          "deprecated": true,
          "$ref": "WatchSettings"
        }
      },
      "description": "Branding properties of a YouTube channel."
    },
    "AccessPolicy": {
      "description": "Rights management policy for YouTube resources.",
      "id": "AccessPolicy",
      "type": "object",
      "properties": {
        "allowed": {
          "type": "boolean",
          "description": "The value of allowed indicates whether the access to the policy is allowed or denied by default."
        },
        "exception": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of region codes that identify countries where the default policy do not apply."
        }
      }
    },
    "ChannelSectionContentDetails": {
      "description": "Details about a channelsection, including playlists and channels.",
      "id": "ChannelSectionContentDetails",
      "type": "object",
      "properties": {
        "playlists": {
          "description": "The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "channels": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The channel ids for type multiple_channels."
        }
      }
    },
    "LiveChatFanFundingEventDetails": {
      "id": "LiveChatFanFundingEventDetails",
      "type": "object",
      "properties": {
        "amountDisplayString": {
          "type": "string",
          "description": "A rendered string that displays the fund amount and currency to the user."
        },
        "amountMicros": {
          "type": "string",
          "format": "uint64",
          "description": "The amount of the fund."
        },
        "currency": {
          "type": "string",
          "description": "The currency in which the fund was made."
        },
        "userComment": {
          "description": "The comment added by the user to this fan funding event.",
          "type": "string"
        }
      }
    },
    "ActivityContentDetailsChannelItem": {
      "description": "Details about a resource which was added to a channel.",
      "id": "ActivityContentDetailsChannelItem",
      "type": "object",
      "properties": {
        "resourceId": {
          "description": "The resourceId object contains information that identifies the resource that was added to the channel.",
          "$ref": "ResourceId"
        }
      }
    },
    "CommentThread": {
      "description": "A *comment thread* represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.",
      "id": "CommentThread",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "replies": {
          "description": "The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.",
          "$ref": "CommentThreadReplies"
        },
        "id": {
          "description": "The ID that YouTube uses to uniquely identify the comment thread.",
          "type": "string"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the comment thread and also the top level comment.",
          "$ref": "CommentThreadSnippet"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentThread\".",
          "default": "youtube#commentThread"
        }
      }
    },
    "PlaylistItemContentDetails": {
      "id": "PlaylistItemContentDetails",
      "type": "object",
      "properties": {
        "note": {
          "description": "A user-generated note for this item.",
          "type": "string"
        },
        "videoPublishedAt": {
          "description": "The date and time that the video was published to YouTube.",
          "type": "string",
          "format": "date-time"
        },
        "endAt": {
          "deprecated": true,
          "type": "string",
          "description": "The time, measured in seconds from the start of the video, when the video should stop playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) By default, assume that the video.endTime is the end of the video."
        },
        "videoId": {
          "description": "The ID that YouTube uses to uniquely identify a video. To retrieve the video resource, set the id query parameter to this value in your API request.",
          "type": "string"
        },
        "startAt": {
          "description": "The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) The default value is 0.",
          "type": "string",
          "deprecated": true
        }
      }
    },
    "VideoCategorySnippet": {
      "id": "VideoCategorySnippet",
      "type": "object",
      "properties": {
        "title": {
          "description": "The video category's title.",
          "type": "string"
        },
        "assignable": {
          "type": "boolean"
        },
        "channelId": {
          "default": "UCBR8-60-B28hp2BmDPdntcQ",
          "description": "The YouTube channel that created the video category.",
          "type": "string"
        }
      },
      "description": "Basic details about a video category, such as its localized title."
    },
    "ChannelSnippet": {
      "id": "ChannelSnippet",
      "type": "object",
      "properties": {
        "title": {
          "description": "The channel's title.",
          "type": "string"
        },
        "thumbnails": {
          "description": "A map of thumbnail images associated with the channel. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response. Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain. Thumbnail images might be empty for newly created channels and might take up to one day to populate.",
          "$ref": "ThumbnailDetails"
        },
        "description": {
          "type": "string",
          "description": "The description of the channel."
        },
        "publishedAt": {
          "description": "The date and time that the channel was created.",
          "type": "string",
          "format": "date-time"
        },
        "localized": {
          "description": "Localized title and description, read-only.",
          "$ref": "ChannelLocalization"
        },
        "country": {
          "type": "string",
          "description": "The country of the channel."
        },
        "customUrl": {
          "type": "string",
          "description": "The custom url of the channel."
        },
        "defaultLanguage": {
          "type": "string",
          "description": "The language of the channel's default title and description."
        }
      },
      "description": "Basic details about a channel, including title, description and thumbnails."
    },
    "CommentSnippet": {
      "description": "Basic details about a comment, such as its author and text.",
      "id": "CommentSnippet",
      "type": "object",
      "properties": {
        "channelId": {
          "description": "The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video or post comment it's the video/post's channel.",
          "type": "string"
        },
        "authorChannelUrl": {
          "description": "Link to the author's YouTube channel, if any.",
          "type": "string"
        },
        "viewerRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "The entity is liked.",
            "The entity is disliked."
          ],
          "enum": [
            "none",
            "like",
            "dislike"
          ],
          "description": "The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future."
        },
        "canRate": {
          "type": "boolean",
          "description": "Whether the current viewer can rate this comment."
        },
        "videoId": {
          "type": "string",
          "description": "The ID of the video the comment refers to, if any."
        },
        "authorProfileImageUrl": {
          "description": "The URL for the avatar of the user who posted the comment.",
          "type": "string"
        },
        "textOriginal": {
          "description": "The comment's original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment's author.",
          "type": "string"
        },
        "parentId": {
          "type": "string",
          "description": "The unique id of the top-level comment, only set for replies."
        },
        "publishedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the comment was originally published."
        },
        "likeCount": {
          "type": "integer",
          "format": "uint32",
          "description": "The total number of likes this comment has received."
        },
        "textDisplay": {
          "type": "string",
          "description": "The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc."
        },
        "authorDisplayName": {
          "description": "The name of the user who posted the comment.",
          "type": "string"
        },
        "moderationStatus": {
          "description": "The comment's moderation status. Will not be set if the comments were requested through the id filter.",
          "type": "string",
          "enumDescriptions": [
            "The comment is available for public display.",
            "The comment is awaiting review by a moderator.",
            "",
            "The comment is unfit for display."
          ],
          "enum": [
            "published",
            "heldForReview",
            "likelySpam",
            "rejected"
          ]
        },
        "updatedAt": {
          "description": "The date and time when the comment was last updated.",
          "type": "string",
          "format": "date-time"
        },
        "postId": {
          "description": "The ID of the post the comment refers to, if any.",
          "type": "string"
        },
        "authorChannelId": {
          "$ref": "CommentSnippetAuthorChannelId"
        }
      }
    },
    "LiveChatMessage": {
      "id": "LiveChatMessage",
      "type": "object",
      "properties": {
        "authorDetails": {
          "description": "The authorDetails object contains basic details about the user that posted this message.",
          "$ref": "LiveChatMessageAuthorDetails"
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "id": {
          "description": "The ID that YouTube assigns to uniquely identify the message.",
          "type": "string"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the message.",
          "$ref": "LiveChatMessageSnippet"
        },
        "kind": {
          "default": "youtube#liveChatMessage",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatMessage\".",
          "type": "string"
        }
      },
      "description": "A *liveChatMessage* resource represents a chat message in a YouTube Live Chat."
    },
    "I18nLanguage": {
      "description": "An *i18nLanguage* resource identifies a UI language currently supported by YouTube.",
      "id": "I18nLanguage",
      "type": "object",
      "properties": {
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nLanguage\".",
          "default": "youtube#i18nLanguage"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the i18n language, such as language code and human-readable name.",
          "$ref": "I18nLanguageSnippet"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the i18n language."
        }
      }
    },
    "Subscription": {
      "id": "Subscription",
      "type": "object",
      "properties": {
        "kind": {
          "default": "youtube#subscription",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#subscription\"."
        },
        "subscriberSnippet": {
          "description": "The subscriberSnippet object contains basic details about the subscriber.",
          "$ref": "SubscriptionSubscriberSnippet"
        },
        "contentDetails": {
          "description": "The contentDetails object contains basic statistics about the subscription.",
          "$ref": "SubscriptionContentDetails"
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the subscription."
        },
        "snippet": {
          "description": "The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to.",
          "$ref": "SubscriptionSnippet"
        }
      },
      "description": "A *subscription* resource contains information about a YouTube user subscription. A subscription notifies a user when new videos are added to a channel or when another user takes one of several actions on YouTube, such as uploading a video, rating a video, or commenting on a video."
    },
    "PlaylistLocalization": {
      "id": "PlaylistLocalization",
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "The localized strings for playlist's description."
        },
        "title": {
          "description": "The localized strings for playlist's title.",
          "type": "string"
        }
      },
      "description": "Playlist localization setting"
    },
    "LiveBroadcast": {
      "id": "LiveBroadcast",
      "type": "object",
      "properties": {
        "kind": {
          "default": "youtube#liveBroadcast",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveBroadcast\".",
          "type": "string"
        },
        "statistics": {
          "description": "The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.",
          "$ref": "LiveBroadcastStatistics"
        },
        "contentDetails": {
          "description": "The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.",
          "$ref": "LiveBroadcastContentDetails"
        },
        "monetizationDetails": {
          "description": "The monetizationDetails object contains information about the event's monetization details.",
          "$ref": "LiveBroadcastMonetizationDetails"
        },
        "status": {
          "description": "The status object contains information about the event's status.",
          "$ref": "LiveBroadcastStatus"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "id": {
          "description": "The ID that YouTube assigns to uniquely identify the broadcast.",
          "annotations": {
            "required": [
              "youtube.liveBroadcasts.update"
            ]
          },
          "type": "string"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the event, including its title, description, start time, and end time.",
          "$ref": "LiveBroadcastSnippet"
        }
      },
      "description": "A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube."
    },
    "LiveChatMessageRetractedDetails": {
      "id": "LiveChatMessageRetractedDetails",
      "type": "object",
      "properties": {
        "retractedMessageId": {
          "type": "string"
        }
      }
    },
    "ActivityContentDetailsLike": {
      "id": "ActivityContentDetailsLike",
      "type": "object",
      "properties": {
        "resourceId": {
          "description": "The resourceId object contains information that identifies the rated resource.",
          "$ref": "ResourceId"
        }
      },
      "description": "Information about a resource that received a positive (like) rating."
    },
    "IngestionInfo": {
      "description": "Describes information necessary for ingesting an RTMP, HTTP, or SRT stream.",
      "id": "IngestionInfo",
      "type": "object",
      "properties": {
        "streamName": {
          "description": "The stream name that YouTube assigns to the video stream.",
          "type": "string"
        },
        "backupIngestionAddress": {
          "type": "string",
          "description": "The backup ingestion URL that you should use to stream video to YouTube. You have the option of simultaneously streaming the content that you are sending to the ingestionAddress to this URL."
        },
        "rtmpsIngestionAddress": {
          "type": "string",
          "description": "This ingestion url may be used instead of ingestionAddress in order to stream via RTMPS. Not applicable to non-RTMP streams."
        },
        "rtmpsBackupIngestionAddress": {
          "description": "This ingestion url may be used instead of backupIngestionAddress in order to stream via RTMPS. Not applicable to non-RTMP streams.",
          "type": "string"
        },
        "ingestionAddress": {
          "description": "The primary ingestion URL that you should use to stream video to YouTube. You must stream video to this URL. Depending on which application or tool you use to encode your video stream, you may need to enter the stream URL and stream name separately or you may need to concatenate them in the following format: *STREAM_URL/STREAM_NAME* ",
          "type": "string"
        }
      }
    },
    "PlaylistItemStatus": {
      "id": "PlaylistItemStatus",
      "type": "object",
      "properties": {
        "privacyStatus": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "public",
            "unlisted",
            "private"
          ],
          "description": "This resource's privacy status."
        }
      },
      "description": "Information about the playlist item's privacy status."
    },
    "LiveBroadcastStatus": {
      "description": "Live broadcast state.",
      "id": "LiveBroadcastStatus",
      "type": "object",
      "properties": {
        "recordingStatus": {
          "description": "The broadcast's recording status.",
          "type": "string",
          "enumDescriptions": [
            "No value or the value is unknown.",
            "The recording has not yet been started.",
            "The recording is currently on.",
            "The recording is completed, and cannot be started again."
          ],
          "enum": [
            "liveBroadcastRecordingStatusUnspecified",
            "notRecording",
            "recording",
            "recorded"
          ]
        },
        "selfDeclaredMadeForKids": {
          "description": "This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.",
          "type": "boolean"
        },
        "lifeCycleStatus": {
          "type": "string",
          "enumDescriptions": [
            "No value or the value is unknown.",
            "Incomplete settings, but otherwise valid",
            "Complete settings",
            "Visible only to partner, may need special UI treatment",
            "Viper is recording; this means the \"clock\" is running",
            "The broadcast is finished.",
            "This broadcast was removed by admin action",
            "Transition into TESTING has been requested",
            "Transition into LIVE has been requested"
          ],
          "enum": [
            "lifeCycleStatusUnspecified",
            "created",
            "ready",
            "testing",
            "live",
            "complete",
            "revoked",
            "testStarting",
            "liveStarting"
          ],
          "description": "The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method."
        },
        "madeForKids": {
          "description": "Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.",
          "type": "boolean"
        },
        "liveBroadcastPriority": {
          "type": "string",
          "enumDescriptions": [
            "",
            "Low priority broadcast: for low view count HoAs or other low priority broadcasts.",
            "Normal priority broadcast: for regular HoAs and broadcasts.",
            "High priority broadcast: for high profile HoAs, like PixelCorp ones."
          ],
          "enum": [
            "liveBroadcastPriorityUnspecified",
            "low",
            "normal",
            "high"
          ],
          "description": "Priority of the live broadcast event (internal state)."
        },
        "privacyStatus": {
          "description": "The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.",
          "annotations": {
            "required": [
              "youtube.liveBroadcasts.insert",
              "youtube.liveBroadcasts.update"
            ]
          },
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "public",
            "unlisted",
            "private"
          ]
        }
      }
    },
    "VideoContentDetails": {
      "id": "VideoContentDetails",
      "type": "object",
      "properties": {
        "dimension": {
          "description": "The value of dimension indicates whether the video is available in 3D or in 2D.",
          "type": "string"
        },
        "caption": {
          "description": "The value of captions indicates whether the video has captions or not.",
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "true",
            "false"
          ]
        },
        "regionRestriction": {
          "description": "The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.",
          "deprecated": true,
          "$ref": "VideoContentDetailsRegionRestriction"
        },
        "licensedContent": {
          "description": "The value of is_license_content indicates whether the video is licensed content.",
          "type": "boolean"
        },
        "hasCustomThumbnail": {
          "description": "Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.",
          "type": "boolean"
        },
        "duration": {
          "description": "The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.",
          "type": "string"
        },
        "countryRestriction": {
          "description": "The countryRestriction object contains information about the countries where a video is (or is not) viewable.",
          "$ref": "AccessPolicy"
        },
        "projection": {
          "description": "Specifies the projection format of the video.",
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "rectangular",
            "360"
          ]
        },
        "contentRating": {
          "description": "Specifies the ratings that the video received under various rating schemes.",
          "$ref": "ContentRating"
        },
        "definition": {
          "type": "string",
          "enumDescriptions": [
            "sd",
            "hd"
          ],
          "enum": [
            "sd",
            "hd"
          ],
          "description": "The value of definition indicates whether the video is available in high definition or only in standard definition."
        }
      },
      "description": "Details about the content of a YouTube Video."
    },
    "VideoStatistics": {
      "id": "VideoStatistics",
      "type": "object",
      "properties": {
        "dislikeCount": {
          "description": "The number of users who have indicated that they disliked the video by giving it a negative rating.",
          "type": "string",
          "format": "uint64"
        },
        "viewCount": {
          "type": "string",
          "format": "uint64",
          "description": "The number of times the video has been viewed."
        },
        "likeCount": {
          "type": "string",
          "format": "uint64",
          "description": "The number of users who have indicated that they liked the video by giving it a positive rating."
        },
        "favoriteCount": {
          "deprecated": true,
          "description": "The number of users who currently have the video marked as a favorite video.",
          "type": "string",
          "format": "uint64"
        },
        "commentCount": {
          "type": "string",
          "format": "uint64",
          "description": "The number of comments for the video."
        }
      },
      "description": "Statistics about the video, such as the number of times the video was viewed or liked."
    },
    "InvideoTiming": {
      "id": "InvideoTiming",
      "type": "object",
      "properties": {
        "durationMs": {
          "type": "string",
          "format": "uint64",
          "description": "Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default."
        },
        "type": {
          "description": "Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.",
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "offsetFromStart",
            "offsetFromEnd"
          ]
        },
        "offsetMs": {
          "description": "Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds.",
          "type": "string",
          "format": "uint64"
        }
      },
      "description": "Describes a temporal position of a visual widget inside a video."
    },
    "ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails": {
      "description": "Information specific to merchant affiliate program.",
      "id": "ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails",
      "type": "object",
      "properties": {
        "status": {
          "description": "The current merchant affiliate program status.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified status.",
            "Merchant is eligible for the merchant affiliate program.",
            "Merchant affiliate program is active.",
            "Merchant affiliate program is paused."
          ],
          "enum": [
            "merchantAffiliateProgramStatusUnspecified",
            "merchantAffiliateProgramStatusEligible",
            "merchantAffiliateProgramStatusActive",
            "merchantAffiliateProgramStatusPaused"
          ]
        }
      }
    },
    "LiveStreamHealthStatus": {
      "id": "LiveStreamHealthStatus",
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "good",
            "ok",
            "bad",
            "noData",
            "revoked"
          ],
          "description": "The status code of this stream"
        },
        "lastUpdateTimeSeconds": {
          "description": "The last time this status was updated (in seconds)",
          "type": "string",
          "format": "uint64"
        },
        "configurationIssues": {
          "type": "array",
          "items": {
            "$ref": "LiveStreamConfigurationIssue"
          },
          "description": "The configurations issues on this stream"
        }
      }
    },
    "VideoAbuseReport": {
      "id": "VideoAbuseReport",
      "type": "object",
      "properties": {
        "language": {
          "type": "string",
          "description": "The language that the content was viewed in."
        },
        "reasonId": {
          "type": "string",
          "description": "The high-level, or primary, reason that the content is abusive. The value is an abuse report reason ID."
        },
        "secondaryReasonId": {
          "description": "The specific, or secondary, reason that this content is abusive (if available). The value is an abuse report reason ID that is a valid secondary reason for the primary reason.",
          "type": "string"
        },
        "videoId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the video."
        },
        "comments": {
          "description": "Additional comments regarding the abuse report.",
          "type": "string"
        }
      }
    },
    "LiveChatMessageListResponse": {
      "id": "LiveChatMessageListResponse",
      "type": "object",
      "properties": {
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "eventId": {
          "type": "string",
          "description": "Serialized EventId of the request which produced this response.",
          "deprecated": true
        },
        "pollingIntervalMillis": {
          "type": "integer",
          "format": "uint32",
          "description": "The amount of time the client should wait before polling again."
        },
        "visitorId": {
          "deprecated": true,
          "description": "The visitorId identifies the visitor.",
          "type": "string"
        },
        "nextPageToken": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "LiveChatMessage"
          }
        },
        "activePollItem": {
          "description": "Set when there is an active poll.",
          "$ref": "LiveChatMessage"
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "offlineAt": {
          "description": "The date and time when the underlying stream went offline.",
          "type": "string",
          "format": "date-time"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatMessageListResponse\".",
          "default": "youtube#liveChatMessageListResponse"
        }
      }
    },
    "VideoLocalization": {
      "description": "Localized versions of certain video properties (e.g. title).",
      "id": "VideoLocalization",
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "description": "Localized version of the video's title."
        },
        "description": {
          "type": "string",
          "description": "Localized version of the video's description."
        }
      }
    },
    "LanguageTag": {
      "id": "LanguageTag",
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        }
      }
    },
    "LiveChatPollDetailsPollMetadataPollOption": {
      "id": "LiveChatPollDetailsPollMetadataPollOption",
      "type": "object",
      "properties": {
        "tally": {
          "type": "string",
          "format": "int64"
        },
        "optionText": {
          "type": "string"
        }
      }
    },
    "PlaylistImageSnippet": {
      "description": "A *playlistImage* resource identifies another resource, such as a image, that is associated with a playlist. In addition, the playlistImage resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistImages.list method to retrieve image data for any of those playlists. You can also add or remove images from those lists by calling the playlistImages.insert and playlistImages.delete methods.",
      "id": "PlaylistImageSnippet",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enumDescriptions": [
            "The main image that will be used for this playlist."
          ],
          "enum": [
            "hero"
          ],
          "description": "The image type."
        },
        "playlistId": {
          "type": "string",
          "description": "The Playlist ID of the playlist this image is associated with."
        },
        "width": {
          "type": "integer",
          "format": "int32",
          "description": "The image width."
        },
        "height": {
          "description": "The image height.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "ActivityContentDetailsPromotedItem": {
      "description": "Details about a resource which is being promoted.",
      "id": "ActivityContentDetailsPromotedItem",
      "type": "object",
      "properties": {
        "forecastingUrl": {
          "description": "The list of forecasting URLs. The client should ping all of these URLs when a promoted item is not available, to indicate that a promoted item could have been shown.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "destinationUrl": {
          "type": "string",
          "description": "The URL the client should direct the user to, if the user chooses to visit the advertiser's website."
        },
        "creativeViewUrl": {
          "type": "string",
          "description": "The URL the client should ping to indicate that the user was shown this promoted item."
        },
        "descriptionText": {
          "description": "The text description to accompany the promoted item.",
          "type": "string"
        },
        "videoId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the promoted video."
        },
        "ctaType": {
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "ctaTypeUnspecified",
            "visitAdvertiserSite"
          ],
          "description": "The type of call-to-action, a message to the user indicating action that can be taken."
        },
        "customCtaButtonText": {
          "description": "The custom call-to-action button text. If specified, it will override the default button text for the cta_type.",
          "type": "string"
        },
        "clickTrackingUrl": {
          "description": "The URL the client should ping to indicate that the user clicked through on this promoted item.",
          "type": "string"
        },
        "impressionUrl": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item."
        },
        "adTag": {
          "type": "string",
          "description": "The URL the client should fetch to request a promoted item."
        }
      }
    },
    "CuepointSchedule": {
      "id": "CuepointSchedule",
      "type": "object",
      "properties": {
        "enabled": {
          "description": "This field is semantically required. If it is set false or not set, other fields in this message will be ignored.",
          "type": "boolean"
        },
        "pauseAdsUntil": {
          "type": "string",
          "description": "If set, automatic cuepoint insertion is paused until this timestamp (\"No Ad Zone\"). The value is specified in ISO 8601 format."
        },
        "repeatIntervalSecs": {
          "deprecated": true,
          "description": "Interval frequency in seconds that api uses to insert cuepoints automatically.",
          "type": "integer",
          "format": "int32"
        },
        "scheduleStrategy": {
          "description": "The strategy to use when scheduling cuepoints.",
          "deprecated": true,
          "type": "string",
          "enumDescriptions": [
            "",
            "Strategy to schedule cuepoints at one time for all viewers.",
            "Strategy to schedule cuepoints at an increased rate to allow viewers to receive cuepoints when eligible. See go/lcr-non-concurrent-ads for more details."
          ],
          "enum": [
            "scheduleStrategyUnspecified",
            "concurrent",
            "nonConcurrent"
          ]
        }
      },
      "description": "Schedule to insert cuepoints into a broadcast by ads automator."
    },
    "VideoAbuseReportReasonListResponse": {
      "id": "VideoAbuseReportReasonListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        },
        "visitorId": {
          "deprecated": true,
          "type": "string",
          "description": "The `visitorId` identifies the visitor."
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string `\"youtube#videoAbuseReportReasonListResponse\"`.",
          "default": "youtube#videoAbuseReportReasonListResponse"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "VideoAbuseReportReason"
          },
          "description": "A list of valid abuse reasons that are used with `video.ReportAbuse`."
        }
      }
    },
    "CdnSettings": {
      "description": "Brief description of the live stream cdn settings.",
      "id": "CdnSettings",
      "type": "object",
      "properties": {
        "ingestionType": {
          "description": " The method or protocol used to transmit the video stream.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "rtmp",
            "dash",
            "webrtc",
            "hls"
          ],
          "annotations": {
            "required": [
              "youtube.liveStreams.insert",
              "youtube.liveStreams.update"
            ]
          }
        },
        "ingestionInfo": {
          "description": "The ingestionInfo object contains information that YouTube provides that you need to transmit your RTMP or HTTP stream to YouTube.",
          "$ref": "IngestionInfo"
        },
        "resolution": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "240p",
            "360p",
            "480p",
            "720p",
            "1080p",
            "1440p",
            "2160p",
            "variable"
          ],
          "description": "The resolution of the inbound video data."
        },
        "frameRate": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "30fps",
            "60fps",
            "variable"
          ],
          "description": "The frame rate of the inbound video data."
        },
        "format": {
          "deprecated": true,
          "description": "The format of the video stream that you are sending to Youtube. ",
          "annotations": {
            "required": [
              "youtube.liveStreams.insert",
              "youtube.liveStreams.update"
            ]
          },
          "type": "string"
        }
      }
    },
    "ChannelContentOwnerDetails": {
      "description": "The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.",
      "id": "ChannelContentOwnerDetails",
      "type": "object",
      "properties": {
        "contentOwner": {
          "type": "string",
          "description": "The ID of the content owner linked to the channel."
        },
        "timeLinked": {
          "description": "The date and time when the channel was linked to the content owner.",
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "LiveBroadcastSnippet": {
      "id": "LiveBroadcastSnippet",
      "type": "object",
      "properties": {
        "actualEndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete."
        },
        "scheduledEndTime": {
          "description": "The date and time that the broadcast is scheduled to end.",
          "type": "string",
          "format": "date-time"
        },
        "title": {
          "description": "The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.",
          "annotations": {
            "required": [
              "youtube.liveBroadcasts.insert",
              "youtube.liveBroadcasts.update"
            ]
          },
          "type": "string"
        },
        "scheduledStartTime": {
          "description": "The date and time that the broadcast is scheduled to start.",
          "annotations": {
            "required": [
              "youtube.liveBroadcasts.insert",
              "youtube.liveBroadcasts.update"
            ]
          },
          "type": "string",
          "format": "date-time"
        },
        "isDefaultBroadcast": {
          "type": "boolean",
          "description": "Indicates whether this broadcast is the default broadcast. Internal only."
        },
        "channelId": {
          "description": "The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.",
          "type": "string"
        },
        "actualStartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the broadcast actually started. This information is only available once the broadcast's state is live."
        },
        "publishedAt": {
          "description": "The date and time that the broadcast was added to YouTube's live broadcast schedule.",
          "type": "string",
          "format": "date-time"
        },
        "liveChatId": {
          "description": "The id of the live chat for this broadcast.",
          "type": "string"
        },
        "thumbnails": {
          "description": "A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.",
          "$ref": "ThumbnailDetails"
        },
        "description": {
          "description": "The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.",
          "type": "string"
        }
      },
      "description": "Basic broadcast information."
    },
    "LiveChatModeratorSnippet": {
      "id": "LiveChatModeratorSnippet",
      "type": "object",
      "properties": {
        "moderatorDetails": {
          "description": "Details about the moderator.",
          "$ref": "ChannelProfileDetails"
        },
        "liveChatId": {
          "type": "string",
          "description": "The ID of the live chat this moderator can act on."
        }
      }
    },
    "CommentSnippetAuthorChannelId": {
      "description": "Contains the id of the author's YouTube channel, if any.",
      "id": "CommentSnippetAuthorChannelId",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "The id of the author's YouTube channel."
        }
      }
    },
    "InvideoPosition": {
      "id": "InvideoPosition",
      "type": "object",
      "properties": {
        "type": {
          "description": "Defines the position type.",
          "type": "string",
          "enumDescriptions": [
            ""
          ],
          "enum": [
            "corner"
          ]
        },
        "cornerPosition": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "topLeft",
            "topRight",
            "bottomLeft",
            "bottomRight"
          ],
          "enumDeprecated": [
            true,
            false,
            true,
            true
          ],
          "description": "Describes in which corner of the video the visual widget will appear."
        }
      },
      "description": "Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one."
    },
    "SubscriptionSnippet": {
      "id": "SubscriptionSnippet",
      "type": "object",
      "properties": {
        "publishedAt": {
          "description": "The date and time that the subscription was created.",
          "type": "string",
          "format": "date-time"
        },
        "title": {
          "description": "The subscription's title.",
          "type": "string"
        },
        "thumbnails": {
          "description": "A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.",
          "$ref": "ThumbnailDetails"
        },
        "description": {
          "description": "The subscription's details.",
          "type": "string"
        },
        "channelId": {
          "description": "The ID that YouTube uses to uniquely identify the subscriber's channel.",
          "type": "string"
        },
        "resourceId": {
          "description": "The id object contains information about the channel that the user subscribed to.",
          "annotations": {
            "required": [
              "youtube.subscriptions.insert"
            ]
          },
          "$ref": "ResourceId"
        }
      },
      "description": "Basic details about a subscription, including title, description and thumbnails of the subscribed item."
    },
    "VideoAbuseReportSecondaryReason": {
      "id": "VideoAbuseReportSecondaryReason",
      "type": "object",
      "properties": {
        "id": {
          "description": "The ID of this abuse report secondary reason.",
          "type": "string"
        },
        "label": {
          "type": "string",
          "description": "The localized label for this abuse report secondary reason."
        }
      }
    },
    "ChannelAuditDetails": {
      "description": "The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process.",
      "id": "ChannelAuditDetails",
      "type": "object",
      "properties": {
        "communityGuidelinesGoodStanding": {
          "description": "Whether or not the channel respects the community guidelines.",
          "type": "boolean"
        },
        "copyrightStrikesGoodStanding": {
          "type": "boolean",
          "description": "Whether or not the channel has any copyright strikes."
        },
        "contentIdClaimsGoodStanding": {
          "description": "Whether or not the channel has any unresolved claims.",
          "type": "boolean"
        }
      }
    },
    "ChannelLocalization": {
      "description": "Channel localization setting",
      "id": "ChannelLocalization",
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "description": "The localized strings for channel's title."
        },
        "description": {
          "description": "The localized strings for channel's description.",
          "type": "string"
        }
      }
    },
    "CommentThreadListResponse": {
      "id": "CommentThreadListResponse",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "CommentThread"
          },
          "description": "A list of comment threads that match the request criteria."
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentThreadListResponse\".",
          "type": "string",
          "default": "youtube#commentThreadListResponse"
        },
        "visitorId": {
          "description": "The visitorId identifies the visitor.",
          "type": "string",
          "deprecated": true
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        }
      }
    },
    "CaptionSnippet": {
      "description": "Basic details about a caption track, such as its language and name.",
      "id": "CaptionSnippet",
      "type": "object",
      "properties": {
        "lastUpdated": {
          "description": "The date and time when the caption track was last updated.",
          "type": "string",
          "format": "date-time"
        },
        "isLarge": {
          "type": "boolean",
          "description": "Indicates whether the caption track uses large text for the vision-impaired. The default value is false."
        },
        "status": {
          "description": "The caption track's status.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "serving",
            "syncing",
            "failed"
          ]
        },
        "videoId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the video associated with the caption track. @mutable youtube.captions.insert",
          "annotations": {
            "required": [
              "youtube.captions.insert"
            ]
          }
        },
        "isAutoSynced": {
          "description": "Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to determine when to display captions.",
          "type": "boolean"
        },
        "isDraft": {
          "type": "boolean",
          "description": "Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false. @mutable youtube.captions.insert youtube.captions.update"
        },
        "isEasyReader": {
          "type": "boolean",
          "description": "Indicates whether caption track is formatted for \"easy reader,\" meaning it is at a third-grade level for language learners. The default value is false."
        },
        "trackKind": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "standard",
            "ASR",
            "forced"
          ],
          "description": "The caption track's type."
        },
        "name": {
          "description": "The name of the caption track. The name is intended to be visible to the user as an option during playback.",
          "annotations": {
            "required": [
              "youtube.captions.insert"
            ]
          },
          "type": "string"
        },
        "isCC": {
          "description": "Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.",
          "type": "boolean"
        },
        "language": {
          "type": "string",
          "description": "The language of the caption track. The property value is a BCP-47 language tag.",
          "annotations": {
            "required": [
              "youtube.captions.insert"
            ]
          }
        },
        "failureReason": {
          "description": "The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "unknownFormat",
            "unsupportedFormat",
            "processingFailed"
          ]
        },
        "audioTrackType": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "unknown",
            "primary",
            "commentary",
            "descriptive"
          ],
          "description": "The type of audio track associated with the caption track."
        }
      }
    },
    "LiveBroadcastStatistics": {
      "description": "Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts.",
      "id": "LiveBroadcastStatistics",
      "type": "object",
      "properties": {
        "concurrentViewers": {
          "type": "string",
          "format": "uint64",
          "description": "The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended."
        }
      }
    },
    "LiveChatMessageSnippet": {
      "description": "Next ID: 35",
      "id": "LiveChatMessageSnippet",
      "type": "object",
      "properties": {
        "publishedAt": {
          "description": "The date and time when the message was orignally published.",
          "type": "string",
          "format": "date-time"
        },
        "fanFundingEventDetails": {
          "description": "Details about the funding event, this is only set if the type is 'fanFundingEvent'.",
          "deprecated": true,
          "$ref": "LiveChatFanFundingEventDetails"
        },
        "membershipGiftingDetails": {
          "description": "Details about the Membership Gifting event, this is only set if the type is 'membershipGiftingEvent'.",
          "$ref": "LiveChatMembershipGiftingDetails"
        },
        "giftDetails": {
          "description": "Details about the gift event, this is only set if the type is 'giftEvent'.",
          "$ref": "LiveChatGiftDetails"
        },
        "pollDetails": {
          "description": "Details about the poll event, this is only set if the type is 'pollEvent'.",
          "$ref": "LiveChatPollDetails"
        },
        "textMessageDetails": {
          "description": "Details about the text message, this is only set if the type is 'textMessageEvent'.",
          "$ref": "LiveChatTextMessageDetails"
        },
        "liveChatId": {
          "type": "string"
        },
        "authorChannelId": {
          "type": "string",
          "description": "The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor memberMilestoneChatEvent - the member that sent the message membershipGiftingEvent - the user that made the purchase giftMembershipReceivedEvent - the user that received the gift membership messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase pollEvent - the user that created the poll"
        },
        "superChatDetails": {
          "description": "Details about the Super Chat event, this is only set if the type is 'superChatEvent'.",
          "$ref": "LiveChatSuperChatDetails"
        },
        "displayMessage": {
          "description": "Contains a string that can be displayed to the user. If this field is not present the message is silent, at the moment only messages of type TOMBSTONE and CHAT_ENDED_EVENT are silent.",
          "type": "string"
        },
        "messageRetractedDetails": {
          "$ref": "LiveChatMessageRetractedDetails"
        },
        "userBannedDetails": {
          "$ref": "LiveChatUserBannedMessageDetails"
        },
        "giftMembershipReceivedDetails": {
          "description": "Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'.",
          "$ref": "LiveChatGiftMembershipReceivedDetails"
        },
        "superStickerDetails": {
          "description": "Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'.",
          "$ref": "LiveChatSuperStickerDetails"
        },
        "memberMilestoneChatDetails": {
          "description": "Details about the Member Milestone Chat event, this is only set if the type is 'memberMilestoneChatEvent'.",
          "$ref": "LiveChatMemberMilestoneChatDetails"
        },
        "messageDeletedDetails": {
          "$ref": "LiveChatMessageDeletedDetails"
        },
        "hasDisplayContent": {
          "type": "boolean",
          "description": "Whether the message has display content that should be displayed to users."
        },
        "type": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "A virtual gift sent by a viewer to support a creator."
          ],
          "enum": [
            "invalidType",
            "textMessageEvent",
            "tombstone",
            "fanFundingEvent",
            "chatEndedEvent",
            "sponsorOnlyModeStartedEvent",
            "sponsorOnlyModeEndedEvent",
            "newSponsorEvent",
            "memberMilestoneChatEvent",
            "membershipGiftingEvent",
            "giftMembershipReceivedEvent",
            "messageDeletedEvent",
            "messageRetractedEvent",
            "userBannedEvent",
            "superChatEvent",
            "superStickerEvent",
            "pollEvent",
            "giftEvent"
          ],
          "description": "The type of message, this will always be present, it determines the contents of the message as well as which fields will be present."
        },
        "newSponsorDetails": {
          "description": "Details about the New Member Announcement event, this is only set if the type is 'newSponsorEvent'. Please note that \"member\" is the new term for \"sponsor\".",
          "$ref": "LiveChatNewSponsorDetails"
        }
      }
    },
    "Channel": {
      "id": "Channel",
      "type": "object",
      "properties": {
        "contentOwnerDetails": {
          "description": "The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.",
          "$ref": "ChannelContentOwnerDetails"
        },
        "localizations": {
          "description": "Localizations for different languages",
          "type": "object",
          "additionalProperties": {
            "$ref": "ChannelLocalization"
          }
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channel\".",
          "type": "string",
          "default": "youtube#channel"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the channel."
        },
        "statistics": {
          "description": "The statistics object encapsulates statistics for the channel.",
          "$ref": "ChannelStatistics"
        },
        "brandingSettings": {
          "description": "The brandingSettings object encapsulates information about the branding of the channel.",
          "$ref": "ChannelBrandingSettings"
        },
        "auditDetails": {
          "description": "The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process.",
          "$ref": "ChannelAuditDetails"
        },
        "conversionPings": {
          "deprecated": true,
          "$ref": "ChannelConversionPings",
          "description": "The conversionPings object encapsulates information about conversion pings that need to be respected by the channel."
        },
        "snippet": {
          "description": "The snippet object contains basic details about the channel, such as its title, description, and thumbnail images.",
          "$ref": "ChannelSnippet"
        },
        "status": {
          "description": "The status object encapsulates information about the privacy status of the channel.",
          "$ref": "ChannelStatus"
        },
        "topicDetails": {
          "description": "The topicDetails object encapsulates information about Freebase topics associated with the channel.",
          "$ref": "ChannelTopicDetails"
        },
        "contentDetails": {
          "description": "The contentDetails object encapsulates information about the channel's content.",
          "$ref": "ChannelContentDetails"
        }
      },
      "description": "A *channel* resource contains information about a YouTube channel."
    },
    "ActivityListResponse": {
      "id": "ActivityListResponse",
      "type": "object",
      "properties": {
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "Activity"
          }
        },
        "nextPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
          "type": "string"
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "visitorId": {
          "deprecated": true,
          "type": "string",
          "description": "The visitorId identifies the visitor."
        },
        "kind": {
          "default": "youtube#activityListResponse",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#activityListResponse\"."
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "prevPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.",
          "type": "string"
        }
      }
    },
    "ChannelSectionListResponse": {
      "id": "ChannelSectionListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        },
        "visitorId": {
          "deprecated": true,
          "type": "string",
          "description": "The visitorId identifies the visitor."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelSectionListResponse\".",
          "type": "string",
          "default": "youtube#channelSectionListResponse"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "ChannelSection"
          },
          "description": "A list of ChannelSections that match the request criteria."
        }
      }
    },
    "LiveBroadcastContentDetails": {
      "description": "Detailed settings of a broadcast.",
      "id": "LiveBroadcastContentDetails",
      "type": "object",
      "properties": {
        "monitorStream": {
          "description": "The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.",
          "$ref": "MonitorStreamInfo"
        },
        "enableLowLatency": {
          "description": "Indicates whether this broadcast has low latency enabled.",
          "type": "boolean",
          "deprecated": true
        },
        "latencyPreference": {
          "description": "If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.",
          "type": "string",
          "enumDescriptions": [
            "",
            "Best for: highest quality viewer playbacks and higher resolutions.",
            "Best for: near real-time interaction, with minimal playback buffering.",
            "Best for: real-time interaction Does not support: Closed captions, 1440p, and 4k resolutions"
          ],
          "enum": [
            "latencyPreferenceUnspecified",
            "normal",
            "low",
            "ultraLow"
          ]
        },
        "mesh": {
          "description": "The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.",
          "type": "string",
          "format": "byte"
        },
        "enableEmbed": {
          "type": "boolean",
          "description": "This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video."
        },
        "projection": {
          "description": "The projection format of this broadcast. This defaults to rectangular.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "projectionUnspecified",
            "rectangular",
            "360",
            "mesh"
          ]
        },
        "enableDvr": {
          "description": "This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends.",
          "type": "boolean"
        },
        "enableAutoStart": {
          "type": "boolean",
          "description": "This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events."
        },
        "closedCaptionsType": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "closedCaptionsTypeUnspecified",
            "closedCaptionsDisabled",
            "closedCaptionsHttpPost",
            "closedCaptionsEmbedded"
          ]
        },
        "boundStreamLastUpdateTimeMs": {
          "description": "The date and time that the live stream referenced by boundStreamId was last updated.",
          "type": "string",
          "format": "date-time"
        },
        "stereoLayout": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "stereoLayoutUnspecified",
            "mono",
            "leftRight",
            "topBottom"
          ],
          "description": "The 3D stereo layout of this broadcast. This defaults to mono."
        },
        "enableContentEncryption": {
          "type": "boolean",
          "description": "This setting indicates whether YouTube should enable content encryption for the broadcast."
        },
        "enableAutoStop": {
          "type": "boolean",
          "description": "This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events."
        },
        "recordFromStart": {
          "type": "boolean",
          "description": "Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback."
        },
        "enableClosedCaptions": {
          "deprecated": true,
          "description": "This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.",
          "type": "boolean"
        },
        "startWithSlate": {
          "deprecated": true,
          "description": "This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.",
          "type": "boolean"
        },
        "boundStreamId": {
          "description": "This value uniquely identifies the live stream bound to the broadcast.",
          "type": "string"
        }
      }
    },
    "PlaylistStatus": {
      "id": "PlaylistStatus",
      "type": "object",
      "properties": {
        "privacyStatus": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "public",
            "unlisted",
            "private"
          ],
          "description": "The playlist's privacy status."
        },
        "podcastStatus": {
          "description": "The playlist's podcast status.",
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "enabled",
            "disabled"
          ]
        }
      }
    },
    "ActivityContentDetailsSocial": {
      "id": "ActivityContentDetailsSocial",
      "type": "object",
      "properties": {
        "referenceUrl": {
          "type": "string",
          "description": "The URL of the social network post."
        },
        "imageUrl": {
          "description": "An image of the post's author.",
          "type": "string"
        },
        "author": {
          "type": "string",
          "description": "The author of the social network post."
        },
        "type": {
          "description": "The name of the social network.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "unspecified",
            "googlePlus",
            "facebook",
            "twitter"
          ]
        },
        "resourceId": {
          "description": "The resourceId object encapsulates information that identifies the resource associated with a social network post.",
          "$ref": "ResourceId"
        }
      },
      "description": "Details about a social network post."
    },
    "MonitorStreamInfo": {
      "description": "Settings and Info of the monitor stream",
      "id": "MonitorStreamInfo",
      "type": "object",
      "properties": {
        "embedHtml": {
          "type": "string",
          "description": "HTML code that embeds a player that plays the monitor stream."
        },
        "enableMonitorStream": {
          "type": "boolean",
          "description": "This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.",
          "annotations": {
            "required": [
              "youtube.liveBroadcasts.update"
            ]
          }
        },
        "broadcastStreamDelayMs": {
          "description": "If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.",
          "annotations": {
            "required": [
              "youtube.liveBroadcasts.update"
            ]
          },
          "type": "integer",
          "format": "uint32"
        }
      }
    },
    "Activity": {
      "id": "Activity",
      "type": "object",
      "properties": {
        "snippet": {
          "description": "The snippet object contains basic details about the activity, including the activity's type and group ID.",
          "$ref": "ActivitySnippet"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the activity."
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource"
        },
        "contentDetails": {
          "description": "The contentDetails object contains information about the content associated with the activity. For example, if the snippet.type value is videoRated, then the contentDetails object's content identifies the rated video.",
          "$ref": "ActivityContentDetails"
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#activity\".",
          "type": "string",
          "default": "youtube#activity"
        }
      },
      "description": "An *activity* resource contains information about an action that a particular channel, or user, has taken on YouTube.The actions reported in activity feeds include rating a video, sharing a video, marking a video as a favorite, commenting on a video, uploading a video, and so forth. Each activity resource identifies the type of action, the channel associated with the action, and the resource(s) associated with the action, such as the video that was rated or uploaded."
    },
    "LiveChatTextMessageDetails": {
      "id": "LiveChatTextMessageDetails",
      "type": "object",
      "properties": {
        "messageText": {
          "type": "string",
          "description": "The user's message."
        }
      }
    },
    "VideoAgeGating": {
      "id": "VideoAgeGating",
      "type": "object",
      "properties": {
        "restricted": {
          "type": "boolean",
          "description": "Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present."
        },
        "alcoholContent": {
          "description": "Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.",
          "type": "boolean"
        },
        "videoGameRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "anyone",
            "m15Plus",
            "m16Plus",
            "m17Plus"
          ],
          "description": "Video game rating, if any."
        }
      }
    },
    "LiveChatBanSnippet": {
      "id": "LiveChatBanSnippet",
      "type": "object",
      "properties": {
        "liveChatId": {
          "description": "The chat this ban is pertinent to.",
          "type": "string"
        },
        "banDurationSeconds": {
          "description": "The duration of a ban, only filled if the ban has type TEMPORARY.",
          "type": "string",
          "format": "uint64"
        },
        "bannedUserDetails": {
          "$ref": "ChannelProfileDetails"
        },
        "type": {
          "type": "string",
          "enumDescriptions": [
            "An invalid ban type.",
            "A permanent ban.",
            "A temporary ban."
          ],
          "enum": [
            "liveChatBanTypeUnspecified",
            "permanent",
            "temporary"
          ],
          "description": "The type of ban."
        }
      }
    },
    "PlaylistItemListResponse": {
      "id": "PlaylistItemListResponse",
      "type": "object",
      "properties": {
        "kind": {
          "default": "youtube#playlistItemListResponse",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItemListResponse\"."
        },
        "etag": {
          "type": "string"
        },
        "prevPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set."
        },
        "tokenPagination": {
          "$ref": "TokenPagination"
        },
        "nextPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set."
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "PlaylistItem"
          },
          "description": "A list of playlist items that match the request criteria."
        },
        "eventId": {
          "type": "string",
          "description": "Serialized EventId of the request which produced this response."
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "visitorId": {
          "type": "string",
          "description": "The visitorId identifies the visitor."
        }
      }
    },
    "SuperChatEvent": {
      "id": "SuperChatEvent",
      "type": "object",
      "properties": {
        "snippet": {
          "description": "The `snippet` object contains basic details about the Super Chat event.",
          "$ref": "SuperChatEventSnippet"
        },
        "id": {
          "description": "The ID that YouTube assigns to uniquely identify the Super Chat event.",
          "type": "string"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "kind": {
          "default": "youtube#superChatEvent",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string `\"youtube#superChatEvent\"`."
        }
      },
      "description": "A `__superChatEvent__` resource represents a Super Chat purchase on a YouTube channel."
    },
    "ThumbnailDetails": {
      "id": "ThumbnailDetails",
      "type": "object",
      "properties": {
        "standard": {
          "description": "The standard quality image for this resource.",
          "$ref": "Thumbnail"
        },
        "high": {
          "description": "The high quality image for this resource.",
          "$ref": "Thumbnail"
        },
        "default": {
          "description": "The default image for this resource.",
          "$ref": "Thumbnail"
        },
        "medium": {
          "description": "The medium quality image for this resource.",
          "$ref": "Thumbnail"
        },
        "maxres": {
          "description": "The maximum resolution quality image for this resource.",
          "$ref": "Thumbnail"
        }
      },
      "description": "Internal representation of thumbnails for a YouTube resource."
    },
    "Video": {
      "description": "A *video* resource represents a YouTube video.",
      "id": "Video",
      "type": "object",
      "properties": {
        "monetizationDetails": {
          "description": "The monetizationDetails object encapsulates information about the monetization status of the video.",
          "$ref": "VideoMonetizationDetails"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#video\".",
          "default": "youtube#video"
        },
        "suggestions": {
          "description": "The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.",
          "$ref": "VideoSuggestions"
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "localizations": {
          "description": "The localizations object contains localized versions of the basic details about the video, such as its title and description.",
          "type": "object",
          "additionalProperties": {
            "$ref": "VideoLocalization"
          }
        },
        "ageGating": {
          "description": "Age restriction details related to a video. This data can only be retrieved by the video owner.",
          "$ref": "VideoAgeGating"
        },
        "paidProductPlacementDetails": {
          "$ref": "VideoPaidProductPlacementDetails"
        },
        "statistics": {
          "description": "The statistics object contains statistics about the video.",
          "$ref": "VideoStatistics"
        },
        "id": {
          "description": "The ID that YouTube uses to uniquely identify the video.",
          "annotations": {
            "required": [
              "youtube.videos.update"
            ]
          },
          "type": "string"
        },
        "liveStreamingDetails": {
          "description": "The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.",
          "$ref": "VideoLiveStreamingDetails"
        },
        "player": {
          "description": "The player object contains information that you would use to play the video in an embedded player.",
          "$ref": "VideoPlayer"
        },
        "topicDetails": {
          "description": "The topicDetails object encapsulates information about Freebase topics associated with the video.",
          "$ref": "VideoTopicDetails"
        },
        "status": {
          "description": "The status object contains information about the video's uploading, processing, and privacy statuses.",
          "$ref": "VideoStatus"
        },
        "projectDetails": {
          "description": "The projectDetails object contains information about the project specific video metadata. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677",
          "deprecated": true,
          "$ref": "VideoProjectDetails"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the video, such as its title, description, and category.",
          "$ref": "VideoSnippet"
        },
        "fileDetails": {
          "description": "The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.",
          "$ref": "VideoFileDetails"
        },
        "contentDetails": {
          "description": "The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.",
          "$ref": "VideoContentDetails"
        },
        "recordingDetails": {
          "description": "The recordingDetails object encapsulates information about the location, date and address where the video was recorded.",
          "$ref": "VideoRecordingDetails"
        },
        "processingDetails": {
          "description": "The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.",
          "$ref": "VideoProcessingDetails"
        }
      }
    },
    "ActivityContentDetailsUpload": {
      "description": "Information about the uploaded video.",
      "id": "ActivityContentDetailsUpload",
      "type": "object",
      "properties": {
        "videoId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the uploaded video."
        }
      }
    },
    "LiveChatSuperChatDetails": {
      "id": "LiveChatSuperChatDetails",
      "type": "object",
      "properties": {
        "amountDisplayString": {
          "type": "string",
          "description": "A rendered string that displays the fund amount and currency to the user."
        },
        "amountMicros": {
          "type": "string",
          "format": "uint64",
          "description": "The amount purchased by the user, in micros (1,750,000 micros = 1.75)."
        },
        "currency": {
          "description": "The currency in which the purchase was made.",
          "type": "string"
        },
        "userComment": {
          "description": "The comment added by the user to this Super Chat event.",
          "type": "string"
        },
        "tier": {
          "type": "integer",
          "format": "uint32",
          "description": "The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1."
        }
      }
    },
    "MembershipsLevelListResponse": {
      "id": "MembershipsLevelListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "eventId": {
          "deprecated": true,
          "type": "string",
          "description": "Serialized EventId of the request which produced this response."
        },
        "visitorId": {
          "deprecated": true,
          "type": "string",
          "description": "The visitorId identifies the visitor."
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#membershipsLevelListResponse\".",
          "default": "youtube#membershipsLevelListResponse"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "MembershipsLevel"
          },
          "description": "A list of pricing levels offered by a creator to the fans."
        }
      }
    },
    "LiveStreamStatus": {
      "description": "Brief description of the live stream status.",
      "id": "LiveStreamStatus",
      "type": "object",
      "properties": {
        "streamStatus": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "created",
            "ready",
            "active",
            "inactive",
            "error"
          ]
        },
        "healthStatus": {
          "description": "The health status of the stream.",
          "$ref": "LiveStreamHealthStatus"
        }
      }
    },
    "LiveChatPollDetailsPollMetadata": {
      "id": "LiveChatPollDetailsPollMetadata",
      "type": "object",
      "properties": {
        "questionText": {
          "type": "string"
        },
        "options": {
          "description": "The options will be returned in the order that is displayed in 1P",
          "type": "array",
          "items": {
            "$ref": "LiveChatPollDetailsPollMetadataPollOption"
          }
        }
      }
    },
    "PlaylistListResponse": {
      "id": "PlaylistListResponse",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "Playlist"
          },
          "description": "A list of playlists that match the request criteria"
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "eventId": {
          "type": "string",
          "description": "Serialized EventId of the request which produced this response.",
          "deprecated": true
        },
        "visitorId": {
          "deprecated": true,
          "description": "The visitorId identifies the visitor.",
          "type": "string"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistListResponse\".",
          "default": "youtube#playlistListResponse"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "prevPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.",
          "type": "string"
        }
      }
    },
    "LiveStream": {
      "id": "LiveStream",
      "type": "object",
      "properties": {
        "id": {
          "description": "The ID that YouTube assigns to uniquely identify the stream.",
          "annotations": {
            "required": [
              "youtube.liveStreams.update"
            ]
          },
          "type": "string"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the stream, including its channel, title, and description.",
          "$ref": "LiveStreamSnippet"
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "status": {
          "description": "The status object contains information about live stream's status.",
          "$ref": "LiveStreamStatus"
        },
        "kind": {
          "default": "youtube#liveStream",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveStream\".",
          "type": "string"
        },
        "cdn": {
          "description": "The cdn object defines the live stream's content delivery network (CDN) settings. These settings provide details about the manner in which you stream your content to YouTube.",
          "$ref": "CdnSettings"
        },
        "contentDetails": {
          "description": "The content_details object contains information about the stream, including the closed captions ingestion URL.",
          "$ref": "LiveStreamContentDetails"
        }
      },
      "description": "A live stream describes a live ingestion point."
    },
    "RelatedEntity": {
      "id": "RelatedEntity",
      "type": "object",
      "properties": {
        "entity": {
          "$ref": "Entity"
        }
      }
    },
    "LiveChatUserBannedMessageDetails": {
      "id": "LiveChatUserBannedMessageDetails",
      "type": "object",
      "properties": {
        "bannedUserDetails": {
          "description": "The details of the user that was banned.",
          "$ref": "ChannelProfileDetails"
        },
        "banDurationSeconds": {
          "type": "string",
          "format": "uint64",
          "description": "The duration of the ban. This property is only present if the banType is temporary."
        },
        "banType": {
          "description": "The type of ban.",
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "permanent",
            "temporary"
          ]
        }
      }
    },
    "ContentRating": {
      "description": "Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange",
      "id": "ContentRating",
      "type": "object",
      "properties": {
        "kfcbRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "GE",
            "PG",
            "16",
            "18",
            ""
          ],
          "enum": [
            "kfcbUnspecified",
            "kfcbG",
            "kfcbPg",
            "kfcb16plus",
            "kfcbR",
            "kfcbUnrated"
          ],
          "description": "The video's rating from the Kenya Film Classification Board."
        },
        "egfilmRating": {
          "description": "The video's rating in Egypt.",
          "type": "string",
          "enumDescriptions": [
            "",
            "GN",
            "18",
            "BN",
            ""
          ],
          "enum": [
            "egfilmUnspecified",
            "egfilmGn",
            "egfilm18",
            "egfilmBn",
            "egfilmUnrated"
          ]
        },
        "grfilmRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "K",
            "E",
            "K-12",
            "K-13",
            "K-15",
            "K-17",
            "K-18",
            ""
          ],
          "enum": [
            "grfilmUnspecified",
            "grfilmK",
            "grfilmE",
            "grfilmK12",
            "grfilmK13",
            "grfilmK15",
            "grfilmK17",
            "grfilmK18",
            "grfilmUnrated"
          ],
          "description": "The video's rating in Greece."
        },
        "menaMpaaRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "PG-13",
            "R",
            "To keep the same enum values as MPAA's items have, skip NC_17."
          ],
          "enum": [
            "menaMpaaUnspecified",
            "menaMpaaG",
            "menaMpaaPg",
            "menaMpaaPg13",
            "menaMpaaR",
            "menaMpaaUnrated"
          ],
          "description": "The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details."
        },
        "cicfRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "E",
            "KT/EA",
            "KNT/ENA",
            ""
          ],
          "enum": [
            "cicfUnspecified",
            "cicfE",
            "cicfKtEa",
            "cicfKntEna",
            "cicfUnrated"
          ],
          "description": "The video's rating from the Commission de Contrôle des Films (Belgium)."
        },
        "pefilmRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "PT",
            "PG",
            "14",
            "18",
            ""
          ],
          "enum": [
            "pefilmUnspecified",
            "pefilmPt",
            "pefilmPg",
            "pefilm14",
            "pefilm18",
            "pefilmUnrated"
          ],
          "description": "The video's rating in Peru."
        },
        "nmcRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "PG-13",
            "PG-15",
            "15+",
            "18+",
            "18TC",
            ""
          ],
          "enum": [
            "nmcUnspecified",
            "nmcG",
            "nmcPg",
            "nmcPg13",
            "nmcPg15",
            "nmc15plus",
            "nmc18plus",
            "nmc18tc",
            "nmcUnrated"
          ],
          "description": "The National Media Council ratings system for United Arab Emirates."
        },
        "cccRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "Todo espectador",
            "6+ - Inconveniente para menores de 7 años",
            "14+",
            "18+",
            "18+ - contenido excesivamente violento",
            "18+ - contenido pornográfico",
            ""
          ],
          "enum": [
            "cccUnspecified",
            "cccTe",
            "ccc6",
            "ccc14",
            "ccc18",
            "ccc18v",
            "ccc18s",
            "cccUnrated"
          ],
          "description": "The video's Consejo de Calificación Cinematográfica (Chile) rating."
        },
        "cscfRating": {
          "description": "The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).",
          "type": "string",
          "enumDescriptions": [
            "",
            "AL",
            "A",
            "6",
            "9",
            "12",
            "16",
            "18",
            ""
          ],
          "enum": [
            "cscfUnspecified",
            "cscfAl",
            "cscfA",
            "cscf6",
            "cscf9",
            "cscf12",
            "cscf16",
            "cscf18",
            "cscfUnrated"
          ]
        },
        "mtrcbRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "R-13",
            "R-16",
            "R-18",
            "X",
            ""
          ],
          "enum": [
            "mtrcbUnspecified",
            "mtrcbG",
            "mtrcbPg",
            "mtrcbR13",
            "mtrcbR16",
            "mtrcbR18",
            "mtrcbX",
            "mtrcbUnrated"
          ],
          "description": "The video's rating from the Movie and Television Review and Classification Board (Philippines)."
        },
        "bbfcRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "U",
            "PG",
            "12A",
            "12",
            "15",
            "18",
            "R18",
            ""
          ],
          "enum": [
            "bbfcUnspecified",
            "bbfcU",
            "bbfcPg",
            "bbfc12a",
            "bbfc12",
            "bbfc15",
            "bbfc18",
            "bbfcR18",
            "bbfcUnrated"
          ],
          "description": "The video's British Board of Film Classification (BBFC) rating."
        },
        "tvpgRating": {
          "description": "The video's TV Parental Guidelines (TVPG) rating.",
          "type": "string",
          "enumDescriptions": [
            "",
            "TV-Y",
            "TV-Y7",
            "TV-Y7-FV",
            "TV-G",
            "TV-PG",
            "TV-14",
            "TV-MA",
            ""
          ],
          "enum": [
            "tvpgUnspecified",
            "tvpgY",
            "tvpgY7",
            "tvpgY7Fv",
            "tvpgG",
            "tvpgPg",
            "pg14",
            "tvpgMa",
            "tvpgUnrated"
          ]
        },
        "nfvcbRating": {
          "description": "The video's rating from Nigeria's National Film and Video Censors Board.",
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "12",
            "12A",
            "15",
            "18",
            "RE",
            ""
          ],
          "enum": [
            "nfvcbUnspecified",
            "nfvcbG",
            "nfvcbPg",
            "nfvcb12",
            "nfvcb12a",
            "nfvcb15",
            "nfvcb18",
            "nfvcbRe",
            "nfvcbUnrated"
          ]
        },
        "incaaRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "ATP (Apta para todo publico)",
            "13 (Solo apta para mayores de 13 años)",
            "16 (Solo apta para mayores de 16 años)",
            "18 (Solo apta para mayores de 18 años)",
            "X (Solo apta para mayores de 18 años, de exhibición condicionada)",
            ""
          ],
          "enum": [
            "incaaUnspecified",
            "incaaAtp",
            "incaaSam13",
            "incaaSam16",
            "incaaSam18",
            "incaaC",
            "incaaUnrated"
          ],
          "description": "The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating."
        },
        "cncRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "T",
            "10",
            "12",
            "16",
            "18",
            "E",
            "interdiction",
            ""
          ],
          "enum": [
            "cncUnspecified",
            "cncT",
            "cnc10",
            "cnc12",
            "cnc16",
            "cnc18",
            "cncE",
            "cncInterdiction",
            "cncUnrated"
          ],
          "description": "Rating system in France - Commission de classification cinematographique"
        },
        "nbcRating": {
          "description": "The video's rating from the Maldives National Bureau of Classification.",
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "12+",
            "15+",
            "18+",
            "18+R",
            "PU",
            ""
          ],
          "enum": [
            "nbcUnspecified",
            "nbcG",
            "nbcPg",
            "nbc12plus",
            "nbc15plus",
            "nbc18plus",
            "nbc18plusr",
            "nbcPu",
            "nbcUnrated"
          ]
        },
        "fskRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "FSK 0",
            "FSK 6",
            "FSK 12",
            "FSK 16",
            "FSK 18",
            ""
          ],
          "enum": [
            "fskUnspecified",
            "fsk0",
            "fsk6",
            "fsk12",
            "fsk16",
            "fsk18",
            "fskUnrated"
          ],
          "description": "The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating."
        },
        "resorteviolenciaRating": {
          "description": "The video's rating in Venezuela.",
          "type": "string",
          "enumDescriptions": [
            "",
            "A",
            "B",
            "C",
            "D",
            "E",
            ""
          ],
          "enum": [
            "resorteviolenciaUnspecified",
            "resorteviolenciaA",
            "resorteviolenciaB",
            "resorteviolenciaC",
            "resorteviolenciaD",
            "resorteviolenciaE",
            "resorteviolenciaUnrated"
          ]
        },
        "fcoRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "I",
            "IIA",
            "IIB",
            "II",
            "III",
            ""
          ],
          "enum": [
            "fcoUnspecified",
            "fcoI",
            "fcoIia",
            "fcoIib",
            "fcoIi",
            "fcoIii",
            "fcoUnrated"
          ],
          "description": "The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration."
        },
        "fpbRatingReasons": {
          "description": "Reasons that explain why the video received its FPB (South Africa) rating.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "",
              "South Africa rating content descriptors.",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ],
            "enum": [
              "fpbRatingReasonUnspecified",
              "fpbBlasphemy",
              "fpbLanguage",
              "fpbNudity",
              "fpbPrejudice",
              "fpbSex",
              "fpbViolence",
              "fpbDrugs",
              "fpbSexualViolence",
              "fpbHorror",
              "fpbCriminalTechniques",
              "fpbImitativeActsTechniques"
            ]
          }
        },
        "cbfcRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "U",
            "U/A",
            "U/A 7+",
            "U/A 13+",
            "U/A 16+",
            "A",
            "S",
            ""
          ],
          "enum": [
            "cbfcUnspecified",
            "cbfcU",
            "cbfcUA",
            "cbfcUA7plus",
            "cbfcUA13plus",
            "cbfcUA16plus",
            "cbfcA",
            "cbfcS",
            "cbfcUnrated"
          ],
          "description": "The video's Central Board of Film Certification (CBFC - India) rating."
        },
        "eefilmRating": {
          "description": "The video's rating in Estonia.",
          "type": "string",
          "enumDescriptions": [
            "",
            "Pere",
            "L",
            "MS-6",
            "K-6",
            "MS-12",
            "K-12",
            "K-14",
            "K-16",
            ""
          ],
          "enum": [
            "eefilmUnspecified",
            "eefilmPere",
            "eefilmL",
            "eefilmMs6",
            "eefilmK6",
            "eefilmMs12",
            "eefilmK12",
            "eefilmK14",
            "eefilmK16",
            "eefilmUnrated"
          ]
        },
        "acbRating": {
          "description": "The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.",
          "type": "string",
          "enumDescriptions": [
            "",
            "E",
            "Programs that have been given a P classification by the Australian Communications and Media Authority. These programs are intended for preschool children.",
            "Programs that have been given a C classification by the Australian Communications and Media Authority. These programs are intended for children (other than preschool children) who are younger than 14 years of age.",
            "G",
            "PG",
            "M",
            "MA15+",
            "R18+",
            ""
          ],
          "enum": [
            "acbUnspecified",
            "acbE",
            "acbP",
            "acbC",
            "acbG",
            "acbPg",
            "acbM",
            "acbMa15plus",
            "acbR18plus",
            "acbUnrated"
          ]
        },
        "mdaRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "PG13",
            "NC16",
            "M18",
            "R21",
            ""
          ],
          "enum": [
            "mdaUnspecified",
            "mdaG",
            "mdaPg",
            "mdaPg13",
            "mdaNc16",
            "mdaM18",
            "mdaR21",
            "mdaUnrated"
          ],
          "description": "The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC)."
        },
        "lsfRating": {
          "description": "The video's rating from Indonesia's Lembaga Sensor Film.",
          "type": "string",
          "enumDescriptions": [
            "",
            "SU",
            "A",
            "BO",
            "13",
            "R",
            "17",
            "D",
            "21",
            ""
          ],
          "enum": [
            "lsfUnspecified",
            "lsfSu",
            "lsfA",
            "lsfBo",
            "lsf13",
            "lsfR",
            "lsf17",
            "lsfD",
            "lsf21",
            "lsfUnrated"
          ],
          "enumDeprecated": [
            false,
            false,
            false,
            true,
            false,
            true,
            false,
            true,
            false,
            true
          ]
        },
        "chfilmRating": {
          "description": "The video's rating in Switzerland.",
          "type": "string",
          "enumDescriptions": [
            "",
            "0",
            "6",
            "12",
            "16",
            "18",
            ""
          ],
          "enum": [
            "chfilmUnspecified",
            "chfilm0",
            "chfilm6",
            "chfilm12",
            "chfilm16",
            "chfilm18",
            "chfilmUnrated"
          ]
        },
        "ytRating": {
          "description": "A rating that YouTube uses to identify age-restricted content.",
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "ytUnspecified",
            "ytAgeRestricted"
          ]
        },
        "rtcRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "AA",
            "A",
            "B",
            "B15",
            "C",
            "D",
            ""
          ],
          "enum": [
            "rtcUnspecified",
            "rtcAa",
            "rtcA",
            "rtcB",
            "rtcB15",
            "rtcC",
            "rtcD",
            "rtcUnrated"
          ],
          "description": "The video's General Directorate of Radio, Television and Cinematography (Mexico) rating."
        },
        "oflcRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "M",
            "R13",
            "R15",
            "R16",
            "R18",
            "",
            "RP13",
            "RP16",
            "RP18"
          ],
          "enum": [
            "oflcUnspecified",
            "oflcG",
            "oflcPg",
            "oflcM",
            "oflcR13",
            "oflcR15",
            "oflcR16",
            "oflcR18",
            "oflcUnrated",
            "oflcRp13",
            "oflcRp16",
            "oflcRp18"
          ],
          "description": "The video's Office of Film and Literature Classification (OFLC - New Zealand) rating."
        },
        "mocRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "E",
            "T",
            "7",
            "12",
            "15",
            "18",
            "X",
            "Banned",
            ""
          ],
          "enum": [
            "mocUnspecified",
            "mocE",
            "mocT",
            "moc7",
            "moc12",
            "moc15",
            "moc18",
            "mocX",
            "mocBanned",
            "mocUnrated"
          ],
          "description": "The video's Ministerio de Cultura (Colombia) rating."
        },
        "ilfilmRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "AA",
            "12",
            "14",
            "16",
            "18",
            ""
          ],
          "enum": [
            "ilfilmUnspecified",
            "ilfilmAa",
            "ilfilm12",
            "ilfilm14",
            "ilfilm16",
            "ilfilm18",
            "ilfilmUnrated"
          ],
          "description": "The video's rating in Israel."
        },
        "mccaaRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "U",
            "PG",
            "12A",
            "12",
            "14 - this rating was removed from the new classification structure introduced in 2013.",
            "15",
            "16 - this rating was removed from the new classification structure introduced in 2013.",
            "18",
            ""
          ],
          "enum": [
            "mccaaUnspecified",
            "mccaaU",
            "mccaaPg",
            "mccaa12a",
            "mccaa12",
            "mccaa14",
            "mccaa15",
            "mccaa16",
            "mccaa18",
            "mccaaUnrated"
          ],
          "description": "The video's rating from Malta's Film Age-Classification Board."
        },
        "skfilmRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "P2",
            "P5",
            "P8",
            ""
          ],
          "enum": [
            "skfilmUnspecified",
            "skfilmG",
            "skfilmP2",
            "skfilmP5",
            "skfilmP8",
            "skfilmUnrated"
          ],
          "description": "The video's rating in Slovakia."
        },
        "catvRating": {
          "description": "Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.",
          "type": "string",
          "enumDescriptions": [
            "",
            "C",
            "C8",
            "G",
            "PG",
            "14+",
            "18+",
            "",
            ""
          ],
          "enum": [
            "catvUnspecified",
            "catvC",
            "catvC8",
            "catvG",
            "catvPg",
            "catv14plus",
            "catv18plus",
            "catvUnrated",
            "catvE"
          ]
        },
        "nfrcRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "A",
            "B",
            "C",
            "D",
            "X",
            ""
          ],
          "enum": [
            "nfrcUnspecified",
            "nfrcA",
            "nfrcB",
            "nfrcC",
            "nfrcD",
            "nfrcX",
            "nfrcUnrated"
          ],
          "description": "The video's rating from the Bulgarian National Film Center."
        },
        "smaisRating": {
          "description": "The video's rating in Iceland.",
          "type": "string",
          "enumDescriptions": [
            "",
            "L",
            "7",
            "12",
            "14",
            "16",
            "18",
            ""
          ],
          "enum": [
            "smaisUnspecified",
            "smaisL",
            "smais7",
            "smais12",
            "smais14",
            "smais16",
            "smais18",
            "smaisUnrated"
          ]
        },
        "cnaRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "AP",
            "12",
            "15",
            "18",
            "18+",
            ""
          ],
          "enum": [
            "cnaUnspecified",
            "cnaAp",
            "cna12",
            "cna15",
            "cna18",
            "cna18plus",
            "cnaUnrated"
          ],
          "description": "The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA)."
        },
        "kijkwijzerRating": {
          "description": "The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).",
          "type": "string",
          "enumDescriptions": [
            "",
            "AL",
            "6",
            "9",
            "12",
            "16",
            "",
            ""
          ],
          "enum": [
            "kijkwijzerUnspecified",
            "kijkwijzerAl",
            "kijkwijzer6",
            "kijkwijzer9",
            "kijkwijzer12",
            "kijkwijzer16",
            "kijkwijzer18",
            "kijkwijzerUnrated"
          ]
        },
        "chvrsRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "14A",
            "18A",
            "R",
            "E",
            ""
          ],
          "enum": [
            "chvrsUnspecified",
            "chvrsG",
            "chvrsPg",
            "chvrs14a",
            "chvrs18a",
            "chvrsR",
            "chvrsE",
            "chvrsUnrated"
          ],
          "description": "The video's Canadian Home Video Rating System (CHVRS) rating."
        },
        "mpaaRating": {
          "description": "The video's Motion Picture Association of America (MPAA) rating.",
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "PG-13",
            "R",
            "NC-17",
            "! X",
            ""
          ],
          "enum": [
            "mpaaUnspecified",
            "mpaaG",
            "mpaaPg",
            "mpaaPg13",
            "mpaaR",
            "mpaaNc17",
            "mpaaX",
            "mpaaUnrated"
          ]
        },
        "fpbRating": {
          "description": "The video's rating from South Africa's Film and Publication Board.",
          "type": "string",
          "enumDescriptions": [
            "",
            "A",
            "PG",
            "7-9PG",
            "10-12PG",
            "13",
            "16",
            "18",
            "X18",
            "XX",
            "",
            "10"
          ],
          "enum": [
            "fpbUnspecified",
            "fpbA",
            "fpbPg",
            "fpb79Pg",
            "fpb1012Pg",
            "fpb13",
            "fpb16",
            "fpb18",
            "fpbX18",
            "fpbXx",
            "fpbUnrated",
            "fpb10"
          ]
        },
        "nbcplRating": {
          "description": "The video's rating in Poland.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "nbcplUnspecified",
            "nbcplI",
            "nbcplIi",
            "nbcplIii",
            "nbcplIv",
            "nbcpl18plus",
            "nbcplUnrated"
          ]
        },
        "bfvcRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "E",
            "13",
            "15",
            "18",
            "20",
            "B",
            ""
          ],
          "enum": [
            "bfvcUnspecified",
            "bfvcG",
            "bfvcE",
            "bfvc13",
            "bfvc15",
            "bfvc18",
            "bfvc20",
            "bfvcB",
            "bfvcUnrated"
          ],
          "description": "The video's rating from Thailand's Board of Film and Video Censors."
        },
        "mibacRating": {
          "description": "The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "mibacUnspecified",
            "mibacT",
            "mibacVap",
            "mibacVm6",
            "mibacVm12",
            "mibacVm14",
            "mibacVm16",
            "mibacVm18",
            "mibacUnrated"
          ]
        },
        "moctwRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "P",
            "PG",
            "R",
            "",
            "R-12",
            "R-15"
          ],
          "enum": [
            "moctwUnspecified",
            "moctwG",
            "moctwP",
            "moctwPg",
            "moctwR",
            "moctwUnrated",
            "moctwR12",
            "moctwR15"
          ],
          "description": "The video's rating from Taiwan's Ministry of Culture (文化部)."
        },
        "rteRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "GA",
            "CH",
            "PS",
            "MA",
            ""
          ],
          "enum": [
            "rteUnspecified",
            "rteGa",
            "rteCh",
            "rtePs",
            "rteMa",
            "rteUnrated"
          ],
          "description": "The video's rating from Ireland's Raidió Teilifís Éireann."
        },
        "mcstRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "P",
            "0",
            "C13",
            "C16",
            "16+",
            "C18",
            "MCST_G_PG",
            ""
          ],
          "enum": [
            "mcstUnspecified",
            "mcstP",
            "mcst0",
            "mcstC13",
            "mcstC16",
            "mcst16plus",
            "mcstC18",
            "mcstGPg",
            "mcstUnrated"
          ],
          "description": "The video's rating system for Vietnam - MCST"
        },
        "mpaatRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "GB",
            "RB"
          ],
          "enum": [
            "mpaatUnspecified",
            "mpaatGb",
            "mpaatRb"
          ],
          "description": "The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html."
        },
        "agcomRating": {
          "description": "The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).",
          "type": "string",
          "enumDescriptions": [
            "",
            "T",
            "VM14",
            "VM18",
            ""
          ],
          "enum": [
            "agcomUnspecified",
            "agcomT",
            "agcomVm14",
            "agcomVm18",
            "agcomUnrated"
          ]
        },
        "bmukkRating": {
          "description": "The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).",
          "type": "string",
          "enumDescriptions": [
            "",
            "Unrestricted",
            "6+",
            "8+",
            "10+",
            "12+",
            "14+",
            "16+",
            ""
          ],
          "enum": [
            "bmukkUnspecified",
            "bmukkAa",
            "bmukk6",
            "bmukk8",
            "bmukk10",
            "bmukk12",
            "bmukk14",
            "bmukk16",
            "bmukkUnrated"
          ]
        },
        "ifcoRating": {
          "description": "The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.",
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG",
            "12",
            "12A",
            "15",
            "15A",
            "16",
            "18",
            ""
          ],
          "enum": [
            "ifcoUnspecified",
            "ifcoG",
            "ifcoPg",
            "ifco12",
            "ifco12a",
            "ifco15",
            "ifco15a",
            "ifco16",
            "ifco18",
            "ifcoUnrated"
          ]
        },
        "rcnofRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "rcnofUnspecified",
            "rcnofI",
            "rcnofIi",
            "rcnofIii",
            "rcnofIv",
            "rcnofV",
            "rcnofVi",
            "rcnofUnrated"
          ],
          "description": "The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film."
        },
        "czfilmRating": {
          "description": "The video's rating in the Czech Republic.",
          "type": "string",
          "enumDescriptions": [
            "",
            "U",
            "12",
            "14",
            "18",
            ""
          ],
          "enum": [
            "czfilmUnspecified",
            "czfilmU",
            "czfilm12",
            "czfilm14",
            "czfilm18",
            "czfilmUnrated"
          ]
        },
        "djctqRating": {
          "description": "The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.",
          "type": "string",
          "enumDescriptions": [
            "",
            "L",
            "10",
            "12",
            "14",
            "16",
            "18",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "djctqUnspecified",
            "djctqL",
            "djctq10",
            "djctq12",
            "djctq14",
            "djctq16",
            "djctq18",
            "djctqEr",
            "djctqL10",
            "djctqL12",
            "djctqL14",
            "djctqL16",
            "djctqL18",
            "djctq1012",
            "djctq1014",
            "djctq1016",
            "djctq1018",
            "djctq1214",
            "djctq1216",
            "djctq1218",
            "djctq1416",
            "djctq1418",
            "djctq1618",
            "djctqUnrated"
          ]
        },
        "catvfrRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "8+",
            "13+",
            "16+",
            "18+",
            "",
            ""
          ],
          "enum": [
            "catvfrUnspecified",
            "catvfrG",
            "catvfr8plus",
            "catvfr13plus",
            "catvfr16plus",
            "catvfr18plus",
            "catvfrUnrated",
            "catvfrE"
          ],
          "description": "The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website."
        },
        "mekuRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "S",
            "7",
            "12",
            "16",
            "18",
            ""
          ],
          "enum": [
            "mekuUnspecified",
            "mekuS",
            "meku7",
            "meku12",
            "meku16",
            "meku18",
            "mekuUnrated"
          ],
          "description": "The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute)."
        },
        "eirinRating": {
          "description": "The video's Eirin (映倫) rating. Eirin is the Japanese rating system.",
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "PG-12",
            "R15+",
            "R18+",
            ""
          ],
          "enum": [
            "eirinUnspecified",
            "eirinG",
            "eirinPg12",
            "eirinR15plus",
            "eirinR18plus",
            "eirinUnrated"
          ]
        },
        "csaRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "T",
            "10",
            "12",
            "16",
            "18",
            "Interdiction",
            ""
          ],
          "enum": [
            "csaUnspecified",
            "csaT",
            "csa10",
            "csa12",
            "csa16",
            "csa18",
            "csaInterdiction",
            "csaUnrated"
          ],
          "description": "The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content."
        },
        "smsaRating": {
          "description": "The video's rating from Statens medieråd (Sweden's National Media Council).",
          "type": "string",
          "enumDescriptions": [
            "",
            "All ages",
            "7",
            "11",
            "15",
            ""
          ],
          "enum": [
            "smsaUnspecified",
            "smsaA",
            "smsa7",
            "smsa11",
            "smsa15",
            "smsaUnrated"
          ]
        },
        "russiaRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "0+",
            "6+",
            "12+",
            "16+",
            "18+",
            ""
          ],
          "enum": [
            "russiaUnspecified",
            "russia0",
            "russia6",
            "russia12",
            "russia16",
            "russia18",
            "russiaUnrated"
          ],
          "description": "The video's National Film Registry of the Russian Federation (MKRF - Russia) rating."
        },
        "anatelRating": {
          "description": "The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.",
          "type": "string",
          "enumDescriptions": [
            "",
            "F",
            "I",
            "I-7",
            "I-10",
            "I-12",
            "R",
            "A",
            ""
          ],
          "enum": [
            "anatelUnspecified",
            "anatelF",
            "anatelI",
            "anatelI7",
            "anatelI10",
            "anatelI12",
            "anatelR",
            "anatelA",
            "anatelUnrated"
          ]
        },
        "mccypRating": {
          "description": "The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.",
          "type": "string",
          "enumDescriptions": [
            "",
            "A",
            "7",
            "11",
            "15",
            ""
          ],
          "enum": [
            "mccypUnspecified",
            "mccypA",
            "mccyp7",
            "mccyp11",
            "mccyp15",
            "mccypUnrated"
          ]
        },
        "medietilsynetRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "A",
            "6",
            "7",
            "9",
            "11",
            "12",
            "15",
            "18",
            ""
          ],
          "enum": [
            "medietilsynetUnspecified",
            "medietilsynetA",
            "medietilsynet6",
            "medietilsynet7",
            "medietilsynet9",
            "medietilsynet11",
            "medietilsynet12",
            "medietilsynet15",
            "medietilsynet18",
            "medietilsynetUnrated"
          ],
          "description": "The video's rating from Medietilsynet, the Norwegian Media Authority."
        },
        "ecbmctRating": {
          "description": "Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism",
          "type": "string",
          "enumDescriptions": [
            "",
            "G",
            "7A",
            "7+",
            "13A",
            "13+",
            "15A",
            "15+",
            "18+",
            ""
          ],
          "enum": [
            "ecbmctUnspecified",
            "ecbmctG",
            "ecbmct7a",
            "ecbmct7plus",
            "ecbmct13a",
            "ecbmct13plus",
            "ecbmct15a",
            "ecbmct15plus",
            "ecbmct18plus",
            "ecbmctUnrated"
          ]
        },
        "icaaRating": {
          "description": "The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.",
          "type": "string",
          "enumDescriptions": [
            "",
            "APTA",
            "7",
            "12",
            "13",
            "16",
            "18",
            "X",
            ""
          ],
          "enum": [
            "icaaUnspecified",
            "icaaApta",
            "icaa7",
            "icaa12",
            "icaa13",
            "icaa16",
            "icaa18",
            "icaaX",
            "icaaUnrated"
          ]
        },
        "cceRating": {
          "type": "string",
          "enumDescriptions": [
            "",
            "4",
            "6",
            "12",
            "16",
            "18",
            "",
            "14"
          ],
          "enum": [
            "cceUnspecified",
            "cceM4",
            "cceM6",
            "cceM12",
            "cceM16",
            "cceM18",
            "cceUnrated",
            "cceM14"
          ],
          "description": "The video's rating from Portugal's Comissão de Classificação de Espect´culos."
        },
        "fcbmRating": {
          "description": "The video's rating from Malaysia's Film Censorship Board.",
          "type": "string",
          "enumDescriptions": [
            "",
            "U",
            "PG13",
            "P13",
            "18",
            "18SX",
            "18PA",
            "18SG",
            "18PL",
            ""
          ],
          "enum": [
            "fcbmUnspecified",
            "fcbmU",
            "fcbmPg13",
            "fcbmP13",
            "fcbm18",
            "fcbm18sx",
            "fcbm18pa",
            "fcbm18sg",
            "fcbm18pl",
            "fcbmUnrated"
          ]
        },
        "fmocRating": {
          "description": "This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.",
          "deprecated": true,
          "type": "string",
          "enumDescriptions": [
            "",
            "U",
            "10",
            "12",
            "16",
            "18",
            "E",
            ""
          ],
          "enum": [
            "fmocUnspecified",
            "fmocU",
            "fmoc10",
            "fmoc12",
            "fmoc16",
            "fmoc18",
            "fmocE",
            "fmocUnrated"
          ]
        },
        "djctqRatingReasons": {
          "description": "Reasons that explain why the video received its DJCQT (Brazil) rating.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "",
              "Brazil rating content descriptors. See http://go/brazilratings section F. Violência (Violence)",
              "Violência extrema (Extreme violence)",
              "Conteúdo sexual (Sexual content)",
              "Nudez (Nudity)",
              "Sexo (Sex)",
              "Sexo Explícito (Explicit sex)",
              "Drogas (Drugs)",
              "Drogas Lícitas (Legal drugs)",
              "Drogas Ilícitas (Illegal drugs)",
              "Linguagem Imprópria (Inappropriate language)",
              "Atos Criminosos (Criminal Acts)",
              "Conteúdo Impactante (Impacting content)",
              "Temer (Fear)",
              "Procedimentos médicos (Medical Procedures)",
              "Tópicos sensíveis (Sensitive Topics)",
              "Fantasia Violência (Fantasy Violence)"
            ],
            "enum": [
              "djctqRatingReasonUnspecified",
              "djctqViolence",
              "djctqExtremeViolence",
              "djctqSexualContent",
              "djctqNudity",
              "djctqSex",
              "djctqExplicitSex",
              "djctqDrugs",
              "djctqLegalDrugs",
              "djctqIllegalDrugs",
              "djctqInappropriateLanguage",
              "djctqCriminalActs",
              "djctqImpactingContent",
              "djctqFear",
              "djctqMedicalProcedures",
              "djctqSensitiveTopics",
              "djctqFantasyViolence"
            ]
          }
        },
        "kmrbRating": {
          "description": "The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.",
          "type": "string",
          "enumDescriptions": [
            "",
            "전체관람가",
            "12세 이상 관람가",
            "15세 이상 관람가",
            "",
            "청소년 관람불가",
            ""
          ],
          "enum": [
            "kmrbUnspecified",
            "kmrbAll",
            "kmrb12plus",
            "kmrb15plus",
            "kmrbTeenr",
            "kmrbR",
            "kmrbUnrated"
          ]
        },
        "nkclvRating": {
          "description": "The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).",
          "type": "string",
          "enumDescriptions": [
            "",
            "U",
            "7+",
            "12+",
            "! 16+",
            "18+",
            ""
          ],
          "enum": [
            "nkclvUnspecified",
            "nkclvU",
            "nkclv7plus",
            "nkclv12plus",
            "nkclv16plus",
            "nkclv18plus",
            "nkclvUnrated"
          ]
        }
      }
    },
    "ChannelSection": {
      "id": "ChannelSection",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "localizations": {
          "additionalProperties": {
            "$ref": "ChannelSectionLocalization"
          },
          "deprecated": true,
          "type": "object",
          "description": "Localizations for different languages"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the channel section, such as its type, style and title.",
          "$ref": "ChannelSectionSnippet"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the channel section."
        },
        "contentDetails": {
          "description": "The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section.",
          "$ref": "ChannelSectionContentDetails"
        },
        "targeting": {
          "description": "The targeting object contains basic targeting settings about the channel section.",
          "deprecated": true,
          "$ref": "ChannelSectionTargeting"
        },
        "kind": {
          "default": "youtube#channelSection",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelSection\"."
        }
      }
    },
    "ActivityContentDetailsFavorite": {
      "description": "Information about a video that was marked as a favorite video.",
      "id": "ActivityContentDetailsFavorite",
      "type": "object",
      "properties": {
        "resourceId": {
          "description": "The resourceId object contains information that identifies the resource that was marked as a favorite.",
          "$ref": "ResourceId"
        }
      }
    },
    "ActivityContentDetailsSubscription": {
      "description": "Information about a channel that a user subscribed to.",
      "id": "ActivityContentDetailsSubscription",
      "type": "object",
      "properties": {
        "resourceId": {
          "description": "The resourceId object contains information that identifies the resource that the user subscribed to.",
          "$ref": "ResourceId"
        }
      }
    },
    "ChannelConversionPings": {
      "description": "The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.",
      "id": "ChannelConversionPings",
      "type": "object",
      "properties": {
        "pings": {
          "description": "Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.",
          "type": "array",
          "items": {
            "$ref": "ChannelConversionPing"
          }
        }
      }
    },
    "ActivityContentDetails": {
      "description": "Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.",
      "id": "ActivityContentDetails",
      "type": "object",
      "properties": {
        "comment": {
          "description": "The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment.",
          "$ref": "ActivityContentDetailsComment"
        },
        "promotedItem": {
          "description": "The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem.",
          "$ref": "ActivityContentDetailsPromotedItem"
        },
        "playlistItem": {
          "description": "The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem.",
          "$ref": "ActivityContentDetailsPlaylistItem"
        },
        "social": {
          "description": "The social object contains details about a social network post. This property is only present if the snippet.type is social.",
          "$ref": "ActivityContentDetailsSocial"
        },
        "like": {
          "description": "The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is like.",
          "$ref": "ActivityContentDetailsLike"
        },
        "recommendation": {
          "description": "The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation.",
          "$ref": "ActivityContentDetailsRecommendation"
        },
        "bulletin": {
          "description": "The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.",
          "$ref": "ActivityContentDetailsBulletin"
        },
        "upload": {
          "description": "The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.",
          "$ref": "ActivityContentDetailsUpload"
        },
        "favorite": {
          "description": "The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is favorite.",
          "$ref": "ActivityContentDetailsFavorite"
        },
        "channelItem": {
          "description": "The channelItem object contains details about a resource which was added to a channel. This property is only present if the snippet.type is channelItem.",
          "$ref": "ActivityContentDetailsChannelItem"
        },
        "subscription": {
          "description": "The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is subscription.",
          "$ref": "ActivityContentDetailsSubscription"
        }
      }
    },
    "PlaylistContentDetails": {
      "id": "PlaylistContentDetails",
      "type": "object",
      "properties": {
        "itemCount": {
          "description": "The number of videos in the playlist.",
          "type": "integer",
          "format": "uint32"
        }
      }
    },
    "VideoListResponse": {
      "id": "VideoListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "prevPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.",
          "type": "string"
        },
        "kind": {
          "default": "youtube#videoListResponse",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoListResponse\"."
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "visitorId": {
          "deprecated": true,
          "type": "string",
          "description": "The visitorId identifies the visitor."
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "Video"
          }
        },
        "nextPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
          "type": "string"
        }
      }
    },
    "LiveChatModeratorListResponse": {
      "id": "LiveChatModeratorListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "prevPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatModeratorListResponse\".",
          "type": "string",
          "default": "youtube#liveChatModeratorListResponse"
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "eventId": {
          "deprecated": true,
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string"
        },
        "visitorId": {
          "type": "string",
          "description": "The visitorId identifies the visitor.",
          "deprecated": true
        },
        "nextPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "LiveChatModerator"
          },
          "description": "A list of moderators that match the request criteria."
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        }
      }
    },
    "SearchResult": {
      "description": "A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.",
      "id": "SearchResult",
      "type": "object",
      "properties": {
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#searchResult\".",
          "type": "string",
          "default": "youtube#searchResult"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "id": {
          "description": "The id object contains information that can be used to uniquely identify the resource that matches the search request.",
          "$ref": "ResourceId"
        },
        "snippet": {
          "description": "The snippet object contains basic details about a search result, such as its title or description. For example, if the search result is a video, then the title will be the video's title and the description will be the video's description.",
          "$ref": "SearchResultSnippet"
        }
      }
    },
    "LiveChatGiftMembershipReceivedDetails": {
      "id": "LiveChatGiftMembershipReceivedDetails",
      "type": "object",
      "properties": {
        "memberLevelName": {
          "description": "The name of the Level at which the viewer is a member. This matches the `snippet.membershipGiftingDetails.giftMembershipsLevelName` of the associated membership gifting message. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.",
          "type": "string"
        },
        "gifterChannelId": {
          "description": "The ID of the user that made the membership gifting purchase. This matches the `snippet.authorChannelId` of the associated membership gifting message.",
          "type": "string"
        },
        "associatedMembershipGiftingMessageId": {
          "description": "The ID of the membership gifting message that is related to this gift membership. This ID will always refer to a message whose type is 'membershipGiftingEvent'.",
          "type": "string"
        }
      }
    },
    "ChannelSectionTargeting": {
      "description": "ChannelSection targeting setting.",
      "id": "ChannelSectionTargeting",
      "type": "object",
      "properties": {
        "languages": {
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The language the channel section is targeting."
        },
        "countries": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The country the channel section is targeting.",
          "deprecated": true
        },
        "regions": {
          "deprecated": true,
          "description": "The region the channel section is targeting.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ThirdPartyLinkSnippet": {
      "id": "ThirdPartyLinkSnippet",
      "type": "object",
      "properties": {
        "type": {
          "description": "Type of the link named after the entities that are being linked.",
          "type": "string",
          "enumDescriptions": [
            "",
            "A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube."
          ],
          "enum": [
            "linkUnspecified",
            "channelToStoreLink"
          ]
        },
        "channelToStoreLink": {
          "description": "Information specific to a link between a channel and a store on a merchandising platform.",
          "$ref": "ChannelToStoreLinkDetails"
        }
      },
      "description": "Basic information about a third party account link, including its type and type-specific information."
    },
    "ImageSettings": {
      "description": "Branding properties for images associated with the channel.",
      "id": "ImageSettings",
      "type": "object",
      "properties": {
        "backgroundImageUrl": {
          "deprecated": true,
          "$ref": "LocalizedProperty",
          "description": "The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k."
        },
        "bannerTvImageUrl": {
          "deprecated": true,
          "type": "string",
          "description": "Banner image. TV size extra high resolution (2120x1192)."
        },
        "trackingImageUrl": {
          "deprecated": true,
          "description": "The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.",
          "type": "string"
        },
        "bannerTabletHdImageUrl": {
          "description": "Banner image. Tablet size high resolution (2276x377).",
          "type": "string",
          "deprecated": true
        },
        "bannerExternalUrl": {
          "description": "This is generated when a ChannelBanner.Insert request has succeeded for the given channel.",
          "type": "string"
        },
        "bannerTabletLowImageUrl": {
          "description": "Banner image. Tablet size low resolution (1138x188).",
          "type": "string",
          "deprecated": true
        },
        "bannerTabletImageUrl": {
          "description": "Banner image. Tablet size (1707x283).",
          "type": "string",
          "deprecated": true
        },
        "bannerMobileExtraHdImageUrl": {
          "description": "Banner image. Mobile size high resolution (1440x395).",
          "type": "string",
          "deprecated": true
        },
        "smallBrandedBannerImageUrl": {
          "deprecated": true,
          "$ref": "LocalizedProperty",
          "description": "The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page. The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot exceed 170 pixels."
        },
        "largeBrandedBannerImageImapScript": {
          "description": "The image map script for the large banner image.",
          "deprecated": true,
          "$ref": "LocalizedProperty"
        },
        "largeBrandedBannerImageUrl": {
          "deprecated": true,
          "$ref": "LocalizedProperty",
          "description": "The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page."
        },
        "bannerTabletExtraHdImageUrl": {
          "description": "Banner image. Tablet size extra high resolution (2560x424).",
          "type": "string",
          "deprecated": true
        },
        "bannerImageUrl": {
          "deprecated": true,
          "type": "string",
          "description": "Banner image. Desktop size (1060x175)."
        },
        "bannerMobileLowImageUrl": {
          "type": "string",
          "description": "Banner image. Mobile size low resolution (320x88).",
          "deprecated": true
        },
        "bannerTvHighImageUrl": {
          "deprecated": true,
          "description": "Banner image. TV size high resolution (1920x1080).",
          "type": "string"
        },
        "bannerMobileMediumHdImageUrl": {
          "deprecated": true,
          "type": "string",
          "description": "Banner image. Mobile size medium/high resolution (960x263)."
        },
        "watchIconImageUrl": {
          "type": "string",
          "deprecated": true
        },
        "bannerMobileHdImageUrl": {
          "deprecated": true,
          "type": "string",
          "description": "Banner image. Mobile size high resolution (1280x360)."
        },
        "smallBrandedBannerImageImapScript": {
          "deprecated": true,
          "$ref": "LocalizedProperty",
          "description": "The image map script for the small banner image."
        },
        "bannerTvLowImageUrl": {
          "description": "Banner image. TV size low resolution (854x480).",
          "type": "string",
          "deprecated": true
        },
        "bannerMobileImageUrl": {
          "description": "Banner image. Mobile size (640x175).",
          "type": "string",
          "deprecated": true
        },
        "bannerTvMediumImageUrl": {
          "type": "string",
          "description": "Banner image. TV size medium resolution (1280x720).",
          "deprecated": true
        }
      }
    },
    "VideoMonetizationDetails": {
      "id": "VideoMonetizationDetails",
      "type": "object",
      "properties": {
        "access": {
          "description": "The value of access indicates whether the video can be monetized or not.",
          "$ref": "AccessPolicy"
        }
      },
      "description": "Details about monetization of a YouTube Video."
    },
    "Comment": {
      "description": "A *comment* represents a single YouTube comment.",
      "id": "Comment",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the comment."
        },
        "snippet": {
          "description": "The snippet object contains basic details about the comment.",
          "$ref": "CommentSnippet"
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#comment\".",
          "type": "string",
          "default": "youtube#comment"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        }
      }
    },
    "ActivityContentDetailsComment": {
      "description": "Information about a resource that received a comment.",
      "id": "ActivityContentDetailsComment",
      "type": "object",
      "properties": {
        "resourceId": {
          "description": "The resourceId object contains information that identifies the resource associated with the comment.",
          "$ref": "ResourceId"
        }
      }
    },
    "ChannelSettings": {
      "id": "ChannelSettings",
      "type": "object",
      "properties": {
        "description": {
          "description": "Specifies the channel description.",
          "type": "string"
        },
        "defaultLanguage": {
          "type": "string"
        },
        "showBrowseView": {
          "deprecated": true,
          "type": "boolean",
          "description": "Whether the tab to browse the videos should be displayed."
        },
        "featuredChannelsUrls": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of featured channels.",
          "deprecated": true
        },
        "trackingAnalyticsAccountId": {
          "type": "string",
          "description": "The ID for a Google Analytics account to track and measure traffic to the channels."
        },
        "moderateComments": {
          "deprecated": true,
          "type": "boolean",
          "description": "Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible."
        },
        "featuredChannelsTitle": {
          "type": "string",
          "description": "Title for the featured channels tab.",
          "deprecated": true
        },
        "country": {
          "type": "string",
          "description": "The country of the channel."
        },
        "unsubscribedTrailer": {
          "type": "string",
          "description": "The trailer of the channel, for users that are not subscribers."
        },
        "showRelatedChannels": {
          "type": "boolean",
          "description": "Whether related channels should be proposed.",
          "deprecated": true
        },
        "keywords": {
          "description": "Lists keywords associated with the channel, comma-separated.",
          "type": "string"
        },
        "profileColor": {
          "deprecated": true,
          "description": "A prominent color that can be rendered on this channel page.",
          "type": "string"
        },
        "defaultTab": {
          "description": "Which content tab users should see when viewing the channel.",
          "type": "string",
          "deprecated": true
        },
        "title": {
          "type": "string",
          "description": "Specifies the channel title."
        }
      },
      "description": "Branding properties for the channel view."
    },
    "VideoCategoryListResponse": {
      "id": "VideoCategoryListResponse",
      "type": "object",
      "properties": {
        "kind": {
          "default": "youtube#videoCategoryListResponse",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoCategoryListResponse\"."
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "prevPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set."
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "nextPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set."
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "VideoCategory"
          },
          "description": "A list of video categories that can be associated with YouTube videos. In this map, the video category ID is the map key, and its value is the corresponding videoCategory resource."
        },
        "visitorId": {
          "deprecated": true,
          "description": "The visitorId identifies the visitor.",
          "type": "string"
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        }
      }
    },
    "VideoStatus": {
      "description": "Basic details about a video category, such as its localized title. Next Id: 19",
      "id": "VideoStatus",
      "type": "object",
      "properties": {
        "failureReason": {
          "description": "This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.",
          "type": "string",
          "enumDescriptions": [
            "Unable to convert video content.",
            "Invalid file format.",
            "Empty file.",
            "File was too small.",
            "Unsupported codec.",
            "Upload wasn't finished."
          ],
          "enum": [
            "conversion",
            "invalidFile",
            "emptyFile",
            "tooSmall",
            "codec",
            "uploadAborted"
          ]
        },
        "publishAt": {
          "description": "The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..",
          "type": "string",
          "format": "date-time"
        },
        "uploadStatus": {
          "description": "The status of the uploaded video.",
          "type": "string",
          "enumDescriptions": [
            "Video has been uploaded but not processed yet.",
            "Video has been successfully processed.",
            "Processing has failed. See FailureReason.",
            "Video has been rejected. See RejectionReason.",
            "Video has been deleted."
          ],
          "enum": [
            "uploaded",
            "processed",
            "failed",
            "rejected",
            "deleted"
          ]
        },
        "madeForKids": {
          "type": "boolean"
        },
        "publicStatsViewable": {
          "type": "boolean",
          "description": "This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update"
        },
        "selfDeclaredMadeForKids": {
          "type": "boolean"
        },
        "license": {
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "youtube",
            "creativeCommon"
          ],
          "description": "The video's license. @mutable youtube.videos.insert youtube.videos.update"
        },
        "rejectionReason": {
          "description": "This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.",
          "type": "string",
          "enumDescriptions": [
            "Copyright infringement.",
            "Inappropriate video content.",
            "Duplicate upload in the same channel.",
            "Terms of use violation.",
            "Uploader account was suspended.",
            "Video duration was too long.",
            "Blocked by content owner.",
            "Uploader closed his/her account.",
            "Trademark infringement.",
            "An unspecified legal reason."
          ],
          "enum": [
            "copyright",
            "inappropriate",
            "duplicate",
            "termsOfUse",
            "uploaderAccountSuspended",
            "length",
            "claim",
            "uploaderAccountClosed",
            "trademark",
            "legal"
          ]
        },
        "privacyStatus": {
          "description": "The video's privacy status.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "public",
            "unlisted",
            "private"
          ]
        },
        "containsSyntheticMedia": {
          "description": "Indicates if the video contains altered or synthetic media.",
          "type": "boolean"
        },
        "embeddable": {
          "description": "This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update",
          "type": "boolean"
        }
      }
    },
    "PageInfo": {
      "id": "PageInfo",
      "type": "object",
      "properties": {
        "totalResults": {
          "description": "The total number of results in the result set.",
          "type": "integer",
          "format": "int32"
        },
        "resultsPerPage": {
          "type": "integer",
          "format": "int32",
          "description": "The number of results included in the API response."
        }
      },
      "description": "Paging details for lists of resources, including total number of items available and number of resources returned in a single page."
    },
    "LocalizedString": {
      "id": "LocalizedString",
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "language": {
          "type": "string"
        }
      }
    },
    "CommentThreadSnippet": {
      "id": "CommentThreadSnippet",
      "type": "object",
      "properties": {
        "totalReplyCount": {
          "description": "The total number of replies (not including the top level comment).",
          "type": "integer",
          "format": "uint32"
        },
        "videoId": {
          "type": "string",
          "description": "The ID of the video the comments refer to, if any."
        },
        "channelId": {
          "description": "The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If neither video_id nor post_id is set the comments refer to the channel itself.",
          "type": "string"
        },
        "postId": {
          "type": "string",
          "description": "The ID of the post the comments refer to, if any."
        },
        "topLevelComment": {
          "description": "The top level comment of this thread.",
          "$ref": "Comment"
        },
        "canReply": {
          "description": "Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.",
          "type": "boolean"
        },
        "isPublic": {
          "type": "boolean",
          "description": "Whether the thread (and therefore all its comments) is visible to all YouTube users."
        }
      },
      "description": "Basic details about a comment thread."
    },
    "I18nRegion": {
      "id": "I18nRegion",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nRegion\".",
          "type": "string",
          "default": "youtube#i18nRegion"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the i18n region, such as region code and human-readable name.",
          "$ref": "I18nRegionSnippet"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the i18n region."
        }
      },
      "description": "A *i18nRegion* resource identifies a region where YouTube is available."
    },
    "MembershipsDetails": {
      "id": "MembershipsDetails",
      "type": "object",
      "properties": {
        "highestAccessibleLevelDisplayName": {
          "type": "string",
          "description": "Display name for the highest level that the user has access to at the moment."
        },
        "accessibleLevels": {
          "description": "Ids of all levels that the user has access to. This includes the currently active level and all other levels that are included because of a higher purchase.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "highestAccessibleLevel": {
          "description": "Id of the highest level that the user has access to at the moment.",
          "type": "string"
        },
        "membershipsDurationAtLevels": {
          "type": "array",
          "items": {
            "$ref": "MembershipsDurationAtLevel"
          },
          "description": "Data about memberships duration on particular pricing levels."
        },
        "membershipsDuration": {
          "description": "Data about memberships duration without taking into consideration pricing levels.",
          "$ref": "MembershipsDuration"
        }
      }
    },
    "LiveStreamConfigurationIssue": {
      "id": "LiveStreamConfigurationIssue",
      "type": "object",
      "properties": {
        "description": {
          "description": "The long-form description of the issue and how to resolve it.",
          "type": "string"
        },
        "type": {
          "description": "The kind of error happening.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "gopSizeOver",
            "gopSizeLong",
            "gopSizeShort",
            "openGop",
            "badContainer",
            "audioBitrateHigh",
            "audioBitrateLow",
            "audioSampleRate",
            "bitrateHigh",
            "bitrateLow",
            "audioCodec",
            "videoCodec",
            "noAudioStream",
            "noVideoStream",
            "multipleVideoStreams",
            "multipleAudioStreams",
            "audioTooManyChannels",
            "interlacedVideo",
            "frameRateHigh",
            "resolutionMismatch",
            "videoCodecMismatch",
            "videoInterlaceMismatch",
            "videoProfileMismatch",
            "videoBitrateMismatch",
            "framerateMismatch",
            "gopMismatch",
            "audioSampleRateMismatch",
            "audioStereoMismatch",
            "audioCodecMismatch",
            "audioBitrateMismatch",
            "videoResolutionSuboptimal",
            "videoResolutionUnsupported",
            "videoIngestionStarved",
            "videoIngestionFasterThanRealtime"
          ]
        },
        "severity": {
          "description": "How severe this issue is to the stream.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "info",
            "warning",
            "error"
          ]
        },
        "reason": {
          "description": "The short-form reason for this issue.",
          "type": "string"
        }
      }
    },
    "PlaylistSnippet": {
      "description": "Basic details about a playlist, including title, description and thumbnails.",
      "id": "PlaylistSnippet",
      "type": "object",
      "properties": {
        "tags": {
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Keyword tags associated with the playlist."
        },
        "thumbnails": {
          "description": "A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.",
          "$ref": "ThumbnailDetails"
        },
        "description": {
          "type": "string",
          "description": "The playlist's description."
        },
        "publishedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the playlist was created."
        },
        "localized": {
          "description": "Localized title and description, read-only.",
          "$ref": "PlaylistLocalization"
        },
        "defaultLanguage": {
          "description": "The language of the playlist's default title and description.",
          "type": "string"
        },
        "channelId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the channel that published the playlist."
        },
        "title": {
          "type": "string",
          "description": "The playlist's title.",
          "annotations": {
            "required": [
              "youtube.playlists.insert",
              "youtube.playlists.update"
            ]
          }
        },
        "thumbnailVideoId": {
          "description": "Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.",
          "type": "string"
        },
        "channelTitle": {
          "type": "string",
          "description": "The channel title of the channel that the video belongs to."
        }
      }
    },
    "VideoCategory": {
      "description": "A *videoCategory* resource identifies a category that has been or could be associated with uploaded videos.",
      "id": "VideoCategory",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoCategory\".",
          "type": "string",
          "default": "youtube#videoCategory"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the video category, including its title.",
          "$ref": "VideoCategorySnippet"
        },
        "id": {
          "description": "The ID that YouTube uses to uniquely identify the video category.",
          "type": "string"
        }
      }
    },
    "LiveChatBan": {
      "id": "LiveChatBan",
      "type": "object",
      "properties": {
        "snippet": {
          "description": "The `snippet` object contains basic details about the ban.",
          "$ref": "LiveChatBanSnippet"
        },
        "id": {
          "description": "The ID that YouTube assigns to uniquely identify the ban.",
          "type": "string"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string `\"youtube#liveChatBan\"`.",
          "default": "youtube#liveChatBan"
        }
      },
      "description": "A `__liveChatBan__` resource represents a ban for a YouTube live chat."
    },
    "LiveChatNewSponsorDetails": {
      "id": "LiveChatNewSponsorDetails",
      "type": "object",
      "properties": {
        "memberLevelName": {
          "description": "The name of the Level that the viewer just had joined. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.",
          "type": "string"
        },
        "isUpgrade": {
          "description": "If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false.",
          "type": "boolean"
        }
      }
    },
    "SubscriptionListResponse": {
      "id": "SubscriptionListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "prevPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set."
        },
        "kind": {
          "default": "youtube#subscriptionListResponse",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#subscriptionListResponse\".",
          "type": "string"
        },
        "visitorId": {
          "deprecated": true,
          "type": "string",
          "description": "The visitorId identifies the visitor."
        },
        "pageInfo": {
          "$ref": "PageInfo"
        },
        "eventId": {
          "deprecated": true,
          "type": "string",
          "description": "Serialized EventId of the request which produced this response."
        },
        "nextPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "Subscription"
          },
          "description": "A list of subscriptions that match the request criteria."
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        }
      }
    },
    "VideoPaidProductPlacementDetails": {
      "id": "VideoPaidProductPlacementDetails",
      "type": "object",
      "properties": {
        "hasPaidProductPlacement": {
          "type": "boolean",
          "description": "This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png"
        }
      },
      "description": "Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner."
    },
    "VideoProjectDetails": {
      "id": "VideoProjectDetails",
      "type": "object",
      "properties": {},
      "description": "DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677"
    },
    "ChannelContentDetails": {
      "id": "ChannelContentDetails",
      "type": "object",
      "properties": {
        "relatedPlaylists": {
          "type": "object",
          "properties": {
            "likes": {
              "type": "string",
              "description": "The ID of the playlist that contains the channel\"s liked videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list."
            },
            "favorites": {
              "deprecated": true,
              "description": "The ID of the playlist that contains the channel\"s favorite videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.",
              "type": "string"
            },
            "watchHistory": {
              "description": "The ID of the playlist that contains the channel\"s watch history. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.",
              "type": "string",
              "deprecated": true
            },
            "watchLater": {
              "type": "string",
              "description": "The ID of the playlist that contains the channel\"s watch later playlist. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.",
              "deprecated": true
            },
            "uploads": {
              "type": "string",
              "description": "The ID of the playlist that contains the channel\"s uploaded videos. Use the videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos."
            }
          }
        }
      },
      "description": "Details about the content of a channel."
    },
    "MemberListResponse": {
      "id": "MemberListResponse",
      "type": "object",
      "properties": {
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "nextPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "Member"
          },
          "description": "A list of members that match the request criteria."
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#memberListResponse\".",
          "default": "youtube#memberListResponse"
        },
        "visitorId": {
          "deprecated": true,
          "description": "The visitorId identifies the visitor.",
          "type": "string"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "eventId": {
          "type": "string",
          "description": "Serialized EventId of the request which produced this response.",
          "deprecated": true
        },
        "pageInfo": {
          "$ref": "PageInfo"
        }
      }
    },
    "MembershipsLevel": {
      "description": "A *membershipsLevel* resource represents an offer made by YouTube creators for their fans. Users can become members of the channel by joining one of the available levels. They will provide recurring monetary support and receives special benefits.",
      "id": "MembershipsLevel",
      "type": "object",
      "properties": {
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#membershipsLevelListResponse\".",
          "type": "string",
          "default": "youtube#membershipsLevel"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "id": {
          "description": "The ID that YouTube assigns to uniquely identify the memberships level.",
          "type": "string"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the level.",
          "$ref": "MembershipsLevelSnippet"
        }
      }
    },
    "SearchListResponse": {
      "id": "SearchListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "prevPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.",
          "type": "string"
        },
        "kind": {
          "default": "youtube#searchListResponse",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#searchListResponse\"."
        },
        "regionCode": {
          "type": "string"
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "eventId": {
          "type": "string",
          "description": "Serialized EventId of the request which produced this response."
        },
        "visitorId": {
          "type": "string",
          "description": "The visitorId identifies the visitor."
        },
        "nextPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "SearchResult"
          },
          "description": "Pagination information for token pagination."
        },
        "tokenPagination": {
          "$ref": "TokenPagination"
        }
      }
    },
    "VideoProcessingDetails": {
      "id": "VideoProcessingDetails",
      "type": "object",
      "properties": {
        "fileDetailsAvailability": {
          "description": "This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request.",
          "type": "string"
        },
        "tagSuggestionsAvailability": {
          "type": "string",
          "description": "This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request."
        },
        "processingFailureReason": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "uploadFailed",
            "transcodeFailed",
            "streamingFailed",
            "other"
          ],
          "description": "The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed."
        },
        "processingProgress": {
          "description": "The processingProgress object contains information about the progress YouTube has made in processing the video. The values are really only relevant if the video's processing status is processing.",
          "$ref": "VideoProcessingDetailsProcessingProgress"
        },
        "processingStatus": {
          "description": "The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "processing",
            "succeeded",
            "failed",
            "terminated"
          ]
        },
        "editorSuggestionsAvailability": {
          "description": "This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.",
          "type": "string"
        },
        "processingIssuesAvailability": {
          "description": "This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.",
          "type": "string"
        },
        "thumbnailsAvailability": {
          "type": "string",
          "description": "This value indicates whether thumbnail images have been generated for the video."
        }
      },
      "description": "Describes processing status and progress and availability of some other Video resource parts."
    },
    "TestItem": {
      "id": "TestItem",
      "type": "object",
      "properties": {
        "featuredPart": {
          "type": "boolean"
        },
        "id": {
          "type": "string"
        },
        "snippet": {
          "$ref": "TestItemTestItemSnippet"
        },
        "gaia": {
          "type": "string",
          "format": "int64"
        },
        "etag": {
          "type": "string",
          "description": "Etag for the resource. See https://en.wikipedia.org/wiki/HTTP_ETag."
        }
      }
    },
    "LiveChatMessageAuthorDetails": {
      "id": "LiveChatMessageAuthorDetails",
      "type": "object",
      "properties": {
        "channelId": {
          "type": "string",
          "description": "The YouTube channel ID."
        },
        "channelUrl": {
          "description": "The channel's URL.",
          "type": "string"
        },
        "displayName": {
          "description": "The channel's display name.",
          "type": "string"
        },
        "isVerified": {
          "description": "Whether the author's identity has been verified by YouTube.",
          "type": "boolean"
        },
        "isChatOwner": {
          "description": "Whether the author is the owner of the live chat.",
          "type": "boolean"
        },
        "profileImageUrl": {
          "description": "The channels's avatar URL.",
          "type": "string"
        },
        "isChatModerator": {
          "description": "Whether the author is a moderator of the live chat.",
          "type": "boolean"
        },
        "isChatSponsor": {
          "description": "Whether the author is a sponsor of the live chat.",
          "type": "boolean"
        }
      }
    },
    "ThirdPartyLinkStatus": {
      "description": "The third-party link status object contains information about the status of the link.",
      "id": "ThirdPartyLinkStatus",
      "type": "object",
      "properties": {
        "linkStatus": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "unknown",
            "failed",
            "pending",
            "linked"
          ]
        }
      }
    },
    "ChannelStatistics": {
      "description": "Statistics about a channel: number of subscribers, number of videos in the channel, etc.",
      "id": "ChannelStatistics",
      "type": "object",
      "properties": {
        "commentCount": {
          "type": "string",
          "format": "uint64",
          "description": "The number of comments for the channel."
        },
        "subscriberCount": {
          "type": "string",
          "format": "uint64",
          "description": "The number of subscribers that the channel has."
        },
        "videoCount": {
          "type": "string",
          "format": "uint64",
          "description": "The number of videos uploaded to the channel."
        },
        "viewCount": {
          "description": "The number of times the channel has been viewed.",
          "type": "string",
          "format": "uint64"
        },
        "hiddenSubscriberCount": {
          "description": "Whether or not the number of subscribers is shown for this user.",
          "type": "boolean"
        }
      }
    },
    "ChannelToStoreLinkDetailsBillingDetails": {
      "description": "Information specific to billing.",
      "id": "ChannelToStoreLinkDetailsBillingDetails",
      "type": "object",
      "properties": {
        "billingStatus": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "billingStatusUnspecified",
            "billingStatusPending",
            "billingStatusActive",
            "billingStatusInactive"
          ],
          "description": "The current billing profile status."
        }
      }
    },
    "MemberSnippet": {
      "id": "MemberSnippet",
      "type": "object",
      "properties": {
        "memberDetails": {
          "description": "Details about the member.",
          "$ref": "ChannelProfileDetails"
        },
        "membershipsDetails": {
          "description": "Details about the user's membership.",
          "$ref": "MembershipsDetails"
        },
        "creatorChannelId": {
          "description": "The id of the channel that's offering memberships.",
          "type": "string"
        }
      }
    },
    "ChannelStatus": {
      "id": "ChannelStatus",
      "type": "object",
      "properties": {
        "selfDeclaredMadeForKids": {
          "type": "boolean"
        },
        "isChannelMonetizationEnabled": {
          "type": "boolean",
          "description": "Whether the channel is considered ypp monetization enabled. See go/yppornot for more details."
        },
        "privacyStatus": {
          "description": "Privacy status of the channel.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "public",
            "unlisted",
            "private"
          ]
        },
        "isLinked": {
          "description": "If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity.",
          "type": "boolean"
        },
        "longUploadsStatus": {
          "description": "The long uploads status of this channel. See https://support.google.com/youtube/answer/71673 for more information.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "longUploadsUnspecified",
            "allowed",
            "eligible",
            "disallowed"
          ]
        },
        "madeForKids": {
          "type": "boolean"
        }
      },
      "description": "JSON template for the status part of a channel."
    },
    "LiveStreamSnippet": {
      "id": "LiveStreamSnippet",
      "type": "object",
      "properties": {
        "title": {
          "description": "The stream's title. The value must be between 1 and 128 characters long.",
          "annotations": {
            "required": [
              "youtube.liveStreams.insert",
              "youtube.liveStreams.update"
            ]
          },
          "type": "string"
        },
        "description": {
          "description": "The stream's description. The value cannot be longer than 10000 characters.",
          "type": "string"
        },
        "publishedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the stream was created."
        },
        "isDefaultStream": {
          "type": "boolean"
        },
        "channelId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the channel that is transmitting the stream."
        }
      }
    },
    "Member": {
      "description": "A *member* resource represents a member for a YouTube channel. A member provides recurring monetary support to a creator and receives special benefits.",
      "id": "Member",
      "type": "object",
      "properties": {
        "kind": {
          "default": "youtube#member",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#member\"."
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "snippet": {
          "description": "The snippet object contains basic details about the member.",
          "$ref": "MemberSnippet"
        }
      }
    },
    "I18nLanguageSnippet": {
      "id": "I18nLanguageSnippet",
      "type": "object",
      "properties": {
        "hl": {
          "description": "A short BCP-47 code that uniquely identifies a language.",
          "type": "string"
        },
        "name": {
          "description": "The human-readable name of the language in the language itself.",
          "type": "string"
        }
      },
      "description": "Basic details about an i18n language, such as language code and human-readable name."
    },
    "LiveStreamListResponse": {
      "id": "LiveStreamListResponse",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "prevPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set."
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveStreamListResponse\".",
          "default": "youtube#liveStreamListResponse"
        },
        "visitorId": {
          "deprecated": true,
          "type": "string",
          "description": "The visitorId identifies the visitor."
        },
        "eventId": {
          "deprecated": true,
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string"
        },
        "pageInfo": {
          "$ref": "PageInfo"
        },
        "tokenPagination": {
          "deprecated": true,
          "$ref": "TokenPagination"
        },
        "nextPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set."
        },
        "items": {
          "description": "A list of live streams that match the request criteria.",
          "type": "array",
          "items": {
            "$ref": "LiveStream"
          }
        }
      }
    },
    "VideoGetRatingResponse": {
      "id": "VideoGetRatingResponse",
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoGetRatingResponse\".",
          "default": "youtube#videoGetRatingResponse"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "VideoRating"
          },
          "description": "A list of ratings that match the request criteria."
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        },
        "visitorId": {
          "description": "The visitorId identifies the visitor.",
          "type": "string",
          "deprecated": true
        }
      }
    },
    "VideoSuggestionsTagSuggestion": {
      "id": "VideoSuggestionsTagSuggestion",
      "type": "object",
      "properties": {
        "tag": {
          "description": "The keyword tag suggested for the video.",
          "type": "string"
        },
        "categoryRestricts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword."
        }
      },
      "description": "A single tag suggestion with its relevance information."
    },
    "PlaylistItemSnippet": {
      "id": "PlaylistItemSnippet",
      "type": "object",
      "properties": {
        "publishedAt": {
          "description": "The date and time that the item was added to the playlist.",
          "type": "string",
          "format": "date-time"
        },
        "thumbnails": {
          "description": "A map of thumbnail images associated with the playlist item. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.",
          "$ref": "ThumbnailDetails"
        },
        "description": {
          "type": "string",
          "description": "The item's description."
        },
        "videoOwnerChannelId": {
          "type": "string",
          "description": "Channel id for the channel this video belongs to."
        },
        "videoOwnerChannelTitle": {
          "description": "Channel title for the channel this video belongs to.",
          "type": "string"
        },
        "channelId": {
          "description": "The ID that YouTube uses to uniquely identify the user that added the item to the playlist.",
          "type": "string"
        },
        "position": {
          "type": "integer",
          "format": "uint32",
          "description": "The order in which the item appears in the playlist. The value uses a zero-based index, so the first item has a position of 0, the second item has a position of 1, and so forth."
        },
        "resourceId": {
          "description": "The id object contains information that can be used to uniquely identify the resource that is included in the playlist as the playlist item.",
          "annotations": {
            "required": [
              "youtube.playlistItems.insert",
              "youtube.playlistItems.update"
            ]
          },
          "$ref": "ResourceId"
        },
        "channelTitle": {
          "description": "Channel title for the channel that the playlist item belongs to.",
          "type": "string"
        },
        "playlistId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in.",
          "annotations": {
            "required": [
              "youtube.playlistItems.insert",
              "youtube.playlistItems.update"
            ]
          }
        },
        "title": {
          "description": "The item's title.",
          "type": "string"
        }
      },
      "description": "Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 15"
    },
    "VideoFileDetails": {
      "id": "VideoFileDetails",
      "type": "object",
      "properties": {
        "durationMs": {
          "type": "string",
          "format": "uint64",
          "description": "The length of the uploaded video in milliseconds."
        },
        "creationTime": {
          "type": "string",
          "description": "The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM "
        },
        "container": {
          "description": "The uploaded video file's container format.",
          "type": "string"
        },
        "videoStreams": {
          "type": "array",
          "items": {
            "$ref": "VideoFileDetailsVideoStream"
          },
          "description": "A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream."
        },
        "fileName": {
          "type": "string",
          "description": "The uploaded file's name. This field is present whether a video file or another type of file was uploaded."
        },
        "fileType": {
          "description": "The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.",
          "type": "string",
          "enumDescriptions": [
            "Known video file (e.g., an MP4 file).",
            "Audio only file (e.g., an MP3 file).",
            "Image file (e.g., a JPEG image).",
            "Archive file (e.g., a ZIP archive).",
            "Document or text file (e.g., MS Word document).",
            "Movie project file (e.g., Microsoft Windows Movie Maker project).",
            "Other non-video file type."
          ],
          "enum": [
            "video",
            "audio",
            "image",
            "archive",
            "document",
            "project",
            "other"
          ]
        },
        "fileSize": {
          "type": "string",
          "format": "uint64",
          "description": "The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded."
        },
        "bitrateBps": {
          "type": "string",
          "format": "uint64",
          "description": "The uploaded video file's combined (video and audio) bitrate in bits per second."
        },
        "audioStreams": {
          "description": "A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.",
          "type": "array",
          "items": {
            "$ref": "VideoFileDetailsAudioStream"
          }
        }
      },
      "description": "Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information."
    },
    "VideoRating": {
      "id": "VideoRating",
      "type": "object",
      "properties": {
        "videoId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the video."
        },
        "rating": {
          "description": "Rating of a video.",
          "type": "string",
          "enumDescriptions": [
            "",
            "The entity is liked.",
            "The entity is disliked."
          ],
          "enum": [
            "none",
            "like",
            "dislike"
          ]
        }
      },
      "description": "Basic details about rating of a video."
    },
    "ActivitySnippet": {
      "id": "ActivitySnippet",
      "type": "object",
      "properties": {
        "channelTitle": {
          "type": "string",
          "description": "Channel title for the channel responsible for this activity"
        },
        "publishedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the video was uploaded."
        },
        "title": {
          "description": "The title of the resource primarily associated with the activity.",
          "type": "string"
        },
        "thumbnails": {
          "description": "A map of thumbnail images associated with the resource that is primarily associated with the activity. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.",
          "$ref": "ThumbnailDetails"
        },
        "description": {
          "description": "The description of the resource primarily associated with the activity. @mutable youtube.activities.insert",
          "type": "string"
        },
        "channelId": {
          "description": "The ID that YouTube uses to uniquely identify the channel associated with the activity.",
          "type": "string"
        },
        "groupId": {
          "type": "string",
          "description": "The group ID associated with the activity. A group ID identifies user events that are associated with the same user and resource. For example, if a user rates a video and marks the same video as a favorite, the entries for those events would have the same group ID in the user's activity feed. In your user interface, you can avoid repetition by grouping events with the same groupId value."
        },
        "type": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "typeUnspecified",
            "upload",
            "like",
            "favorite",
            "comment",
            "subscription",
            "playlistItem",
            "recommendation",
            "bulletin",
            "social",
            "channelItem",
            "promotedItem"
          ],
          "description": "The type of activity that the resource describes."
        }
      },
      "description": "Basic details about an activity, including title, description, thumbnails, activity type and group. Next ID: 12"
    },
    "VideoAbuseReportReason": {
      "description": "A `__videoAbuseReportReason__` resource identifies a reason that a video could be reported as abusive. Video abuse report reasons are used with `video.ReportAbuse`.",
      "id": "VideoAbuseReportReason",
      "type": "object",
      "properties": {
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string `\"youtube#videoAbuseReportReason\"`.",
          "type": "string",
          "default": "youtube#videoAbuseReportReason"
        },
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "id": {
          "type": "string",
          "description": "The ID of this abuse report reason."
        },
        "snippet": {
          "description": "The `snippet` object contains basic details about the abuse report reason.",
          "$ref": "VideoAbuseReportReasonSnippet"
        }
      }
    },
    "LiveChatMessageDeletedDetails": {
      "id": "LiveChatMessageDeletedDetails",
      "type": "object",
      "properties": {
        "deletedMessageId": {
          "type": "string"
        }
      }
    },
    "TestItemTestItemSnippet": {
      "id": "TestItemTestItemSnippet",
      "type": "object",
      "properties": {}
    },
    "PlaylistImageListResponse": {
      "id": "PlaylistImageListResponse",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set."
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "PlaylistImage"
          }
        },
        "kind": {
          "default": "youtube#playlistImageListResponse",
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistImageListResponse\"."
        },
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "prevPageToken": {
          "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.",
          "type": "string"
        }
      }
    },
    "VideoRecordingDetails": {
      "id": "VideoRecordingDetails",
      "type": "object",
      "properties": {
        "locationDescription": {
          "type": "string",
          "description": "The text description of the location where the video was recorded."
        },
        "location": {
          "description": "The geolocation information associated with the video.",
          "$ref": "GeoPoint"
        },
        "recordingDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the video was recorded."
        }
      },
      "description": "Recording information associated with the video."
    },
    "VideoContentDetailsRegionRestriction": {
      "id": "VideoContentDetailsRegionRestriction",
      "type": "object",
      "properties": {
        "allowed": {
          "description": "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "blocked": {
          "description": "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "DEPRECATED Region restriction of the video."
    },
    "CaptionListResponse": {
      "id": "CaptionListResponse",
      "type": "object",
      "properties": {
        "kind": {
          "default": "youtube#captionListResponse",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#captionListResponse\".",
          "type": "string"
        },
        "items": {
          "description": "A list of captions that match the request criteria.",
          "type": "array",
          "items": {
            "$ref": "Caption"
          }
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "eventId": {
          "description": "Serialized EventId of the request which produced this response.",
          "type": "string",
          "deprecated": true
        },
        "visitorId": {
          "deprecated": true,
          "description": "The visitorId identifies the visitor.",
          "type": "string"
        }
      }
    },
    "VideoAbuseReportReasonSnippet": {
      "description": "Basic details about a video category, such as its localized title.",
      "id": "VideoAbuseReportReasonSnippet",
      "type": "object",
      "properties": {
        "secondaryReasons": {
          "description": "The secondary reasons associated with this reason, if any are available. (There might be 0 or more.)",
          "type": "array",
          "items": {
            "$ref": "VideoAbuseReportSecondaryReason"
          }
        },
        "label": {
          "description": "The localized label belonging to this abuse report reason.",
          "type": "string"
        }
      }
    },
    "LiveChatGiftDetails": {
      "description": "Details about the gift event, this is only set if the type is 'giftEvent'.",
      "id": "LiveChatGiftDetails",
      "type": "object",
      "properties": {
        "giftDuration": {
          "description": "The duration of the gift.",
          "type": "string",
          "format": "google-duration"
        },
        "giftName": {
          "description": "The name of the gift.",
          "type": "string"
        },
        "jewelsAmount": {
          "type": "integer",
          "format": "int32",
          "description": "The value of the gift in jewels."
        },
        "altText": {
          "description": "The alternative text to be used for accessibility.",
          "type": "string"
        },
        "comboCount": {
          "description": "The number of times the gift has been sent in a row.",
          "type": "integer",
          "format": "int32"
        },
        "language": {
          "description": "The BCP-47 language code of the gift.",
          "type": "string"
        },
        "giftUrl": {
          "description": "The URL of the gift image.",
          "type": "string"
        },
        "hasVisualEffect": {
          "type": "boolean",
          "description": "Whether the gift involves a visual effect."
        }
      }
    },
    "VideoFileDetailsAudioStream": {
      "id": "VideoFileDetailsAudioStream",
      "type": "object",
      "properties": {
        "codec": {
          "description": "The audio codec that the stream uses.",
          "type": "string"
        },
        "vendor": {
          "description": "A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.",
          "type": "string"
        },
        "bitrateBps": {
          "description": "The audio stream's bitrate, in bits per second.",
          "type": "string",
          "format": "uint64"
        },
        "channelCount": {
          "description": "The number of audio channels that the stream contains.",
          "type": "integer",
          "format": "uint32"
        }
      },
      "description": "Information about an audio stream."
    },
    "Cuepoint": {
      "id": "Cuepoint",
      "type": "object",
      "properties": {
        "cueType": {
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "cueTypeUnspecified",
            "cueTypeAd"
          ]
        },
        "insertionOffsetTimeMs": {
          "type": "string",
          "format": "int64",
          "description": "The time when the cuepoint should be inserted by offset to the broadcast actual start time."
        },
        "etag": {
          "type": "string"
        },
        "walltimeMs": {
          "description": "The wall clock time at which the cuepoint should be inserted. Only one of insertion_offset_time_ms and walltime_ms may be set at a time.",
          "type": "string",
          "format": "uint64"
        },
        "id": {
          "description": "The identifier for cuepoint resource.",
          "type": "string"
        },
        "durationSecs": {
          "description": "The duration of this cuepoint.",
          "type": "integer",
          "format": "uint32"
        }
      },
      "description": "Note that there may be a 5-second end-point resolution issue. For instance, if a cuepoint comes in for 22:03:27, we may stuff the cuepoint into 22:03:25 or 22:03:30, depending. This is an artifact of HLS."
    },
    "PropertyValue": {
      "id": "PropertyValue",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "The property's value."
        },
        "property": {
          "type": "string",
          "description": "A property."
        }
      },
      "description": "A pair Property / Value."
    },
    "VideoProcessingDetailsProcessingProgress": {
      "id": "VideoProcessingDetailsProcessingProgress",
      "type": "object",
      "properties": {
        "partsProcessed": {
          "type": "string",
          "format": "uint64",
          "description": "The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video."
        },
        "partsTotal": {
          "description": "An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video.",
          "type": "string",
          "format": "uint64"
        },
        "timeLeftMs": {
          "type": "string",
          "format": "uint64",
          "description": "An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video."
        }
      },
      "description": "Video processing progress and completion time estimate."
    },
    "LiveChatModerator": {
      "id": "LiveChatModerator",
      "type": "object",
      "properties": {
        "etag": {
          "description": "Etag of this resource.",
          "type": "string"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatModerator\".",
          "default": "youtube#liveChatModerator"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the moderator.",
          "$ref": "LiveChatModeratorSnippet"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube assigns to uniquely identify the moderator."
        }
      },
      "description": "A *liveChatModerator* resource represents a moderator for a YouTube live chat. A chat moderator has the ability to ban/unban users from a chat, remove message, etc."
    },
    "VideoPlayer": {
      "id": "VideoPlayer",
      "type": "object",
      "properties": {
        "embedHtml": {
          "type": "string",
          "description": "An \u003ciframe\u003e tag that embeds a player that will play the video."
        },
        "embedHeight": {
          "type": "string",
          "format": "int64"
        },
        "embedWidth": {
          "type": "string",
          "format": "int64",
          "description": "The embed width"
        }
      },
      "description": "Player to be used for a video playback."
    },
    "VideoSnippet": {
      "id": "VideoSnippet",
      "type": "object",
      "properties": {
        "tags": {
          "description": "A list of keyword tags associated with the video. Tags may contain spaces.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "categoryId": {
          "description": "The YouTube video category associated with the video.",
          "type": "string"
        },
        "publishedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the video was uploaded."
        },
        "localized": {
          "description": "Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)",
          "$ref": "VideoLocalization"
        },
        "thumbnails": {
          "description": "A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.",
          "$ref": "ThumbnailDetails"
        },
        "description": {
          "description": "The video's description. @mutable youtube.videos.insert youtube.videos.update",
          "type": "string"
        },
        "defaultLanguage": {
          "description": "The language of the videos's default snippet.",
          "type": "string"
        },
        "channelId": {
          "description": "The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.",
          "type": "string"
        },
        "defaultAudioLanguage": {
          "type": "string",
          "description": "The default_audio_language property specifies the language spoken in the video's default audio track."
        },
        "channelTitle": {
          "type": "string",
          "description": "Channel title for the channel that the video belongs to."
        },
        "liveBroadcastContent": {
          "type": "string",
          "enumDescriptions": [
            "",
            "The live broadcast is upcoming.",
            "The live broadcast is active.",
            "The live broadcast has been completed."
          ],
          "enum": [
            "none",
            "upcoming",
            "live",
            "completed"
          ],
          "description": "Indicates if the video is an upcoming/active live broadcast. Or it's \"none\" if the video is not an upcoming/active live broadcast."
        },
        "title": {
          "type": "string",
          "description": "The video's title. @mutable youtube.videos.insert youtube.videos.update"
        }
      },
      "description": "Basic details about a video, including title, description, uploader, thumbnails and category."
    },
    "ThirdPartyLink": {
      "id": "ThirdPartyLink",
      "type": "object",
      "properties": {
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#thirdPartyLink\".",
          "type": "string",
          "default": "youtube#thirdPartyLink"
        },
        "status": {
          "description": "The status object contains information about the status of the link.",
          "$ref": "ThirdPartyLinkStatus"
        },
        "linkingToken": {
          "type": "string",
          "description": "The linking_token identifies a YouTube account and channel with which the third party account is linked."
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource"
        },
        "snippet": {
          "description": "The snippet object contains basic details about the third- party account link.",
          "$ref": "ThirdPartyLinkSnippet"
        }
      },
      "description": "A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service."
    },
    "ChannelBannerResource": {
      "id": "ChannelBannerResource",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelBannerResource\".",
          "default": "youtube#channelBannerResource"
        },
        "url": {
          "description": "The URL of this banner image.",
          "type": "string"
        }
      },
      "description": "A channel banner returned as the response to a channel_banner.insert call."
    },
    "Thumbnail": {
      "description": "A thumbnail is an image representing a YouTube resource.",
      "id": "Thumbnail",
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "The thumbnail image's URL."
        },
        "width": {
          "type": "integer",
          "format": "uint32",
          "description": "(Optional) Width of the thumbnail image."
        },
        "height": {
          "type": "integer",
          "format": "uint32",
          "description": "(Optional) Height of the thumbnail image."
        }
      }
    }
  },
  "revision": "20260430",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/youtube.force-ssl": {
          "description": "See, edit, and permanently delete your YouTube videos, ratings, comments and captions"
        },
        "https://www.googleapis.com/auth/youtube": {
          "description": "Manage your YouTube account"
        },
        "https://www.googleapis.com/auth/youtube.upload": {
          "description": "Manage your YouTube videos"
        },
        "https://www.googleapis.com/auth/youtube.readonly": {
          "description": "View your YouTube account"
        },
        "https://www.googleapis.com/auth/youtubepartner-channel-audit": {
          "description": "View private information of your YouTube channel relevant during the audit process with a YouTube partner"
        },
        "https://www.googleapis.com/auth/youtube.channel-memberships.creator": {
          "description": "See a list of your current active channel members, their current level, and when they became a member"
        },
        "https://www.googleapis.com/auth/youtubepartner": {
          "description": "View and manage your assets and associated content on YouTube"
        }
      }
    }
  },
  "rootUrl": "https://youtube.googleapis.com/",
  "fullyEncodeReservedExpansion": true,
  "discoveryVersion": "v1",
  "description": "The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.",
  "ownerName": "Google",
  "batchPath": "batch",
  "basePath": "",
  "version": "v3",
  "ownerDomain": "google.com",
  "protocol": "rest",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "baseUrl": "https://youtube.googleapis.com/",
  "mtlsRootUrl": "https://youtube.mtls.googleapis.com/",
  "id": "youtube:v3",
  "canonicalName": "YouTube",
  "resources": {
    "thirdPartyLinks": {
      "methods": {
        "list": {
          "id": "youtube.thirdPartyLinks.list",
          "flatPath": "youtube/v3/thirdPartyLinks",
          "parameters": {
            "linkingToken": {
              "location": "query",
              "type": "string",
              "description": "Get a third party link with the given linking token."
            },
            "type": {
              "type": "string",
              "enumDescriptions": [
                "",
                "A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube."
              ],
              "enum": [
                "linkUnspecified",
                "channelToStoreLink"
              ],
              "location": "query",
              "description": "Get a third party link of the given type."
            },
            "externalChannelId": {
              "type": "string",
              "description": "Channel ID to which changes should be applied, for delegation.",
              "location": "query"
            },
            "part": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter specifies the thirdPartyLink resource parts that the API response will include. Supported values are linkingToken, status, and snippet."
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/thirdPartyLinks",
          "httpMethod": "GET",
          "response": {
            "$ref": "ThirdPartyLinkListResponse"
          },
          "description": "Retrieves a list of resources, possibly filtered."
        },
        "insert": {
          "response": {
            "$ref": "ThirdPartyLink"
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "ThirdPartyLink"
          },
          "path": "youtube/v3/thirdPartyLinks",
          "id": "youtube.thirdPartyLinks.insert",
          "flatPath": "youtube/v3/thirdPartyLinks",
          "parameters": {
            "externalChannelId": {
              "type": "string",
              "description": "Channel ID to which changes should be applied, for delegation.",
              "location": "query"
            },
            "part": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet."
            }
          },
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection."
        },
        "update": {
          "description": "Updates an existing resource.",
          "httpMethod": "PUT",
          "response": {
            "$ref": "ThirdPartyLink"
          },
          "parameters": {
            "externalChannelId": {
              "description": "Channel ID to which changes should be applied, for delegation.",
              "type": "string",
              "location": "query"
            },
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet."
            }
          },
          "id": "youtube.thirdPartyLinks.update",
          "flatPath": "youtube/v3/thirdPartyLinks",
          "path": "youtube/v3/thirdPartyLinks",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "ThirdPartyLink"
          }
        },
        "delete": {
          "path": "youtube/v3/thirdPartyLinks",
          "parameterOrder": [
            "linkingToken",
            "type"
          ],
          "parameters": {
            "type": {
              "description": "Type of the link to be deleted.",
              "location": "query",
              "required": true,
              "type": "string",
              "enumDescriptions": [
                "",
                "A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube."
              ],
              "enum": [
                "linkUnspecified",
                "channelToStoreLink"
              ]
            },
            "externalChannelId": {
              "location": "query",
              "type": "string",
              "description": "Channel ID to which changes should be applied, for delegation."
            },
            "part": {
              "type": "string",
              "description": "Do not use. Required for compatibility.",
              "location": "query",
              "repeated": true
            },
            "linkingToken": {
              "location": "query",
              "description": "Delete the partner links with the given linking token.",
              "required": true,
              "type": "string"
            }
          },
          "id": "youtube.thirdPartyLinks.delete",
          "flatPath": "youtube/v3/thirdPartyLinks",
          "description": "Deletes a resource.",
          "httpMethod": "DELETE"
        }
      }
    },
    "watermarks": {
      "methods": {
        "unset": {
          "description": "Allows removal of channel watermark.",
          "httpMethod": "POST",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "path": "youtube/v3/watermarks/unset",
          "parameterOrder": [
            "channelId"
          ],
          "parameters": {
            "channelId": {
              "required": true,
              "type": "string",
              "location": "query"
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            }
          },
          "id": "youtube.watermarks.unset",
          "flatPath": "youtube/v3/watermarks/unset"
        },
        "set": {
          "path": "youtube/v3/watermarks/set",
          "parameterOrder": [
            "channelId"
          ],
          "request": {
            "$ref": "InvideoBranding"
          },
          "parameters": {
            "channelId": {
              "required": true,
              "type": "string",
              "location": "query"
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            }
          },
          "id": "youtube.watermarks.set",
          "flatPath": "youtube/v3/watermarks/set",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.upload",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "mediaUpload": {
            "accept": [
              "image/jpeg",
              "image/png",
              "application/octet-stream"
            ],
            "protocols": {
              "simple": {
                "multipart": true,
                "path": "/upload/youtube/v3/watermarks/set"
              },
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/youtube/v3/watermarks/set"
              }
            },
            "maxSize": "10485760"
          },
          "supportsMediaUpload": true,
          "description": "Allows upload of watermark image and setting it for a channel.",
          "httpMethod": "POST"
        }
      }
    },
    "i18nLanguages": {
      "methods": {
        "list": {
          "httpMethod": "GET",
          "description": "Retrieves a list of resources, possibly filtered.",
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/i18nLanguages",
          "id": "youtube.i18nLanguages.list",
          "flatPath": "youtube/v3/i18nLanguages",
          "parameters": {
            "hl": {
              "default": "en_US",
              "location": "query",
              "type": "string"
            },
            "part": {
              "description": "The *part* parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            }
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "I18nLanguageListResponse"
          }
        }
      }
    },
    "videoCategories": {
      "methods": {
        "list": {
          "response": {
            "$ref": "VideoCategoryListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "path": "youtube/v3/videoCategories",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "id": {
              "type": "string",
              "description": "Returns the video categories with the given IDs for Stubby or Apiary.",
              "location": "query",
              "repeated": true
            },
            "regionCode": {
              "location": "query",
              "type": "string"
            },
            "part": {
              "description": "The *part* parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "hl": {
              "type": "string",
              "location": "query",
              "default": "en-US"
            }
          },
          "id": "youtube.videoCategories.list",
          "flatPath": "youtube/v3/videoCategories",
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET"
        }
      }
    },
    "channelBanners": {
      "methods": {
        "insert": {
          "mediaUpload": {
            "accept": [
              "image/jpeg",
              "image/png",
              "application/octet-stream"
            ],
            "protocols": {
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/youtube/v3/channelBanners/insert"
              },
              "simple": {
                "multipart": true,
                "path": "/upload/youtube/v3/channelBanners/insert"
              }
            },
            "maxSize": "6291456"
          },
          "supportsMediaUpload": true,
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection.",
          "parameterOrder": [],
          "request": {
            "$ref": "ChannelBannerResource"
          },
          "path": "youtube/v3/channelBanners/insert",
          "id": "youtube.channelBanners.insert",
          "flatPath": "youtube/v3/channelBanners/insert",
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."
            },
            "channelId": {
              "description": "Unused, channel_id is currently derived from the security context of the requestor.",
              "type": "string",
              "location": "query"
            }
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.upload"
          ],
          "response": {
            "$ref": "ChannelBannerResource"
          }
        }
      }
    },
    "playlistItems": {
      "methods": {
        "list": {
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET",
          "path": "youtube/v3/playlistItems",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "pageToken": {
              "location": "query",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more playlistItem resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlistItem resource, the snippet property contains numerous fields, including the title, description, position, and resourceId properties. As such, if you set *part=snippet*, the API response will contain all of those properties.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "playlistId": {
              "type": "string",
              "description": "Return the playlist items within the given playlist.",
              "location": "query"
            },
            "id": {
              "location": "query",
              "repeated": true,
              "type": "string"
            },
            "maxResults": {
              "location": "query",
              "maximum": "50",
              "type": "integer",
              "default": "5",
              "minimum": "0",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "format": "uint32"
            },
            "videoId": {
              "description": "Return the playlist items associated with the given video ID.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.playlistItems.list",
          "flatPath": "youtube/v3/playlistItems",
          "response": {
            "$ref": "PlaylistItemListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ]
        },
        "insert": {
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "PlaylistItem"
          },
          "path": "youtube/v3/playlistItems",
          "id": "youtube.playlistItems.insert",
          "flatPath": "youtube/v3/playlistItems",
          "parameters": {
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "PlaylistItem"
          },
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection."
        },
        "update": {
          "description": "Updates an existing resource.",
          "httpMethod": "PUT",
          "response": {
            "$ref": "PlaylistItem"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "path": "youtube/v3/playlistItems",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "PlaylistItem"
          },
          "parameters": {
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist item can specify a start time and end time, which identify the times portion of the video that should play when users watch the video in the playlist. If your request is updating a playlist item that sets these values, and the request's part parameter value includes the contentDetails part, the playlist item's start and end times will be updated to whatever value the request body specifies. If the request body does not specify values, the existing start and end times will be removed and replaced with the default settings.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.playlistItems.update",
          "flatPath": "youtube/v3/playlistItems"
        },
        "delete": {
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "description": "Deletes a resource.",
          "id": "youtube.playlistItems.delete",
          "flatPath": "youtube/v3/playlistItems",
          "parameters": {
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "id": {
              "required": true,
              "type": "string",
              "location": "query"
            }
          },
          "parameterOrder": [
            "id"
          ],
          "path": "youtube/v3/playlistItems"
        }
      }
    },
    "videoTrainability": {
      "methods": {
        "get": {
          "parameters": {
            "id": {
              "location": "query",
              "type": "string",
              "description": "The ID of the video to retrieve."
            }
          },
          "id": "youtube.videoTrainability.get",
          "flatPath": "youtube/v3/videoTrainability",
          "path": "youtube/v3/videoTrainability",
          "parameterOrder": [],
          "response": {
            "$ref": "VideoTrainability"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "description": "Returns the trainability status of a video.",
          "httpMethod": "GET"
        }
      }
    },
    "activities": {
      "methods": {
        "list": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly"
          ],
          "response": {
            "$ref": "ActivityListResponse"
          },
          "id": "youtube.activities.list",
          "flatPath": "youtube/v3/activities",
          "parameters": {
            "maxResults": {
              "location": "query",
              "type": "integer",
              "maximum": "50",
              "default": "5",
              "minimum": "0",
              "format": "uint32",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."
            },
            "home": {
              "type": "boolean",
              "location": "query",
              "deprecated": true
            },
            "mine": {
              "type": "boolean",
              "location": "query"
            },
            "regionCode": {
              "location": "query",
              "type": "string"
            },
            "channelId": {
              "location": "query",
              "type": "string"
            },
            "publishedAfter": {
              "type": "string",
              "format": "google-datetime",
              "location": "query"
            },
            "publishedBefore": {
              "type": "string",
              "format": "google-datetime",
              "location": "query"
            },
            "pageToken": {
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string",
              "location": "query"
            },
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set *part=snippet*, the API response will also contain all of those nested properties."
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/activities",
          "httpMethod": "GET",
          "description": "Retrieves a list of resources, possibly filtered."
        }
      }
    },
    "captions": {
      "methods": {
        "delete": {
          "description": "Deletes a resource.",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "path": "youtube/v3/captions",
          "parameterOrder": [
            "id"
          ],
          "parameters": {
            "onBehalfOf": {
              "description": "ID of the Google+ Page for the channel that the request is be on behalf of",
              "type": "string",
              "location": "query"
            },
            "id": {
              "location": "query",
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.captions.delete",
          "flatPath": "youtube/v3/captions"
        },
        "download": {
          "useMediaDownloadService": true,
          "description": "Downloads a caption track.",
          "httpMethod": "GET",
          "parameters": {
            "tlang": {
              "type": "string",
              "description": "tlang is the language code; machine translate the captions into this language.",
              "location": "query"
            },
            "onBehalfOf": {
              "description": "ID of the Google+ Page for the channel that the request is be on behalf of",
              "type": "string",
              "location": "query"
            },
            "tfmt": {
              "description": "Convert the captions into this format. Supported options are sbv, srt, and vtt.",
              "type": "string",
              "location": "query"
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string"
            },
            "id": {
              "location": "path",
              "required": true,
              "type": "string",
              "description": "The ID of the caption track to download, required for One Platform."
            }
          },
          "id": "youtube.captions.download",
          "flatPath": "youtube/v3/captions/{id}",
          "supportsMediaDownload": true,
          "path": "youtube/v3/captions/{id}",
          "parameterOrder": [
            "id"
          ],
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ]
        },
        "list": {
          "id": "youtube.captions.list",
          "flatPath": "youtube/v3/captions",
          "parameters": {
            "videoId": {
              "location": "query",
              "required": true,
              "type": "string",
              "description": "Returns the captions for the specified video."
            },
            "id": {
              "description": "Returns the captions with the given IDs for Stubby or Apiary.",
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "onBehalfOf": {
              "description": "ID of the Google+ Page for the channel that the request is on behalf of.",
              "type": "string",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "parameterOrder": [
            "part",
            "videoId"
          ],
          "path": "youtube/v3/captions",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "CaptionListResponse"
          },
          "httpMethod": "GET",
          "description": "Retrieves a list of resources, possibly filtered."
        },
        "insert": {
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection.",
          "mediaUpload": {
            "maxSize": "104857600",
            "accept": [
              "text/xml",
              "application/octet-stream",
              "*/*"
            ],
            "protocols": {
              "simple": {
                "multipart": true,
                "path": "/upload/youtube/v3/captions"
              },
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/youtube/v3/captions"
              }
            }
          },
          "supportsMediaUpload": true,
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "Caption"
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Caption"
          },
          "path": "youtube/v3/captions",
          "id": "youtube.captions.insert",
          "flatPath": "youtube/v3/captions",
          "parameters": {
            "sync": {
              "location": "query",
              "description": "Extra parameter to allow automatically syncing the uploaded caption/transcript with the audio.",
              "type": "boolean"
            },
            "onBehalfOf": {
              "type": "string",
              "description": "ID of the Google+ Page for the channel that the request is be on behalf of",
              "location": "query"
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "part": {
              "description": "The *part* parameter specifies the caption resource parts that the API response will include. Set the parameter value to snippet.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            }
          }
        },
        "update": {
          "response": {
            "$ref": "Caption"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "path": "youtube/v3/captions",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Caption"
          },
          "parameters": {
            "sync": {
              "location": "query",
              "type": "boolean",
              "description": "Extra parameter to allow automatically syncing the uploaded caption/transcript with the audio."
            },
            "onBehalfOf": {
              "location": "query",
              "description": "ID of the Google+ Page for the channel that the request is on behalf of.",
              "type": "string"
            },
            "part": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet."
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string"
            }
          },
          "id": "youtube.captions.update",
          "flatPath": "youtube/v3/captions",
          "description": "Updates an existing resource.",
          "httpMethod": "PUT",
          "mediaUpload": {
            "maxSize": "104857600",
            "accept": [
              "text/xml",
              "application/octet-stream",
              "*/*"
            ],
            "protocols": {
              "simple": {
                "multipart": true,
                "path": "/upload/youtube/v3/captions"
              },
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/youtube/v3/captions"
              }
            }
          },
          "supportsMediaUpload": true
        }
      }
    },
    "channelSections": {
      "methods": {
        "delete": {
          "parameterOrder": [
            "id"
          ],
          "path": "youtube/v3/channelSections",
          "id": "youtube.channelSections.delete",
          "flatPath": "youtube/v3/channelSections",
          "parameters": {
            "id": {
              "location": "query",
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "description": "Deletes a resource."
        },
        "list": {
          "httpMethod": "GET",
          "description": "Retrieves a list of resources, possibly filtered.",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "ChannelSectionListResponse"
          },
          "id": "youtube.channelSections.list",
          "flatPath": "youtube/v3/channelSections",
          "parameters": {
            "mine": {
              "location": "query",
              "description": "Return the ChannelSections owned by the authenticated user.",
              "type": "boolean"
            },
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter specifies a comma-separated list of one or more channelSection resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channelSection resource, the snippet property contains other properties, such as a display title for the channelSection. If you set *part=snippet*, the API response will also contain all of those nested properties."
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            },
            "hl": {
              "description": "Return content in specified language",
              "type": "string",
              "location": "query",
              "deprecated": true
            },
            "channelId": {
              "description": "Return the ChannelSections owned by the specified channel ID.",
              "type": "string",
              "location": "query"
            },
            "id": {
              "type": "string",
              "description": "Return the ChannelSections with the given IDs for Stubby or Apiary.",
              "location": "query",
              "repeated": true
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/channelSections"
        },
        "insert": {
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "ChannelSection"
          },
          "path": "youtube/v3/channelSections",
          "id": "youtube.channelSections.insert",
          "flatPath": "youtube/v3/channelSections",
          "parameters": {
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part names that you can include in the parameter value are snippet and contentDetails."
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "type": "string"
            }
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "ChannelSection"
          },
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection."
        },
        "update": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "ChannelSection"
          },
          "id": "youtube.channelSections.update",
          "flatPath": "youtube/v3/channelSections",
          "parameters": {
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part names that you can include in the parameter value are snippet and contentDetails."
            }
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "ChannelSection"
          },
          "path": "youtube/v3/channelSections",
          "httpMethod": "PUT",
          "description": "Updates an existing resource."
        }
      }
    },
    "subscriptions": {
      "methods": {
        "list": {
          "httpMethod": "GET",
          "description": "Retrieves a list of resources, possibly filtered.",
          "id": "youtube.subscriptions.list",
          "flatPath": "youtube/v3/subscriptions",
          "parameters": {
            "myRecentSubscribers": {
              "type": "boolean",
              "location": "query"
            },
            "pageToken": {
              "location": "query",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set *part=snippet*, the API response will also contain all of those nested properties.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "forChannelId": {
              "description": "Return the subscriptions to the subset of these channels that the authenticated user is subscribed to.",
              "type": "string",
              "location": "query"
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            },
            "channelId": {
              "description": "Return the subscriptions of the given channel owner.",
              "type": "string",
              "location": "query"
            },
            "id": {
              "location": "query",
              "repeated": true,
              "type": "string",
              "description": "Return the subscriptions with the given IDs for Stubby or Apiary."
            },
            "mine": {
              "location": "query",
              "description": "Flag for returning the subscriptions of the authenticated user.",
              "type": "boolean"
            },
            "order": {
              "description": "The order of the returned subscriptions",
              "default": "relevance",
              "type": "string",
              "enumDescriptions": [
                "",
                "Sort by relevance.",
                "Sort by order of activity.",
                "Sort alphabetically."
              ],
              "enum": [
                "subscriptionOrderUnspecified",
                "relevance",
                "unread",
                "alphabetical"
              ],
              "location": "query"
            },
            "onBehalfOfContentOwnerChannel": {
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "location": "query"
            },
            "mySubscribers": {
              "location": "query",
              "type": "boolean",
              "description": "Return the subscribers of the given channel owner."
            },
            "maxResults": {
              "location": "query",
              "type": "integer",
              "maximum": "50",
              "default": "5",
              "minimum": "0",
              "format": "uint32",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/subscriptions",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "SubscriptionListResponse"
          }
        },
        "insert": {
          "description": "Inserts a new resource into this collection.",
          "httpMethod": "POST",
          "path": "youtube/v3/subscriptions",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Subscription"
          },
          "parameters": {
            "part": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include."
            }
          },
          "id": "youtube.subscriptions.insert",
          "flatPath": "youtube/v3/subscriptions",
          "response": {
            "$ref": "Subscription"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ]
        },
        "delete": {
          "path": "youtube/v3/subscriptions",
          "parameterOrder": [
            "id"
          ],
          "parameters": {
            "id": {
              "required": true,
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.subscriptions.delete",
          "flatPath": "youtube/v3/subscriptions",
          "description": "Deletes a resource.",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ]
        }
      }
    },
    "commentThreads": {
      "methods": {
        "list": {
          "id": "youtube.commentThreads.list",
          "flatPath": "youtube/v3/commentThreads",
          "parameters": {
            "pageToken": {
              "type": "string",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "location": "query"
            },
            "part": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include."
            },
            "id": {
              "type": "string",
              "description": "Returns the comment threads with the given IDs for Stubby or Apiary.",
              "location": "query",
              "repeated": true
            },
            "textFormat": {
              "description": "The requested text format for the returned comments.",
              "default": "html",
              "type": "string",
              "enumDescriptions": [
                "",
                "Returns the comments in HTML format. This is the default value.",
                "Returns the comments in plain text format."
              ],
              "enum": [
                "textFormatUnspecified",
                "html",
                "plainText"
              ],
              "location": "query"
            },
            "channelId": {
              "location": "query",
              "type": "string",
              "description": "Returns the comment threads for all the channel comments (ie does not include comments left on videos)."
            },
            "postId": {
              "description": "Returns the comment threads of the specified post.",
              "type": "string",
              "location": "query"
            },
            "moderationStatus": {
              "description": "Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam.",
              "default": "published",
              "type": "string",
              "enumDescriptions": [
                "The comment is available for public display.",
                "The comment is awaiting review by a moderator.",
                "",
                "The comment is unfit for display."
              ],
              "enum": [
                "published",
                "heldForReview",
                "likelySpam",
                "rejected"
              ],
              "location": "query"
            },
            "searchTerms": {
              "location": "query",
              "type": "string",
              "description": "Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter."
            },
            "order": {
              "default": "time",
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "",
                "Order by time.",
                "Order by relevance."
              ],
              "enum": [
                "orderUnspecified",
                "time",
                "relevance"
              ]
            },
            "allThreadsRelatedToChannelId": {
              "location": "query",
              "description": "Returns the comment threads of all videos of the channel and the channel comments as well.",
              "type": "string"
            },
            "maxResults": {
              "default": "20",
              "minimum": "1",
              "format": "uint32",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "location": "query",
              "type": "integer",
              "maximum": "100"
            },
            "videoId": {
              "type": "string",
              "description": "Returns the comment threads of the specified video.",
              "location": "query"
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/commentThreads",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "response": {
            "$ref": "CommentThreadListResponse"
          },
          "httpMethod": "GET",
          "description": "Retrieves a list of resources, possibly filtered."
        },
        "insert": {
          "response": {
            "$ref": "CommentThread"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "path": "youtube/v3/commentThreads",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "CommentThread"
          },
          "parameters": {
            "part": {
              "description": "The *part* parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "id": "youtube.commentThreads.insert",
          "flatPath": "youtube/v3/commentThreads",
          "description": "Inserts a new resource into this collection.",
          "httpMethod": "POST"
        }
      }
    },
    "liveChatMessages": {
      "methods": {
        "delete": {
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "description": "Deletes a chat message.",
          "parameterOrder": [
            "id"
          ],
          "path": "youtube/v3/liveChat/messages",
          "id": "youtube.liveChatMessages.delete",
          "flatPath": "youtube/v3/liveChat/messages",
          "parameters": {
            "id": {
              "location": "query",
              "required": true,
              "type": "string"
            }
          }
        },
        "list": {
          "response": {
            "$ref": "LiveChatMessageListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly"
          ],
          "path": "youtube/v3/liveChat/messages",
          "parameterOrder": [
            "liveChatId",
            "part"
          ],
          "parameters": {
            "profileImageSize": {
              "type": "integer",
              "maximum": "720",
              "location": "query",
              "format": "uint32",
              "description": "Specifies the size of the profile image that should be returned for each user.",
              "minimum": "16"
            },
            "pageToken": {
              "location": "query",
              "type": "string",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify other pages that could be retrieved."
            },
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id, snippet, and authorDetails."
            },
            "liveChatId": {
              "location": "query",
              "required": true,
              "type": "string",
              "description": "The id of the live chat for which comments should be returned."
            },
            "maxResults": {
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.",
              "format": "uint32",
              "default": "500",
              "minimum": "200",
              "maximum": "2000",
              "type": "integer",
              "location": "query"
            },
            "hl": {
              "description": "Specifies the localization language in which the system messages should be returned.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.liveChatMessages.list",
          "flatPath": "youtube/v3/liveChat/messages",
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET"
        },
        "insert": {
          "path": "youtube/v3/liveChat/messages",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "LiveChatMessage"
          },
          "parameters": {
            "part": {
              "description": "The *part* parameter serves two purposes. It identifies the properties that the write operation will set as well as the properties that the API response will include. Set the parameter value to snippet.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "id": "youtube.liveChatMessages.insert",
          "flatPath": "youtube/v3/liveChat/messages",
          "response": {
            "$ref": "LiveChatMessage"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "description": "Inserts a new resource into this collection.",
          "httpMethod": "POST"
        },
        "transition": {
          "description": "Transition a durable chat event.",
          "httpMethod": "POST",
          "response": {
            "$ref": "LiveChatMessage"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "path": "youtube/v3/liveChat/messages/transition",
          "parameterOrder": [],
          "parameters": {
            "id": {
              "description": "The ID that uniquely identify the chat message event to transition.",
              "type": "string",
              "location": "query"
            },
            "status": {
              "type": "string",
              "enumDescriptions": [
                "Default unknown enum value.",
                "The durable chat event is over."
              ],
              "enum": [
                "statusUnspecified",
                "closed"
              ],
              "location": "query",
              "description": "The status to which the chat event is going to transition."
            }
          },
          "id": "youtube.liveChatMessages.transition",
          "flatPath": "youtube/v3/liveChat/messages/transition"
        }
      }
    },
    "abuseReports": {
      "methods": {
        "insert": {
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection.",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "response": {
            "$ref": "AbuseReport"
          },
          "id": "youtube.abuseReports.insert",
          "flatPath": "youtube/v3/abuseReports",
          "parameters": {
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            }
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "AbuseReport"
          },
          "path": "youtube/v3/abuseReports"
        }
      }
    },
    "videos": {
      "methods": {
        "reportAbuse": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "parameterOrder": [],
          "request": {
            "$ref": "VideoAbuseReport"
          },
          "path": "youtube/v3/videos/reportAbuse",
          "id": "youtube.videos.reportAbuse",
          "flatPath": "youtube/v3/videos/reportAbuse",
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string"
            }
          },
          "httpMethod": "POST",
          "description": "Report abuse for a video."
        },
        "rate": {
          "httpMethod": "POST",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "description": "Adds a like or dislike rating to a video or removes a rating from a video.",
          "parameterOrder": [
            "id",
            "rating"
          ],
          "path": "youtube/v3/videos/rate",
          "id": "youtube.videos.rate",
          "flatPath": "youtube/v3/videos/rate",
          "parameters": {
            "id": {
              "required": true,
              "type": "string",
              "location": "query"
            },
            "rating": {
              "location": "query",
              "required": true,
              "type": "string",
              "enumDescriptions": [
                "",
                "The entity is liked.",
                "The entity is disliked."
              ],
              "enum": [
                "none",
                "like",
                "dislike"
              ]
            }
          }
        },
        "list": {
          "response": {
            "$ref": "VideoListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "path": "youtube/v3/videos",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "hl": {
              "location": "query",
              "type": "string",
              "description": "Stands for \"host language\". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX)."
            },
            "regionCode": {
              "type": "string",
              "description": "Use a chart that is specific to the specified region",
              "location": "query"
            },
            "locale": {
              "location": "query",
              "deprecated": true,
              "type": "string"
            },
            "id": {
              "type": "string",
              "description": "Return videos with the given ids.",
              "location": "query",
              "repeated": true
            },
            "videoCategoryId": {
              "description": "Use chart that is specific to the specified video category",
              "type": "string",
              "location": "query",
              "default": "0"
            },
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "pageToken": {
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved. *Note:* This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with the id parameter.",
              "type": "string",
              "location": "query"
            },
            "maxResults": {
              "format": "uint32",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. *Note:* This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with the id parameter.",
              "default": "5",
              "minimum": "1",
              "type": "integer",
              "maximum": "50",
              "location": "query"
            },
            "maxWidth": {
              "format": "int32",
              "description": "Return the player with maximum height specified in",
              "minimum": "72",
              "type": "integer",
              "maximum": "8192",
              "location": "query"
            },
            "chart": {
              "type": "string",
              "enumDescriptions": [
                "",
                "Return the most popular videos for the specified content region and video category."
              ],
              "enum": [
                "chartUnspecified",
                "mostPopular"
              ],
              "location": "query",
              "description": "Return the videos that are in the specified chart."
            },
            "myRating": {
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "",
                "The entity is liked.",
                "The entity is disliked."
              ],
              "enum": [
                "none",
                "like",
                "dislike"
              ],
              "description": "Return videos liked/disliked by the authenticated user. Does not support RateType.RATED_TYPE_NONE."
            },
            "maxHeight": {
              "location": "query",
              "type": "integer",
              "maximum": "8192",
              "minimum": "72",
              "format": "int32"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more video resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set *part=snippet*, the API response will contain all of those properties.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            }
          },
          "id": "youtube.videos.list",
          "flatPath": "youtube/v3/videos",
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET"
        },
        "insert": {
          "mediaUpload": {
            "accept": [
              "video/*",
              "application/octet-stream"
            ],
            "protocols": {
              "simple": {
                "multipart": true,
                "path": "/upload/youtube/v3/videos"
              },
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/youtube/v3/videos"
              }
            },
            "maxSize": "274877906944"
          },
          "supportsMediaUpload": true,
          "description": "Inserts a new resource into this collection.",
          "httpMethod": "POST",
          "path": "youtube/v3/videos",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Video"
          },
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string"
            },
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "stabilize": {
              "description": "Should stabilize be applied to the upload.",
              "type": "boolean",
              "location": "query"
            },
            "onBehalfOfContentOwnerChannel": {
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "type": "string",
              "location": "query"
            },
            "autoLevels": {
              "type": "boolean",
              "description": "Should auto-levels be applied to the upload.",
              "location": "query"
            },
            "notifySubscribers": {
              "type": "boolean",
              "description": "Notify the channel subscribers about the new video. As default, the notification is enabled.",
              "default": "true",
              "location": "query"
            }
          },
          "id": "youtube.videos.insert",
          "flatPath": "youtube/v3/videos",
          "response": {
            "$ref": "Video"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.upload",
            "https://www.googleapis.com/auth/youtubepartner"
          ]
        },
        "update": {
          "description": "Updates an existing resource.",
          "httpMethod": "PUT",
          "path": "youtube/v3/videos",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Video"
          },
          "parameters": {
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a video's privacy setting is contained in the status part. As such, if your request is updating a private video, and the request's part parameter value includes the status part, the video's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the video will revert to the default privacy setting. In addition, not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            }
          },
          "id": "youtube.videos.update",
          "flatPath": "youtube/v3/videos",
          "response": {
            "$ref": "Video"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ]
        },
        "getRating": {
          "response": {
            "$ref": "VideoGetRatingResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "parameters": {
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "id": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "id": "youtube.videos.getRating",
          "flatPath": "youtube/v3/videos/getRating",
          "path": "youtube/v3/videos/getRating",
          "parameterOrder": [
            "id"
          ],
          "description": "Retrieves the ratings that the authorized user gave to a list of specified videos.",
          "httpMethod": "GET"
        },
        "delete": {
          "parameters": {
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "id": {
              "required": true,
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.videos.delete",
          "flatPath": "youtube/v3/videos",
          "path": "youtube/v3/videos",
          "parameterOrder": [
            "id"
          ],
          "description": "Deletes a resource.",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ]
        }
      }
    },
    "search": {
      "methods": {
        "list": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "SearchListResponse"
          },
          "id": "youtube.search.list",
          "flatPath": "youtube/v3/search",
          "parameters": {
            "publishedBefore": {
              "description": "Filter on resources published before this date.",
              "type": "string",
              "format": "google-datetime",
              "location": "query"
            },
            "videoPaidProductPlacement": {
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "",
                "Return all videos, paid product placement or not.",
                "Restrict results to only videos with paid product placement."
              ],
              "enum": [
                "videoPaidProductPlacementUnspecified",
                "any",
                "true"
              ]
            },
            "forMine": {
              "location": "query",
              "type": "boolean",
              "description": "Search for the private videos of the authenticated user."
            },
            "channelId": {
              "location": "query",
              "type": "string",
              "description": "Filter on resources belonging to this channelId."
            },
            "videoType": {
              "type": "string",
              "enumDescriptions": [
                "",
                "Return all videos.",
                "Only retrieve movies.",
                "Only retrieve episodes of shows."
              ],
              "enum": [
                "videoTypeUnspecified",
                "any",
                "movie",
                "episode"
              ],
              "location": "query",
              "description": "Filter on videos of a specific type."
            },
            "topicId": {
              "description": "Restrict results to a particular topic.",
              "type": "string",
              "location": "query"
            },
            "maxResults": {
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "format": "uint32",
              "default": "5",
              "minimum": "0",
              "maximum": "50",
              "type": "integer",
              "location": "query"
            },
            "location": {
              "description": "Filter on location of the video",
              "type": "string",
              "location": "query"
            },
            "videoCategoryId": {
              "location": "query",
              "description": "Filter on videos in a specific category.",
              "type": "string"
            },
            "type": {
              "type": "string",
              "description": "Restrict results to a particular set of resource types from One Platform.",
              "location": "query",
              "repeated": true
            },
            "videoDuration": {
              "type": "string",
              "enumDescriptions": [
                "",
                "Do not filter video search results based on their duration. This is the default value.",
                "Only include videos that are less than four minutes long.",
                "Only include videos that are between four and 20 minutes long (inclusive).",
                "Only include videos longer than 20 minutes."
              ],
              "enum": [
                "videoDurationUnspecified",
                "any",
                "short",
                "medium",
                "long"
              ],
              "location": "query",
              "description": "Filter on the duration of the videos."
            },
            "regionCode": {
              "location": "query",
              "type": "string",
              "description": "Display the content as seen by viewers in this country."
            },
            "relevanceLanguage": {
              "location": "query",
              "description": "Return results relevant to this language.",
              "type": "string"
            },
            "videoDefinition": {
              "description": "Filter on the definition of the videos.",
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "Return all videos, regardless of their resolution.",
                "Only retrieve videos in standard definition.",
                "Only retrieve HD videos."
              ],
              "enum": [
                "any",
                "standard",
                "high"
              ]
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "videoEmbeddable": {
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "",
                "Return all videos, embeddable or not.",
                "Only retrieve embeddable videos."
              ],
              "enum": [
                "videoEmbeddableUnspecified",
                "any",
                "true"
              ],
              "description": "Filter on embeddable videos."
            },
            "videoDimension": {
              "type": "string",
              "enumDescriptions": [
                "Include both 3D and non-3D videos in returned results. This is the default value.",
                "Restrict search results to exclude 3D videos.",
                "Restrict search results to only include 3D videos."
              ],
              "enum": [
                "any",
                "2d",
                "3d"
              ],
              "location": "query",
              "description": "Filter on 3d videos."
            },
            "publishedAfter": {
              "description": "Filter on resources published after this date.",
              "type": "string",
              "format": "google-datetime",
              "location": "query"
            },
            "videoLicense": {
              "description": "Filter on the license of the videos.",
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "Return all videos, regardless of which license they have, that match the query parameters.",
                "Only return videos that have the standard YouTube license.",
                "Only return videos that have a Creative Commons license. Users can reuse videos with this license in other videos that they create. Learn more."
              ],
              "enum": [
                "any",
                "youtube",
                "creativeCommon"
              ]
            },
            "videoCaption": {
              "description": "Filter on the presence of captions on the videos.",
              "type": "string",
              "enumDescriptions": [
                "",
                "Do not filter results based on caption availability.",
                "Only include videos that have captions.",
                "Only include videos that do not have captions."
              ],
              "enum": [
                "videoCaptionUnspecified",
                "any",
                "closedCaption",
                "none"
              ],
              "location": "query"
            },
            "order": {
              "default": "relevance",
              "description": "Sort order of the results.",
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "",
                "Resources are sorted in reverse chronological order based on the date they were created.",
                "Resources are sorted from highest to lowest rating.",
                "Resources are sorted from highest to lowest number of views.",
                "Resources are sorted based on their relevance to the search query. This is the default value for this parameter.",
                "Resources are sorted alphabetically by title.",
                "Channels are sorted in descending order of their number of uploaded videos."
              ],
              "enum": [
                "searchSortUnspecified",
                "date",
                "rating",
                "viewCount",
                "relevance",
                "title",
                "videoCount"
              ]
            },
            "eventType": {
              "description": "Filter on the livestream status of the videos.",
              "type": "string",
              "enumDescriptions": [
                "",
                "The live broadcast is upcoming.",
                "The live broadcast is active.",
                "The live broadcast has been completed."
              ],
              "enum": [
                "none",
                "upcoming",
                "live",
                "completed"
              ],
              "location": "query"
            },
            "videoSyndicated": {
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "",
                "Return all videos, syndicated or not.",
                "Only retrieve syndicated videos."
              ],
              "enum": [
                "videoSyndicatedUnspecified",
                "any",
                "true"
              ],
              "description": "Filter on syndicated videos."
            },
            "pageToken": {
              "location": "query",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string"
            },
            "forDeveloper": {
              "description": "Restrict the search to only retrieve videos uploaded using the project id of the authenticated user.",
              "type": "boolean",
              "location": "query"
            },
            "forContentOwner": {
              "type": "boolean",
              "description": "Search owned by a content owner.",
              "location": "query"
            },
            "channelType": {
              "description": "Add a filter on the channel search.",
              "type": "string",
              "enumDescriptions": [
                "",
                "Return all channels.",
                "Only retrieve shows."
              ],
              "enum": [
                "channelTypeUnspecified",
                "any",
                "show"
              ],
              "location": "query"
            },
            "locationRadius": {
              "description": "Filter on distance from the location (specified above).",
              "type": "string",
              "location": "query"
            },
            "safeSearch": {
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "",
                "YouTube will not filter the search result set.",
                "YouTube will filter some content from search results and, at the least, will filter content that is restricted in your locale. Based on their content, search results could be removed from search results or demoted in search results. This is the default parameter value.",
                "YouTube will try to exclude all restricted content from the search result set. Based on their content, search results could be removed from search results or demoted in search results."
              ],
              "enum": [
                "safeSearchSettingUnspecified",
                "none",
                "moderate",
                "strict"
              ],
              "default": "moderate",
              "description": "Indicates whether the search results should include restricted content as well as standard content."
            },
            "q": {
              "description": "Textual search terms to match.",
              "type": "string",
              "location": "query"
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/search",
          "httpMethod": "GET",
          "description": "Retrieves a list of search resources"
        }
      }
    },
    "comments": {
      "methods": {
        "setModerationStatus": {
          "httpMethod": "POST",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "description": "Sets the moderation status of one or more comments.",
          "id": "youtube.comments.setModerationStatus",
          "flatPath": "youtube/v3/comments/setModerationStatus",
          "parameters": {
            "id": {
              "description": "Modifies the moderation status of the comments with the given IDs",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "moderationStatus": {
              "description": "Specifies the requested moderation status. Note, comments can be in statuses, which are not available through this call. For example, this call does not allow to mark a comment as 'likely spam'. Valid values: 'heldForReview', 'published' or 'rejected'.",
              "required": true,
              "type": "string",
              "enumDescriptions": [
                "The comment is available for public display.",
                "The comment is awaiting review by a moderator.",
                "",
                "The comment is unfit for display."
              ],
              "enum": [
                "published",
                "heldForReview",
                "likelySpam",
                "rejected"
              ],
              "location": "query"
            },
            "banAuthor": {
              "type": "boolean",
              "description": "If set to true the author of the comment gets added to the ban list. This means all future comments of the author will autmomatically be rejected. Only valid in combination with STATUS_REJECTED.",
              "default": "false",
              "location": "query"
            }
          },
          "parameterOrder": [
            "id",
            "moderationStatus"
          ],
          "path": "youtube/v3/comments/setModerationStatus"
        },
        "list": {
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET",
          "path": "youtube/v3/comments",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "pageToken": {
              "location": "query",
              "type": "string",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved."
            },
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter specifies a comma-separated list of one or more comment resource properties that the API response will include."
            },
            "textFormat": {
              "type": "string",
              "enumDescriptions": [
                "",
                "Returns the comments in HTML format. This is the default value.",
                "Returns the comments in plain text format."
              ],
              "enum": [
                "textFormatUnspecified",
                "html",
                "plainText"
              ],
              "location": "query",
              "description": "The requested text format for the returned comments.",
              "default": "html"
            },
            "maxResults": {
              "default": "20",
              "minimum": "1",
              "format": "uint32",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "location": "query",
              "type": "integer",
              "maximum": "100"
            },
            "id": {
              "location": "query",
              "repeated": true,
              "description": "Returns the comments with the given IDs for One Platform.",
              "type": "string"
            },
            "parentId": {
              "type": "string",
              "description": "Returns replies to the specified comment. Note, currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.",
              "location": "query"
            }
          },
          "id": "youtube.comments.list",
          "flatPath": "youtube/v3/comments",
          "response": {
            "$ref": "CommentListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ]
        },
        "insert": {
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection.",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "response": {
            "$ref": "Comment"
          },
          "id": "youtube.comments.insert",
          "flatPath": "youtube/v3/comments",
          "parameters": {
            "part": {
              "description": "The *part* parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Comment"
          },
          "path": "youtube/v3/comments"
        },
        "update": {
          "description": "Updates an existing resource.",
          "httpMethod": "PUT",
          "path": "youtube/v3/comments",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Comment"
          },
          "parameters": {
            "part": {
              "description": "The *part* parameter identifies the properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "id": "youtube.comments.update",
          "flatPath": "youtube/v3/comments",
          "response": {
            "$ref": "Comment"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ]
        },
        "markAsSpam": {
          "description": "Expresses the caller's opinion that one or more comments should be flagged as spam.",
          "httpMethod": "POST",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "parameters": {
            "id": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true,
              "description": "Flags the comments with the given IDs as spam in the caller's opinion."
            }
          },
          "id": "youtube.comments.markAsSpam",
          "flatPath": "youtube/v3/comments/markAsSpam",
          "path": "youtube/v3/comments/markAsSpam",
          "parameterOrder": [
            "id"
          ]
        },
        "delete": {
          "description": "Deletes a resource.",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "parameters": {
            "id": {
              "required": true,
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.comments.delete",
          "flatPath": "youtube/v3/comments",
          "path": "youtube/v3/comments",
          "parameterOrder": [
            "id"
          ]
        }
      }
    },
    "tests": {
      "methods": {
        "insert": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube.readonly"
          ],
          "response": {
            "$ref": "TestItem"
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "TestItem"
          },
          "path": "youtube/v3/tests",
          "id": "youtube.tests.insert",
          "flatPath": "youtube/v3/tests",
          "parameters": {
            "part": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "externalChannelId": {
              "type": "string",
              "location": "query"
            },
            "onBehalfOfContentOwnerChannel": {
              "type": "string",
              "location": "query"
            }
          },
          "httpMethod": "POST",
          "description": "POST method."
        }
      }
    },
    "playlistImages": {
      "methods": {
        "delete": {
          "id": "youtube.playlistImages.delete",
          "flatPath": "youtube/v3/playlistImages",
          "parameters": {
            "id": {
              "description": "Id to identify this image. This is returned from by the List method.",
              "type": "string",
              "location": "query"
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            }
          },
          "parameterOrder": [],
          "path": "youtube/v3/playlistImages",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "description": "Deletes a resource."
        },
        "list": {
          "path": "youtube/v3/playlistImages",
          "parameterOrder": [],
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "pageToken": {
              "location": "query",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more playlistImage resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response.",
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "parent": {
              "location": "query",
              "type": "string",
              "description": "Return PlaylistImages for this playlist id."
            },
            "maxResults": {
              "default": "5",
              "minimum": "0",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "format": "uint32",
              "location": "query",
              "maximum": "50",
              "type": "integer"
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."
            }
          },
          "id": "youtube.playlistImages.list",
          "flatPath": "youtube/v3/playlistImages",
          "response": {
            "$ref": "PlaylistImageListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET"
        },
        "insert": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "PlaylistImage"
          },
          "parameterOrder": [],
          "request": {
            "$ref": "PlaylistImage"
          },
          "path": "youtube/v3/playlistImages",
          "id": "youtube.playlistImages.insert",
          "flatPath": "youtube/v3/playlistImages",
          "parameters": {
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "part": {
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter specifies the properties that the API response will include.",
              "type": "string"
            },
            "onBehalfOfContentOwnerChannel": {
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "location": "query"
            }
          },
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection.",
          "mediaUpload": {
            "accept": [
              "image/jpeg",
              "image/png",
              "application/octet-stream"
            ],
            "protocols": {
              "simple": {
                "multipart": true,
                "path": "/upload/youtube/v3/playlistImages"
              },
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/youtube/v3/playlistImages"
              }
            },
            "maxSize": "2097152"
          },
          "supportsMediaUpload": true
        },
        "update": {
          "httpMethod": "PUT",
          "description": "Updates an existing resource.",
          "supportsMediaUpload": true,
          "mediaUpload": {
            "maxSize": "2097152",
            "accept": [
              "image/jpeg",
              "image/png",
              "application/octet-stream"
            ],
            "protocols": {
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/youtube/v3/playlistImages"
              },
              "simple": {
                "multipart": true,
                "path": "/upload/youtube/v3/playlistImages"
              }
            }
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "PlaylistImage"
          },
          "id": "youtube.playlistImages.update",
          "flatPath": "youtube/v3/playlistImages",
          "parameters": {
            "part": {
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter specifies the properties that the API response will include.",
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "parameterOrder": [],
          "request": {
            "$ref": "PlaylistImage"
          },
          "path": "youtube/v3/playlistImages"
        }
      }
    },
    "thumbnails": {
      "methods": {
        "set": {
          "parameterOrder": [
            "videoId"
          ],
          "path": "youtube/v3/thumbnails/set",
          "id": "youtube.thumbnails.set",
          "flatPath": "youtube/v3/thumbnails/set",
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string"
            },
            "videoId": {
              "location": "query",
              "required": true,
              "type": "string",
              "description": "Returns the Thumbnail with the given video IDs for Stubby or Apiary."
            }
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.upload",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "ThumbnailSetResponse"
          },
          "mediaUpload": {
            "maxSize": "2097152",
            "accept": [
              "image/jpeg",
              "image/png",
              "application/octet-stream"
            ],
            "protocols": {
              "simple": {
                "multipart": true,
                "path": "/upload/youtube/v3/thumbnails/set"
              },
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/youtube/v3/thumbnails/set"
              }
            }
          },
          "supportsMediaUpload": true,
          "httpMethod": "POST",
          "description": "As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here."
        }
      }
    },
    "liveStreams": {
      "methods": {
        "list": {
          "response": {
            "$ref": "LiveStreamListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly"
          ],
          "path": "youtube/v3/liveStreams",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "mine": {
              "type": "boolean",
              "location": "query"
            },
            "pageToken": {
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string",
              "location": "query"
            },
            "part": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter specifies a comma-separated list of one or more liveStream resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, cdn, and status."
            },
            "maxResults": {
              "type": "integer",
              "maximum": "50",
              "location": "query",
              "format": "uint32",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "default": "5",
              "minimum": "0"
            },
            "id": {
              "location": "query",
              "repeated": true,
              "description": "Return LiveStreams with the given ids from Stubby or Apiary.",
              "type": "string"
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."
            }
          },
          "id": "youtube.liveStreams.list",
          "flatPath": "youtube/v3/liveStreams",
          "description": "Retrieve the list of streams associated with the given channel. --",
          "httpMethod": "GET"
        },
        "insert": {
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, content_details, and status.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwnerChannel": {
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.liveStreams.insert",
          "flatPath": "youtube/v3/liveStreams",
          "path": "youtube/v3/liveStreams",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "LiveStream"
          },
          "response": {
            "$ref": "LiveStream"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "description": "Inserts a new stream for the authenticated user.",
          "httpMethod": "POST"
        },
        "update": {
          "response": {
            "$ref": "LiveStream"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. If the request body does not specify a value for a mutable property, the existing value for that property will be removed.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "onBehalfOfContentOwnerChannel": {
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.liveStreams.update",
          "flatPath": "youtube/v3/liveStreams",
          "path": "youtube/v3/liveStreams",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "LiveStream"
          },
          "description": "Updates an existing stream for the authenticated user.",
          "httpMethod": "PUT"
        },
        "delete": {
          "description": "Deletes an existing stream for the authenticated user.",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "path": "youtube/v3/liveStreams",
          "parameterOrder": [
            "id"
          ],
          "parameters": {
            "id": {
              "required": true,
              "type": "string",
              "location": "query"
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.liveStreams.delete",
          "flatPath": "youtube/v3/liveStreams"
        }
      }
    },
    "youtube": {
      "resources": {
        "v3": {
          "resources": {
            "liveChat": {
              "resources": {
                "messages": {
                  "methods": {
                    "stream": {
                      "httpMethod": "GET",
                      "description": "Allows a user to load live chat through a server-streamed RPC.",
                      "scopes": [
                        "https://www.googleapis.com/auth/youtube",
                        "https://www.googleapis.com/auth/youtube.force-ssl",
                        "https://www.googleapis.com/auth/youtube.readonly"
                      ],
                      "response": {
                        "$ref": "LiveChatMessageListResponse"
                      },
                      "parameterOrder": [],
                      "path": "youtube/v3/liveChat/messages/stream",
                      "id": "youtube.youtube.v3.liveChat.messages.stream",
                      "flatPath": "youtube/v3/liveChat/messages/stream",
                      "parameters": {
                        "profileImageSize": {
                          "format": "uint32",
                          "description": "Specifies the size of the profile image that should be returned for each user.",
                          "minimum": "16",
                          "type": "integer",
                          "maximum": "720",
                          "location": "query"
                        },
                        "pageToken": {
                          "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify other pages that could be retrieved.",
                          "type": "string",
                          "location": "query"
                        },
                        "part": {
                          "location": "query",
                          "repeated": true,
                          "type": "string",
                          "description": "The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id, snippet, and authorDetails."
                        },
                        "liveChatId": {
                          "description": "The id of the live chat for which comments should be returned.",
                          "type": "string",
                          "location": "query"
                        },
                        "maxResults": {
                          "format": "uint32",
                          "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.",
                          "default": "500",
                          "minimum": "200",
                          "type": "integer",
                          "maximum": "2000",
                          "location": "query"
                        },
                        "hl": {
                          "description": "Specifies the localization language in which the system messages should be returned.",
                          "type": "string",
                          "location": "query"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "methods": {
            "updateCommentThreads": {
              "path": "youtube/v3/commentThreads",
              "parameterOrder": [],
              "request": {
                "$ref": "CommentThread"
              },
              "parameters": {
                "part": {
                  "type": "string",
                  "description": "The *part* parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.",
                  "location": "query",
                  "repeated": true
                }
              },
              "id": "youtube.youtube.v3.updateCommentThreads",
              "flatPath": "youtube/v3/commentThreads",
              "response": {
                "$ref": "CommentThread"
              },
              "description": "Updates an existing resource.",
              "httpMethod": "PUT"
            }
          }
        }
      }
    },
    "i18nRegions": {
      "methods": {
        "list": {
          "path": "youtube/v3/i18nRegions",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "hl": {
              "type": "string",
              "location": "query",
              "default": "en_US"
            },
            "part": {
              "description": "The *part* parameter specifies the i18nRegion resource properties that the API response will include. Set the parameter value to snippet.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "id": "youtube.i18nRegions.list",
          "flatPath": "youtube/v3/i18nRegions",
          "response": {
            "$ref": "I18nRegionListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET"
        }
      }
    },
    "members": {
      "methods": {
        "list": {
          "httpMethod": "GET",
          "description": "Retrieves a list of members that match the request criteria for a channel.",
          "id": "youtube.members.list",
          "flatPath": "youtube/v3/members",
          "parameters": {
            "mode": {
              "type": "string",
              "enumDescriptions": [
                "",
                "Return only members that joined after the first call with this mode was made.",
                "Return all current members, from newest to oldest."
              ],
              "enum": [
                "listMembersModeUnknown",
                "updates",
                "all_current"
              ],
              "location": "query",
              "description": "Parameter that specifies which channel members to return.",
              "default": "all_current"
            },
            "maxResults": {
              "default": "5",
              "minimum": "0",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "format": "uint32",
              "location": "query",
              "maximum": "1000",
              "type": "integer"
            },
            "filterByMemberChannelId": {
              "type": "string",
              "description": "Comma separated list of channel IDs. Only data about members that are part of this list will be included in the response.",
              "location": "query"
            },
            "hasAccessToLevel": {
              "location": "query",
              "description": "Filter members in the results set to the ones that have access to a level.",
              "type": "string"
            },
            "pageToken": {
              "location": "query",
              "type": "string",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved."
            },
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter specifies the member resource parts that the API response will include. Set the parameter value to snippet."
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/members",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.channel-memberships.creator"
          ],
          "response": {
            "$ref": "MemberListResponse"
          }
        }
      }
    },
    "superChatEvents": {
      "methods": {
        "list": {
          "response": {
            "$ref": "SuperChatEventListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly"
          ],
          "path": "youtube/v3/superChatEvents",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "hl": {
              "description": "Return rendered funding amounts in specified language.",
              "type": "string",
              "location": "query"
            },
            "pageToken": {
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter specifies the superChatEvent resource parts that the API response will include. This parameter is currently not supported.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "maxResults": {
              "default": "5",
              "minimum": "1",
              "format": "uint32",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "location": "query",
              "type": "integer",
              "maximum": "50"
            }
          },
          "id": "youtube.superChatEvents.list",
          "flatPath": "youtube/v3/superChatEvents",
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET"
        }
      }
    },
    "playlists": {
      "methods": {
        "list": {
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET",
          "response": {
            "$ref": "PlaylistListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "path": "youtube/v3/playlists",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "id": {
              "location": "query",
              "repeated": true,
              "type": "string",
              "description": "Return the playlists with the given IDs for Stubby or Apiary."
            },
            "channelId": {
              "type": "string",
              "description": "Return the playlists owned by the specified channel ID.",
              "location": "query"
            },
            "pageToken": {
              "type": "string",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, tags, and timeCreated. As such, if you set *part=snippet*, the API response will contain all of those properties.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string"
            },
            "onBehalfOfContentOwnerChannel": {
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "type": "string",
              "location": "query"
            },
            "maxResults": {
              "default": "5",
              "minimum": "0",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "format": "uint32",
              "location": "query",
              "maximum": "50",
              "type": "integer"
            },
            "hl": {
              "location": "query",
              "type": "string",
              "description": "Return content in specified language"
            },
            "mine": {
              "location": "query",
              "type": "boolean",
              "description": "Return the playlists owned by the authenticated user."
            }
          },
          "id": "youtube.playlists.list",
          "flatPath": "youtube/v3/playlists"
        },
        "insert": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "Playlist"
          },
          "id": "youtube.playlists.insert",
          "flatPath": "youtube/v3/playlists",
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string"
            },
            "part": {
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include."
            },
            "onBehalfOfContentOwnerChannel": {
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "location": "query"
            }
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Playlist"
          },
          "path": "youtube/v3/playlists",
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection."
        },
        "update": {
          "description": "Updates an existing resource.",
          "httpMethod": "PUT",
          "response": {
            "$ref": "Playlist"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "parameters": {
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for mutable properties that are contained in any parts that the request body specifies. For example, a playlist's description is contained in the snippet part, which must be included in the request body. If the request does not specify a value for the snippet.description property, the playlist's existing description will be deleted.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            }
          },
          "id": "youtube.playlists.update",
          "flatPath": "youtube/v3/playlists",
          "path": "youtube/v3/playlists",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Playlist"
          }
        },
        "delete": {
          "parameterOrder": [
            "id"
          ],
          "path": "youtube/v3/playlists",
          "id": "youtube.playlists.delete",
          "flatPath": "youtube/v3/playlists",
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "id": {
              "location": "query",
              "required": true,
              "type": "string"
            }
          },
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "description": "Deletes a resource."
        }
      }
    },
    "liveBroadcasts": {
      "methods": {
        "delete": {
          "id": "youtube.liveBroadcasts.delete",
          "flatPath": "youtube/v3/liveBroadcasts",
          "parameters": {
            "id": {
              "description": "Broadcast to delete.",
              "required": true,
              "type": "string",
              "location": "query"
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "type": "string"
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "parameterOrder": [
            "id"
          ],
          "path": "youtube/v3/liveBroadcasts",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "description": "Delete a given broadcast."
        },
        "bind": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "response": {
            "$ref": "LiveBroadcast"
          },
          "parameterOrder": [
            "id",
            "part"
          ],
          "path": "youtube/v3/liveBroadcasts/bind",
          "id": "youtube.liveBroadcasts.bind",
          "flatPath": "youtube/v3/liveBroadcasts/bind",
          "parameters": {
            "streamId": {
              "type": "string",
              "description": "Stream to bind, if not set unbind the current one.",
              "location": "query"
            },
            "onBehalfOfContentOwner": {
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "id": {
              "location": "query",
              "description": "Broadcast to bind to the stream",
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwnerChannel": {
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "type": "string",
              "location": "query"
            }
          },
          "httpMethod": "POST",
          "description": "Bind a broadcast to a stream."
        },
        "insertCuepoint": {
          "response": {
            "$ref": "Cuepoint"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "path": "youtube/v3/liveBroadcasts/cuepoint",
          "parameterOrder": [],
          "request": {
            "$ref": "Cuepoint"
          },
          "parameters": {
            "id": {
              "type": "string",
              "description": "Broadcast to insert ads to, or equivalently `external_video_id` for internal use.",
              "location": "query"
            },
            "part": {
              "location": "query",
              "repeated": true,
              "description": "The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.",
              "type": "string"
            },
            "onBehalfOfContentOwnerChannel": {
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "location": "query"
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.liveBroadcasts.insertCuepoint",
          "flatPath": "youtube/v3/liveBroadcasts/cuepoint",
          "description": "Insert cuepoints in a broadcast",
          "httpMethod": "POST"
        },
        "list": {
          "path": "youtube/v3/liveBroadcasts",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "pageToken": {
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, status and statistics.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "broadcastType": {
              "type": "string",
              "enumDescriptions": [
                "",
                "Return all broadcasts.",
                "Return only scheduled event broadcasts.",
                "Return only persistent broadcasts."
              ],
              "enum": [
                "broadcastTypeFilterUnspecified",
                "all",
                "event",
                "persistent"
              ],
              "location": "query",
              "description": "Return only broadcasts with the selected type.",
              "default": "event"
            },
            "id": {
              "location": "query",
              "repeated": true,
              "type": "string",
              "description": "Return broadcasts with the given ids from Stubby or Apiary."
            },
            "mine": {
              "type": "boolean",
              "location": "query"
            },
            "broadcastStatus": {
              "description": "Return broadcasts with a certain status, e.g. active broadcasts.",
              "type": "string",
              "enumDescriptions": [
                "",
                "Return all broadcasts.",
                "Return current live broadcasts.",
                "Return broadcasts that have not yet started.",
                "Return broadcasts that have already ended."
              ],
              "enum": [
                "broadcastStatusFilterUnspecified",
                "all",
                "active",
                "upcoming",
                "completed"
              ],
              "location": "query"
            },
            "maxResults": {
              "location": "query",
              "maximum": "50",
              "type": "integer",
              "default": "5",
              "minimum": "0",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "format": "uint32"
            },
            "onBehalfOfContentOwnerChannel": {
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.",
              "type": "string",
              "location": "query"
            }
          },
          "id": "youtube.liveBroadcasts.list",
          "flatPath": "youtube/v3/liveBroadcasts",
          "response": {
            "$ref": "LiveBroadcastListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly"
          ],
          "description": "Retrieve the list of broadcasts associated with the given channel.",
          "httpMethod": "GET"
        },
        "insert": {
          "httpMethod": "POST",
          "description": "Inserts a new stream for the authenticated user.",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "response": {
            "$ref": "LiveBroadcast"
          },
          "id": "youtube.liveBroadcasts.insert",
          "flatPath": "youtube/v3/liveBroadcasts",
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."
            }
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "LiveBroadcast"
          },
          "path": "youtube/v3/liveBroadcasts"
        },
        "update": {
          "response": {
            "$ref": "LiveBroadcast"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "parameters": {
            "onBehalfOfContentOwner": {
              "location": "query",
              "type": "string",
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."
            },
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a broadcast's privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcast, and the request's part parameter value includes the status part, the broadcast's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the broadcast will revert to the default privacy setting.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."
            }
          },
          "id": "youtube.liveBroadcasts.update",
          "flatPath": "youtube/v3/liveBroadcasts",
          "path": "youtube/v3/liveBroadcasts",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "LiveBroadcast"
          },
          "description": "Updates an existing broadcast for the authenticated user.",
          "httpMethod": "PUT"
        },
        "transition": {
          "httpMethod": "POST",
          "description": "Transition a broadcast to a given status.",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "response": {
            "$ref": "LiveBroadcast"
          },
          "id": "youtube.liveBroadcasts.transition",
          "flatPath": "youtube/v3/liveBroadcasts/transition",
          "parameters": {
            "broadcastStatus": {
              "description": "The status to which the broadcast is going to transition.",
              "required": true,
              "type": "string",
              "enumDescriptions": [
                "",
                "Start testing the broadcast. YouTube transmits video to the broadcast's monitor stream. Note that you can only transition a broadcast to the testing state if its contentDetails.monitorStream.enableMonitorStream property is set to true.\",",
                "Return only persistent broadcasts.",
                "The broadcast is over. YouTube stops transmitting video."
              ],
              "enum": [
                "statusUnspecified",
                "testing",
                "live",
                "complete"
              ],
              "location": "query"
            },
            "id": {
              "location": "query",
              "description": "Broadcast to transition.",
              "required": true,
              "type": "string"
            },
            "onBehalfOfContentOwnerChannel": {
              "location": "query",
              "type": "string",
              "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "parameterOrder": [
            "broadcastStatus",
            "id",
            "part"
          ],
          "path": "youtube/v3/liveBroadcasts/transition"
        }
      }
    },
    "videoAbuseReportReasons": {
      "methods": {
        "list": {
          "id": "youtube.videoAbuseReportReasons.list",
          "flatPath": "youtube/v3/videoAbuseReportReasons",
          "parameters": {
            "hl": {
              "default": "en-US",
              "location": "query",
              "type": "string"
            },
            "part": {
              "description": "The *part* parameter specifies the videoCategory resource parts that the API response will include. Supported values are id and snippet.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/videoAbuseReportReasons",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly"
          ],
          "response": {
            "$ref": "VideoAbuseReportReasonListResponse"
          },
          "httpMethod": "GET",
          "description": "Retrieves a list of resources, possibly filtered."
        }
      }
    },
    "liveChatBans": {
      "methods": {
        "insert": {
          "description": "Inserts a new resource into this collection.",
          "httpMethod": "POST",
          "parameters": {
            "part": {
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string",
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet."
            }
          },
          "id": "youtube.liveChatBans.insert",
          "flatPath": "youtube/v3/liveChat/bans",
          "path": "youtube/v3/liveChat/bans",
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "LiveChatBan"
          },
          "response": {
            "$ref": "LiveChatBan"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ]
        },
        "delete": {
          "parameterOrder": [
            "id"
          ],
          "path": "youtube/v3/liveChat/bans",
          "id": "youtube.liveChatBans.delete",
          "flatPath": "youtube/v3/liveChat/bans",
          "parameters": {
            "id": {
              "location": "query",
              "required": true,
              "type": "string"
            }
          },
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "description": "Deletes a chat ban."
        }
      }
    },
    "liveChatModerators": {
      "methods": {
        "delete": {
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "description": "Deletes a chat moderator.",
          "id": "youtube.liveChatModerators.delete",
          "flatPath": "youtube/v3/liveChat/moderators",
          "parameters": {
            "id": {
              "required": true,
              "type": "string",
              "location": "query"
            }
          },
          "parameterOrder": [
            "id"
          ],
          "path": "youtube/v3/liveChat/moderators"
        },
        "list": {
          "httpMethod": "GET",
          "description": "Retrieves a list of resources, possibly filtered.",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly"
          ],
          "response": {
            "$ref": "LiveChatModeratorListResponse"
          },
          "id": "youtube.liveChatModerators.list",
          "flatPath": "youtube/v3/liveChat/moderators",
          "parameters": {
            "maxResults": {
              "maximum": "50",
              "type": "integer",
              "location": "query",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "format": "uint32",
              "default": "5",
              "minimum": "0"
            },
            "pageToken": {
              "type": "string",
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "liveChatId": {
              "required": true,
              "type": "string",
              "description": "The id of the live chat for which moderators should be returned.",
              "location": "query"
            }
          },
          "parameterOrder": [
            "liveChatId",
            "part"
          ],
          "path": "youtube/v3/liveChat/moderators"
        },
        "insert": {
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl"
          ],
          "response": {
            "$ref": "LiveChatModerator"
          },
          "id": "youtube.liveChatModerators.insert",
          "flatPath": "youtube/v3/liveChat/moderators",
          "parameters": {
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "LiveChatModerator"
          },
          "path": "youtube/v3/liveChat/moderators",
          "httpMethod": "POST",
          "description": "Inserts a new resource into this collection."
        }
      }
    },
    "membershipsLevels": {
      "methods": {
        "list": {
          "id": "youtube.membershipsLevels.list",
          "flatPath": "youtube/v3/membershipsLevels",
          "parameters": {
            "part": {
              "description": "The *part* parameter specifies the membershipsLevel resource parts that the API response will include. Supported values are id and snippet.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "parameterOrder": [
            "part"
          ],
          "path": "youtube/v3/membershipsLevels",
          "scopes": [
            "https://www.googleapis.com/auth/youtube.channel-memberships.creator"
          ],
          "response": {
            "$ref": "MembershipsLevelListResponse"
          },
          "httpMethod": "GET",
          "description": "Retrieves a list of all pricing levels offered by a creator to the fans."
        }
      }
    },
    "channels": {
      "methods": {
        "list": {
          "description": "Retrieves a list of resources, possibly filtered.",
          "httpMethod": "GET",
          "path": "youtube/v3/channels",
          "parameterOrder": [
            "part"
          ],
          "parameters": {
            "managedByMe": {
              "type": "boolean",
              "description": "Return the channels managed by the authenticated user.",
              "location": "query"
            },
            "hl": {
              "location": "query",
              "description": "Stands for \"host language\". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX).",
              "type": "string"
            },
            "mySubscribers": {
              "type": "boolean",
              "description": "Return the channels subscribed to the authenticated user",
              "location": "query"
            },
            "forUsername": {
              "location": "query",
              "description": "Return the channel associated with a YouTube username.",
              "type": "string"
            },
            "maxResults": {
              "default": "5",
              "minimum": "0",
              "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
              "format": "uint32",
              "location": "query",
              "maximum": "50",
              "type": "integer"
            },
            "categoryId": {
              "location": "query",
              "type": "string",
              "description": "Return the channels within the specified guide category ID."
            },
            "mine": {
              "location": "query",
              "description": "Return the ids of channels owned by the authenticated user.",
              "type": "boolean"
            },
            "forHandle": {
              "location": "query",
              "description": "Return the channel associated with a YouTube handle.",
              "type": "string"
            },
            "id": {
              "type": "string",
              "description": "Return the channels with the specified IDs.",
              "location": "query",
              "repeated": true
            },
            "onBehalfOfContentOwner": {
              "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            },
            "pageToken": {
              "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
              "type": "string",
              "location": "query"
            },
            "part": {
              "description": "The *part* parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set *part=contentDetails*, the API response will also contain all of those nested properties.",
              "location": "query",
              "repeated": true,
              "required": true,
              "type": "string"
            }
          },
          "id": "youtube.channels.list",
          "flatPath": "youtube/v3/channels",
          "response": {
            "$ref": "ChannelListResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtube.readonly",
            "https://www.googleapis.com/auth/youtubepartner",
            "https://www.googleapis.com/auth/youtubepartner-channel-audit"
          ]
        },
        "update": {
          "httpMethod": "PUT",
          "description": "Updates an existing resource.",
          "scopes": [
            "https://www.googleapis.com/auth/youtube",
            "https://www.googleapis.com/auth/youtube.force-ssl",
            "https://www.googleapis.com/auth/youtubepartner"
          ],
          "response": {
            "$ref": "Channel"
          },
          "parameterOrder": [
            "part"
          ],
          "request": {
            "$ref": "Channel"
          },
          "path": "youtube/v3/channels",
          "id": "youtube.channels.update",
          "flatPath": "youtube/v3/channels",
          "parameters": {
            "part": {
              "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The API currently only allows the parameter value to be set to either brandingSettings or invideoPromotion. (You cannot update both of those parts with a single request.) Note that this method overrides the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies.",
              "required": true,
              "type": "string",
              "location": "query",
              "repeated": true
            },
            "onBehalfOfContentOwner": {
              "description": "The *onBehalfOfContentOwner* parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.",
              "type": "string",
              "location": "query"
            }
          }
        }
      }
    }
  },
  "parameters": {
    "key": {
      "location": "query",
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
      "type": "string"
    },
    "access_token": {
      "location": "query",
      "description": "OAuth access token.",
      "type": "string"
    },
    "$.xgafv": {
      "description": "V1 error format.",
      "type": "string",
      "enum": [
        "1",
        "2"
      ],
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "location": "query"
    },
    "alt": {
      "type": "string",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "location": "query",
      "description": "Data format for response.",
      "default": "json"
    },
    "upload_protocol": {
      "location": "query",
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "prettyPrint": {
      "type": "boolean",
      "description": "Returns response with indentations and line breaks.",
      "default": "true",
      "location": "query"
    },
    "quotaUser": {
      "type": "string",
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
      "location": "query"
    },
    "uploadType": {
      "location": "query",
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "fields": {
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string",
      "location": "query"
    },
    "oauth_token": {
      "description": "OAuth 2.0 token for the current user.",
      "type": "string",
      "location": "query"
    },
    "callback": {
      "location": "query",
      "description": "JSONP",
      "type": "string"
    }
  },
  "kind": "discovery#restDescription"
}
