Class: Google::Apis::ChatV1::MembershipDeletedEventData
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChatV1::MembershipDeletedEventData
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
 lib/google/apis/chat_v1/representations.rb,
 lib/google/apis/chat_v1/representations.rb
Overview
Event payload for a deleted membership. Event type: google.workspace.chat.
membership.v1.deleted
Instance Attribute Summary collapse
- 
  
    
      #membership  ⇒ Google::Apis::ChatV1::Membership 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents a membership relation in Google Chat, such as whether a user or Chat app is invited to, part of, or absent from a space. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MembershipDeletedEventData 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MembershipDeletedEventData. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ MembershipDeletedEventData
Returns a new instance of MembershipDeletedEventData.
| 3767 3768 3769 | # File 'lib/google/apis/chat_v1/classes.rb', line 3767 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#membership ⇒ Google::Apis::ChatV1::Membership
Represents a membership relation in Google Chat, such as whether a user or
Chat app is invited to, part of, or absent from a space.
Corresponds to the JSON property membership
| 3765 3766 3767 | # File 'lib/google/apis/chat_v1/classes.rb', line 3765 def membership @membership end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3772 3773 3774 | # File 'lib/google/apis/chat_v1/classes.rb', line 3772 def update!(**args) @membership = args[:membership] if args.key?(:membership) end |