Class: Google::Apis::DatabasecenterV1beta::SignalTypeGroup
- Inherits:
-
Object
- Object
- Google::Apis::DatabasecenterV1beta::SignalTypeGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/databasecenter_v1beta/classes.rb,
lib/google/apis/databasecenter_v1beta/representations.rb,
lib/google/apis/databasecenter_v1beta/representations.rb
Overview
A group of signal types that specifies what the user is interested in. Used by
QueryDatabaseResourceGroups API. Example: signal_type_group name = "
AVAILABILITY" types = [SIGNAL_TYPE_NO_PROMOTABLE_REPLICA]
Instance Attribute Summary collapse
-
#display_name ⇒ String
Required.
-
#signal_types ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignalTypeGroup
constructor
A new instance of SignalTypeGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SignalTypeGroup
Returns a new instance of SignalTypeGroup.
2360 2361 2362 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 2360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Required. The display name of a signal group.
Corresponds to the JSON property displayName
2353 2354 2355 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 2353 def display_name @display_name end |
#signal_types ⇒ Array<String>
Optional. List of signal types present in the group.
Corresponds to the JSON property signalTypes
2358 2359 2360 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 2358 def signal_types @signal_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2365 2366 2367 2368 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 2365 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @signal_types = args[:signal_types] if args.key?(:signal_types) end |