Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData

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

Overview

Disable validation warnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData

Returns a new instance of StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.



4416
4417
4418
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4416

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

Instance Attribute Details

#additional_metadataHash<String,Object>

Disable validation warnings Corresponds to the JSON property additionalMetadata

Returns:

  • (Hash<String,Object>)


4344
4345
4346
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4344

def 
  @additional_metadata
end

#complianceArray<Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCompliance>

Disable validation warnings Corresponds to the JSON property compliance



4349
4350
4351
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4349

def compliance
  @compliance
end

#descriptionString

Disable validation warnings Corresponds to the JSON property description

Returns:

  • (String)


4354
4355
4356
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4354

def description
  @description
end

#event_timeString

Required. Disable validation warnings Corresponds to the JSON property eventTime

Returns:

  • (String)


4359
4360
4361
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4359

def event_time
  @event_time
end

#external_uriString

Disable validation warnings Corresponds to the JSON property externalUri

Returns:

  • (String)


4364
4365
4366
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4364

def external_uri
  @external_uri
end

#locationString

Disable validation warnings Corresponds to the JSON property location

Returns:

  • (String)


4369
4370
4371
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4369

def location
  @location
end

#nameString

Required. Disable validation warnings Corresponds to the JSON property name

Returns:

  • (String)


4374
4375
4376
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4374

def name
  @name
end

#providerString

Disable validation warnings Corresponds to the JSON property provider

Returns:

  • (String)


4379
4380
4381
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4379

def provider
  @provider
end

#resource_containerString

Disable validation warnings Corresponds to the JSON property resourceContainer

Returns:

  • (String)


4384
4385
4386
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4384

def resource_container
  @resource_container
end

#resource_nameString

Required. Disable validation warnings Corresponds to the JSON property resourceName

Returns:

  • (String)


4389
4390
4391
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4389

def resource_name
  @resource_name
end

#signal_classString

Required. Disable validation warnings Corresponds to the JSON property signalClass

Returns:

  • (String)


4394
4395
4396
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4394

def signal_class
  @signal_class
end

#signal_idString

Required. Disable validation warnings Corresponds to the JSON property signalId

Returns:

  • (String)


4399
4400
4401
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4399

def signal_id
  @signal_id
end

#signal_severityString

Disable validation warnings Corresponds to the JSON property signalSeverity

Returns:

  • (String)


4404
4405
4406
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4404

def signal_severity
  @signal_severity
end

#signal_typeString

Required. Disable validation warnings Corresponds to the JSON property signalType

Returns:

  • (String)


4409
4410
4411
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4409

def signal_type
  @signal_type
end

#stateString

Required. Disable validation warnings Corresponds to the JSON property state

Returns:

  • (String)


4414
4415
4416
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4414

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4421

def update!(**args)
  @additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
  @compliance = args[:compliance] if args.key?(:compliance)
  @description = args[:description] if args.key?(:description)
  @event_time = args[:event_time] if args.key?(:event_time)
  @external_uri = args[:external_uri] if args.key?(:external_uri)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @provider = args[:provider] if args.key?(:provider)
  @resource_container = args[:resource_container] if args.key?(:resource_container)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @signal_class = args[:signal_class] if args.key?(:signal_class)
  @signal_id = args[:signal_id] if args.key?(:signal_id)
  @signal_severity = args[:signal_severity] if args.key?(:signal_severity)
  @signal_type = args[:signal_type] if args.key?(:signal_type)
  @state = args[:state] if args.key?(:state)
end