Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainSignalMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb

Overview

SignalMetadata contains one of the signal metadata proto messages associated with a SignalType. This proto will be mapped to SignalMetadata message in storage.proto. Next ID: 3

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainSignalMetadata

Returns a new instance of StorageDatabasecenterPartnerapiV1mainSignalMetadata.



5277
5278
5279
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5277

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

Instance Attribute Details

#backup_runGoogle::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun

A backup run. Corresponds to the JSON property backupRun



5269
5270
5271
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5269

def backup_run
  @backup_run
end

#signal_bool_valueBoolean Also known as: signal_bool_value?

Signal data for boolean signals. Corresponds to the JSON property signalBoolValue

Returns:

  • (Boolean)


5274
5275
5276
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5274

def signal_bool_value
  @signal_bool_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5282
5283
5284
5285
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5282

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