Class: Google::Apis::SpectrumV1explorer::PawsInitResponse
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::PawsInitResponse
- 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 initialization response message communicates database parameters to the requesting device.
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.
-
#ruleset_info ⇒ Google::Apis::SpectrumV1explorer::RulesetInfo
This contains parameters for the ruleset of a regulatory domain that is communicated using the initialization and available-spectrum processes.
-
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
-
#version ⇒ String
The PAWS version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PawsInitResponse
constructor
A new instance of PawsInitResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PawsInitResponse
Returns a new instance of PawsInitResponse
1054 1055 1056 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1054 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
1028 1029 1030 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1028 def database_change @database_change end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "spectrum#
pawsInitResponse".
Corresponds to the JSON property kind
1034 1035 1036 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1034 def kind @kind end |
#ruleset_info ⇒ Google::Apis::SpectrumV1explorer::RulesetInfo
This contains parameters for the ruleset of a regulatory domain that is
communicated using the initialization and available-spectrum processes.
Corresponds to the JSON property rulesetInfo
1040 1041 1042 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1040 def ruleset_info @ruleset_info end |
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
Required field.
Corresponds to the JSON property type
1046 1047 1048 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1046 def type @type end |
#version ⇒ String
The PAWS version. Must be exactly 1.0.
Required field.
Corresponds to the JSON property version
1052 1053 1054 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1052 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1059 1060 1061 1062 1063 1064 1065 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1059 def update!(**args) @database_change = args[:database_change] if args.key?(:database_change) @kind = args[:kind] if args.key?(:kind) @ruleset_info = args[:ruleset_info] if args.key?(:ruleset_info) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |