2015-06-23 23:05:46 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module YoutubeV3
|
|
|
|
|
|
|
|
class AccessPolicy
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Activity
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsBulletin
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsChannelItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsComment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsFavorite
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsLike
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsPlaylistItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsPromotedItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsRecommendation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsSocial
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsSubscription
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsUpload
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListActivitiesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ActivitySnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Caption
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListCaptionsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class CaptionSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class CdnSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Channel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelAuditDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelBannerResource
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelBrandingSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
class RelatedPlaylists
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelContentOwnerDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelConversionPing
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelConversionPings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListChannelsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelLocalization
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class ChannelProfileDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class ChannelSection
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSectionContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListChannelSectionsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSectionLocalization
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSectionSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSectionTargeting
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelStatistics
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelTopicDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Comment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListCommentsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class CommentSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
class CommentSnippetAuthorChannelId
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class CommentThread
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListCommentThreadsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class CommentThreadReplies
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class CommentThreadSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ContentRating
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class GeoPoint
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class GuideCategory
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListGuideCategoriesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class GuideCategorySnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class I18nLanguage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListI18nLanguagesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class I18nLanguageSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class I18nRegion
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListI18nRegionsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class I18nRegionSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ImageSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class IngestionInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class InvideoBranding
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class InvideoPosition
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class InvideoPromotion
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class InvideoTiming
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LanguageTag
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2019-08-16 00:37:59 +00:00
|
|
|
class LevelDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class LiveBroadcast
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveBroadcastContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListLiveBroadcastsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveBroadcastSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveBroadcastStatistics
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveBroadcastStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class LiveChatBan
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatBanSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatFanFundingEventDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatMessage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatMessageAuthorDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
2016-04-14 18:15:27 +00:00
|
|
|
class LiveChatMessageDeletedDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class LiveChatMessageListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
2016-04-14 18:15:27 +00:00
|
|
|
class LiveChatMessageRetractedDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class LiveChatMessageSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatModerator
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatModeratorListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatModeratorSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
2017-02-03 19:29:28 +00:00
|
|
|
class LiveChatSuperChatDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-01-31 00:36:50 +00:00
|
|
|
class LiveChatSuperStickerDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class LiveChatTextMessageDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
2016-04-14 18:15:27 +00:00
|
|
|
class LiveChatUserBannedMessageDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class LiveStream
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamConfigurationIssue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamHealthStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListLiveStreamsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LocalizedProperty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LocalizedString
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2019-08-16 00:37:59 +00:00
|
|
|
class Member
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MemberListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MemberSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-27 00:38:30 +00:00
|
|
|
class MembershipsDuration
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsDurationAtLevel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-08-16 00:37:59 +00:00
|
|
|
class MembershipsLevel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsLevelListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsLevelSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class MonitorStreamInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PageInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Playlist
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistItemContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListPlaylistItemsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistItemSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistItemStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListPlaylistResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistLocalization
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistPlayer
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PromotedItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PromotedItemId
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class PropertyValue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ResourceId
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SearchListsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SearchResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SearchResultSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class Sponsor
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SponsorListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SponsorSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Subscription
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SubscriptionContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListSubscriptionResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SubscriptionSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SubscriptionSubscriberSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2017-02-03 19:29:28 +00:00
|
|
|
class SuperChatEvent
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SuperChatEventListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SuperChatEventSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-01-31 00:36:50 +00:00
|
|
|
class SuperStickerMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Thumbnail
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ThumbnailDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SetThumbnailResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class TokenPagination
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Video
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAbuseReport
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAbuseReportReason
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListVideoAbuseReportReasonResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAbuseReportReasonSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAbuseReportSecondaryReason
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAgeGating
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoCategory
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListVideoCategoryResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoCategorySnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoContentDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoContentDetailsRegionRestriction
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoFileDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoFileDetailsAudioStream
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoFileDetailsVideoStream
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListVideosResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoLiveStreamingDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoLocalization
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoMonetizationDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoPlayer
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoProcessingDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoProcessingDetailsProcessingProgress
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoProjectDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoRating
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
class VideoRatingListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class VideoRecordingDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoSnippet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoStatistics
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoSuggestions
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoSuggestionsTagSuggestion
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VideoTopicDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class WatchSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccessPolicy
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :allowed, as: 'allowed'
|
|
|
|
collection :exception, as: 'exception'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Activity
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::ActivityContentDetails, decorator: Google::Apis::YoutubeV3::ActivityContentDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ActivitySnippet, decorator: Google::Apis::YoutubeV3::ActivitySnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bulletin, as: 'bulletin', class: Google::Apis::YoutubeV3::ActivityContentDetailsBulletin, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsBulletin::Representation
|
|
|
|
|
|
|
|
property :channel_item, as: 'channelItem', class: Google::Apis::YoutubeV3::ActivityContentDetailsChannelItem, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsChannelItem::Representation
|
|
|
|
|
|
|
|
property :comment, as: 'comment', class: Google::Apis::YoutubeV3::ActivityContentDetailsComment, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsComment::Representation
|
|
|
|
|
|
|
|
property :favorite, as: 'favorite', class: Google::Apis::YoutubeV3::ActivityContentDetailsFavorite, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsFavorite::Representation
|
|
|
|
|
|
|
|
property :like, as: 'like', class: Google::Apis::YoutubeV3::ActivityContentDetailsLike, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsLike::Representation
|
|
|
|
|
|
|
|
property :playlist_item, as: 'playlistItem', class: Google::Apis::YoutubeV3::ActivityContentDetailsPlaylistItem, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsPlaylistItem::Representation
|
|
|
|
|
|
|
|
property :promoted_item, as: 'promotedItem', class: Google::Apis::YoutubeV3::ActivityContentDetailsPromotedItem, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsPromotedItem::Representation
|
|
|
|
|
|
|
|
property :recommendation, as: 'recommendation', class: Google::Apis::YoutubeV3::ActivityContentDetailsRecommendation, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsRecommendation::Representation
|
|
|
|
|
|
|
|
property :social, as: 'social', class: Google::Apis::YoutubeV3::ActivityContentDetailsSocial, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsSocial::Representation
|
|
|
|
|
|
|
|
property :subscription, as: 'subscription', class: Google::Apis::YoutubeV3::ActivityContentDetailsSubscription, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsSubscription::Representation
|
|
|
|
|
|
|
|
property :upload, as: 'upload', class: Google::Apis::YoutubeV3::ActivityContentDetailsUpload, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsUpload::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsBulletin
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsChannelItem
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsComment
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsFavorite
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsLike
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsPlaylistItem
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :playlist_id, as: 'playlistId'
|
|
|
|
property :playlist_item_id, as: 'playlistItemId'
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsPromotedItem
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :ad_tag, as: 'adTag'
|
|
|
|
property :click_tracking_url, as: 'clickTrackingUrl'
|
|
|
|
property :creative_view_url, as: 'creativeViewUrl'
|
|
|
|
property :cta_type, as: 'ctaType'
|
|
|
|
property :custom_cta_button_text, as: 'customCtaButtonText'
|
|
|
|
property :description_text, as: 'descriptionText'
|
|
|
|
property :destination_url, as: 'destinationUrl'
|
|
|
|
collection :forecasting_url, as: 'forecastingUrl'
|
|
|
|
collection :impression_url, as: 'impressionUrl'
|
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsRecommendation
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
property :seed_resource_id, as: 'seedResourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsSocial
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :author, as: 'author'
|
|
|
|
property :image_url, as: 'imageUrl'
|
|
|
|
property :reference_url, as: 'referenceUrl'
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsSubscription
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivityContentDetailsUpload
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListActivitiesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Activity, decorator: Google::Apis::YoutubeV3::Activity::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ActivitySnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :channel_title, as: 'channelTitle'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :group_id, as: 'groupId'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Caption
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::CaptionSnippet, decorator: Google::Apis::YoutubeV3::CaptionSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListCaptionsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Caption, decorator: Google::Apis::YoutubeV3::Caption::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CaptionSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :audio_track_type, as: 'audioTrackType'
|
|
|
|
property :failure_reason, as: 'failureReason'
|
|
|
|
property :is_auto_synced, as: 'isAutoSynced'
|
|
|
|
property :is_cc, as: 'isCC'
|
|
|
|
property :is_draft, as: 'isDraft'
|
|
|
|
property :is_easy_reader, as: 'isEasyReader'
|
|
|
|
property :is_large, as: 'isLarge'
|
|
|
|
property :language, as: 'language'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :last_updated, as: 'lastUpdated'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :track_kind, as: 'trackKind'
|
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CdnSettings
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :format, as: 'format'
|
2016-05-16 16:49:15 +00:00
|
|
|
property :frame_rate, as: 'frameRate'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :ingestion_info, as: 'ingestionInfo', class: Google::Apis::YoutubeV3::IngestionInfo, decorator: Google::Apis::YoutubeV3::IngestionInfo::Representation
|
|
|
|
|
|
|
|
property :ingestion_type, as: 'ingestionType'
|
2016-05-16 16:49:15 +00:00
|
|
|
property :resolution, as: 'resolution'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Channel
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :audit_details, as: 'auditDetails', class: Google::Apis::YoutubeV3::ChannelAuditDetails, decorator: Google::Apis::YoutubeV3::ChannelAuditDetails::Representation
|
|
|
|
|
|
|
|
property :branding_settings, as: 'brandingSettings', class: Google::Apis::YoutubeV3::ChannelBrandingSettings, decorator: Google::Apis::YoutubeV3::ChannelBrandingSettings::Representation
|
|
|
|
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::ChannelContentDetails, decorator: Google::Apis::YoutubeV3::ChannelContentDetails::Representation
|
|
|
|
|
|
|
|
property :content_owner_details, as: 'contentOwnerDetails', class: Google::Apis::YoutubeV3::ChannelContentOwnerDetails, decorator: Google::Apis::YoutubeV3::ChannelContentOwnerDetails::Representation
|
|
|
|
|
|
|
|
property :conversion_pings, as: 'conversionPings', class: Google::Apis::YoutubeV3::ChannelConversionPings, decorator: Google::Apis::YoutubeV3::ChannelConversionPings::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :invideo_promotion, as: 'invideoPromotion', class: Google::Apis::YoutubeV3::InvideoPromotion, decorator: Google::Apis::YoutubeV3::InvideoPromotion::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::ChannelLocalization, decorator: Google::Apis::YoutubeV3::ChannelLocalization::Representation
|
|
|
|
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ChannelSnippet, decorator: Google::Apis::YoutubeV3::ChannelSnippet::Representation
|
|
|
|
|
|
|
|
property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::ChannelStatistics, decorator: Google::Apis::YoutubeV3::ChannelStatistics::Representation
|
|
|
|
|
|
|
|
property :status, as: 'status', class: Google::Apis::YoutubeV3::ChannelStatus, decorator: Google::Apis::YoutubeV3::ChannelStatus::Representation
|
|
|
|
|
|
|
|
property :topic_details, as: 'topicDetails', class: Google::Apis::YoutubeV3::ChannelTopicDetails, decorator: Google::Apis::YoutubeV3::ChannelTopicDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelAuditDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :community_guidelines_good_standing, as: 'communityGuidelinesGoodStanding'
|
|
|
|
property :content_id_claims_good_standing, as: 'contentIdClaimsGoodStanding'
|
|
|
|
property :copyright_strikes_good_standing, as: 'copyrightStrikesGoodStanding'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelBannerResource
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelBrandingSettings
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel, as: 'channel', class: Google::Apis::YoutubeV3::ChannelSettings, decorator: Google::Apis::YoutubeV3::ChannelSettings::Representation
|
|
|
|
|
|
|
|
collection :hints, as: 'hints', class: Google::Apis::YoutubeV3::PropertyValue, decorator: Google::Apis::YoutubeV3::PropertyValue::Representation
|
|
|
|
|
|
|
|
property :image, as: 'image', class: Google::Apis::YoutubeV3::ImageSettings, decorator: Google::Apis::YoutubeV3::ImageSettings::Representation
|
|
|
|
|
|
|
|
property :watch, as: 'watch', class: Google::Apis::YoutubeV3::WatchSettings, decorator: Google::Apis::YoutubeV3::WatchSettings::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :related_playlists, as: 'relatedPlaylists', class: Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists, decorator: Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
class RelatedPlaylists
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :favorites, as: 'favorites'
|
|
|
|
property :likes, as: 'likes'
|
|
|
|
property :uploads, as: 'uploads'
|
|
|
|
property :watch_history, as: 'watchHistory'
|
|
|
|
property :watch_later, as: 'watchLater'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelContentOwnerDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_owner, as: 'contentOwner'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :time_linked, as: 'timeLinked'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelConversionPing
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :context, as: 'context'
|
|
|
|
property :conversion_url, as: 'conversionUrl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelConversionPings
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :pings, as: 'pings', class: Google::Apis::YoutubeV3::ChannelConversionPing, decorator: Google::Apis::YoutubeV3::ChannelConversionPing::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListChannelsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Channel, decorator: Google::Apis::YoutubeV3::Channel::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelLocalization
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class ChannelProfileDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :channel_url, as: 'channelUrl'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :profile_image_url, as: 'profileImageUrl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class ChannelSection
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::ChannelSectionContentDetails, decorator: Google::Apis::YoutubeV3::ChannelSectionContentDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::ChannelSectionLocalization, decorator: Google::Apis::YoutubeV3::ChannelSectionLocalization::Representation
|
|
|
|
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ChannelSectionSnippet, decorator: Google::Apis::YoutubeV3::ChannelSectionSnippet::Representation
|
|
|
|
|
|
|
|
property :targeting, as: 'targeting', class: Google::Apis::YoutubeV3::ChannelSectionTargeting, decorator: Google::Apis::YoutubeV3::ChannelSectionTargeting::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSectionContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :channels, as: 'channels'
|
|
|
|
collection :playlists, as: 'playlists'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListChannelSectionsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::ChannelSection, decorator: Google::Apis::YoutubeV3::ChannelSection::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSectionLocalization
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSectionSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :default_language, as: 'defaultLanguage'
|
|
|
|
property :localized, as: 'localized', class: Google::Apis::YoutubeV3::ChannelSectionLocalization, decorator: Google::Apis::YoutubeV3::ChannelSectionLocalization::Representation
|
|
|
|
|
|
|
|
property :position, as: 'position'
|
|
|
|
property :style, as: 'style'
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSectionTargeting
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :countries, as: 'countries'
|
|
|
|
collection :languages, as: 'languages'
|
|
|
|
collection :regions, as: 'regions'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSettings
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :default_language, as: 'defaultLanguage'
|
|
|
|
property :default_tab, as: 'defaultTab'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :featured_channels_title, as: 'featuredChannelsTitle'
|
|
|
|
collection :featured_channels_urls, as: 'featuredChannelsUrls'
|
|
|
|
property :keywords, as: 'keywords'
|
|
|
|
property :moderate_comments, as: 'moderateComments'
|
|
|
|
property :profile_color, as: 'profileColor'
|
|
|
|
property :show_browse_view, as: 'showBrowseView'
|
|
|
|
property :show_related_channels, as: 'showRelatedChannels'
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :tracking_analytics_account_id, as: 'trackingAnalyticsAccountId'
|
|
|
|
property :unsubscribed_trailer, as: 'unsubscribedTrailer'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :custom_url, as: 'customUrl'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :default_language, as: 'defaultLanguage'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :localized, as: 'localized', class: Google::Apis::YoutubeV3::ChannelLocalization, decorator: Google::Apis::YoutubeV3::ChannelLocalization::Representation
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelStatistics
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :comment_count, :numeric_string => true, as: 'commentCount'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :hidden_subscriber_count, as: 'hiddenSubscriberCount'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :subscriber_count, :numeric_string => true, as: 'subscriberCount'
|
|
|
|
property :video_count, :numeric_string => true, as: 'videoCount'
|
|
|
|
property :view_count, :numeric_string => true, as: 'viewCount'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_linked, as: 'isLinked'
|
|
|
|
property :long_uploads_status, as: 'longUploadsStatus'
|
2020-01-11 00:38:00 +00:00
|
|
|
property :made_for_kids, as: 'madeForKids'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :privacy_status, as: 'privacyStatus'
|
2020-01-11 00:38:00 +00:00
|
|
|
property :self_declared_made_for_kids, as: 'selfDeclaredMadeForKids'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ChannelTopicDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-02-03 19:29:28 +00:00
|
|
|
collection :topic_categories, as: 'topicCategories'
|
2015-06-23 23:05:46 +00:00
|
|
|
collection :topic_ids, as: 'topicIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Comment
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::CommentSnippet, decorator: Google::Apis::YoutubeV3::CommentSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListCommentsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Comment, decorator: Google::Apis::YoutubeV3::Comment::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CommentSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2020-05-21 00:38:31 +00:00
|
|
|
property :author_channel_id, as: 'authorChannelId', class: Google::Apis::YoutubeV3::CommentSnippetAuthorChannelId, decorator: Google::Apis::YoutubeV3::CommentSnippetAuthorChannelId::Representation
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
property :author_channel_url, as: 'authorChannelUrl'
|
|
|
|
property :author_display_name, as: 'authorDisplayName'
|
|
|
|
property :author_profile_image_url, as: 'authorProfileImageUrl'
|
|
|
|
property :can_rate, as: 'canRate'
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :like_count, as: 'likeCount'
|
|
|
|
property :moderation_status, as: 'moderationStatus'
|
|
|
|
property :parent_id, as: 'parentId'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :text_display, as: 'textDisplay'
|
|
|
|
property :text_original, as: 'textOriginal'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :updated_at, as: 'updatedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
property :viewer_rating, as: 'viewerRating'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
class CommentSnippetAuthorChannelId
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class CommentThread
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :replies, as: 'replies', class: Google::Apis::YoutubeV3::CommentThreadReplies, decorator: Google::Apis::YoutubeV3::CommentThreadReplies::Representation
|
|
|
|
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::CommentThreadSnippet, decorator: Google::Apis::YoutubeV3::CommentThreadSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListCommentThreadsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::CommentThread, decorator: Google::Apis::YoutubeV3::CommentThread::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CommentThreadReplies
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :comments, as: 'comments', class: Google::Apis::YoutubeV3::Comment, decorator: Google::Apis::YoutubeV3::Comment::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CommentThreadSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :can_reply, as: 'canReply'
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :is_public, as: 'isPublic'
|
|
|
|
property :top_level_comment, as: 'topLevelComment', class: Google::Apis::YoutubeV3::Comment, decorator: Google::Apis::YoutubeV3::Comment::Representation
|
|
|
|
|
|
|
|
property :total_reply_count, as: 'totalReplyCount'
|
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ContentRating
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :acb_rating, as: 'acbRating'
|
|
|
|
property :agcom_rating, as: 'agcomRating'
|
|
|
|
property :anatel_rating, as: 'anatelRating'
|
|
|
|
property :bbfc_rating, as: 'bbfcRating'
|
|
|
|
property :bfvc_rating, as: 'bfvcRating'
|
|
|
|
property :bmukk_rating, as: 'bmukkRating'
|
|
|
|
property :catv_rating, as: 'catvRating'
|
|
|
|
property :catvfr_rating, as: 'catvfrRating'
|
|
|
|
property :cbfc_rating, as: 'cbfcRating'
|
|
|
|
property :ccc_rating, as: 'cccRating'
|
|
|
|
property :cce_rating, as: 'cceRating'
|
|
|
|
property :chfilm_rating, as: 'chfilmRating'
|
|
|
|
property :chvrs_rating, as: 'chvrsRating'
|
|
|
|
property :cicf_rating, as: 'cicfRating'
|
|
|
|
property :cna_rating, as: 'cnaRating'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :cnc_rating, as: 'cncRating'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :csa_rating, as: 'csaRating'
|
|
|
|
property :cscf_rating, as: 'cscfRating'
|
|
|
|
property :czfilm_rating, as: 'czfilmRating'
|
|
|
|
property :djctq_rating, as: 'djctqRating'
|
|
|
|
collection :djctq_rating_reasons, as: 'djctqRatingReasons'
|
2016-01-20 20:41:43 +00:00
|
|
|
property :ecbmct_rating, as: 'ecbmctRating'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :eefilm_rating, as: 'eefilmRating'
|
|
|
|
property :egfilm_rating, as: 'egfilmRating'
|
|
|
|
property :eirin_rating, as: 'eirinRating'
|
|
|
|
property :fcbm_rating, as: 'fcbmRating'
|
|
|
|
property :fco_rating, as: 'fcoRating'
|
|
|
|
property :fmoc_rating, as: 'fmocRating'
|
|
|
|
property :fpb_rating, as: 'fpbRating'
|
2016-06-23 19:42:56 +00:00
|
|
|
collection :fpb_rating_reasons, as: 'fpbRatingReasons'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :fsk_rating, as: 'fskRating'
|
|
|
|
property :grfilm_rating, as: 'grfilmRating'
|
|
|
|
property :icaa_rating, as: 'icaaRating'
|
|
|
|
property :ifco_rating, as: 'ifcoRating'
|
|
|
|
property :ilfilm_rating, as: 'ilfilmRating'
|
|
|
|
property :incaa_rating, as: 'incaaRating'
|
|
|
|
property :kfcb_rating, as: 'kfcbRating'
|
|
|
|
property :kijkwijzer_rating, as: 'kijkwijzerRating'
|
|
|
|
property :kmrb_rating, as: 'kmrbRating'
|
|
|
|
property :lsf_rating, as: 'lsfRating'
|
|
|
|
property :mccaa_rating, as: 'mccaaRating'
|
|
|
|
property :mccyp_rating, as: 'mccypRating'
|
2017-01-13 23:04:35 +00:00
|
|
|
property :mcst_rating, as: 'mcstRating'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :mda_rating, as: 'mdaRating'
|
|
|
|
property :medietilsynet_rating, as: 'medietilsynetRating'
|
|
|
|
property :meku_rating, as: 'mekuRating'
|
2017-09-14 00:36:39 +00:00
|
|
|
property :mena_mpaa_rating, as: 'menaMpaaRating'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :mibac_rating, as: 'mibacRating'
|
|
|
|
property :moc_rating, as: 'mocRating'
|
|
|
|
property :moctw_rating, as: 'moctwRating'
|
|
|
|
property :mpaa_rating, as: 'mpaaRating'
|
2017-09-14 00:36:39 +00:00
|
|
|
property :mpaat_rating, as: 'mpaatRating'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :mtrcb_rating, as: 'mtrcbRating'
|
|
|
|
property :nbc_rating, as: 'nbcRating'
|
|
|
|
property :nbcpl_rating, as: 'nbcplRating'
|
|
|
|
property :nfrc_rating, as: 'nfrcRating'
|
|
|
|
property :nfvcb_rating, as: 'nfvcbRating'
|
|
|
|
property :nkclv_rating, as: 'nkclvRating'
|
2019-09-10 21:25:47 +00:00
|
|
|
property :nmc_rating, as: 'nmcRating'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :oflc_rating, as: 'oflcRating'
|
|
|
|
property :pefilm_rating, as: 'pefilmRating'
|
|
|
|
property :rcnof_rating, as: 'rcnofRating'
|
|
|
|
property :resorteviolencia_rating, as: 'resorteviolenciaRating'
|
|
|
|
property :rtc_rating, as: 'rtcRating'
|
|
|
|
property :rte_rating, as: 'rteRating'
|
|
|
|
property :russia_rating, as: 'russiaRating'
|
|
|
|
property :skfilm_rating, as: 'skfilmRating'
|
|
|
|
property :smais_rating, as: 'smaisRating'
|
|
|
|
property :smsa_rating, as: 'smsaRating'
|
|
|
|
property :tvpg_rating, as: 'tvpgRating'
|
|
|
|
property :yt_rating, as: 'ytRating'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GeoPoint
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :altitude, as: 'altitude'
|
|
|
|
property :latitude, as: 'latitude'
|
|
|
|
property :longitude, as: 'longitude'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GuideCategory
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::GuideCategorySnippet, decorator: Google::Apis::YoutubeV3::GuideCategorySnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListGuideCategoriesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::GuideCategory, decorator: Google::Apis::YoutubeV3::GuideCategory::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GuideCategorySnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class I18nLanguage
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::I18nLanguageSnippet, decorator: Google::Apis::YoutubeV3::I18nLanguageSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListI18nLanguagesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::I18nLanguage, decorator: Google::Apis::YoutubeV3::I18nLanguage::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class I18nLanguageSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :hl, as: 'hl'
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class I18nRegion
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::I18nRegionSnippet, decorator: Google::Apis::YoutubeV3::I18nRegionSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListI18nRegionsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::I18nRegion, decorator: Google::Apis::YoutubeV3::I18nRegion::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class I18nRegionSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :gl, as: 'gl'
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ImageSettings
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :background_image_url, as: 'backgroundImageUrl', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
|
|
|
|
|
|
|
|
property :banner_external_url, as: 'bannerExternalUrl'
|
|
|
|
property :banner_image_url, as: 'bannerImageUrl'
|
|
|
|
property :banner_mobile_extra_hd_image_url, as: 'bannerMobileExtraHdImageUrl'
|
|
|
|
property :banner_mobile_hd_image_url, as: 'bannerMobileHdImageUrl'
|
|
|
|
property :banner_mobile_image_url, as: 'bannerMobileImageUrl'
|
|
|
|
property :banner_mobile_low_image_url, as: 'bannerMobileLowImageUrl'
|
|
|
|
property :banner_mobile_medium_hd_image_url, as: 'bannerMobileMediumHdImageUrl'
|
|
|
|
property :banner_tablet_extra_hd_image_url, as: 'bannerTabletExtraHdImageUrl'
|
|
|
|
property :banner_tablet_hd_image_url, as: 'bannerTabletHdImageUrl'
|
|
|
|
property :banner_tablet_image_url, as: 'bannerTabletImageUrl'
|
|
|
|
property :banner_tablet_low_image_url, as: 'bannerTabletLowImageUrl'
|
|
|
|
property :banner_tv_high_image_url, as: 'bannerTvHighImageUrl'
|
|
|
|
property :banner_tv_image_url, as: 'bannerTvImageUrl'
|
|
|
|
property :banner_tv_low_image_url, as: 'bannerTvLowImageUrl'
|
|
|
|
property :banner_tv_medium_image_url, as: 'bannerTvMediumImageUrl'
|
|
|
|
property :large_branded_banner_image_imap_script, as: 'largeBrandedBannerImageImapScript', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
|
|
|
|
|
|
|
|
property :large_branded_banner_image_url, as: 'largeBrandedBannerImageUrl', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
|
|
|
|
|
|
|
|
property :small_branded_banner_image_imap_script, as: 'smallBrandedBannerImageImapScript', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
|
|
|
|
|
|
|
|
property :small_branded_banner_image_url, as: 'smallBrandedBannerImageUrl', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
|
|
|
|
|
|
|
|
property :tracking_image_url, as: 'trackingImageUrl'
|
|
|
|
property :watch_icon_image_url, as: 'watchIconImageUrl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class IngestionInfo
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :backup_ingestion_address, as: 'backupIngestionAddress'
|
|
|
|
property :ingestion_address, as: 'ingestionAddress'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :rtmps_backup_ingestion_address, as: 'rtmpsBackupIngestionAddress'
|
|
|
|
property :rtmps_ingestion_address, as: 'rtmpsIngestionAddress'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :stream_name, as: 'streamName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class InvideoBranding
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image_bytes, :base64 => true, as: 'imageBytes'
|
|
|
|
property :image_url, as: 'imageUrl'
|
|
|
|
property :position, as: 'position', class: Google::Apis::YoutubeV3::InvideoPosition, decorator: Google::Apis::YoutubeV3::InvideoPosition::Representation
|
|
|
|
|
|
|
|
property :target_channel_id, as: 'targetChannelId'
|
|
|
|
property :timing, as: 'timing', class: Google::Apis::YoutubeV3::InvideoTiming, decorator: Google::Apis::YoutubeV3::InvideoTiming::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class InvideoPosition
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :corner_position, as: 'cornerPosition'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class InvideoPromotion
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :default_timing, as: 'defaultTiming', class: Google::Apis::YoutubeV3::InvideoTiming, decorator: Google::Apis::YoutubeV3::InvideoTiming::Representation
|
|
|
|
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::PromotedItem, decorator: Google::Apis::YoutubeV3::PromotedItem::Representation
|
|
|
|
|
|
|
|
property :position, as: 'position', class: Google::Apis::YoutubeV3::InvideoPosition, decorator: Google::Apis::YoutubeV3::InvideoPosition::Representation
|
|
|
|
|
|
|
|
property :use_smart_timing, as: 'useSmartTiming'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class InvideoTiming
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :duration_ms, :numeric_string => true, as: 'durationMs'
|
|
|
|
property :offset_ms, :numeric_string => true, as: 'offsetMs'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LanguageTag
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-08-16 00:37:59 +00:00
|
|
|
class LevelDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class LiveBroadcast
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::LiveBroadcastContentDetails, decorator: Google::Apis::YoutubeV3::LiveBroadcastContentDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveBroadcastSnippet, decorator: Google::Apis::YoutubeV3::LiveBroadcastSnippet::Representation
|
|
|
|
|
|
|
|
property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::LiveBroadcastStatistics, decorator: Google::Apis::YoutubeV3::LiveBroadcastStatistics::Representation
|
|
|
|
|
|
|
|
property :status, as: 'status', class: Google::Apis::YoutubeV3::LiveBroadcastStatus, decorator: Google::Apis::YoutubeV3::LiveBroadcastStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveBroadcastContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bound_stream_id, as: 'boundStreamId'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :bound_stream_last_update_time_ms, as: 'boundStreamLastUpdateTimeMs'
|
2016-01-08 00:23:51 +00:00
|
|
|
property :closed_captions_type, as: 'closedCaptionsType'
|
2017-12-02 00:36:26 +00:00
|
|
|
property :enable_auto_start, as: 'enableAutoStart'
|
2020-04-13 16:49:10 +00:00
|
|
|
property :enable_auto_stop, as: 'enableAutoStop'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :enable_closed_captions, as: 'enableClosedCaptions'
|
|
|
|
property :enable_content_encryption, as: 'enableContentEncryption'
|
|
|
|
property :enable_dvr, as: 'enableDvr'
|
|
|
|
property :enable_embed, as: 'enableEmbed'
|
|
|
|
property :enable_low_latency, as: 'enableLowLatency'
|
2017-09-22 03:07:05 +00:00
|
|
|
property :latency_preference, as: 'latencyPreference'
|
2017-09-14 00:36:39 +00:00
|
|
|
property :mesh, :base64 => true, as: 'mesh'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :monitor_stream, as: 'monitorStream', class: Google::Apis::YoutubeV3::MonitorStreamInfo, decorator: Google::Apis::YoutubeV3::MonitorStreamInfo::Representation
|
|
|
|
|
2016-05-16 16:49:15 +00:00
|
|
|
property :projection, as: 'projection'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :record_from_start, as: 'recordFromStart'
|
|
|
|
property :start_with_slate, as: 'startWithSlate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListLiveBroadcastsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveBroadcast, decorator: Google::Apis::YoutubeV3::LiveBroadcast::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveBroadcastSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2020-05-21 00:38:31 +00:00
|
|
|
property :actual_end_time, as: 'actualEndTime'
|
|
|
|
property :actual_start_time, as: 'actualStartTime'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :is_default_broadcast, as: 'isDefaultBroadcast'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :live_chat_id, as: 'liveChatId'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
|
|
|
property :scheduled_end_time, as: 'scheduledEndTime'
|
|
|
|
property :scheduled_start_time, as: 'scheduledStartTime'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveBroadcastStatistics
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :total_chat_count, :numeric_string => true, as: 'totalChatCount'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveBroadcastStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :life_cycle_status, as: 'lifeCycleStatus'
|
|
|
|
property :live_broadcast_priority, as: 'liveBroadcastPriority'
|
2020-01-11 00:38:00 +00:00
|
|
|
property :made_for_kids, as: 'madeForKids'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :privacy_status, as: 'privacyStatus'
|
|
|
|
property :recording_status, as: 'recordingStatus'
|
2020-01-11 00:38:00 +00:00
|
|
|
property :self_declared_made_for_kids, as: 'selfDeclaredMadeForKids'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class LiveChatBan
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveChatBanSnippet, decorator: Google::Apis::YoutubeV3::LiveChatBanSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatBanSnippet
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :ban_duration_seconds, :numeric_string => true, as: 'banDurationSeconds'
|
2016-01-08 00:23:51 +00:00
|
|
|
property :banned_user_details, as: 'bannedUserDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
|
|
|
|
|
|
|
|
property :live_chat_id, as: 'liveChatId'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatFanFundingEventDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount_display_string, as: 'amountDisplayString'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :amount_micros, :numeric_string => true, as: 'amountMicros'
|
2016-01-08 00:23:51 +00:00
|
|
|
property :currency, as: 'currency'
|
|
|
|
property :user_comment, as: 'userComment'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatMessage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :author_details, as: 'authorDetails', class: Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails, decorator: Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveChatMessageSnippet, decorator: Google::Apis::YoutubeV3::LiveChatMessageSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatMessageAuthorDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :channel_url, as: 'channelUrl'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :is_chat_moderator, as: 'isChatModerator'
|
|
|
|
property :is_chat_owner, as: 'isChatOwner'
|
|
|
|
property :is_chat_sponsor, as: 'isChatSponsor'
|
|
|
|
property :is_verified, as: 'isVerified'
|
|
|
|
property :profile_image_url, as: 'profileImageUrl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-04-14 18:15:27 +00:00
|
|
|
class LiveChatMessageDeletedDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :deleted_message_id, as: 'deletedMessageId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class LiveChatMessageListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveChatMessage, decorator: Google::Apis::YoutubeV3::LiveChatMessage::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :offline_at, as: 'offlineAt'
|
2016-01-08 00:23:51 +00:00
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :polling_interval_millis, as: 'pollingIntervalMillis'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-04-14 18:15:27 +00:00
|
|
|
class LiveChatMessageRetractedDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :retracted_message_id, as: 'retractedMessageId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class LiveChatMessageSnippet
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :author_channel_id, as: 'authorChannelId'
|
|
|
|
property :display_message, as: 'displayMessage'
|
|
|
|
property :fan_funding_event_details, as: 'fanFundingEventDetails', class: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails, decorator: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails::Representation
|
|
|
|
|
|
|
|
property :has_display_content, as: 'hasDisplayContent'
|
|
|
|
property :live_chat_id, as: 'liveChatId'
|
2016-04-14 18:15:27 +00:00
|
|
|
property :message_deleted_details, as: 'messageDeletedDetails', class: Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails, decorator: Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails::Representation
|
|
|
|
|
|
|
|
property :message_retracted_details, as: 'messageRetractedDetails', class: Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails, decorator: Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails::Representation
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2017-02-03 19:29:28 +00:00
|
|
|
property :super_chat_details, as: 'superChatDetails', class: Google::Apis::YoutubeV3::LiveChatSuperChatDetails, decorator: Google::Apis::YoutubeV3::LiveChatSuperChatDetails::Representation
|
|
|
|
|
2019-01-31 00:36:50 +00:00
|
|
|
property :super_sticker_details, as: 'superStickerDetails', class: Google::Apis::YoutubeV3::LiveChatSuperStickerDetails, decorator: Google::Apis::YoutubeV3::LiveChatSuperStickerDetails::Representation
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
property :text_message_details, as: 'textMessageDetails', class: Google::Apis::YoutubeV3::LiveChatTextMessageDetails, decorator: Google::Apis::YoutubeV3::LiveChatTextMessageDetails::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
2016-04-14 18:15:27 +00:00
|
|
|
property :user_banned_details, as: 'userBannedDetails', class: Google::Apis::YoutubeV3::LiveChatUserBannedMessageDetails, decorator: Google::Apis::YoutubeV3::LiveChatUserBannedMessageDetails::Representation
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatModerator
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveChatModeratorSnippet, decorator: Google::Apis::YoutubeV3::LiveChatModeratorSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatModeratorListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveChatModerator, decorator: Google::Apis::YoutubeV3::LiveChatModerator::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveChatModeratorSnippet
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :live_chat_id, as: 'liveChatId'
|
|
|
|
property :moderator_details, as: 'moderatorDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-02-03 19:29:28 +00:00
|
|
|
class LiveChatSuperChatDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount_display_string, as: 'amountDisplayString'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :amount_micros, :numeric_string => true, as: 'amountMicros'
|
2017-02-03 19:29:28 +00:00
|
|
|
property :currency, as: 'currency'
|
|
|
|
property :tier, as: 'tier'
|
|
|
|
property :user_comment, as: 'userComment'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-01-31 00:36:50 +00:00
|
|
|
class LiveChatSuperStickerDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount_display_string, as: 'amountDisplayString'
|
|
|
|
property :amount_micros, :numeric_string => true, as: 'amountMicros'
|
|
|
|
property :currency, as: 'currency'
|
|
|
|
property :super_sticker_metadata, as: 'superStickerMetadata', class: Google::Apis::YoutubeV3::SuperStickerMetadata, decorator: Google::Apis::YoutubeV3::SuperStickerMetadata::Representation
|
|
|
|
|
|
|
|
property :tier, as: 'tier'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class LiveChatTextMessageDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :message_text, as: 'messageText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-04-14 18:15:27 +00:00
|
|
|
class LiveChatUserBannedMessageDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :ban_duration_seconds, :numeric_string => true, as: 'banDurationSeconds'
|
2016-04-14 18:15:27 +00:00
|
|
|
property :ban_type, as: 'banType'
|
|
|
|
property :banned_user_details, as: 'bannedUserDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class LiveStream
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cdn, as: 'cdn', class: Google::Apis::YoutubeV3::CdnSettings, decorator: Google::Apis::YoutubeV3::CdnSettings::Representation
|
|
|
|
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::LiveStreamContentDetails, decorator: Google::Apis::YoutubeV3::LiveStreamContentDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveStreamSnippet, decorator: Google::Apis::YoutubeV3::LiveStreamSnippet::Representation
|
|
|
|
|
|
|
|
property :status, as: 'status', class: Google::Apis::YoutubeV3::LiveStreamStatus, decorator: Google::Apis::YoutubeV3::LiveStreamStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamConfigurationIssue
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :severity, as: 'severity'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :closed_captions_ingestion_url, as: 'closedCaptionsIngestionUrl'
|
|
|
|
property :is_reusable, as: 'isReusable'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamHealthStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :configuration_issues, as: 'configurationIssues', class: Google::Apis::YoutubeV3::LiveStreamConfigurationIssue, decorator: Google::Apis::YoutubeV3::LiveStreamConfigurationIssue::Representation
|
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
property :last_update_time_seconds, :numeric_string => true, as: 'lastUpdateTimeSeconds'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListLiveStreamsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveStream, decorator: Google::Apis::YoutubeV3::LiveStream::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :is_default_stream, as: 'isDefaultStream'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiveStreamStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :health_status, as: 'healthStatus', class: Google::Apis::YoutubeV3::LiveStreamHealthStatus, decorator: Google::Apis::YoutubeV3::LiveStreamHealthStatus::Representation
|
|
|
|
|
|
|
|
property :stream_status, as: 'streamStatus'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalizedProperty
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :default, as: 'default'
|
|
|
|
property :default_language, as: 'defaultLanguage', class: Google::Apis::YoutubeV3::LanguageTag, decorator: Google::Apis::YoutubeV3::LanguageTag::Representation
|
|
|
|
|
|
|
|
collection :localized, as: 'localized', class: Google::Apis::YoutubeV3::LocalizedString, decorator: Google::Apis::YoutubeV3::LocalizedString::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalizedString
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :language, as: 'language'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-08-16 00:37:59 +00:00
|
|
|
class Member
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::MemberSnippet, decorator: Google::Apis::YoutubeV3::MemberSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MemberListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Member, decorator: Google::Apis::YoutubeV3::Member::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MemberSnippet
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :creator_channel_id, as: 'creatorChannelId'
|
|
|
|
property :member_details, as: 'memberDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
|
|
|
|
|
|
|
|
property :memberships_details, as: 'membershipsDetails', class: Google::Apis::YoutubeV3::MembershipsDetails, decorator: Google::Apis::YoutubeV3::MembershipsDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :accessible_levels, as: 'accessibleLevels'
|
2020-01-11 00:38:00 +00:00
|
|
|
property :highest_accessible_level, as: 'highestAccessibleLevel'
|
|
|
|
property :highest_accessible_level_display_name, as: 'highestAccessibleLevelDisplayName'
|
2020-02-27 00:38:30 +00:00
|
|
|
property :memberships_duration, as: 'membershipsDuration', class: Google::Apis::YoutubeV3::MembershipsDuration, decorator: Google::Apis::YoutubeV3::MembershipsDuration::Representation
|
|
|
|
|
|
|
|
collection :memberships_duration_at_levels, as: 'membershipsDurationAtLevels', class: Google::Apis::YoutubeV3::MembershipsDurationAtLevel, decorator: Google::Apis::YoutubeV3::MembershipsDurationAtLevel::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsDuration
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :member_since, as: 'memberSince'
|
|
|
|
property :member_total_duration_months, as: 'memberTotalDurationMonths'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsDurationAtLevel
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :level, as: 'level'
|
2019-08-16 00:37:59 +00:00
|
|
|
property :member_since, as: 'memberSince'
|
2020-02-27 00:38:30 +00:00
|
|
|
property :member_total_duration_months, as: 'memberTotalDurationMonths'
|
2019-08-16 00:37:59 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsLevel
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::MembershipsLevelSnippet, decorator: Google::Apis::YoutubeV3::MembershipsLevelSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsLevelListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::MembershipsLevel, decorator: Google::Apis::YoutubeV3::MembershipsLevel::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MembershipsLevelSnippet
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :creator_channel_id, as: 'creatorChannelId'
|
|
|
|
property :level_details, as: 'levelDetails', class: Google::Apis::YoutubeV3::LevelDetails, decorator: Google::Apis::YoutubeV3::LevelDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class MonitorStreamInfo
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :broadcast_stream_delay_ms, as: 'broadcastStreamDelayMs'
|
|
|
|
property :embed_html, as: 'embedHtml'
|
|
|
|
property :enable_monitor_stream, as: 'enableMonitorStream'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PageInfo
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :results_per_page, as: 'resultsPerPage'
|
|
|
|
property :total_results, as: 'totalResults'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Playlist
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::PlaylistContentDetails, decorator: Google::Apis::YoutubeV3::PlaylistContentDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::PlaylistLocalization, decorator: Google::Apis::YoutubeV3::PlaylistLocalization::Representation
|
|
|
|
|
|
|
|
property :player, as: 'player', class: Google::Apis::YoutubeV3::PlaylistPlayer, decorator: Google::Apis::YoutubeV3::PlaylistPlayer::Representation
|
|
|
|
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::PlaylistSnippet, decorator: Google::Apis::YoutubeV3::PlaylistSnippet::Representation
|
|
|
|
|
|
|
|
property :status, as: 'status', class: Google::Apis::YoutubeV3::PlaylistStatus, decorator: Google::Apis::YoutubeV3::PlaylistStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :item_count, as: 'itemCount'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistItem
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::PlaylistItemContentDetails, decorator: Google::Apis::YoutubeV3::PlaylistItemContentDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::PlaylistItemSnippet, decorator: Google::Apis::YoutubeV3::PlaylistItemSnippet::Representation
|
|
|
|
|
|
|
|
property :status, as: 'status', class: Google::Apis::YoutubeV3::PlaylistItemStatus, decorator: Google::Apis::YoutubeV3::PlaylistItemStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistItemContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_at, as: 'endAt'
|
|
|
|
property :note, as: 'note'
|
|
|
|
property :start_at, as: 'startAt'
|
|
|
|
property :video_id, as: 'videoId'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :video_published_at, as: 'videoPublishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListPlaylistItemsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::PlaylistItem, decorator: Google::Apis::YoutubeV3::PlaylistItem::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistItemSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :channel_title, as: 'channelTitle'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :playlist_id, as: 'playlistId'
|
|
|
|
property :position, as: 'position'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistItemStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :privacy_status, as: 'privacyStatus'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListPlaylistResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Playlist, decorator: Google::Apis::YoutubeV3::Playlist::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistLocalization
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistPlayer
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :embed_html, as: 'embedHtml'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :channel_title, as: 'channelTitle'
|
|
|
|
property :default_language, as: 'defaultLanguage'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :localized, as: 'localized', class: Google::Apis::YoutubeV3::PlaylistLocalization, decorator: Google::Apis::YoutubeV3::PlaylistLocalization::Representation
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
collection :tags, as: 'tags'
|
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PlaylistStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :privacy_status, as: 'privacyStatus'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PromotedItem
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :custom_message, as: 'customMessage'
|
|
|
|
property :id, as: 'id', class: Google::Apis::YoutubeV3::PromotedItemId, decorator: Google::Apis::YoutubeV3::PromotedItemId::Representation
|
|
|
|
|
|
|
|
property :promoted_by_content_owner, as: 'promotedByContentOwner'
|
|
|
|
property :timing, as: 'timing', class: Google::Apis::YoutubeV3::InvideoTiming, decorator: Google::Apis::YoutubeV3::InvideoTiming::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PromotedItemId
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :recently_uploaded_by, as: 'recentlyUploadedBy'
|
|
|
|
property :type, as: 'type'
|
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
property :website_url, as: 'websiteUrl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PropertyValue
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :property, as: 'property'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ResourceId
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :playlist_id, as: 'playlistId'
|
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SearchListsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::SearchResult, decorator: Google::Apis::YoutubeV3::SearchResult::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
2016-02-10 21:57:13 +00:00
|
|
|
property :region_code, as: 'regionCode'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SearchResult
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SearchResultSnippet, decorator: Google::Apis::YoutubeV3::SearchResultSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SearchResultSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :channel_title, as: 'channelTitle'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :live_broadcast_content, as: 'liveBroadcastContent'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-08 00:23:51 +00:00
|
|
|
class Sponsor
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SponsorSnippet, decorator: Google::Apis::YoutubeV3::SponsorSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SponsorListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Sponsor, decorator: Google::Apis::YoutubeV3::Sponsor::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SponsorSnippet
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
2018-03-14 00:35:49 +00:00
|
|
|
property :cumulative_duration_months, as: 'cumulativeDurationMonths'
|
2016-01-08 00:23:51 +00:00
|
|
|
property :sponsor_details, as: 'sponsorDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
property :sponsor_since, as: 'sponsorSince'
|
2016-01-08 00:23:51 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Subscription
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::SubscriptionContentDetails, decorator: Google::Apis::YoutubeV3::SubscriptionContentDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SubscriptionSnippet, decorator: Google::Apis::YoutubeV3::SubscriptionSnippet::Representation
|
|
|
|
|
|
|
|
property :subscriber_snippet, as: 'subscriberSnippet', class: Google::Apis::YoutubeV3::SubscriptionSubscriberSnippet, decorator: Google::Apis::YoutubeV3::SubscriptionSubscriberSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SubscriptionContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :activity_type, as: 'activityType'
|
|
|
|
property :new_item_count, as: 'newItemCount'
|
|
|
|
property :total_item_count, as: 'totalItemCount'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListSubscriptionResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Subscription, decorator: Google::Apis::YoutubeV3::Subscription::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SubscriptionSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :channel_title, as: 'channelTitle'
|
|
|
|
property :description, as: 'description'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
|
|
|
|
|
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SubscriptionSubscriberSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-02-03 19:29:28 +00:00
|
|
|
class SuperChatEvent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SuperChatEventSnippet, decorator: Google::Apis::YoutubeV3::SuperChatEventSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SuperChatEventListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::SuperChatEvent, decorator: Google::Apis::YoutubeV3::SuperChatEvent::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SuperChatEventSnippet
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :amount_micros, :numeric_string => true, as: 'amountMicros'
|
2017-02-03 19:29:28 +00:00
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :comment_text, as: 'commentText'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :created_at, as: 'createdAt'
|
2017-02-03 19:29:28 +00:00
|
|
|
property :currency, as: 'currency'
|
|
|
|
property :display_string, as: 'displayString'
|
2019-01-31 00:36:50 +00:00
|
|
|
property :is_super_sticker_event, as: 'isSuperStickerEvent'
|
2017-02-03 19:29:28 +00:00
|
|
|
property :message_type, as: 'messageType'
|
2019-01-31 00:36:50 +00:00
|
|
|
property :super_sticker_metadata, as: 'superStickerMetadata', class: Google::Apis::YoutubeV3::SuperStickerMetadata, decorator: Google::Apis::YoutubeV3::SuperStickerMetadata::Representation
|
|
|
|
|
2017-02-03 19:29:28 +00:00
|
|
|
property :supporter_details, as: 'supporterDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-01-31 00:36:50 +00:00
|
|
|
class SuperStickerMetadata
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alt_text, as: 'altText'
|
|
|
|
property :alt_text_language, as: 'altTextLanguage'
|
|
|
|
property :sticker_id, as: 'stickerId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Thumbnail
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :height, as: 'height'
|
|
|
|
property :url, as: 'url'
|
|
|
|
property :width, as: 'width'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ThumbnailDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :default, as: 'default', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
|
|
|
|
|
|
property :high, as: 'high', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
|
|
|
|
|
|
property :maxres, as: 'maxres', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
|
|
|
|
|
|
property :medium, as: 'medium', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
|
|
|
|
|
|
property :standard, as: 'standard', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SetThumbnailResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TokenPagination
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Video
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :age_gating, as: 'ageGating', class: Google::Apis::YoutubeV3::VideoAgeGating, decorator: Google::Apis::YoutubeV3::VideoAgeGating::Representation
|
|
|
|
|
|
|
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::VideoContentDetails, decorator: Google::Apis::YoutubeV3::VideoContentDetails::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :file_details, as: 'fileDetails', class: Google::Apis::YoutubeV3::VideoFileDetails, decorator: Google::Apis::YoutubeV3::VideoFileDetails::Representation
|
|
|
|
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :live_streaming_details, as: 'liveStreamingDetails', class: Google::Apis::YoutubeV3::VideoLiveStreamingDetails, decorator: Google::Apis::YoutubeV3::VideoLiveStreamingDetails::Representation
|
|
|
|
|
|
|
|
hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::VideoLocalization, decorator: Google::Apis::YoutubeV3::VideoLocalization::Representation
|
|
|
|
|
|
|
|
property :monetization_details, as: 'monetizationDetails', class: Google::Apis::YoutubeV3::VideoMonetizationDetails, decorator: Google::Apis::YoutubeV3::VideoMonetizationDetails::Representation
|
|
|
|
|
|
|
|
property :player, as: 'player', class: Google::Apis::YoutubeV3::VideoPlayer, decorator: Google::Apis::YoutubeV3::VideoPlayer::Representation
|
|
|
|
|
|
|
|
property :processing_details, as: 'processingDetails', class: Google::Apis::YoutubeV3::VideoProcessingDetails, decorator: Google::Apis::YoutubeV3::VideoProcessingDetails::Representation
|
|
|
|
|
|
|
|
property :project_details, as: 'projectDetails', class: Google::Apis::YoutubeV3::VideoProjectDetails, decorator: Google::Apis::YoutubeV3::VideoProjectDetails::Representation
|
|
|
|
|
|
|
|
property :recording_details, as: 'recordingDetails', class: Google::Apis::YoutubeV3::VideoRecordingDetails, decorator: Google::Apis::YoutubeV3::VideoRecordingDetails::Representation
|
|
|
|
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::VideoSnippet, decorator: Google::Apis::YoutubeV3::VideoSnippet::Representation
|
|
|
|
|
|
|
|
property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::VideoStatistics, decorator: Google::Apis::YoutubeV3::VideoStatistics::Representation
|
|
|
|
|
|
|
|
property :status, as: 'status', class: Google::Apis::YoutubeV3::VideoStatus, decorator: Google::Apis::YoutubeV3::VideoStatus::Representation
|
|
|
|
|
|
|
|
property :suggestions, as: 'suggestions', class: Google::Apis::YoutubeV3::VideoSuggestions, decorator: Google::Apis::YoutubeV3::VideoSuggestions::Representation
|
|
|
|
|
|
|
|
property :topic_details, as: 'topicDetails', class: Google::Apis::YoutubeV3::VideoTopicDetails, decorator: Google::Apis::YoutubeV3::VideoTopicDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAbuseReport
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :comments, as: 'comments'
|
|
|
|
property :language, as: 'language'
|
|
|
|
property :reason_id, as: 'reasonId'
|
|
|
|
property :secondary_reason_id, as: 'secondaryReasonId'
|
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAbuseReportReason
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::VideoAbuseReportReasonSnippet, decorator: Google::Apis::YoutubeV3::VideoAbuseReportReasonSnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListVideoAbuseReportReasonResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::VideoAbuseReportReason, decorator: Google::Apis::YoutubeV3::VideoAbuseReportReason::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAbuseReportReasonSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :label, as: 'label'
|
|
|
|
collection :secondary_reasons, as: 'secondaryReasons', class: Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason, decorator: Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAbuseReportSecondaryReason
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :label, as: 'label'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoAgeGating
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alcohol_content, as: 'alcoholContent'
|
|
|
|
property :restricted, as: 'restricted'
|
|
|
|
property :video_game_rating, as: 'videoGameRating'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoCategory
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::VideoCategorySnippet, decorator: Google::Apis::YoutubeV3::VideoCategorySnippet::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListVideoCategoryResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::VideoCategory, decorator: Google::Apis::YoutubeV3::VideoCategory::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoCategorySnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :assignable, as: 'assignable'
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoContentDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :caption, as: 'caption'
|
|
|
|
property :content_rating, as: 'contentRating', class: Google::Apis::YoutubeV3::ContentRating, decorator: Google::Apis::YoutubeV3::ContentRating::Representation
|
|
|
|
|
|
|
|
property :country_restriction, as: 'countryRestriction', class: Google::Apis::YoutubeV3::AccessPolicy, decorator: Google::Apis::YoutubeV3::AccessPolicy::Representation
|
|
|
|
|
|
|
|
property :definition, as: 'definition'
|
|
|
|
property :dimension, as: 'dimension'
|
|
|
|
property :duration, as: 'duration'
|
2016-11-08 23:43:14 +00:00
|
|
|
property :has_custom_thumbnail, as: 'hasCustomThumbnail'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :licensed_content, as: 'licensedContent'
|
2016-05-16 16:49:15 +00:00
|
|
|
property :projection, as: 'projection'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :region_restriction, as: 'regionRestriction', class: Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction, decorator: Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoContentDetailsRegionRestriction
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :allowed, as: 'allowed'
|
|
|
|
collection :blocked, as: 'blocked'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoFileDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :audio_streams, as: 'audioStreams', class: Google::Apis::YoutubeV3::VideoFileDetailsAudioStream, decorator: Google::Apis::YoutubeV3::VideoFileDetailsAudioStream::Representation
|
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
property :bitrate_bps, :numeric_string => true, as: 'bitrateBps'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :container, as: 'container'
|
|
|
|
property :creation_time, as: 'creationTime'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :duration_ms, :numeric_string => true, as: 'durationMs'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :file_name, as: 'fileName'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :file_size, :numeric_string => true, as: 'fileSize'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :file_type, as: 'fileType'
|
|
|
|
collection :video_streams, as: 'videoStreams', class: Google::Apis::YoutubeV3::VideoFileDetailsVideoStream, decorator: Google::Apis::YoutubeV3::VideoFileDetailsVideoStream::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoFileDetailsAudioStream
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :bitrate_bps, :numeric_string => true, as: 'bitrateBps'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :channel_count, as: 'channelCount'
|
|
|
|
property :codec, as: 'codec'
|
|
|
|
property :vendor, as: 'vendor'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoFileDetailsVideoStream
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :aspect_ratio, as: 'aspectRatio'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :bitrate_bps, :numeric_string => true, as: 'bitrateBps'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :codec, as: 'codec'
|
|
|
|
property :frame_rate_fps, as: 'frameRateFps'
|
|
|
|
property :height_pixels, as: 'heightPixels'
|
|
|
|
property :rotation, as: 'rotation'
|
|
|
|
property :vendor, as: 'vendor'
|
|
|
|
property :width_pixels, as: 'widthPixels'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListVideosResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::Video, decorator: Google::Apis::YoutubeV3::Video::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
|
|
|
|
|
|
|
property :prev_page_token, as: 'prevPageToken'
|
|
|
|
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
|
|
|
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoLiveStreamingDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2016-01-08 00:23:51 +00:00
|
|
|
property :active_live_chat_id, as: 'activeLiveChatId'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :actual_end_time, as: 'actualEndTime'
|
|
|
|
property :actual_start_time, as: 'actualStartTime'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :concurrent_viewers, :numeric_string => true, as: 'concurrentViewers'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :scheduled_end_time, as: 'scheduledEndTime'
|
|
|
|
property :scheduled_start_time, as: 'scheduledStartTime'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoLocalization
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoMonetizationDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :access, as: 'access', class: Google::Apis::YoutubeV3::AccessPolicy, decorator: Google::Apis::YoutubeV3::AccessPolicy::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoPlayer
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :embed_height, :numeric_string => true, as: 'embedHeight'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :embed_html, as: 'embedHtml'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :embed_width, :numeric_string => true, as: 'embedWidth'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoProcessingDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :editor_suggestions_availability, as: 'editorSuggestionsAvailability'
|
|
|
|
property :file_details_availability, as: 'fileDetailsAvailability'
|
|
|
|
property :processing_failure_reason, as: 'processingFailureReason'
|
|
|
|
property :processing_issues_availability, as: 'processingIssuesAvailability'
|
|
|
|
property :processing_progress, as: 'processingProgress', class: Google::Apis::YoutubeV3::VideoProcessingDetailsProcessingProgress, decorator: Google::Apis::YoutubeV3::VideoProcessingDetailsProcessingProgress::Representation
|
|
|
|
|
|
|
|
property :processing_status, as: 'processingStatus'
|
|
|
|
property :tag_suggestions_availability, as: 'tagSuggestionsAvailability'
|
|
|
|
property :thumbnails_availability, as: 'thumbnailsAvailability'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoProcessingDetailsProcessingProgress
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :parts_processed, :numeric_string => true, as: 'partsProcessed'
|
|
|
|
property :parts_total, :numeric_string => true, as: 'partsTotal'
|
|
|
|
property :time_left_ms, :numeric_string => true, as: 'timeLeftMs'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoProjectDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :tags, as: 'tags'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoRating
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :rating, as: 'rating'
|
|
|
|
property :video_id, as: 'videoId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
class VideoRatingListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :event_id, as: 'eventId'
|
|
|
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::VideoRating, decorator: Google::Apis::YoutubeV3::VideoRating::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class VideoRecordingDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :location, as: 'location', class: Google::Apis::YoutubeV3::GeoPoint, decorator: Google::Apis::YoutubeV3::GeoPoint::Representation
|
|
|
|
|
|
|
|
property :location_description, as: 'locationDescription'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :recording_date, as: 'recordingDate'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoSnippet
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :category_id, as: 'categoryId'
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :channel_title, as: 'channelTitle'
|
|
|
|
property :default_audio_language, as: 'defaultAudioLanguage'
|
|
|
|
property :default_language, as: 'defaultLanguage'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :live_broadcast_content, as: 'liveBroadcastContent'
|
|
|
|
property :localized, as: 'localized', class: Google::Apis::YoutubeV3::VideoLocalization, decorator: Google::Apis::YoutubeV3::VideoLocalization::Representation
|
|
|
|
|
2020-05-21 00:38:31 +00:00
|
|
|
property :published_at, as: 'publishedAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
collection :tags, as: 'tags'
|
|
|
|
property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoStatistics
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :comment_count, :numeric_string => true, as: 'commentCount'
|
|
|
|
property :dislike_count, :numeric_string => true, as: 'dislikeCount'
|
|
|
|
property :favorite_count, :numeric_string => true, as: 'favoriteCount'
|
|
|
|
property :like_count, :numeric_string => true, as: 'likeCount'
|
|
|
|
property :view_count, :numeric_string => true, as: 'viewCount'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :embeddable, as: 'embeddable'
|
|
|
|
property :failure_reason, as: 'failureReason'
|
|
|
|
property :license, as: 'license'
|
2020-01-11 00:38:00 +00:00
|
|
|
property :made_for_kids, as: 'madeForKids'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :privacy_status, as: 'privacyStatus'
|
|
|
|
property :public_stats_viewable, as: 'publicStatsViewable'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :publish_at, as: 'publishAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :rejection_reason, as: 'rejectionReason'
|
2020-01-11 00:38:00 +00:00
|
|
|
property :self_declared_made_for_kids, as: 'selfDeclaredMadeForKids'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :upload_status, as: 'uploadStatus'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoSuggestions
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :editor_suggestions, as: 'editorSuggestions'
|
|
|
|
collection :processing_errors, as: 'processingErrors'
|
|
|
|
collection :processing_hints, as: 'processingHints'
|
|
|
|
collection :processing_warnings, as: 'processingWarnings'
|
|
|
|
collection :tag_suggestions, as: 'tagSuggestions', class: Google::Apis::YoutubeV3::VideoSuggestionsTagSuggestion, decorator: Google::Apis::YoutubeV3::VideoSuggestionsTagSuggestion::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoSuggestionsTagSuggestion
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :category_restricts, as: 'categoryRestricts'
|
|
|
|
property :tag, as: 'tag'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VideoTopicDetails
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :relevant_topic_ids, as: 'relevantTopicIds'
|
2017-02-03 19:29:28 +00:00
|
|
|
collection :topic_categories, as: 'topicCategories'
|
2015-06-23 23:05:46 +00:00
|
|
|
collection :topic_ids, as: 'topicIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WatchSettings
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :background_color, as: 'backgroundColor'
|
|
|
|
property :featured_playlist_id, as: 'featuredPlaylistId'
|
|
|
|
property :text_color, as: 'textColor'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|