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)
10904 10905 10906 |
# File 'lib/kaltura_types.rb', line 10904 def check_alive_timeout_ms @check_alive_timeout_ms end |
#pattern ⇒ Object
Request host regex pattern
10898 10899 10900 |
# File 'lib/kaltura_types.rb', line 10898 def pattern @pattern end |
#replacement ⇒ Object
Request host regex replacment
10900 10901 10902 |
# File 'lib/kaltura_types.rb', line 10900 def replacement @replacement end |
#replacmen_server_node_id ⇒ Object
serverNodeId to generate replacment host from
10902 10903 10904 |
# File 'lib/kaltura_types.rb', line 10902 def replacmen_server_node_id @replacmen_server_node_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 |
# File 'lib/kaltura_types.rb', line 10913 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 |