Class: Google::Apis::SpectrumV1explorer::PawsRegisterRequest

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

The registration request message contains the required registration parameters.

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) ⇒ PawsRegisterRequest

Returns a new instance of PawsRegisterRequest



1211
1212
1213
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1211

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

Instance Attribute Details

#antennaGoogle::Apis::SpectrumV1explorer::AntennaCharacteristics

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. Corresponds to the JSON property antenna



1171
1172
1173
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1171

def antenna
  @antenna
end

#device_descGoogle::Apis::SpectrumV1explorer::DeviceDescriptor

The device descriptor contains parameters that identify the specific device, such as its manufacturer serial number, regulatory-specific identifier (e.g., FCC ID), and any other device characteristics required by regulatory domains. Corresponds to the JSON property deviceDesc



1178
1179
1180
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1178

def device_desc
  @device_desc
end

#device_ownerGoogle::Apis::SpectrumV1explorer::DeviceOwner

This parameter contains device-owner information required as part of device registration. The regulatory domains may require additional parameters. All contact information must be expressed using the structure defined by the vCard format specification. Only the contact fields of vCard are supported:

  • fn: Full name of an individual
  • org: Name of the organization
  • adr: Address fields
  • tel: Telephone numbers
  • email: Email addresses Note that the vCard specification defines maximum lengths for each field. Corresponds to the JSON property deviceOwner


1192
1193
1194
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1192

def device_owner
  @device_owner
end

#locationGoogle::Apis::SpectrumV1explorer::GeoLocation

This parameter is used to specify the geolocation of the device. Corresponds to the JSON property location



1197
1198
1199
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1197

def location
  @location
end

#typeString

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field. Corresponds to the JSON property type

Returns:

  • (String)


1203
1204
1205
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1203

def type
  @type
end

#versionString

The PAWS version. Must be exactly 1.0. Required field. Corresponds to the JSON property version

Returns:

  • (String)


1209
1210
1211
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1209

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1216
1217
1218
1219
1220
1221
1222
1223
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1216

def update!(**args)
  @antenna = args[:antenna] if args.key?(:antenna)
  @device_desc = args[:device_desc] if args.key?(:device_desc)
  @device_owner = args[:device_owner] if args.key?(:device_owner)
  @location = args[:location] if args.key?(:location)
  @type = args[:type] if args.key?(:type)
  @version = args[:version] if args.key?(:version)
end