Class: Google::Apis::PartnersV2::CertificationExamStatus

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

Status for a Google Partners certification exam.

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) ⇒ CertificationExamStatus

Returns a new instance of CertificationExamStatus



299
300
301
# File 'generated/google/apis/partners_v2/classes.rb', line 299

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

Instance Attribute Details

#number_users_passFixnum

The number of people who have passed the certification exam. Corresponds to the JSON property numberUsersPass

Returns:

  • (Fixnum)


292
293
294
# File 'generated/google/apis/partners_v2/classes.rb', line 292

def number_users_pass
  @number_users_pass
end

#typeString

The type of certification exam. Corresponds to the JSON property type

Returns:

  • (String)


297
298
299
# File 'generated/google/apis/partners_v2/classes.rb', line 297

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



304
305
306
307
# File 'generated/google/apis/partners_v2/classes.rb', line 304

def update!(**args)
  @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass)
  @type = args[:type] if args.key?(:type)
end