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.
-
#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.
259 260 261 |
# File 'lib/google/apis/ids_v1/classes.rb', line 259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The create time timestamp.
Corresponds to the JSON property createTime
205 206 207 |
# File 'lib/google/apis/ids_v1/classes.rb', line 205 def create_time @create_time end |
#description ⇒ String
User-provided description of the endpoint
Corresponds to the JSON property description
210 211 212 |
# File 'lib/google/apis/ids_v1/classes.rb', line 210 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
215 216 217 |
# File 'lib/google/apis/ids_v1/classes.rb', line 215 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
220 221 222 |
# File 'lib/google/apis/ids_v1/classes.rb', line 220 def endpoint_ip @endpoint_ip end |
#labels ⇒ Hash<String,String>
The labels of the endpoint.
Corresponds to the JSON property labels
225 226 227 |
# File 'lib/google/apis/ids_v1/classes.rb', line 225 def labels @labels end |
#name ⇒ String
Output only. The name of the endpoint.
Corresponds to the JSON property name
230 231 232 |
# File 'lib/google/apis/ids_v1/classes.rb', line 230 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
236 237 238 |
# File 'lib/google/apis/ids_v1/classes.rb', line 236 def network @network end |
#severity ⇒ String
Required. Lowest threat severity that this endpoint will alert on.
Corresponds to the JSON property severity
241 242 243 |
# File 'lib/google/apis/ids_v1/classes.rb', line 241 def severity @severity end |
#state ⇒ String
Output only. Current state of the endpoint.
Corresponds to the JSON property state
246 247 248 |
# File 'lib/google/apis/ids_v1/classes.rb', line 246 def state @state 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
251 252 253 |
# File 'lib/google/apis/ids_v1/classes.rb', line 251 def traffic_logs @traffic_logs end |
#update_time ⇒ String
Output only. The update time timestamp.
Corresponds to the JSON property updateTime
257 258 259 |
# File 'lib/google/apis/ids_v1/classes.rb', line 257 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
264 265 266 267 268 269 270 271 272 273 274 275 276 |
# File 'lib/google/apis/ids_v1/classes.rb', line 264 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) @traffic_logs = args[:traffic_logs] if args.key?(:traffic_logs) @update_time = args[:update_time] if args.key?(:update_time) end |