Class: Google::Apis::SpectrumV1explorer::AntennaCharacteristics
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::AntennaCharacteristics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spectrum_v1explorer/classes.rb,
generated/google/apis/spectrum_v1explorer/representations.rb,
generated/google/apis/spectrum_v1explorer/representations.rb
Overview
Antenna characteristics provide additional information, such as the antenna height, antenna type, etc. Whether antenna characteristics must be provided in a request depends on the device type and regulatory domain.
Instance Attribute Summary collapse
-
#height ⇒ Float
The antenna height in meters.
-
#height_type ⇒ String
If the height is required, then the height type (AGL for above ground level or AMSL for above mean sea level) is also required.
-
#height_uncertainty ⇒ Float
The height uncertainty in meters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AntennaCharacteristics
constructor
A new instance of AntennaCharacteristics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AntennaCharacteristics
Returns a new instance of AntennaCharacteristics
50 51 52 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 50 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Float
The antenna height in meters. Whether the antenna height is required depends
on the device type and the regulatory domain. Note that the height may be
negative.
Corresponds to the JSON property height
36 37 38 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 36 def height @height end |
#height_type ⇒ String
If the height is required, then the height type (AGL for above ground level or
AMSL for above mean sea level) is also required. The default is AGL.
Corresponds to the JSON property heightType
42 43 44 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 42 def height_type @height_type end |
#height_uncertainty ⇒ Float
The height uncertainty in meters. Whether this is required depends on the
regulatory domain.
Corresponds to the JSON property heightUncertainty
48 49 50 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 48 def height_uncertainty @height_uncertainty end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55 56 57 58 59 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 55 def update!(**args) @height = args[:height] if args.key?(:height) @height_type = args[:height_type] if args.key?(:height_type) @height_uncertainty = args[:height_uncertainty] if args.key?(:height_uncertainty) end |