Class: Google::Apis::SpectrumV1explorer::PawsRegisterResponse

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 response message simply acknowledges receipt of the request and is otherwise empty.

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) ⇒ 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_changeGoogle::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

#kindString

Identifies what kind of resource this is. Value: the fixed string "spectrum# pawsRegisterResponse". Corresponds to the JSON property kind

Returns:

  • (String)


1241
1242
1243
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1241

def kind
  @kind
end

#typeString

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

Returns:

  • (String)


1247
1248
1249
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1247

def type
  @type
end

#versionString

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

Returns:

  • (String)


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