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
1846 1847 1848 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1846 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
1833 1834 1835 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1833 def is_linked @is_linked end |
#long_uploads_status ⇒ String
The long uploads status of this channel. See
Corresponds to the JSON property longUploadsStatus
1839 1840 1841 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1839 def long_uploads_status @long_uploads_status end |
#privacy_status ⇒ String
Privacy status of the channel.
Corresponds to the JSON property privacyStatus
1844 1845 1846 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1844 def privacy_status @privacy_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1851 1852 1853 1854 1855 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1851 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 |