Class: Google::Apis::PartnersV2::Certification
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::Certification
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
 generated/google/apis/partners_v2/representations.rb,
 generated/google/apis/partners_v2/representations.rb
Overview
A user's information on a specific certification.
Instance Attribute Summary collapse
- 
  
    
      #achieved  ⇒ Boolean 
    
    
      (also: #achieved?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this certification has been achieved. 
- 
  
    
      #certification_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of certification, the area of expertise. 
- 
  
    
      #expiration  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Date this certification is due to expire. 
- 
  
    
      #last_achieved  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date the user last achieved certification. 
- 
  
    
      #warning  ⇒ Boolean 
    
    
      (also: #warning?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this certification is in the state of warning. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Certification 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Certification. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Certification
Returns a new instance of Certification
| 271 272 273 | # File 'generated/google/apis/partners_v2/classes.rb', line 271 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#achieved ⇒ Boolean Also known as: achieved?
Whether this certification has been achieved.
Corresponds to the JSON property achieved
| 247 248 249 | # File 'generated/google/apis/partners_v2/classes.rb', line 247 def achieved @achieved end | 
#certification_type ⇒ String
The type of certification, the area of expertise.
Corresponds to the JSON property certificationType
| 253 254 255 | # File 'generated/google/apis/partners_v2/classes.rb', line 253 def certification_type @certification_type end | 
#expiration ⇒ String
Date this certification is due to expire.
Corresponds to the JSON property expiration
| 258 259 260 | # File 'generated/google/apis/partners_v2/classes.rb', line 258 def expiration @expiration end | 
#last_achieved ⇒ String
The date the user last achieved certification.
Corresponds to the JSON property lastAchieved
| 263 264 265 | # File 'generated/google/apis/partners_v2/classes.rb', line 263 def last_achieved @last_achieved end | 
#warning ⇒ Boolean Also known as: warning?
Whether this certification is in the state of warning.
Corresponds to the JSON property warning
| 268 269 270 | # File 'generated/google/apis/partners_v2/classes.rb', line 268 def warning @warning end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 276 277 278 279 280 281 282 | # File 'generated/google/apis/partners_v2/classes.rb', line 276 def update!(**args) @achieved = args[:achieved] if args.key?(:achieved) @certification_type = args[:certification_type] if args.key?(:certification_type) @expiration = args[:expiration] if args.key?(:expiration) @last_achieved = args[:last_achieved] if args.key?(:last_achieved) @warning = args[:warning] if args.key?(:warning) end |