Class: Google::Apis::YoutubePartnerV1::ExcludedInterval
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ExcludedInterval
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
-
#high ⇒ Float
The end (inclusive) time in seconds of the time window.
-
#low ⇒ Float
The start (inclusive) time in seconds of the time window.
-
#origin ⇒ String
The source of the request to exclude the interval from Content ID matching.
-
#time_created ⇒ DateTime
The date and time that the exclusion was created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExcludedInterval
constructor
A new instance of ExcludedInterval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExcludedInterval
Returns a new instance of ExcludedInterval.
1739 1740 1741 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1739 def initialize(**args) update!(**args) end |
Instance Attribute Details
#high ⇒ Float
The end (inclusive) time in seconds of the time window. The value can be any
value greater than low. If high is greater than the length of the reference,
the interval between low and the end of the reference will be excluded. Every
interval must specify a value for this field.
Corresponds to the JSON property high
1720 1721 1722 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1720 def high @high end |
#low ⇒ Float
The start (inclusive) time in seconds of the time window. The value can be any
value between 0 and high. Every interval must specify a value for this field.
Corresponds to the JSON property low
1726 1727 1728 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1726 def low @low end |
#origin ⇒ String
The source of the request to exclude the interval from Content ID matching.
Corresponds to the JSON property origin
1731 1732 1733 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1731 def origin @origin end |
#time_created ⇒ DateTime
The date and time that the exclusion was created. The value is specified in
RFC 3339 (YYYY-MM-DDThh:mm:ss.000Z) format.
Corresponds to the JSON property timeCreated
1737 1738 1739 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1737 def time_created @time_created end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1744 1745 1746 1747 1748 1749 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1744 def update!(**args) @high = args[:high] if args.key?(:high) @low = args[:low] if args.key?(:low) @origin = args[:origin] if args.key?(:origin) @time_created = args[:time_created] if args.key?(:time_created) end |