class Google::Apis::YoutubeV3::MembershipsLevel
A membershipsLevel resource represents an offer made by YouTube creators for their fans. Users can become members of the channel by joining one of the available levels. They will provide recurring monetary support and receives special benefits.
Attributes
Etag of this resource. Corresponds to the JSON property `etag` @return [String]
The ID that YouTube assigns to uniquely identify the memberships level. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string âyoutube# membershipsLevelListResponseâ. Corresponds to the JSON property `kind` @return [String]
The snippet object contains basic details about the level. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::MembershipsLevelSnippet]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 5362 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 5367 def update!(**args) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @snippet = args[:snippet] if args.key?(:snippet) end