Class: Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseResponse
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseResponse
- 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
An empty response to the notification.
Instance Attribute Summary collapse
-
#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) ⇒ PawsNotifySpectrumUseResponse
constructor
A new instance of PawsNotifySpectrumUseResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PawsNotifySpectrumUseResponse
Returns a new instance of PawsNotifySpectrumUseResponse
1150 1151 1152 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1150 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "spectrum#
pawsNotifySpectrumUseResponse".
Corresponds to the JSON property kind
1136 1137 1138 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1136 def kind @kind end |
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
Required field.
Corresponds to the JSON property type
1142 1143 1144 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1142 def type @type end |
#version ⇒ String
The PAWS version. Must be exactly 1.0.
Required field.
Corresponds to the JSON property version
1148 1149 1150 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1148 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1155 1156 1157 1158 1159 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1155 def update!(**args) @kind = args[:kind] if args.key?(:kind) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |