Class: Google::Apis::PartnersV2::SpecializationStatus

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

Agency specialization 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) ⇒ SpecializationStatus

Returns a new instance of SpecializationStatus



1986
1987
1988
# File 'generated/google/apis/partners_v2/classes.rb', line 1986

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

Instance Attribute Details

#badge_specializationString

The specialization this status is for. Corresponds to the JSON property badgeSpecialization

Returns:

  • (String)


1979
1980
1981
# File 'generated/google/apis/partners_v2/classes.rb', line 1979

def badge_specialization
  @badge_specialization
end

#badge_specialization_stateString

State of agency specialization. Corresponds to the JSON property badgeSpecializationState

Returns:

  • (String)


1984
1985
1986
# File 'generated/google/apis/partners_v2/classes.rb', line 1984

def badge_specialization_state
  @badge_specialization_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1991
1992
1993
1994
# File 'generated/google/apis/partners_v2/classes.rb', line 1991

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