class Google::Apis::YoutubeV3::LiveChatUserBannedMessageDetails
Attributes
ban_duration_seconds[RW]
The duration of the ban. This property is only present if the banType is temporary. Corresponds to the JSON property `banDurationSeconds` @return [Fixnum]
ban_type[RW]
The type of ban. Corresponds to the JSON property `banType` @return [String]
banned_user_details[RW]
The details of the user that was banned. Corresponds to the JSON property `bannedUserDetails` @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 4732 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 4737 def update!(**args) @ban_duration_seconds = args[:ban_duration_seconds] if args.key?(:ban_duration_seconds) @ban_type = args[:ban_type] if args.key?(:ban_type) @banned_user_details = args[:banned_user_details] if args.key?(:banned_user_details) end