# 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 YoutubePartnerV1 class AdBreak class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AdSlot class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AllowedAdvertisingOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Asset class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetLabel class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetLabelListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetMatchPolicy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetRelationship class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetRelationshipListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetSearchResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetShare class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetShareListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetSnippet class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Campaign class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CampaignData class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CampaignList class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CampaignSource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CampaignTargetLink class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Claim class Representation < Google::Apis::Core::JsonRepresentation; end class MatchInfo class Representation < Google::Apis::Core::JsonRepresentation; end class LongestMatch class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TotalMatch class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end include Google::Apis::Core::JsonObjectSupport end class Origin class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end include Google::Apis::Core::JsonObjectSupport end class ClaimEvent class Representation < Google::Apis::Core::JsonRepresentation; end class Source class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TypeDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end include Google::Apis::Core::JsonObjectSupport end class ClaimHistory class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ClaimListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ClaimSearchResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ClaimSnippet class Representation < Google::Apis::Core::JsonRepresentation; end class Origin class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end include Google::Apis::Core::JsonObjectSupport end class ClaimedVideoDefaults class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Conditions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ConflictingOwnership class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ContentOwner class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ContentOwnerAdvertisingOption class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ContentOwnerListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CountriesRestriction class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CuepointSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Date class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DateRange class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExcludedInterval class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class IntervalCondition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class LiveCuepoint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MatchSegment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Metadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MetadataHistory class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MetadataHistoryListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Order class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OrderListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Origination class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OwnershipConflicts class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OwnershipHistoryListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Package class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PackageInsertResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Policy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PolicyList class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PolicyRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PromotedContent class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Publisher class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PublisherList class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Rating class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Reference class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ReferenceConflict class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ReferenceConflictListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ReferenceConflictMatch class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ReferenceListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Requirements class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RightsOwnership class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RightsOwnershipHistory class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Segment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ShowDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SpreadsheetTemplate class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SpreadsheetTemplateListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class StateCompleted class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class StatusReport class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TerritoryCondition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TerritoryConflicts class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TerritoryOwners class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Uploader class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UploaderListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ValidateAsyncRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ValidateAsyncResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ValidateError class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ValidateRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ValidateResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ValidateStatusRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ValidateStatusResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VideoAdvertisingOption class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VideoAdvertisingOptionGetEnabledAdsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Whitelist class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class WhitelistListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AdBreak # @private class Representation < Google::Apis::Core::JsonRepresentation property :midroll_seconds, as: 'midrollSeconds' property :position, as: 'position' collection :slot, as: 'slot', class: Google::Apis::YoutubePartnerV1::AdSlot, decorator: Google::Apis::YoutubePartnerV1::AdSlot::Representation end end class AdSlot # @private class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' property :type, as: 'type' end end class AllowedAdvertisingOptions # @private class Representation < Google::Apis::Core::JsonRepresentation property :ads_on_embeds, as: 'adsOnEmbeds' property :kind, as: 'kind' collection :lic_ad_formats, as: 'licAdFormats' collection :ugc_ad_formats, as: 'ugcAdFormats' end end class Asset # @private class Representation < Google::Apis::Core::JsonRepresentation collection :alias_id, as: 'aliasId' property :id, as: 'id' property :kind, as: 'kind' collection :label, as: 'label' property :match_policy, as: 'matchPolicy', class: Google::Apis::YoutubePartnerV1::AssetMatchPolicy, decorator: Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation property :match_policy_effective, as: 'matchPolicyEffective', class: Google::Apis::YoutubePartnerV1::AssetMatchPolicy, decorator: Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation property :match_policy_mine, as: 'matchPolicyMine', class: Google::Apis::YoutubePartnerV1::AssetMatchPolicy, decorator: Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation property :metadata, as: 'metadata', class: Google::Apis::YoutubePartnerV1::Metadata, decorator: Google::Apis::YoutubePartnerV1::Metadata::Representation property :metadata_effective, as: 'metadataEffective', class: Google::Apis::YoutubePartnerV1::Metadata, decorator: Google::Apis::YoutubePartnerV1::Metadata::Representation property :metadata_mine, as: 'metadataMine', class: Google::Apis::YoutubePartnerV1::Metadata, decorator: Google::Apis::YoutubePartnerV1::Metadata::Representation property :ownership, as: 'ownership', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation property :ownership_conflicts, as: 'ownershipConflicts', class: Google::Apis::YoutubePartnerV1::OwnershipConflicts, decorator: Google::Apis::YoutubePartnerV1::OwnershipConflicts::Representation property :ownership_effective, as: 'ownershipEffective', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation property :ownership_mine, as: 'ownershipMine', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation property :status, as: 'status' property :time_created, as: 'timeCreated', type: DateTime property :type, as: 'type' end end class AssetLabel # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :label_name, as: 'labelName' end end class AssetLabelListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::AssetLabel, decorator: Google::Apis::YoutubePartnerV1::AssetLabel::Representation property :kind, as: 'kind' end end class AssetListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Asset, decorator: Google::Apis::YoutubePartnerV1::Asset::Representation property :kind, as: 'kind' end end class AssetMatchPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :policy_id, as: 'policyId' collection :rules, as: 'rules', class: Google::Apis::YoutubePartnerV1::PolicyRule, decorator: Google::Apis::YoutubePartnerV1::PolicyRule::Representation end end class AssetRelationship # @private class Representation < Google::Apis::Core::JsonRepresentation property :child_asset_id, as: 'childAssetId' property :id, as: 'id' property :kind, as: 'kind' property :parent_asset_id, as: 'parentAssetId' end end class AssetRelationshipListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::AssetRelationship, decorator: Google::Apis::YoutubePartnerV1::AssetRelationship::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation end end class AssetSearchResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::AssetSnippet, decorator: Google::Apis::YoutubePartnerV1::AssetSnippet::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation end end class AssetShare # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :share_id, as: 'shareId' property :view_id, as: 'viewId' end end class AssetShareListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::AssetShare, decorator: Google::Apis::YoutubePartnerV1::AssetShare::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation end end class AssetSnippet # @private class Representation < Google::Apis::Core::JsonRepresentation property :custom_id, as: 'customId' property :id, as: 'id' property :isrc, as: 'isrc' property :iswc, as: 'iswc' property :kind, as: 'kind' property :time_created, as: 'timeCreated', type: DateTime property :title, as: 'title' property :type, as: 'type' end end class Campaign # @private class Representation < Google::Apis::Core::JsonRepresentation property :campaign_data, as: 'campaignData', class: Google::Apis::YoutubePartnerV1::CampaignData, decorator: Google::Apis::YoutubePartnerV1::CampaignData::Representation property :id, as: 'id' property :kind, as: 'kind' property :status, as: 'status' property :time_created, as: 'timeCreated', type: DateTime property :time_last_modified, as: 'timeLastModified', type: DateTime end end class CampaignData # @private class Representation < Google::Apis::Core::JsonRepresentation property :campaign_source, as: 'campaignSource', class: Google::Apis::YoutubePartnerV1::CampaignSource, decorator: Google::Apis::YoutubePartnerV1::CampaignSource::Representation property :expire_time, as: 'expireTime', type: DateTime property :name, as: 'name' collection :promoted_content, as: 'promotedContent', class: Google::Apis::YoutubePartnerV1::PromotedContent, decorator: Google::Apis::YoutubePartnerV1::PromotedContent::Representation property :start_time, as: 'startTime', type: DateTime end end class CampaignList # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Campaign, decorator: Google::Apis::YoutubePartnerV1::Campaign::Representation property :kind, as: 'kind' end end class CampaignSource # @private class Representation < Google::Apis::Core::JsonRepresentation property :source_type, as: 'sourceType' collection :source_value, as: 'sourceValue' end end class CampaignTargetLink # @private class Representation < Google::Apis::Core::JsonRepresentation property :target_id, as: 'targetId' property :target_type, as: 'targetType' end end class Claim # @private class Representation < Google::Apis::Core::JsonRepresentation property :applied_policy, as: 'appliedPolicy', class: Google::Apis::YoutubePartnerV1::Policy, decorator: Google::Apis::YoutubePartnerV1::Policy::Representation property :asset_id, as: 'assetId' property :block_outside_ownership, as: 'blockOutsideOwnership' property :content_type, as: 'contentType' property :id, as: 'id' property :is_partner_uploaded, as: 'isPartnerUploaded' property :kind, as: 'kind' property :match_info, as: 'matchInfo', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::Representation property :origin, as: 'origin', class: Google::Apis::YoutubePartnerV1::Claim::Origin, decorator: Google::Apis::YoutubePartnerV1::Claim::Origin::Representation property :policy, as: 'policy', class: Google::Apis::YoutubePartnerV1::Policy, decorator: Google::Apis::YoutubePartnerV1::Policy::Representation property :status, as: 'status' property :time_created, as: 'timeCreated', type: DateTime property :video_id, as: 'videoId' end class MatchInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :longest_match, as: 'longestMatch', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch::Representation collection :match_segments, as: 'matchSegments', class: Google::Apis::YoutubePartnerV1::MatchSegment, decorator: Google::Apis::YoutubePartnerV1::MatchSegment::Representation property :reference_id, as: 'referenceId' property :total_match, as: 'totalMatch', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch::Representation end class LongestMatch # @private class Representation < Google::Apis::Core::JsonRepresentation property :duration_secs, :numeric_string => true, as: 'durationSecs' property :reference_offset, :numeric_string => true, as: 'referenceOffset' property :user_video_offset, :numeric_string => true, as: 'userVideoOffset' end end class TotalMatch # @private class Representation < Google::Apis::Core::JsonRepresentation property :reference_duration_secs, :numeric_string => true, as: 'referenceDurationSecs' property :user_video_duration_secs, :numeric_string => true, as: 'userVideoDurationSecs' end end end class Origin # @private class Representation < Google::Apis::Core::JsonRepresentation property :source, as: 'source' end end end class ClaimEvent # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :reason, as: 'reason' property :source, as: 'source', class: Google::Apis::YoutubePartnerV1::ClaimEvent::Source, decorator: Google::Apis::YoutubePartnerV1::ClaimEvent::Source::Representation property :time, as: 'time', type: DateTime property :type, as: 'type' property :type_details, as: 'typeDetails', class: Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails, decorator: Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails::Representation end class Source # @private class Representation < Google::Apis::Core::JsonRepresentation property :content_owner_id, as: 'contentOwnerId' property :type, as: 'type' property :user_email, as: 'userEmail' end end class TypeDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :appeal_explanation, as: 'appealExplanation' property :dispute_notes, as: 'disputeNotes' property :dispute_reason, as: 'disputeReason' property :update_status, as: 'updateStatus' end end end class ClaimHistory # @private class Representation < Google::Apis::Core::JsonRepresentation collection :event, as: 'event', class: Google::Apis::YoutubePartnerV1::ClaimEvent, decorator: Google::Apis::YoutubePartnerV1::ClaimEvent::Representation property :id, as: 'id' property :kind, as: 'kind' property :uploader_channel_id, as: 'uploaderChannelId' end end class ClaimListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Claim, decorator: Google::Apis::YoutubePartnerV1::Claim::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation property :previous_page_token, as: 'previousPageToken' end end class ClaimSearchResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::ClaimSnippet, decorator: Google::Apis::YoutubePartnerV1::ClaimSnippet::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation property :previous_page_token, as: 'previousPageToken' end end class ClaimSnippet # @private class Representation < Google::Apis::Core::JsonRepresentation property :asset_id, as: 'assetId' property :content_type, as: 'contentType' property :id, as: 'id' property :is_partner_uploaded, as: 'isPartnerUploaded' property :kind, as: 'kind' property :origin, as: 'origin', class: Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin, decorator: Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin::Representation property :status, as: 'status' property :third_party_claim, as: 'thirdPartyClaim' property :time_created, as: 'timeCreated', type: DateTime property :time_status_last_modified, as: 'timeStatusLastModified', type: DateTime property :video_id, as: 'videoId' property :video_title, as: 'videoTitle' property :video_views, :numeric_string => true, as: 'videoViews' end class Origin # @private class Representation < Google::Apis::Core::JsonRepresentation property :source, as: 'source' end end end class ClaimedVideoDefaults # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_generated_breaks, as: 'autoGeneratedBreaks' property :channel_override, as: 'channelOverride' property :kind, as: 'kind' collection :new_video_defaults, as: 'newVideoDefaults' end end class Conditions # @private class Representation < Google::Apis::Core::JsonRepresentation collection :content_match_type, as: 'contentMatchType' collection :match_duration, as: 'matchDuration', class: Google::Apis::YoutubePartnerV1::IntervalCondition, decorator: Google::Apis::YoutubePartnerV1::IntervalCondition::Representation collection :match_percent, as: 'matchPercent', class: Google::Apis::YoutubePartnerV1::IntervalCondition, decorator: Google::Apis::YoutubePartnerV1::IntervalCondition::Representation collection :reference_duration, as: 'referenceDuration', class: Google::Apis::YoutubePartnerV1::IntervalCondition, decorator: Google::Apis::YoutubePartnerV1::IntervalCondition::Representation collection :reference_percent, as: 'referencePercent', class: Google::Apis::YoutubePartnerV1::IntervalCondition, decorator: Google::Apis::YoutubePartnerV1::IntervalCondition::Representation property :required_territories, as: 'requiredTerritories', class: Google::Apis::YoutubePartnerV1::TerritoryCondition, decorator: Google::Apis::YoutubePartnerV1::TerritoryCondition::Representation end end class ConflictingOwnership # @private class Representation < Google::Apis::Core::JsonRepresentation property :owner, as: 'owner' property :ratio, as: 'ratio' end end class ContentOwner # @private class Representation < Google::Apis::Core::JsonRepresentation property :conflict_notification_email, as: 'conflictNotificationEmail' property :display_name, as: 'displayName' collection :dispute_notification_emails, as: 'disputeNotificationEmails' collection :fingerprint_report_notification_emails, as: 'fingerprintReportNotificationEmails' property :id, as: 'id' property :kind, as: 'kind' collection :primary_notification_emails, as: 'primaryNotificationEmails' end end class ContentOwnerAdvertisingOption # @private class Representation < Google::Apis::Core::JsonRepresentation property :allowed_options, as: 'allowedOptions', class: Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions, decorator: Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions::Representation property :claimed_video_options, as: 'claimedVideoOptions', class: Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults, decorator: Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults::Representation property :id, as: 'id' property :kind, as: 'kind' end end class ContentOwnerListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::ContentOwner, decorator: Google::Apis::YoutubePartnerV1::ContentOwner::Representation property :kind, as: 'kind' end end class CountriesRestriction # @private class Representation < Google::Apis::Core::JsonRepresentation collection :ad_formats, as: 'adFormats' collection :territories, as: 'territories' end end class CuepointSettings # @private class Representation < Google::Apis::Core::JsonRepresentation property :cue_type, as: 'cueType' property :duration_secs, as: 'durationSecs' property :offset_time_ms, :numeric_string => true, as: 'offsetTimeMs' property :walltime, as: 'walltime', type: DateTime end end class Date # @private class Representation < Google::Apis::Core::JsonRepresentation property :day, as: 'day' property :month, as: 'month' property :year, as: 'year' end end class DateRange # @private class Representation < Google::Apis::Core::JsonRepresentation property :end, as: 'end', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation property :kind, as: 'kind' property :start, as: 'start', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation end end class ExcludedInterval # @private class Representation < Google::Apis::Core::JsonRepresentation property :high, as: 'high' property :low, as: 'low' property :origin, as: 'origin' property :time_created, as: 'timeCreated', type: DateTime end end class IntervalCondition # @private class Representation < Google::Apis::Core::JsonRepresentation property :high, as: 'high' property :low, as: 'low' end end class LiveCuepoint # @private class Representation < Google::Apis::Core::JsonRepresentation property :broadcast_id, as: 'broadcastId' property :id, as: 'id' property :kind, as: 'kind' property :settings, as: 'settings', class: Google::Apis::YoutubePartnerV1::CuepointSettings, decorator: Google::Apis::YoutubePartnerV1::CuepointSettings::Representation end end class MatchSegment # @private class Representation < Google::Apis::Core::JsonRepresentation property :channel, as: 'channel' property :reference_segment, as: 'reference_segment', class: Google::Apis::YoutubePartnerV1::Segment, decorator: Google::Apis::YoutubePartnerV1::Segment::Representation property :video_segment, as: 'video_segment', class: Google::Apis::YoutubePartnerV1::Segment, decorator: Google::Apis::YoutubePartnerV1::Segment::Representation end end class Metadata # @private class Representation < Google::Apis::Core::JsonRepresentation collection :actor, as: 'actor' property :album, as: 'album' collection :artist, as: 'artist' collection :broadcaster, as: 'broadcaster' property :category, as: 'category' property :content_type, as: 'contentType' property :copyright_date, as: 'copyrightDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation property :custom_id, as: 'customId' property :description, as: 'description' collection :director, as: 'director' property :eidr, as: 'eidr' property :end_year, as: 'endYear' property :episode_number, as: 'episodeNumber' property :episodes_are_untitled, as: 'episodesAreUntitled' collection :genre, as: 'genre' property :grid, as: 'grid' property :hfa, as: 'hfa' property :info_url, as: 'infoUrl' property :isan, as: 'isan' property :isrc, as: 'isrc' property :iswc, as: 'iswc' collection :keyword, as: 'keyword' property :label, as: 'label' property :notes, as: 'notes' property :original_release_medium, as: 'originalReleaseMedium' collection :producer, as: 'producer' collection :ratings, as: 'ratings', class: Google::Apis::YoutubePartnerV1::Rating, decorator: Google::Apis::YoutubePartnerV1::Rating::Representation property :release_date, as: 'releaseDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation property :season_number, as: 'seasonNumber' property :show_custom_id, as: 'showCustomId' property :show_title, as: 'showTitle' property :spoken_language, as: 'spokenLanguage' property :start_year, as: 'startYear' collection :subtitled_language, as: 'subtitledLanguage' property :title, as: 'title' property :tms_id, as: 'tmsId' property :total_episodes_expected, as: 'totalEpisodesExpected' property :upc, as: 'upc' collection :writer, as: 'writer' end end class MetadataHistory # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :metadata, as: 'metadata', class: Google::Apis::YoutubePartnerV1::Metadata, decorator: Google::Apis::YoutubePartnerV1::Metadata::Representation property :origination, as: 'origination', class: Google::Apis::YoutubePartnerV1::Origination, decorator: Google::Apis::YoutubePartnerV1::Origination::Representation property :time_provided, as: 'timeProvided', type: DateTime end end class MetadataHistoryListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::MetadataHistory, decorator: Google::Apis::YoutubePartnerV1::MetadataHistory::Representation property :kind, as: 'kind' end end class Order # @private class Representation < Google::Apis::Core::JsonRepresentation property :avail_group_id, as: 'availGroupId' property :channel_id, as: 'channelId' property :content_type, as: 'contentType' property :country, as: 'country' property :custom_id, as: 'customId' property :dvd_release_date, as: 'dvdReleaseDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation property :est_dates, as: 'estDates', class: Google::Apis::YoutubePartnerV1::DateRange, decorator: Google::Apis::YoutubePartnerV1::DateRange::Representation collection :events, as: 'events', class: Google::Apis::YoutubePartnerV1::StateCompleted, decorator: Google::Apis::YoutubePartnerV1::StateCompleted::Representation property :id, as: 'id' property :kind, as: 'kind' property :movie, as: 'movie' property :original_release_date, as: 'originalReleaseDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation property :priority, as: 'priority' property :production_house, as: 'productionHouse' property :purchase_order, as: 'purchaseOrder' property :requirements, as: 'requirements', class: Google::Apis::YoutubePartnerV1::Requirements, decorator: Google::Apis::YoutubePartnerV1::Requirements::Representation property :show, as: 'show', class: Google::Apis::YoutubePartnerV1::ShowDetails, decorator: Google::Apis::YoutubePartnerV1::ShowDetails::Representation property :status, as: 'status' property :video_id, as: 'videoId' property :vod_dates, as: 'vodDates', class: Google::Apis::YoutubePartnerV1::DateRange, decorator: Google::Apis::YoutubePartnerV1::DateRange::Representation end end class OrderListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Order, decorator: Google::Apis::YoutubePartnerV1::Order::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation property :previous_page_token, as: 'previousPageToken' end end class Origination # @private class Representation < Google::Apis::Core::JsonRepresentation property :owner, as: 'owner' property :source, as: 'source' end end class OwnershipConflicts # @private class Representation < Google::Apis::Core::JsonRepresentation collection :general, as: 'general', class: Google::Apis::YoutubePartnerV1::TerritoryConflicts, decorator: Google::Apis::YoutubePartnerV1::TerritoryConflicts::Representation property :kind, as: 'kind' collection :mechanical, as: 'mechanical', class: Google::Apis::YoutubePartnerV1::TerritoryConflicts, decorator: Google::Apis::YoutubePartnerV1::TerritoryConflicts::Representation collection :performance, as: 'performance', class: Google::Apis::YoutubePartnerV1::TerritoryConflicts, decorator: Google::Apis::YoutubePartnerV1::TerritoryConflicts::Representation collection :synchronization, as: 'synchronization', class: Google::Apis::YoutubePartnerV1::TerritoryConflicts, decorator: Google::Apis::YoutubePartnerV1::TerritoryConflicts::Representation end end class OwnershipHistoryListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::RightsOwnershipHistory, decorator: Google::Apis::YoutubePartnerV1::RightsOwnershipHistory::Representation property :kind, as: 'kind' end end class Package # @private class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content' collection :custom_ids, as: 'customIds' property :id, as: 'id' property :kind, as: 'kind' property :locale, as: 'locale' property :name, as: 'name' property :status, as: 'status' collection :status_reports, as: 'statusReports', class: Google::Apis::YoutubePartnerV1::StatusReport, decorator: Google::Apis::YoutubePartnerV1::StatusReport::Representation property :time_created, as: 'timeCreated', type: DateTime property :type, as: 'type' property :uploader_name, as: 'uploaderName' end end class PackageInsertResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :errors, as: 'errors', class: Google::Apis::YoutubePartnerV1::ValidateError, decorator: Google::Apis::YoutubePartnerV1::ValidateError::Representation property :kind, as: 'kind' property :resource, as: 'resource', class: Google::Apis::YoutubePartnerV1::Package, decorator: Google::Apis::YoutubePartnerV1::Package::Representation property :status, as: 'status' end end class PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :results_per_page, as: 'resultsPerPage' property :start_index, as: 'startIndex' property :total_results, as: 'totalResults' end end class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :id, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :rules, as: 'rules', class: Google::Apis::YoutubePartnerV1::PolicyRule, decorator: Google::Apis::YoutubePartnerV1::PolicyRule::Representation property :time_updated, as: 'timeUpdated', type: DateTime end end class PolicyList # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Policy, decorator: Google::Apis::YoutubePartnerV1::Policy::Representation property :kind, as: 'kind' end end class PolicyRule # @private class Representation < Google::Apis::Core::JsonRepresentation property :action, as: 'action' property :conditions, as: 'conditions', class: Google::Apis::YoutubePartnerV1::Conditions, decorator: Google::Apis::YoutubePartnerV1::Conditions::Representation collection :subaction, as: 'subaction' end end class PromotedContent # @private class Representation < Google::Apis::Core::JsonRepresentation collection :link, as: 'link', class: Google::Apis::YoutubePartnerV1::CampaignTargetLink, decorator: Google::Apis::YoutubePartnerV1::CampaignTargetLink::Representation end end class Publisher # @private class Representation < Google::Apis::Core::JsonRepresentation property :cae_number, as: 'caeNumber' property :id, as: 'id' property :ipi_number, as: 'ipiNumber' property :kind, as: 'kind' property :name, as: 'name' end end class PublisherList # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Publisher, decorator: Google::Apis::YoutubePartnerV1::Publisher::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation end end class Rating # @private class Representation < Google::Apis::Core::JsonRepresentation property :rating, as: 'rating' property :rating_system, as: 'ratingSystem' end end class Reference # @private class Representation < Google::Apis::Core::JsonRepresentation property :asset_id, as: 'assetId' property :audioswap_enabled, as: 'audioswapEnabled' property :claim_id, as: 'claimId' property :content_type, as: 'contentType' property :duplicate_leader, as: 'duplicateLeader' collection :excluded_intervals, as: 'excludedIntervals', class: Google::Apis::YoutubePartnerV1::ExcludedInterval, decorator: Google::Apis::YoutubePartnerV1::ExcludedInterval::Representation property :fp_direct, as: 'fpDirect' property :hash_code, as: 'hashCode' property :id, as: 'id' property :ignore_fp_match, as: 'ignoreFpMatch' property :kind, as: 'kind' property :length, as: 'length' property :origination, as: 'origination', class: Google::Apis::YoutubePartnerV1::Origination, decorator: Google::Apis::YoutubePartnerV1::Origination::Representation property :status, as: 'status' property :status_reason, as: 'statusReason' property :urgent, as: 'urgent' property :video_id, as: 'videoId' end end class ReferenceConflict # @private class Representation < Google::Apis::Core::JsonRepresentation property :conflicting_reference_id, as: 'conflictingReferenceId' property :expiry_time, as: 'expiryTime', type: DateTime property :id, as: 'id' property :kind, as: 'kind' collection :matches, as: 'matches', class: Google::Apis::YoutubePartnerV1::ReferenceConflictMatch, decorator: Google::Apis::YoutubePartnerV1::ReferenceConflictMatch::Representation property :original_reference_id, as: 'originalReferenceId' property :status, as: 'status' end end class ReferenceConflictListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::ReferenceConflict, decorator: Google::Apis::YoutubePartnerV1::ReferenceConflict::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation end end class ReferenceConflictMatch # @private class Representation < Google::Apis::Core::JsonRepresentation property :conflicting_reference_offset_ms, :numeric_string => true, as: 'conflicting_reference_offset_ms' property :length_ms, :numeric_string => true, as: 'length_ms' property :original_reference_offset_ms, :numeric_string => true, as: 'original_reference_offset_ms' property :type, as: 'type' end end class ReferenceListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Reference, decorator: Google::Apis::YoutubePartnerV1::Reference::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation end end class Requirements # @private class Representation < Google::Apis::Core::JsonRepresentation property :caption, as: 'caption' property :hd_transcode, as: 'hdTranscode' property :poster_art, as: 'posterArt' property :spotlight_art, as: 'spotlightArt' property :spotlight_review, as: 'spotlightReview' property :trailer, as: 'trailer' end end class RightsOwnership # @private class Representation < Google::Apis::Core::JsonRepresentation collection :general, as: 'general', class: Google::Apis::YoutubePartnerV1::TerritoryOwners, decorator: Google::Apis::YoutubePartnerV1::TerritoryOwners::Representation property :kind, as: 'kind' collection :mechanical, as: 'mechanical', class: Google::Apis::YoutubePartnerV1::TerritoryOwners, decorator: Google::Apis::YoutubePartnerV1::TerritoryOwners::Representation collection :performance, as: 'performance', class: Google::Apis::YoutubePartnerV1::TerritoryOwners, decorator: Google::Apis::YoutubePartnerV1::TerritoryOwners::Representation collection :synchronization, as: 'synchronization', class: Google::Apis::YoutubePartnerV1::TerritoryOwners, decorator: Google::Apis::YoutubePartnerV1::TerritoryOwners::Representation end end class RightsOwnershipHistory # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :origination, as: 'origination', class: Google::Apis::YoutubePartnerV1::Origination, decorator: Google::Apis::YoutubePartnerV1::Origination::Representation property :ownership, as: 'ownership', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation property :time_provided, as: 'timeProvided', type: DateTime end end class Segment # @private class Representation < Google::Apis::Core::JsonRepresentation property :duration, :numeric_string => true, as: 'duration' property :kind, as: 'kind' property :start, :numeric_string => true, as: 'start' end end class ShowDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :episode_number, as: 'episodeNumber' property :episode_title, as: 'episodeTitle' property :season_number, as: 'seasonNumber' property :title, as: 'title' end end class SpreadsheetTemplate # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :status, as: 'status' property :template_content, as: 'templateContent' property :template_name, as: 'templateName' property :template_type, as: 'templateType' end end class SpreadsheetTemplateListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::SpreadsheetTemplate, decorator: Google::Apis::YoutubePartnerV1::SpreadsheetTemplate::Representation property :kind, as: 'kind' property :status, as: 'status' end end class StateCompleted # @private class Representation < Google::Apis::Core::JsonRepresentation property :state, as: 'state' property :time_completed, :numeric_string => true, as: 'timeCompleted' end end class StatusReport # @private class Representation < Google::Apis::Core::JsonRepresentation property :status_content, as: 'statusContent' property :status_file_name, as: 'statusFileName' end end class TerritoryCondition # @private class Representation < Google::Apis::Core::JsonRepresentation collection :territories, as: 'territories' property :type, as: 'type' end end class TerritoryConflicts # @private class Representation < Google::Apis::Core::JsonRepresentation collection :conflicting_ownership, as: 'conflictingOwnership', class: Google::Apis::YoutubePartnerV1::ConflictingOwnership, decorator: Google::Apis::YoutubePartnerV1::ConflictingOwnership::Representation property :territory, as: 'territory' end end class TerritoryOwners # @private class Representation < Google::Apis::Core::JsonRepresentation property :owner, as: 'owner' property :publisher, as: 'publisher' property :ratio, as: 'ratio' collection :territories, as: 'territories' property :type, as: 'type' end end class Uploader # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :uploader_name, as: 'uploaderName' end end class UploaderListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Uploader, decorator: Google::Apis::YoutubePartnerV1::Uploader::Representation property :kind, as: 'kind' end end class ValidateAsyncRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content' property :kind, as: 'kind' property :uploader_name, as: 'uploaderName' end end class ValidateAsyncResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :status, as: 'status' property :validation_id, as: 'validationId' end end class ValidateError # @private class Representation < Google::Apis::Core::JsonRepresentation property :column_name, as: 'columnName' property :column_number, as: 'columnNumber' property :line_number, as: 'lineNumber' property :message, as: 'message' property :message_code, as: 'messageCode' property :severity, as: 'severity' end end class ValidateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content' property :kind, as: 'kind' property :locale, as: 'locale' property :uploader_name, as: 'uploaderName' end end class ValidateResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :errors, as: 'errors', class: Google::Apis::YoutubePartnerV1::ValidateError, decorator: Google::Apis::YoutubePartnerV1::ValidateError::Representation property :kind, as: 'kind' property :status, as: 'status' end end class ValidateStatusRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :locale, as: 'locale' property :validation_id, as: 'validationId' end end class ValidateStatusResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :errors, as: 'errors', class: Google::Apis::YoutubePartnerV1::ValidateError, decorator: Google::Apis::YoutubePartnerV1::ValidateError::Representation property :is_metadata_only, as: 'isMetadataOnly' property :kind, as: 'kind' property :status, as: 'status' end end class VideoAdvertisingOption # @private class Representation < Google::Apis::Core::JsonRepresentation collection :ad_breaks, as: 'adBreaks', class: Google::Apis::YoutubePartnerV1::AdBreak, decorator: Google::Apis::YoutubePartnerV1::AdBreak::Representation collection :ad_formats, as: 'adFormats' property :auto_generated_breaks, as: 'autoGeneratedBreaks' collection :break_position, as: 'breakPosition' property :id, as: 'id' property :kind, as: 'kind' property :tp_ad_server_video_id, as: 'tpAdServerVideoId' property :tp_targeting_url, as: 'tpTargetingUrl' property :tp_url_parameters, as: 'tpUrlParameters' end end class VideoAdvertisingOptionGetEnabledAdsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :ad_breaks, as: 'adBreaks', class: Google::Apis::YoutubePartnerV1::AdBreak, decorator: Google::Apis::YoutubePartnerV1::AdBreak::Representation property :ads_on_embeds, as: 'adsOnEmbeds' collection :countries_restriction, as: 'countriesRestriction', class: Google::Apis::YoutubePartnerV1::CountriesRestriction, decorator: Google::Apis::YoutubePartnerV1::CountriesRestriction::Representation property :id, as: 'id' property :kind, as: 'kind' end end class Whitelist # @private class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' property :kind, as: 'kind' property :title, as: 'title' end end class WhitelistListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Whitelist, decorator: Google::Apis::YoutubePartnerV1::Whitelist::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation end end end end end