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



961
962
963
# File 'generated/google/apis/partners_v2/classes.rb', line 961

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)


954
955
956
# File 'generated/google/apis/partners_v2/classes.rb', line 954

def badge_specialization
  @badge_specialization
end

#badge_specialization_stateString

State of agency specialization. Corresponds to the JSON property badgeSpecializationState

Returns:

  • (String)


959
960
961
# File 'generated/google/apis/partners_v2/classes.rb', line 959

def badge_specialization_state
  @badge_specialization_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



966
967
968
969
# File 'generated/google/apis/partners_v2/classes.rb', line 966

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