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



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

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)


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

def number_users_pass
  @number_users_pass
end

#typeString

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

Returns:

  • (String)


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

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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