Class: Google::Apis::PartnersV2::CertificationStatus
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::CertificationStatus
- 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
Google Partners certification status.
Instance Attribute Summary collapse
-
#exam_statuses ⇒ Array<Google::Apis::PartnersV2::CertificationExamStatus>
List of certification exam statuses.
-
#is_certified ⇒ Boolean
(also: #is_certified?)
Whether certification is passing.
-
#type ⇒ String
The type of the certification.
-
#user_count ⇒ Fixnum
Number of people who are certified, Corresponds to the JSON property
userCount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificationStatus
constructor
A new instance of CertificationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CertificationStatus
Returns a new instance of CertificationStatus
1278 1279 1280 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exam_statuses ⇒ Array<Google::Apis::PartnersV2::CertificationExamStatus>
List of certification exam statuses.
Corresponds to the JSON property examStatuses
1276 1277 1278 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1276 def exam_statuses @exam_statuses end |
#is_certified ⇒ Boolean Also known as: is_certified?
Whether certification is passing.
Corresponds to the JSON property isCertified
1270 1271 1272 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1270 def is_certified @is_certified end |
#type ⇒ String
The type of the certification.
Corresponds to the JSON property type
1260 1261 1262 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1260 def type @type end |
#user_count ⇒ Fixnum
Number of people who are certified,
Corresponds to the JSON property userCount
1265 1266 1267 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1265 def user_count @user_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1283 1284 1285 1286 1287 1288 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1283 def update!(**args) @type = args[:type] if args.key?(:type) @user_count = args[:user_count] if args.key?(:user_count) @is_certified = args[:is_certified] if args.key?(:is_certified) @exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses) end |