Class: Google::Apis::YoutubeV3::MembershipsLevelSnippet
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::MembershipsLevelSnippet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb
Instance Attribute Summary collapse
-
#creator_channel_id ⇒ String
The id of the channel that's offering channel memberships.
-
#level_details ⇒ Google::Apis::YoutubeV3::LevelDetails
Details about the pricing level.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipsLevelSnippet
constructor
A new instance of MembershipsLevelSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipsLevelSnippet
Returns a new instance of MembershipsLevelSnippet.
5433 5434 5435 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5433 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creator_channel_id ⇒ String
The id of the channel that's offering channel memberships.
Corresponds to the JSON property creatorChannelId
5426 5427 5428 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5426 def creator_channel_id @creator_channel_id end |
#level_details ⇒ Google::Apis::YoutubeV3::LevelDetails
Details about the pricing level.
Corresponds to the JSON property levelDetails
5431 5432 5433 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5431 def level_details @level_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5438 5439 5440 5441 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5438 def update!(**args) @creator_channel_id = args[:creator_channel_id] if args.key?(:creator_channel_id) @level_details = args[:level_details] if args.key?(:level_details) end |