Class: Google::Apis::SpectrumV1explorer::AntennaCharacteristics

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#heightFloat

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

Returns:

  • (Float)


36
37
38
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 36

def height
  @height
end

#height_typeString

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

Returns:

  • (String)


42
43
44
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 42

def height_type
  @height_type
end

#height_uncertaintyFloat

The height uncertainty in meters. Whether this is required depends on the regulatory domain. Corresponds to the JSON property heightUncertainty

Returns:

  • (Float)


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