Class: Google::Apis::SpectrumV1explorer::DbUpdateSpec

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

This message is provided by the database to notify devices of an upcoming change to the database URI.

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

Returns a new instance of DbUpdateSpec



99
100
101
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 99

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#databasesArray<Google::Apis::SpectrumV1explorer::DatabaseSpec>

A required list of one or more databases. A device should update its preconfigured list of databases to replace (only) the database that provided the response with the specified entries. Corresponds to the JSON property databases



97
98
99
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 97

def databases
  @databases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



104
105
106
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 104

def update!(**args)
  @databases = args[:databases] if args.key?(:databases)
end