class Google::Apis::YoutubePartnerV1::DateRange

Attributes

end[RW]

The end date (inclusive) for the date range. This value is required for video- on-demand (VOD) orders and optional for electronic sell-through (EST) orders. Corresponds to the JSON property `end` @return [Google::Apis::YoutubePartnerV1::Date]

kind[RW]

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

start[RW]

The start date for the date range. This value is required for all date ranges. Corresponds to the JSON property `start` @return [Google::Apis::YoutubePartnerV1::Date]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 1692
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 1697
def update!(**args)
  @end = args[:end] if args.key?(:end)
  @kind = args[:kind] if args.key?(:kind)
  @start = args[:start] if args.key?(:start)
end