Class: Google::Apis::PartnersV2::Certification

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Certification

Returns a new instance of Certification



1101
1102
1103
# File 'generated/google/apis/partners_v2/classes.rb', line 1101

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#achievedBoolean Also known as: achieved?

Whether this certification has been achieved. Corresponds to the JSON property achieved

Returns:

  • (Boolean)


1082
1083
1084
# File 'generated/google/apis/partners_v2/classes.rb', line 1082

def achieved
  @achieved
end

#certification_typeString

The type of certification, the area of expertise. Corresponds to the JSON property certificationType

Returns:

  • (String)


1099
1100
1101
# File 'generated/google/apis/partners_v2/classes.rb', line 1099

def certification_type
  @certification_type
end

#expirationString

Date this certification is due to expire. Corresponds to the JSON property expiration

Returns:

  • (String)


1088
1089
1090
# File 'generated/google/apis/partners_v2/classes.rb', line 1088

def expiration
  @expiration
end

#last_achievedString

The date the user last achieved certification. Corresponds to the JSON property lastAchieved

Returns:

  • (String)


1077
1078
1079
# File 'generated/google/apis/partners_v2/classes.rb', line 1077

def last_achieved
  @last_achieved
end

#warningBoolean Also known as: warning?

Whether this certification is in the state of warning. Corresponds to the JSON property warning

Returns:

  • (Boolean)


1093
1094
1095
# File 'generated/google/apis/partners_v2/classes.rb', line 1093

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1106
1107
1108
1109
1110
1111
1112
# File 'generated/google/apis/partners_v2/classes.rb', line 1106

def update!(**args)
  @last_achieved = args[:last_achieved] if args.key?(:last_achieved)
  @achieved = args[:achieved] if args.key?(:achieved)
  @expiration = args[:expiration] if args.key?(:expiration)
  @warning = args[:warning] if args.key?(:warning)
  @certification_type = args[:certification_type] if args.key?(:certification_type)
end