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



1620
1621
1622
# File 'generated/google/apis/partners_v2/classes.rb', line 1620

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)


1613
1614
1615
# File 'generated/google/apis/partners_v2/classes.rb', line 1613

def number_users_pass
  @number_users_pass
end

#typeString

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

Returns:

  • (String)


1618
1619
1620
# File 'generated/google/apis/partners_v2/classes.rb', line 1618

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1625
1626
1627
1628
# File 'generated/google/apis/partners_v2/classes.rb', line 1625

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