Class: Google::Apis::IdsV1::Endpoint
- Inherits:
-
Object
- Object
- Google::Apis::IdsV1::Endpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ids_v1/classes.rb,
lib/google/apis/ids_v1/representations.rb,
lib/google/apis/ids_v1/representations.rb
Overview
Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
User-provided description of the endpoint Corresponds to the JSON property
description
. -
#endpoint_forwarding_rule ⇒ String
Output only.
-
#endpoint_ip ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
The labels of the endpoint.
-
#name ⇒ String
Output only.
-
#network ⇒ String
Required.
-
#severity ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#threat_exceptions ⇒ Array<String>
List of threat IDs to be excepted from generating alerts.
-
#traffic_logs ⇒ Boolean
(also: #traffic_logs?)
Whether the endpoint should report traffic logs in addition to threat logs.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Endpoint
constructor
A new instance of Endpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Endpoint
Returns a new instance of Endpoint.
268 269 270 |
# File 'lib/google/apis/ids_v1/classes.rb', line 268 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The create time timestamp.
Corresponds to the JSON property createTime
209 210 211 |
# File 'lib/google/apis/ids_v1/classes.rb', line 209 def create_time @create_time end |
#description ⇒ String
User-provided description of the endpoint
Corresponds to the JSON property description
214 215 216 |
# File 'lib/google/apis/ids_v1/classes.rb', line 214 def description @description end |
#endpoint_forwarding_rule ⇒ String
Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.
Corresponds to the JSON property endpointForwardingRule
219 220 221 |
# File 'lib/google/apis/ids_v1/classes.rb', line 219 def endpoint_forwarding_rule @endpoint_forwarding_rule end |
#endpoint_ip ⇒ String
Output only. The IP address of the IDS Endpoint's ILB.
Corresponds to the JSON property endpointIp
224 225 226 |
# File 'lib/google/apis/ids_v1/classes.rb', line 224 def endpoint_ip @endpoint_ip end |
#labels ⇒ Hash<String,String>
The labels of the endpoint.
Corresponds to the JSON property labels
229 230 231 |
# File 'lib/google/apis/ids_v1/classes.rb', line 229 def labels @labels end |
#name ⇒ String
Output only. The name of the endpoint.
Corresponds to the JSON property name
234 235 236 |
# File 'lib/google/apis/ids_v1/classes.rb', line 234 def name @name end |
#network ⇒ String
Required. The fully qualified URL of the network to which the IDS Endpoint is
attached.
Corresponds to the JSON property network
240 241 242 |
# File 'lib/google/apis/ids_v1/classes.rb', line 240 def network @network end |
#severity ⇒ String
Required. Lowest threat severity that this endpoint will alert on.
Corresponds to the JSON property severity
245 246 247 |
# File 'lib/google/apis/ids_v1/classes.rb', line 245 def severity @severity end |
#state ⇒ String
Output only. Current state of the endpoint.
Corresponds to the JSON property state
250 251 252 |
# File 'lib/google/apis/ids_v1/classes.rb', line 250 def state @state end |
#threat_exceptions ⇒ Array<String>
List of threat IDs to be excepted from generating alerts.
Corresponds to the JSON property threatExceptions
255 256 257 |
# File 'lib/google/apis/ids_v1/classes.rb', line 255 def threat_exceptions @threat_exceptions end |
#traffic_logs ⇒ Boolean Also known as: traffic_logs?
Whether the endpoint should report traffic logs in addition to threat logs.
Corresponds to the JSON property trafficLogs
260 261 262 |
# File 'lib/google/apis/ids_v1/classes.rb', line 260 def traffic_logs @traffic_logs end |
#update_time ⇒ String
Output only. The update time timestamp.
Corresponds to the JSON property updateTime
266 267 268 |
# File 'lib/google/apis/ids_v1/classes.rb', line 266 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'lib/google/apis/ids_v1/classes.rb', line 273 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @endpoint_forwarding_rule = args[:endpoint_forwarding_rule] if args.key?(:endpoint_forwarding_rule) @endpoint_ip = args[:endpoint_ip] if args.key?(:endpoint_ip) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @severity = args[:severity] if args.key?(:severity) @state = args[:state] if args.key?(:state) @threat_exceptions = args[:threat_exceptions] if args.key?(:threat_exceptions) @traffic_logs = args[:traffic_logs] if args.key?(:traffic_logs) @update_time = args[:update_time] if args.key?(:update_time) end |