Class: Google::Apis::ChatV1::UserMentionMetadata
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChatV1::UserMentionMetadata
 
- Defined in:
- generated/google/apis/chat_v1/classes.rb,
 generated/google/apis/chat_v1/representations.rb,
 generated/google/apis/chat_v1/representations.rb
Overview
Annotation metadata for user mentions (@).
Instance Attribute Summary collapse
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of user mention. 
- 
  
    
      #user  ⇒ Google::Apis::ChatV1::User 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A user in Hangouts Chat. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UserMentionMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UserMentionMetadata. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserMentionMetadata
Returns a new instance of UserMentionMetadata
| 845 846 847 | # File 'generated/google/apis/chat_v1/classes.rb', line 845 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#type ⇒ String
The type of user mention.
Corresponds to the JSON property type
| 838 839 840 | # File 'generated/google/apis/chat_v1/classes.rb', line 838 def type @type end | 
#user ⇒ Google::Apis::ChatV1::User
A user in Hangouts Chat.
Corresponds to the JSON property user
| 843 844 845 | # File 'generated/google/apis/chat_v1/classes.rb', line 843 def user @user end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 850 851 852 853 | # File 'generated/google/apis/chat_v1/classes.rb', line 850 def update!(**args) @type = args[:type] if args.key?(:type) @user = args[:user] if args.key?(:user) end |