Class: Google::Apis::SpectrumV1explorer::PawsRegisterResponse
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::PawsRegisterResponse
- 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 response message simply acknowledges receipt of the request and is otherwise empty.
Instance Attribute Summary collapse
-
#database_change ⇒ Google::Apis::SpectrumV1explorer::DbUpdateSpec
This message is provided by the database to notify devices of an upcoming change to the database URI.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
-
#version ⇒ String
The PAWS version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PawsRegisterResponse
constructor
A new instance of PawsRegisterResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PawsRegisterResponse
Returns a new instance of PawsRegisterResponse
1255 1256 1257 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_change ⇒ Google::Apis::SpectrumV1explorer::DbUpdateSpec
This message is provided by the database to notify devices of an upcoming
change to the database URI.
Corresponds to the JSON property databaseChange
1235 1236 1237 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1235 def database_change @database_change end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "spectrum#
pawsRegisterResponse".
Corresponds to the JSON property kind
1241 1242 1243 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1241 def kind @kind end |
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
Required field.
Corresponds to the JSON property type
1247 1248 1249 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1247 def type @type end |
#version ⇒ String
The PAWS version. Must be exactly 1.0.
Required field.
Corresponds to the JSON property version
1253 1254 1255 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1253 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1260 1261 1262 1263 1264 1265 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1260 def update!(**args) @database_change = args[:database_change] if args.key?(:database_change) @kind = args[:kind] if args.key?(:kind) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |