Class: Google::Apis::AlertcenterV1beta1::EntityList
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::EntityList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
EntityList stores entities in a format that can be translated to a table in the Alert Center UI.
Instance Attribute Summary collapse
-
#entities ⇒ Array<Google::Apis::AlertcenterV1beta1::Entity>
List of entities affected by the alert.
-
#headers ⇒ Array<String>
Headers of the values in entities.
-
#name ⇒ String
Name of the key detail used to display this entity list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EntityList
constructor
A new instance of EntityList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EntityList
Returns a new instance of EntityList.
1130 1131 1132 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::AlertcenterV1beta1::Entity>
List of entities affected by the alert.
Corresponds to the JSON property entities
1117 1118 1119 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1117 def entities @entities end |
#headers ⇒ Array<String>
Headers of the values in entities. If no value is defined in Entity, this
field should be empty.
Corresponds to the JSON property headers
1123 1124 1125 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1123 def headers @headers end |
#name ⇒ String
Name of the key detail used to display this entity list.
Corresponds to the JSON property name
1128 1129 1130 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1128 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1135 1136 1137 1138 1139 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1135 def update!(**args) @entities = args[:entities] if args.key?(:entities) @headers = args[:headers] if args.key?(:headers) @name = args[:name] if args.key?(:name) end |