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)
10944 10945 10946 |
# File 'lib/kaltura_types.rb', line 10944 def check_alive_timeout_ms @check_alive_timeout_ms end |
#pattern ⇒ Object
Request host regex pattern
10938 10939 10940 |
# File 'lib/kaltura_types.rb', line 10938 def pattern @pattern end |
#replacement ⇒ Object
Request host regex replacment
10940 10941 10942 |
# File 'lib/kaltura_types.rb', line 10940 def replacement @replacement end |
#replacmen_server_node_id ⇒ Object
serverNodeId to generate replacment host from
10942 10943 10944 |
# File 'lib/kaltura_types.rb', line 10942 def replacmen_server_node_id @replacmen_server_node_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 |
# File 'lib/kaltura_types.rb', line 10953 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 |