class Google::Apis::YoutubeV3::ChannelStatus

JSON template for the status part of a channel.

Attributes

is_linked[RW]

If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity. Corresponds to the JSON property `isLinked` @return [Boolean]

is_linked?[RW]

If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity. Corresponds to the JSON property `isLinked` @return [Boolean]

long_uploads_status[RW]

The long uploads status of this channel. See support.google.com/ youtube/answer/71673 for more information. Corresponds to the JSON property `longUploadsStatus` @return [String]

made_for_kids[RW]

Corresponds to the JSON property `madeForKids` @return [Boolean]

made_for_kids?[RW]

Corresponds to the JSON property `madeForKids` @return [Boolean]

privacy_status[RW]

Privacy status of the channel. Corresponds to the JSON property `privacyStatus` @return [String]

self_declared_made_for_kids[RW]

Corresponds to the JSON property `selfDeclaredMadeForKids` @return [Boolean]

self_declared_made_for_kids?[RW]

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 1895
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 1900
def update!(**args)
  @is_linked = args[:is_linked] if args.key?(:is_linked)
  @long_uploads_status = args[:long_uploads_status] if args.key?(:long_uploads_status)
  @made_for_kids = args[:made_for_kids] if args.key?(:made_for_kids)
  @privacy_status = args[:privacy_status] if args.key?(:privacy_status)
  @self_declared_made_for_kids = args[:self_declared_made_for_kids] if args.key?(:self_declared_made_for_kids)
end