Class: Google::Apis::YoutubeV3::ChannelStatus
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ChannelStatus
- 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
JSON template for the status part of a channel.
Instance Attribute Summary collapse
-
#is_linked ⇒ Boolean
(also: #is_linked?)
If true, then the user is linked to either a YouTube username or G+ account.
-
#long_uploads_status ⇒ String
The long uploads status of this channel.
-
#privacy_status ⇒ String
Privacy status of the channel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelStatus
constructor
A new instance of ChannelStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChannelStatus
Returns a new instance of ChannelStatus
1848 1849 1850 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1848 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_linked ⇒ Boolean Also known as: is_linked?
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
1835 1836 1837 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1835 def is_linked @is_linked end |
#long_uploads_status ⇒ String
The long uploads status of this channel. See
Corresponds to the JSON property longUploadsStatus
1841 1842 1843 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1841 def long_uploads_status @long_uploads_status end |
#privacy_status ⇒ String
Privacy status of the channel.
Corresponds to the JSON property privacyStatus
1846 1847 1848 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1846 def privacy_status @privacy_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1853 1854 1855 1856 1857 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1853 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) @privacy_status = args[:privacy_status] if args.key?(:privacy_status) end |