Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalChannelWithScore
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalChannelWithScore
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb
Overview
The channel with score.
Instance Attribute Summary collapse
-
#frequency_range ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange
Frequency range from
low_frequency
tohigh_frequency
. -
#score ⇒ Float
The channel score, normalized to be in the range [0,100].
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalChannelWithScore
constructor
A new instance of SasPortalChannelWithScore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalChannelWithScore
Returns a new instance of SasPortalChannelWithScore.
67 68 69 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 67 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frequency_range ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange
Frequency range from low_frequency
to high_frequency
.
Corresponds to the JSON property frequencyRange
60 61 62 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 60 def frequency_range @frequency_range end |
#score ⇒ Float
The channel score, normalized to be in the range [0,100].
Corresponds to the JSON property score
65 66 67 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 65 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72 73 74 75 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 72 def update!(**args) @frequency_range = args[:frequency_range] if args.key?(:frequency_range) @score = args[:score] if args.key?(:score) end |