Class: Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails
 
 
- 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
- 
  
    
      #associated_membership_gifting_message_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the membership gifting message that is related to this gift membership.
 - 
  
    
      #gifter_channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the user that made the membership gifting purchase.
 - 
  
    
      #member_level_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the Level at which the viewer is a member.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LiveChatGiftMembershipReceivedDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LiveChatGiftMembershipReceivedDetails.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ LiveChatGiftMembershipReceivedDetails
Returns a new instance of LiveChatGiftMembershipReceivedDetails.
      4235 4236 4237  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4235 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#associated_membership_gifting_message_id ⇒ String
The ID of the membership gifting message that is related to this gift
membership. This ID will always refer to a message whose type is '
membershipGiftingEvent'.
Corresponds to the JSON property associatedMembershipGiftingMessageId
      4219 4220 4221  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4219 def @associated_membership_gifting_message_id end  | 
  
#gifter_channel_id ⇒ String
The ID of the user that made the membership gifting purchase. This matches the
snippet.authorChannelId of the associated membership gifting message.
Corresponds to the JSON property gifterChannelId
      4225 4226 4227  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4225 def gifter_channel_id @gifter_channel_id end  | 
  
#member_level_name ⇒ String
The name of the Level at which the viewer is a member. This matches the 
snippet.membershipGiftingDetails.giftMembershipsLevelName of the associated
membership gifting message. The Level names are defined by the YouTube channel
offering the Membership. In some situations this field isn't filled.
Corresponds to the JSON property memberLevelName
      4233 4234 4235  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4233 def member_level_name @member_level_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4240 4241 4242 4243 4244  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4240 def update!(**args) @associated_membership_gifting_message_id = args[:associated_membership_gifting_message_id] if args.key?(:associated_membership_gifting_message_id) @gifter_channel_id = args[:gifter_channel_id] if args.key?(:gifter_channel_id) @member_level_name = args[:member_level_name] if args.key?(:member_level_name) end  |