class Google::Apis::YoutubePartnerV1::Order
Attributes
Links an order to the avails associated with it. Corresponds to the JSON property `availGroupId` @return [String]
Channel ID - identifies the channel this order and video are associated with Corresponds to the JSON property `channelId` @return [String]
Type of content possible values are
-
MOVIE
-
SHOW
Corresponds to the JSON property `contentType` @return [String]
Two letter country code for the order only countries where YouTube does transactional business are allowed. Corresponds to the JSON property `country` @return [String]
Secondary id to be used to identify content in other systems like partner database Corresponds to the JSON property `customId` @return [String]
Date when this content was first made available on DVD Corresponds to the JSON property `dvdReleaseDate` @return [Google::Apis::YoutubePartnerV1::Date]
Range of time content is to be available for rental. Corresponds to the JSON property `estDates` @return [Google::Apis::YoutubePartnerV1::DateRange]
History log of events for this order Corresponds to the JSON property `events` @return [Array<Google::Apis::YoutubePartnerV1::StateCompleted>]
Order Id unique identifier for an order. Corresponds to the JSON property `id` @return [String]
Identifies this resource as order. Value: “youtubePartner#order”. Corresponds to the JSON property `kind` @return [String]
Title if the order is type movie. Corresponds to the JSON property `movie` @return [String]
Date when this content was first made available to the public Corresponds to the JSON property `originalReleaseDate` @return [Google::Apis::YoutubePartnerV1::Date]
The priority for the order in the QC review queue once the content is ready for QC. Corresponds to the JSON property `priority` @return [String]
Post production house that is to process this order Corresponds to the JSON property `productionHouse` @return [String]
Youtube purchase order reference for the post production house. Corresponds to the JSON property `purchaseOrder` @return [String]
Minumim set of requirements for this order to be complete such as is a trailer required. Corresponds to the JSON property `requirements` @return [Google::Apis::YoutubePartnerV1::Requirements]
Details of a show, show name, season number, episode etc. Corresponds to the JSON property `show` @return [Google::Apis::YoutubePartnerV1::ShowDetails]
The order's status. Corresponds to the JSON property `status` @return [String]
Video ID the video that this order is associated with if any. Corresponds to the JSON property `videoId` @return [String]
Range of time content is to be available for purchase. Corresponds to the JSON property `vodDates` @return [Google::Apis::YoutubePartnerV1::DateRange]
Public Class Methods
# File generated/google/apis/youtube_partner_v1/classes.rb, line 2359 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_partner_v1/classes.rb, line 2364 def update!(**args) @avail_group_id = args[:avail_group_id] if args.key?(:avail_group_id) @channel_id = args[:channel_id] if args.key?(:channel_id) @content_type = args[:content_type] if args.key?(:content_type) @country = args[:country] if args.key?(:country) @custom_id = args[:custom_id] if args.key?(:custom_id) @dvd_release_date = args[:dvd_release_date] if args.key?(:dvd_release_date) @est_dates = args[:est_dates] if args.key?(:est_dates) @events = args[:events] if args.key?(:events) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @movie = args[:movie] if args.key?(:movie) @original_release_date = args[:original_release_date] if args.key?(:original_release_date) @priority = args[:priority] if args.key?(:priority) @production_house = args[:production_house] if args.key?(:production_house) @purchase_order = args[:purchase_order] if args.key?(:purchase_order) @requirements = args[:requirements] if args.key?(:requirements) @show = args[:show] if args.key?(:show) @status = args[:status] if args.key?(:status) @video_id = args[:video_id] if args.key?(:video_id) @vod_dates = args[:vod_dates] if args.key?(:vod_dates) end