class Google::Apis::YoutubePartnerV1::Order

Attributes

avail_group_id[RW]

Links an order to the avails associated with it. Corresponds to the JSON property `availGroupId` @return [String]

channel_id[RW]

Channel ID - identifies the channel this order and video are associated with Corresponds to the JSON property `channelId` @return [String]

content_type[RW]

Type of content possible values are

  • MOVIE

  • SHOW

Corresponds to the JSON property `contentType` @return [String]

country[RW]

Two letter country code for the order only countries where YouTube does transactional business are allowed. Corresponds to the JSON property `country` @return [String]

custom_id[RW]

Secondary id to be used to identify content in other systems like partner database Corresponds to the JSON property `customId` @return [String]

dvd_release_date[RW]

Date when this content was first made available on DVD Corresponds to the JSON property `dvdReleaseDate` @return [Google::Apis::YoutubePartnerV1::Date]

est_dates[RW]

Range of time content is to be available for rental. Corresponds to the JSON property `estDates` @return [Google::Apis::YoutubePartnerV1::DateRange]

events[RW]

History log of events for this order Corresponds to the JSON property `events` @return [Array<Google::Apis::YoutubePartnerV1::StateCompleted>]

id[RW]

Order Id unique identifier for an order. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies this resource as order. Value: “youtubePartner#order”. Corresponds to the JSON property `kind` @return [String]

movie[RW]

Title if the order is type movie. Corresponds to the JSON property `movie` @return [String]

original_release_date[RW]

Date when this content was first made available to the public Corresponds to the JSON property `originalReleaseDate` @return [Google::Apis::YoutubePartnerV1::Date]

priority[RW]

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]

production_house[RW]

Post production house that is to process this order Corresponds to the JSON property `productionHouse` @return [String]

purchase_order[RW]

Youtube purchase order reference for the post production house. Corresponds to the JSON property `purchaseOrder` @return [String]

requirements[RW]

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]

show[RW]

Details of a show, show name, season number, episode etc. Corresponds to the JSON property `show` @return [Google::Apis::YoutubePartnerV1::ShowDetails]

status[RW]

The order's status. Corresponds to the JSON property `status` @return [String]

video_id[RW]

Video ID the video that this order is associated with if any. Corresponds to the JSON property `videoId` @return [String]

vod_dates[RW]

Range of time content is to be available for purchase. Corresponds to the JSON property `vodDates` @return [Google::Apis::YoutubePartnerV1::DateRange]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 2359
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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