Class: Google::Apis::PartnersV2::CertificationStatus

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

Google Partners certification status.

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

Returns a new instance of CertificationStatus



2127
2128
2129
# File 'generated/google/apis/partners_v2/classes.rb', line 2127

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

Instance Attribute Details

#exam_statusesArray<Google::Apis::PartnersV2::CertificationExamStatus>

List of certification exam statuses. Corresponds to the JSON property examStatuses



2125
2126
2127
# File 'generated/google/apis/partners_v2/classes.rb', line 2125

def exam_statuses
  @exam_statuses
end

#is_certifiedBoolean Also known as: is_certified?

Whether certification is passing. Corresponds to the JSON property isCertified

Returns:

  • (Boolean)


2119
2120
2121
# File 'generated/google/apis/partners_v2/classes.rb', line 2119

def is_certified
  @is_certified
end

#typeString

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

Returns:

  • (String)


2109
2110
2111
# File 'generated/google/apis/partners_v2/classes.rb', line 2109

def type
  @type
end

#user_countFixnum

Number of people who are certified, Corresponds to the JSON property userCount

Returns:

  • (Fixnum)


2114
2115
2116
# File 'generated/google/apis/partners_v2/classes.rb', line 2114

def user_count
  @user_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2132
2133
2134
2135
2136
2137
# File 'generated/google/apis/partners_v2/classes.rb', line 2132

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