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.



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

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


4321
4322
4323
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4321

def 
  @additional_metadata
end

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

Disable validation warnings Corresponds to the JSON property compliance



4326
4327
4328
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4326

def compliance
  @compliance
end

#descriptionString

Disable validation warnings Corresponds to the JSON property description

Returns:

  • (String)


4331
4332
4333
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4331

def description
  @description
end

#event_timeString

Required. Disable validation warnings Corresponds to the JSON property eventTime

Returns:

  • (String)


4336
4337
4338
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4336

def event_time
  @event_time
end

#external_uriString

Disable validation warnings Corresponds to the JSON property externalUri

Returns:

  • (String)


4341
4342
4343
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4341

def external_uri
  @external_uri
end

#locationString

Disable validation warnings Corresponds to the JSON property location

Returns:

  • (String)


4346
4347
4348
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4346

def location
  @location
end

#nameString

Required. Disable validation warnings Corresponds to the JSON property name

Returns:

  • (String)


4351
4352
4353
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4351

def name
  @name
end

#providerString

Disable validation warnings Corresponds to the JSON property provider

Returns:

  • (String)


4356
4357
4358
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4356

def provider
  @provider
end

#resource_containerString

Disable validation warnings Corresponds to the JSON property resourceContainer

Returns:

  • (String)


4361
4362
4363
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4361

def resource_container
  @resource_container
end

#resource_nameString

Required. Disable validation warnings Corresponds to the JSON property resourceName

Returns:

  • (String)


4366
4367
4368
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4366

def resource_name
  @resource_name
end

#signal_classString

Required. Disable validation warnings Corresponds to the JSON property signalClass

Returns:

  • (String)


4371
4372
4373
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4371

def signal_class
  @signal_class
end

#signal_idString

Required. Disable validation warnings Corresponds to the JSON property signalId

Returns:

  • (String)


4376
4377
4378
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4376

def signal_id
  @signal_id
end

#signal_severityString

Disable validation warnings Corresponds to the JSON property signalSeverity

Returns:

  • (String)


4381
4382
4383
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4381

def signal_severity
  @signal_severity
end

#signal_typeString

Required. Disable validation warnings Corresponds to the JSON property signalType

Returns:

  • (String)


4386
4387
4388
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4386

def signal_type
  @signal_type
end

#stateString

Required. Disable validation warnings Corresponds to the JSON property state

Returns:

  • (String)


4391
4392
4393
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4391

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4398

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