class Google::Apis::YoutubeV3::LiveBroadcastStatus

Live broadcast state.

Attributes

life_cycle_status[RW]

The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. Corresponds to the JSON property `lifeCycleStatus` @return [String]

live_broadcast_priority[RW]

Priority of the live broadcast event (internal state). Corresponds to the JSON property `liveBroadcastPriority` @return [String]

made_for_kids[RW]

Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. Corresponds to the JSON property `madeForKids` @return [Boolean]

made_for_kids?[RW]

Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only. Corresponds to the JSON property `madeForKids` @return [Boolean]

privacy_status[RW]

The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource. Corresponds to the JSON property `privacyStatus` @return [String]

recording_status[RW]

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

self_declared_made_for_kids[RW]

This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. Corresponds to the JSON property `selfDeclaredMadeForKids` @return [Boolean]

self_declared_made_for_kids?[RW]

This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work. Corresponds to the JSON property `selfDeclaredMadeForKids` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 3934
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 3939
def update!(**args)
  @life_cycle_status = args[:life_cycle_status] if args.key?(:life_cycle_status)
  @live_broadcast_priority = args[:live_broadcast_priority] if args.key?(:live_broadcast_priority)
  @made_for_kids = args[:made_for_kids] if args.key?(:made_for_kids)
  @privacy_status = args[:privacy_status] if args.key?(:privacy_status)
  @recording_status = args[:recording_status] if args.key?(:recording_status)
  @self_declared_made_for_kids = args[:self_declared_made_for_kids] if args.key?(:self_declared_made_for_kids)
end