Class: Google::Apis::YoutubeV3::ChannelContentOwnerDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ChannelContentOwnerDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.
Instance Attribute Summary collapse
-
#content_owner ⇒ String
The ID of the content owner linked to the channel.
-
#time_linked ⇒ DateTime
The date and time of when the channel was linked to the content owner.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelContentOwnerDetails
constructor
A new instance of ChannelContentOwnerDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChannelContentOwnerDetails
Returns a new instance of ChannelContentOwnerDetails
1175 1176 1177 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_owner ⇒ String
The ID of the content owner linked to the channel.
Corresponds to the JSON property contentOwner
1167 1168 1169 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1167 def content_owner @content_owner end |
#time_linked ⇒ DateTime
The date and time of when the channel was linked to the content owner. The
value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
Corresponds to the JSON property timeLinked
1173 1174 1175 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1173 def time_linked @time_linked end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1180 1181 1182 1183 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1180 def update!(**args) @content_owner = args[:content_owner] if args.key?(:content_owner) @time_linked = args[:time_linked] if args.key?(:time_linked) end |