Class: Google::Apis::AdminDirectoryV1::UserAbout
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdminDirectoryV1::UserAbout
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
 generated/google/apis/admin_directory_v1/representations.rb,
 generated/google/apis/admin_directory_v1/representations.rb
Overview
JSON template for About (notes) of a user in Directory API.
Instance Attribute Summary collapse
- 
  
    
      #content_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    About entry can have a type which indicates the content type. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Actual value of notes. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UserAbout 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UserAbout. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserAbout
Returns a new instance of UserAbout
| 3175 3176 3177 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3175 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#content_type ⇒ String
About entry can have a type which indicates the content type. It can either be
plain or html. By default, notes contents are assumed to contain plain text.
Corresponds to the JSON property contentType
| 3168 3169 3170 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3168 def content_type @content_type end | 
#value ⇒ String
Actual value of notes.
Corresponds to the JSON property value
| 3173 3174 3175 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3173 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3180 3181 3182 3183 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3180 def update!(**args) @content_type = args[:content_type] if args.key?(:content_type) @value = args[:value] if args.key?(:value) end |