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



1522
1523
1524
# File 'generated/google/apis/partners_v2/classes.rb', line 1522

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)


1515
1516
1517
# File 'generated/google/apis/partners_v2/classes.rb', line 1515

def number_users_pass
  @number_users_pass
end

#typeString

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

Returns:

  • (String)


1520
1521
1522
# File 'generated/google/apis/partners_v2/classes.rb', line 1520

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1527
1528
1529
1530
# File 'generated/google/apis/partners_v2/classes.rb', line 1527

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