Class: Kaltura::KalturaAccessControlModifyRequestHostRegexAction
- Inherits:
-
KalturaRuleAction
- Object
- KalturaObjectBase
- KalturaRuleAction
- Kaltura::KalturaAccessControlModifyRequestHostRegexAction
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#check_alive_timeout_ms ⇒ Object
Set this value if you want to check if the server is accessible before redirecting traffic to it (this value is in milliseconds).
-
#pattern ⇒ Object
Request host regex pattern.
-
#replacement ⇒ Object
Request host regex replacment.
-
#replacmen_server_node_id ⇒ Object
serverNodeId to generate replacment host from.
Attributes inherited from KalturaRuleAction
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#check_alive_timeout_ms ⇒ Object
Set this value if you want to check if the server is accessible before redirecting traffic to it (this value is in milliseconds)
10974 10975 10976 |
# File 'lib/kaltura_types.rb', line 10974 def check_alive_timeout_ms @check_alive_timeout_ms end |
#pattern ⇒ Object
Request host regex pattern
10968 10969 10970 |
# File 'lib/kaltura_types.rb', line 10968 def pattern @pattern end |
#replacement ⇒ Object
Request host regex replacment
10970 10971 10972 |
# File 'lib/kaltura_types.rb', line 10970 def replacement @replacement end |
#replacmen_server_node_id ⇒ Object
serverNodeId to generate replacment host from
10972 10973 10974 |
# File 'lib/kaltura_types.rb', line 10972 def replacmen_server_node_id @replacmen_server_node_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 |
# File 'lib/kaltura_types.rb', line 10983 def from_xml(xml_element) super if xml_element.elements['pattern'] != nil self.pattern = xml_element.elements['pattern'].text end if xml_element.elements['replacement'] != nil self.replacement = xml_element.elements['replacement'].text end if xml_element.elements['replacmenServerNodeId'] != nil self.replacmen_server_node_id = xml_element.elements['replacmenServerNodeId'].text end if xml_element.elements['checkAliveTimeoutMs'] != nil self.check_alive_timeout_ms = xml_element.elements['checkAliveTimeoutMs'].text end end |