class Google::Apis::IdsV1::Endpoint

Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.

Attributes

create_time[RW]

Output only. The create time timestamp. Corresponds to the JSON property ‘createTime` @return [String]

description[RW]

User-provided description of the endpoint Corresponds to the JSON property ‘description` @return [String]

endpoint_forwarding_rule[RW]

Output only. The fully qualified URL of the endpoint’s ILB Forwarding Rule. Corresponds to the JSON property ‘endpointForwardingRule` @return [String]

endpoint_ip[RW]

Output only. The IP address of the IDS Endpoint’s ILB. Corresponds to the JSON property ‘endpointIp` @return [String]

labels[RW]

The labels of the endpoint. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]

name[RW]

Output only. The name of the endpoint. Corresponds to the JSON property ‘name` @return [String]

network[RW]

Required. The fully qualified URL of the network to which the IDS Endpoint is attached. Corresponds to the JSON property ‘network` @return [String]

severity[RW]

Required. Lowest threat severity that this endpoint will alert on. Corresponds to the JSON property ‘severity` @return [String]

state[RW]

Output only. Current state of the endpoint. Corresponds to the JSON property ‘state` @return [String]

traffic_logs[RW]

Whether the endpoint should report traffic logs in addition to threat logs. Corresponds to the JSON property ‘trafficLogs` @return [Boolean]

traffic_logs?[RW]

Whether the endpoint should report traffic logs in addition to threat logs. Corresponds to the JSON property ‘trafficLogs` @return [Boolean]

update_time[RW]

Output only. The update time timestamp. Corresponds to the JSON property ‘updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ids_v1/classes.rb, line 258
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ids_v1/classes.rb, line 263
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