Class: Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseResponse

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

An empty response to the notification.

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

#kindString

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

Returns:

  • (String)


1136
1137
1138
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1136

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)


1142
1143
1144
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1142

def type
  @type
end

#versionString

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

Returns:

  • (String)


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