ngrok-api 0.16.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (525) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -1
  3. data/doc/NgrokAPI/Client.html +270 -180
  4. data/doc/NgrokAPI/Error.html +2 -2
  5. data/doc/NgrokAPI/Errors/NotFoundError.html +2 -2
  6. data/doc/NgrokAPI/Errors.html +2 -2
  7. data/doc/NgrokAPI/HttpClient.html +147 -4
  8. data/doc/NgrokAPI/Models/APIKey.html +120 -68
  9. data/doc/NgrokAPI/Models/AWSAuth.html +83 -31
  10. data/doc/NgrokAPI/Models/AWSCredentials.html +90 -38
  11. data/doc/NgrokAPI/Models/AWSRole.html +75 -23
  12. data/doc/NgrokAPI/Models/AbuseReport.html +109 -57
  13. data/doc/NgrokAPI/Models/AbuseReportHostname.html +83 -31
  14. data/doc/NgrokAPI/Models/AgentIngress.html +142 -90
  15. data/doc/NgrokAPI/Models/CertificateAuthority.html +149 -97
  16. data/doc/NgrokAPI/Models/Credential.html +121 -69
  17. data/doc/NgrokAPI/Models/Endpoint.html +1483 -0
  18. data/doc/NgrokAPI/Models/{EndpointLoggingMutate.html → EndpointBackend.html} +105 -53
  19. data/doc/NgrokAPI/Models/EndpointBackendMutate.html +669 -0
  20. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +101 -49
  21. data/doc/NgrokAPI/Models/EndpointCompression.html +82 -30
  22. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +90 -38
  23. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +90 -38
  24. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +90 -38
  25. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +90 -38
  26. data/doc/NgrokAPI/Models/EndpointOAuth.html +124 -72
  27. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +107 -55
  28. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +116 -64
  29. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +107 -55
  30. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +107 -55
  31. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +106 -54
  32. data/doc/NgrokAPI/Models/EndpointOIDC.html +133 -81
  33. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +91 -39
  34. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +91 -39
  35. data/doc/NgrokAPI/Models/EndpointSAML.html +148 -96
  36. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +133 -81
  37. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +91 -39
  38. data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +669 -0
  39. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +91 -39
  40. data/{docs/NgrokAPI/Models/EndpointLogging.html → doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html} +95 -117
  41. data/doc/NgrokAPI/Models/EventDestination.html +122 -70
  42. data/doc/NgrokAPI/Models/EventSource.html +92 -40
  43. data/doc/NgrokAPI/Models/EventSourceList.html +76 -24
  44. data/doc/NgrokAPI/Models/EventSourceReplace.html +91 -39
  45. data/doc/NgrokAPI/Models/EventSubscription.html +122 -70
  46. data/doc/NgrokAPI/Models/EventTarget.html +106 -54
  47. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +90 -38
  48. data/doc/NgrokAPI/Models/EventTargetFirehose.html +90 -38
  49. data/doc/NgrokAPI/Models/EventTargetKinesis.html +83 -31
  50. data/doc/NgrokAPI/Models/FailoverBackend.html +1127 -0
  51. data/{docs/NgrokAPI/Models/EventStream.html → doc/NgrokAPI/Models/HTTPResponseBackend.html} +170 -196
  52. data/doc/NgrokAPI/Models/HTTPSEdge.html +1361 -0
  53. data/doc/NgrokAPI/Models/{EndpointConfiguration.html → HTTPSEdgeRoute.html} +278 -288
  54. data/doc/NgrokAPI/Models/IPPolicy.html +120 -68
  55. data/doc/NgrokAPI/Models/IPPolicyRule.html +222 -96
  56. data/doc/NgrokAPI/Models/IPRestriction.html +130 -78
  57. data/doc/NgrokAPI/Models/Listable.html +61 -61
  58. data/doc/NgrokAPI/Models/Ref.html +83 -31
  59. data/doc/NgrokAPI/Models/ReservedAddr.html +130 -78
  60. data/doc/NgrokAPI/Models/ReservedDomain.html +151 -99
  61. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +92 -40
  62. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +90 -38
  63. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +90 -38
  64. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +135 -83
  65. data/doc/NgrokAPI/Models/SSHCredential.html +128 -76
  66. data/doc/NgrokAPI/Models/SSHHostCertificate.html +148 -96
  67. data/doc/NgrokAPI/Models/SSHUserCertificate.html +154 -102
  68. data/doc/NgrokAPI/Models/TCPEdge.html +1287 -0
  69. data/doc/NgrokAPI/Models/TLSCertificate.html +165 -113
  70. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +90 -38
  71. data/doc/NgrokAPI/Models/TLSEdge.html +1447 -0
  72. data/doc/NgrokAPI/Models/Tunnel.html +413 -65
  73. data/doc/NgrokAPI/Models/TunnelGroupBackend.html +1201 -0
  74. data/doc/NgrokAPI/Models/TunnelSession.html +126 -74
  75. data/doc/NgrokAPI/Models/WeightedBackend.html +1127 -0
  76. data/doc/NgrokAPI/Models.html +4 -4
  77. data/doc/NgrokAPI/PagedIterator.html +3 -3
  78. data/doc/NgrokAPI/Services/APIKeysClient.html +244 -109
  79. data/doc/NgrokAPI/Services/AbuseReportsClient.html +162 -25
  80. data/doc/NgrokAPI/Services/AgentIngressesClient.html +262 -109
  81. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +262 -109
  82. data/doc/NgrokAPI/Services/CredentialsClient.html +266 -111
  83. data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +1149 -0
  84. data/doc/NgrokAPI/Services/{EndpointCircuitBreakerModuleClient.html → EdgeRouteCircuitBreakerModuleClient.html} +205 -99
  85. data/{docs/NgrokAPI/Services/EndpointCompressionModuleClient.html → doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html} +205 -99
  86. data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +1149 -0
  87. data/doc/NgrokAPI/Services/{EndpointOAuthModuleClient.html → EdgeRouteOAuthModuleClient.html} +205 -99
  88. data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +1149 -0
  89. data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +1149 -0
  90. data/doc/NgrokAPI/Services/{EndpointResponseHeadersModuleClient.html → EdgeRouteResponseHeadersModuleClient.html} +205 -99
  91. data/{docs/NgrokAPI/Services/EndpointSAMLModuleClient.html → doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html} +205 -99
  92. data/{docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html → doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html} +205 -99
  93. data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +1149 -0
  94. data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +1947 -0
  95. data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +2585 -0
  96. data/doc/NgrokAPI/Services/EdgesTCPClient.html +1947 -0
  97. data/{docs/NgrokAPI/Services/EndpointConfigurationsClient.html → doc/NgrokAPI/Services/EdgesTLSClient.html} +374 -641
  98. data/doc/NgrokAPI/Services/EndpointsClient.html +903 -0
  99. data/doc/NgrokAPI/Services/EventDestinationsClient.html +290 -115
  100. data/doc/NgrokAPI/Services/EventSourcesClient.html +227 -88
  101. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +291 -116
  102. data/doc/NgrokAPI/Services/{EventStreamsClient.html → FailoverBackendsClient.html} +342 -335
  103. data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +1937 -0
  104. data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +1039 -0
  105. data/{docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html → doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html} +76 -80
  106. data/doc/NgrokAPI/Services/IPPoliciesClient.html +245 -128
  107. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +328 -117
  108. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +305 -114
  109. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +160 -295
  110. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +257 -624
  111. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +304 -109
  112. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +284 -111
  113. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +340 -109
  114. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +381 -110
  115. data/{docs/NgrokAPI/Services/EndpointLoggingModuleClient.html → doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html} +76 -80
  116. data/doc/NgrokAPI/Services/{EndpointIPPolicyModuleClient.html → TCPEdgeIPRestrictionModuleClient.html} +62 -66
  117. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +280 -109
  118. data/doc/NgrokAPI/Services/{EndpointLoggingModuleClient.html → TLSEdgeBackendModuleClient.html} +76 -80
  119. data/{docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html → doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html} +62 -66
  120. data/doc/NgrokAPI/Services/{EndpointMutualTLSModuleClient.html → TLSEdgeMutualTLSModuleClient.html} +62 -66
  121. data/doc/NgrokAPI/Services/{EndpointTLSTerminationModuleClient.html → TLSEdgeTLSTerminationModuleClient.html} +62 -66
  122. data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +1799 -0
  123. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +44 -48
  124. data/doc/NgrokAPI/Services/TunnelsClient.html +249 -15
  125. data/doc/NgrokAPI/Services/WeightedBackendsClient.html +1799 -0
  126. data/doc/NgrokAPI/Services.html +4 -4
  127. data/doc/NgrokAPI.html +3 -3
  128. data/doc/_index.html +237 -60
  129. data/doc/class_list.html +1 -1
  130. data/doc/file.README.html +55 -55
  131. data/doc/index.html +55 -55
  132. data/doc/method_list.html +4555 -1843
  133. data/doc/top-level-namespace.html +2 -2
  134. data/docs/NgrokAPI/Client.html +270 -180
  135. data/docs/NgrokAPI/Error.html +2 -2
  136. data/docs/NgrokAPI/Errors/NotFoundError.html +2 -2
  137. data/docs/NgrokAPI/Errors.html +2 -2
  138. data/docs/NgrokAPI/HttpClient.html +147 -4
  139. data/docs/NgrokAPI/Models/APIKey.html +120 -68
  140. data/docs/NgrokAPI/Models/AWSAuth.html +83 -31
  141. data/docs/NgrokAPI/Models/AWSCredentials.html +90 -38
  142. data/docs/NgrokAPI/Models/AWSRole.html +75 -23
  143. data/docs/NgrokAPI/Models/AbuseReport.html +109 -57
  144. data/docs/NgrokAPI/Models/AbuseReportHostname.html +83 -31
  145. data/docs/NgrokAPI/Models/AgentIngress.html +142 -90
  146. data/docs/NgrokAPI/Models/CertificateAuthority.html +149 -97
  147. data/docs/NgrokAPI/Models/Credential.html +121 -69
  148. data/docs/NgrokAPI/Models/Endpoint.html +1483 -0
  149. data/docs/NgrokAPI/Models/{EndpointLoggingMutate.html → EndpointBackend.html} +105 -53
  150. data/docs/NgrokAPI/Models/EndpointBackendMutate.html +669 -0
  151. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +101 -49
  152. data/docs/NgrokAPI/Models/EndpointCompression.html +82 -30
  153. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +90 -38
  154. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +90 -38
  155. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +90 -38
  156. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +90 -38
  157. data/docs/NgrokAPI/Models/EndpointOAuth.html +124 -72
  158. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +107 -55
  159. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +116 -64
  160. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +107 -55
  161. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +107 -55
  162. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +106 -54
  163. data/docs/NgrokAPI/Models/EndpointOIDC.html +133 -81
  164. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +91 -39
  165. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +91 -39
  166. data/docs/NgrokAPI/Models/EndpointSAML.html +148 -96
  167. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +133 -81
  168. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +91 -39
  169. data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +669 -0
  170. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +91 -39
  171. data/{doc/NgrokAPI/Models/EndpointLogging.html → docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html} +95 -117
  172. data/docs/NgrokAPI/Models/EventDestination.html +122 -70
  173. data/docs/NgrokAPI/Models/EventSource.html +92 -40
  174. data/docs/NgrokAPI/Models/EventSourceList.html +76 -24
  175. data/docs/NgrokAPI/Models/EventSourceReplace.html +91 -39
  176. data/docs/NgrokAPI/Models/EventSubscription.html +122 -70
  177. data/docs/NgrokAPI/Models/EventTarget.html +106 -54
  178. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +90 -38
  179. data/docs/NgrokAPI/Models/EventTargetFirehose.html +90 -38
  180. data/docs/NgrokAPI/Models/EventTargetKinesis.html +83 -31
  181. data/docs/NgrokAPI/Models/FailoverBackend.html +1127 -0
  182. data/{doc/NgrokAPI/Models/EventStream.html → docs/NgrokAPI/Models/HTTPResponseBackend.html} +170 -196
  183. data/docs/NgrokAPI/Models/HTTPSEdge.html +1361 -0
  184. data/docs/NgrokAPI/Models/{EndpointConfiguration.html → HTTPSEdgeRoute.html} +278 -288
  185. data/docs/NgrokAPI/Models/IPPolicy.html +120 -68
  186. data/docs/NgrokAPI/Models/IPPolicyRule.html +222 -96
  187. data/docs/NgrokAPI/Models/IPRestriction.html +130 -78
  188. data/docs/NgrokAPI/Models/Listable.html +61 -61
  189. data/docs/NgrokAPI/Models/Ref.html +83 -31
  190. data/docs/NgrokAPI/Models/ReservedAddr.html +130 -78
  191. data/docs/NgrokAPI/Models/ReservedDomain.html +151 -99
  192. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +92 -40
  193. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +90 -38
  194. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +90 -38
  195. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +135 -83
  196. data/docs/NgrokAPI/Models/SSHCredential.html +128 -76
  197. data/docs/NgrokAPI/Models/SSHHostCertificate.html +148 -96
  198. data/docs/NgrokAPI/Models/SSHUserCertificate.html +154 -102
  199. data/docs/NgrokAPI/Models/TCPEdge.html +1287 -0
  200. data/docs/NgrokAPI/Models/TLSCertificate.html +165 -113
  201. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +90 -38
  202. data/docs/NgrokAPI/Models/TLSEdge.html +1447 -0
  203. data/docs/NgrokAPI/Models/Tunnel.html +413 -65
  204. data/docs/NgrokAPI/Models/TunnelGroupBackend.html +1201 -0
  205. data/docs/NgrokAPI/Models/TunnelSession.html +126 -74
  206. data/docs/NgrokAPI/Models/WeightedBackend.html +1127 -0
  207. data/docs/NgrokAPI/Models.html +4 -4
  208. data/docs/NgrokAPI/PagedIterator.html +3 -3
  209. data/docs/NgrokAPI/Services/APIKeysClient.html +244 -109
  210. data/docs/NgrokAPI/Services/AbuseReportsClient.html +162 -25
  211. data/docs/NgrokAPI/Services/AgentIngressesClient.html +262 -109
  212. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +262 -109
  213. data/docs/NgrokAPI/Services/CredentialsClient.html +266 -111
  214. data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +1149 -0
  215. data/docs/NgrokAPI/Services/{EndpointCircuitBreakerModuleClient.html → EdgeRouteCircuitBreakerModuleClient.html} +205 -99
  216. data/{doc/NgrokAPI/Services/EndpointCompressionModuleClient.html → docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html} +205 -99
  217. data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +1149 -0
  218. data/docs/NgrokAPI/Services/{EndpointOAuthModuleClient.html → EdgeRouteOAuthModuleClient.html} +205 -99
  219. data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +1149 -0
  220. data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +1149 -0
  221. data/docs/NgrokAPI/Services/{EndpointResponseHeadersModuleClient.html → EdgeRouteResponseHeadersModuleClient.html} +205 -99
  222. data/{doc/NgrokAPI/Services/EndpointSAMLModuleClient.html → docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html} +205 -99
  223. data/{doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html → docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html} +205 -99
  224. data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +1149 -0
  225. data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +1947 -0
  226. data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +2585 -0
  227. data/docs/NgrokAPI/Services/EdgesTCPClient.html +1947 -0
  228. data/{doc/NgrokAPI/Services/EndpointConfigurationsClient.html → docs/NgrokAPI/Services/EdgesTLSClient.html} +374 -641
  229. data/docs/NgrokAPI/Services/EndpointsClient.html +903 -0
  230. data/docs/NgrokAPI/Services/EventDestinationsClient.html +290 -115
  231. data/docs/NgrokAPI/Services/EventSourcesClient.html +227 -88
  232. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +291 -116
  233. data/docs/NgrokAPI/Services/{EventStreamsClient.html → FailoverBackendsClient.html} +342 -335
  234. data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +1937 -0
  235. data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +1039 -0
  236. data/{doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html → docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html} +76 -80
  237. data/docs/NgrokAPI/Services/IPPoliciesClient.html +245 -128
  238. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +328 -117
  239. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +305 -114
  240. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +160 -295
  241. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +257 -624
  242. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +304 -109
  243. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +284 -111
  244. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +340 -109
  245. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +381 -110
  246. data/docs/NgrokAPI/Services/{EndpointOIDCModuleClient.html → TCPEdgeBackendModuleClient.html} +76 -80
  247. data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +1039 -0
  248. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +280 -109
  249. data/{doc/NgrokAPI/Services/EndpointOIDCModuleClient.html → docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html} +76 -80
  250. data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +1039 -0
  251. data/docs/NgrokAPI/Services/{EndpointMutualTLSModuleClient.html → TLSEdgeMutualTLSModuleClient.html} +62 -66
  252. data/docs/NgrokAPI/Services/{EndpointTLSTerminationModuleClient.html → TLSEdgeTLSTerminationModuleClient.html} +62 -66
  253. data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +1799 -0
  254. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +44 -48
  255. data/docs/NgrokAPI/Services/TunnelsClient.html +249 -15
  256. data/docs/NgrokAPI/Services/WeightedBackendsClient.html +1799 -0
  257. data/docs/NgrokAPI/Services.html +4 -4
  258. data/docs/NgrokAPI.html +3 -3
  259. data/docs/_index.html +237 -60
  260. data/docs/class_list.html +1 -1
  261. data/docs/file.README.html +55 -55
  262. data/docs/index.html +55 -55
  263. data/docs/method_list.html +4555 -1843
  264. data/docs/top-level-namespace.html +2 -2
  265. data/lib/ngrokapi/client.rb +47 -24
  266. data/lib/ngrokapi/http_client.rb +21 -2
  267. data/lib/ngrokapi/models/abuse_report.rb +16 -12
  268. data/lib/ngrokapi/models/abuse_report_hostname.rb +11 -7
  269. data/lib/ngrokapi/models/agent_ingress.rb +17 -13
  270. data/lib/ngrokapi/models/api_key.rb +15 -11
  271. data/lib/ngrokapi/models/aws_auth.rb +11 -7
  272. data/lib/ngrokapi/models/aws_credentials.rb +11 -7
  273. data/lib/ngrokapi/models/aws_role.rb +10 -6
  274. data/lib/ngrokapi/models/certificate_authority.rb +20 -16
  275. data/lib/ngrokapi/models/credential.rb +16 -12
  276. data/lib/ngrokapi/models/endpoint.rb +53 -0
  277. data/lib/ngrokapi/models/endpoint_backend.rb +31 -0
  278. data/lib/ngrokapi/models/endpoint_backend_mutate.rb +31 -0
  279. data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +15 -11
  280. data/lib/ngrokapi/models/endpoint_compression.rb +10 -6
  281. data/lib/ngrokapi/models/endpoint_ip_policy.rb +11 -7
  282. data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +11 -7
  283. data/lib/ngrokapi/models/endpoint_mutual_tls.rb +11 -7
  284. data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +11 -7
  285. data/lib/ngrokapi/models/endpoint_o_auth.rb +16 -12
  286. data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +14 -10
  287. data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +16 -12
  288. data/lib/ngrokapi/models/endpoint_o_auth_google.rb +14 -10
  289. data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +14 -10
  290. data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +13 -9
  291. data/lib/ngrokapi/models/endpoint_oidc.rb +18 -14
  292. data/lib/ngrokapi/models/endpoint_request_headers.rb +12 -8
  293. data/lib/ngrokapi/models/endpoint_response_headers.rb +12 -8
  294. data/lib/ngrokapi/models/endpoint_saml.rb +25 -21
  295. data/lib/ngrokapi/models/endpoint_saml_mutate.rb +20 -16
  296. data/lib/ngrokapi/models/endpoint_tls_termination.rb +12 -8
  297. data/lib/ngrokapi/models/endpoint_tls_termination_at_edge.rb +31 -0
  298. data/lib/ngrokapi/models/endpoint_webhook_validation.rb +12 -8
  299. data/lib/ngrokapi/models/endpoint_websocket_tcp_converter.rb +29 -0
  300. data/lib/ngrokapi/models/event_destination.rb +17 -14
  301. data/lib/ngrokapi/models/event_source.rb +13 -9
  302. data/lib/ngrokapi/models/event_source_list.rb +11 -7
  303. data/lib/ngrokapi/models/event_source_replace.rb +12 -8
  304. data/lib/ngrokapi/models/event_subscription.rb +16 -12
  305. data/lib/ngrokapi/models/event_target.rb +13 -9
  306. data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +11 -7
  307. data/lib/ngrokapi/models/event_target_firehose.rb +11 -7
  308. data/lib/ngrokapi/models/event_target_kinesis.rb +11 -7
  309. data/lib/ngrokapi/models/failover_backend.rb +69 -0
  310. data/lib/ngrokapi/models/http_response_backend.rb +75 -0
  311. data/lib/ngrokapi/models/https_edge.rb +84 -0
  312. data/lib/ngrokapi/models/https_edge_route.rb +137 -0
  313. data/lib/ngrokapi/models/ip_policy.rb +15 -11
  314. data/lib/ngrokapi/models/ip_policy_rule.rb +19 -13
  315. data/lib/ngrokapi/models/ip_restriction.rb +17 -13
  316. data/lib/ngrokapi/models/listable.rb +9 -9
  317. data/lib/ngrokapi/models/ref.rb +11 -7
  318. data/lib/ngrokapi/models/reserved_addr.rb +17 -13
  319. data/lib/ngrokapi/models/reserved_domain.rb +23 -19
  320. data/lib/ngrokapi/models/reserved_domain_cert_job.rb +13 -9
  321. data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +11 -7
  322. data/lib/ngrokapi/models/reserved_domain_cert_status.rb +11 -7
  323. data/lib/ngrokapi/models/ssh_certificate_authority.rb +16 -12
  324. data/lib/ngrokapi/models/ssh_credential.rb +16 -12
  325. data/lib/ngrokapi/models/ssh_host_certificate.rb +21 -17
  326. data/lib/ngrokapi/models/ssh_user_certificate.rb +23 -19
  327. data/lib/ngrokapi/models/tcp_edge.rb +82 -0
  328. data/lib/ngrokapi/models/tls_certificate.rb +30 -26
  329. data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +11 -7
  330. data/lib/ngrokapi/models/tls_edge.rb +92 -0
  331. data/lib/ngrokapi/models/tunnel.rb +25 -13
  332. data/lib/ngrokapi/models/tunnel_group_backend.rb +71 -0
  333. data/lib/ngrokapi/models/tunnel_session.rb +19 -15
  334. data/lib/ngrokapi/models/weighted_backend.rb +69 -0
  335. data/lib/ngrokapi/paged_iterator.rb +1 -1
  336. data/lib/ngrokapi/services/abuse_reports_client.rb +25 -3
  337. data/lib/ngrokapi/services/agent_ingresses_client.rb +32 -11
  338. data/lib/ngrokapi/services/api_keys_client.rb +30 -11
  339. data/lib/ngrokapi/services/certificate_authorities_client.rb +31 -11
  340. data/lib/ngrokapi/services/credentials_client.rb +34 -11
  341. data/lib/ngrokapi/services/edge_route_backend_module_client.rb +118 -0
  342. data/lib/ngrokapi/services/edge_route_circuit_breaker_module_client.rb +118 -0
  343. data/lib/ngrokapi/services/edge_route_compression_module_client.rb +118 -0
  344. data/lib/ngrokapi/services/edge_route_ip_restriction_module_client.rb +118 -0
  345. data/lib/ngrokapi/services/edge_route_o_auth_module_client.rb +118 -0
  346. data/lib/ngrokapi/services/edge_route_oidc_module_client.rb +118 -0
  347. data/lib/ngrokapi/services/edge_route_request_headers_module_client.rb +118 -0
  348. data/lib/ngrokapi/services/edge_route_response_headers_module_client.rb +118 -0
  349. data/lib/ngrokapi/services/edge_route_saml_module_client.rb +118 -0
  350. data/lib/ngrokapi/services/edge_route_webhook_verification_module_client.rb +118 -0
  351. data/lib/ngrokapi/services/edge_route_websocket_tcp_converter_module_client.rb +118 -0
  352. data/lib/ngrokapi/services/edges_https_client.rb +251 -0
  353. data/lib/ngrokapi/services/edges_https_routes_client.rb +292 -0
  354. data/lib/ngrokapi/services/edges_tcp_client.rb +251 -0
  355. data/lib/ngrokapi/services/edges_tls_client.rb +267 -0
  356. data/lib/ngrokapi/services/endpoints_client.rb +112 -0
  357. data/lib/ngrokapi/services/event_destinations_client.rb +37 -15
  358. data/lib/ngrokapi/services/event_sources_client.rb +27 -7
  359. data/lib/ngrokapi/services/event_subscriptions_client.rb +36 -14
  360. data/lib/ngrokapi/services/failover_backends_client.rb +234 -0
  361. data/lib/ngrokapi/services/http_response_backends_client.rb +220 -0
  362. data/lib/ngrokapi/services/{endpoint_oidc_module_client.rb → https_edge_mutual_tls_module_client.rb} +27 -29
  363. data/lib/ngrokapi/services/https_edge_tls_termination_module_client.rb +106 -0
  364. data/lib/ngrokapi/services/ip_policies_client.rb +31 -14
  365. data/lib/ngrokapi/services/ip_policy_rules_client.rb +38 -12
  366. data/lib/ngrokapi/services/ip_restrictions_client.rb +36 -12
  367. data/lib/ngrokapi/services/reserved_addrs_client.rb +31 -48
  368. data/lib/ngrokapi/services/reserved_domains_client.rb +37 -85
  369. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +35 -11
  370. data/lib/ngrokapi/services/ssh_credentials_client.rb +34 -11
  371. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +39 -11
  372. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +44 -12
  373. data/lib/ngrokapi/services/{endpoint_logging_module_client.rb → tcp_edge_backend_module_client.rb} +27 -29
  374. data/lib/ngrokapi/services/{endpoint_ip_policy_module_client.rb → tcp_edge_ip_restriction_module_client.rb} +21 -23
  375. data/lib/ngrokapi/services/tls_certificates_client.rb +33 -11
  376. data/lib/ngrokapi/services/{endpoint_saml_module_client.rb → tls_edge_backend_module_client.rb} +27 -29
  377. data/lib/ngrokapi/services/tls_edge_ip_restriction_module_client.rb +106 -0
  378. data/lib/ngrokapi/services/{endpoint_mutual_tls_module_client.rb → tls_edge_mutual_tls_module_client.rb} +21 -23
  379. data/lib/ngrokapi/services/{endpoint_tls_termination_module_client.rb → tls_edge_tls_termination_module_client.rb} +21 -23
  380. data/lib/ngrokapi/services/tunnel_group_backends_client.rb +232 -0
  381. data/lib/ngrokapi/services/tunnel_sessions_client.rb +6 -8
  382. data/lib/ngrokapi/services/tunnels_client.rb +39 -6
  383. data/lib/ngrokapi/services/weighted_backends_client.rb +234 -0
  384. data/lib/ngrokapi/version.rb +1 -1
  385. data/lib/ngrokapi.rb +1 -1
  386. data/spec/ngrokapi/client_spec.rb +44 -23
  387. data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +2 -2
  388. data/spec/ngrokapi/models/abuse_report_spec.rb +2 -2
  389. data/spec/ngrokapi/models/agent_ingress_spec.rb +2 -2
  390. data/spec/ngrokapi/models/api_key_spec.rb +2 -2
  391. data/spec/ngrokapi/models/aws_auth_spec.rb +2 -2
  392. data/spec/ngrokapi/models/aws_credentials_spec.rb +2 -2
  393. data/spec/ngrokapi/models/aws_role_spec.rb +2 -2
  394. data/spec/ngrokapi/models/certificate_authority_spec.rb +2 -2
  395. data/spec/ngrokapi/models/credential_spec.rb +2 -2
  396. data/spec/ngrokapi/models/endpoint_backend_mutate_spec.rb +21 -0
  397. data/spec/ngrokapi/models/endpoint_backend_spec.rb +21 -0
  398. data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +2 -2
  399. data/spec/ngrokapi/models/endpoint_compression_spec.rb +2 -2
  400. data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +2 -2
  401. data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +2 -2
  402. data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +2 -2
  403. data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +2 -2
  404. data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +2 -2
  405. data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +2 -2
  406. data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +2 -2
  407. data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +2 -2
  408. data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +2 -2
  409. data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +2 -2
  410. data/spec/ngrokapi/models/endpoint_oidc_spec.rb +2 -2
  411. data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +2 -2
  412. data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +2 -2
  413. data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +2 -2
  414. data/spec/ngrokapi/models/endpoint_saml_spec.rb +2 -2
  415. data/spec/ngrokapi/models/endpoint_spec.rb +21 -0
  416. data/spec/ngrokapi/models/endpoint_tls_termination_at_edge_spec.rb +21 -0
  417. data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +2 -2
  418. data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +2 -2
  419. data/spec/ngrokapi/models/endpoint_websocket_tcp_converter_spec.rb +21 -0
  420. data/spec/ngrokapi/models/event_destination_spec.rb +2 -2
  421. data/spec/ngrokapi/models/event_source_list_spec.rb +2 -2
  422. data/spec/ngrokapi/models/event_source_replace_spec.rb +2 -2
  423. data/spec/ngrokapi/models/event_source_spec.rb +2 -2
  424. data/spec/ngrokapi/models/event_subscription_spec.rb +2 -2
  425. data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +2 -2
  426. data/spec/ngrokapi/models/event_target_firehose_spec.rb +2 -2
  427. data/spec/ngrokapi/models/event_target_kinesis_spec.rb +2 -2
  428. data/spec/ngrokapi/models/event_target_spec.rb +2 -2
  429. data/spec/ngrokapi/models/failover_backend_spec.rb +45 -0
  430. data/spec/ngrokapi/models/http_response_backend_spec.rb +51 -0
  431. data/spec/ngrokapi/models/https_edge_route_spec.rb +81 -0
  432. data/spec/ngrokapi/models/https_edge_spec.rb +51 -0
  433. data/spec/ngrokapi/models/ip_policy_rule_spec.rb +2 -2
  434. data/spec/ngrokapi/models/ip_policy_spec.rb +2 -2
  435. data/spec/ngrokapi/models/ip_restriction_spec.rb +2 -2
  436. data/spec/ngrokapi/models/listable_spec.rb +2 -2
  437. data/spec/ngrokapi/models/ref_spec.rb +2 -2
  438. data/spec/ngrokapi/models/reserved_addr_spec.rb +2 -2
  439. data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +2 -2
  440. data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +2 -2
  441. data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +2 -2
  442. data/spec/ngrokapi/models/reserved_domain_spec.rb +2 -2
  443. data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +2 -2
  444. data/spec/ngrokapi/models/ssh_credential_spec.rb +2 -2
  445. data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +2 -2
  446. data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +2 -2
  447. data/spec/ngrokapi/models/tcp_edge_spec.rb +51 -0
  448. data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +2 -2
  449. data/spec/ngrokapi/models/tls_certificate_spec.rb +2 -2
  450. data/spec/ngrokapi/models/tls_edge_spec.rb +57 -0
  451. data/spec/ngrokapi/models/tunnel_group_backend_spec.rb +45 -0
  452. data/spec/ngrokapi/models/tunnel_session_spec.rb +2 -2
  453. data/spec/ngrokapi/models/tunnel_spec.rb +2 -2
  454. data/spec/ngrokapi/models/weighted_backend_spec.rb +45 -0
  455. data/spec/ngrokapi/paged_iterator_spec.rb +5 -5
  456. data/spec/ngrokapi/services/abuse_reports_client_spec.rb +19 -0
  457. data/spec/ngrokapi/services/agent_ingresses_client_spec.rb +21 -0
  458. data/spec/ngrokapi/services/api_keys_client_spec.rb +19 -0
  459. data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +21 -0
  460. data/spec/ngrokapi/services/credentials_client_spec.rb +21 -0
  461. data/spec/ngrokapi/services/edge_route_backend_module_client_spec.rb +137 -0
  462. data/spec/ngrokapi/services/{endpoint_circuit_breaker_module_client_spec.rb → edge_route_circuit_breaker_module_client_spec.rb} +33 -21
  463. data/spec/ngrokapi/services/{endpoint_compression_module_client_spec.rb → edge_route_compression_module_client_spec.rb} +33 -21
  464. data/spec/ngrokapi/services/edge_route_ip_restriction_module_client_spec.rb +137 -0
  465. data/spec/ngrokapi/services/{endpoint_o_auth_module_client_spec.rb → edge_route_o_auth_module_client_spec.rb} +33 -21
  466. data/spec/ngrokapi/services/{endpoint_oidc_module_client_spec.rb → edge_route_oidc_module_client_spec.rb} +33 -21
  467. data/spec/ngrokapi/services/{endpoint_request_headers_module_client_spec.rb → edge_route_request_headers_module_client_spec.rb} +33 -21
  468. data/spec/ngrokapi/services/{endpoint_response_headers_module_client_spec.rb → edge_route_response_headers_module_client_spec.rb} +33 -21
  469. data/spec/ngrokapi/services/{endpoint_saml_module_client_spec.rb → edge_route_saml_module_client_spec.rb} +33 -21
  470. data/spec/ngrokapi/services/{endpoint_webhook_validation_module_client_spec.rb → edge_route_webhook_verification_module_client_spec.rb} +33 -21
  471. data/spec/ngrokapi/services/edge_route_websocket_tcp_converter_module_client_spec.rb +137 -0
  472. data/spec/ngrokapi/services/edges_https_client_spec.rb +200 -0
  473. data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +288 -0
  474. data/spec/ngrokapi/services/edges_tcp_client_spec.rb +200 -0
  475. data/spec/ngrokapi/services/edges_tls_client_spec.rb +216 -0
  476. data/spec/ngrokapi/services/endpoints_client_spec.rb +57 -0
  477. data/spec/ngrokapi/services/event_destinations_client_spec.rb +24 -0
  478. data/spec/ngrokapi/services/event_sources_client_spec.rb +21 -0
  479. data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +23 -0
  480. data/spec/ngrokapi/services/failover_backends_client_spec.rb +184 -0
  481. data/spec/ngrokapi/services/http_response_backends_client_spec.rb +200 -0
  482. data/spec/ngrokapi/services/{endpoint_mutual_tls_module_client_spec.rb → https_edge_mutual_tls_module_client_spec.rb} +19 -21
  483. data/spec/ngrokapi/services/{endpoint_tls_termination_module_client_spec.rb → https_edge_tls_termination_module_client_spec.rb} +19 -21
  484. data/spec/ngrokapi/services/ip_policies_client_spec.rb +20 -1
  485. data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +28 -1
  486. data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +25 -0
  487. data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +22 -44
  488. data/spec/ngrokapi/services/reserved_domains_client_spec.rb +29 -88
  489. data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +25 -0
  490. data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +23 -0
  491. data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +29 -0
  492. data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +33 -0
  493. data/spec/ngrokapi/services/tcp_edge_backend_module_client_spec.rb +123 -0
  494. data/spec/ngrokapi/services/{endpoint_ip_policy_module_client_spec.rb → tcp_edge_ip_restriction_module_client_spec.rb} +19 -21
  495. data/spec/ngrokapi/services/tls_certificates_client_spec.rb +23 -0
  496. data/spec/ngrokapi/services/tls_edge_backend_module_client_spec.rb +123 -0
  497. data/spec/ngrokapi/services/tls_edge_ip_restriction_module_client_spec.rb +123 -0
  498. data/spec/ngrokapi/services/tls_edge_mutual_tls_module_client_spec.rb +123 -0
  499. data/spec/ngrokapi/services/tls_edge_tls_termination_module_client_spec.rb +123 -0
  500. data/spec/ngrokapi/services/tunnel_group_backends_client_spec.rb +184 -0
  501. data/spec/ngrokapi/services/tunnels_client_spec.rb +36 -0
  502. data/spec/ngrokapi/services/weighted_backends_client_spec.rb +184 -0
  503. data/spec/spec_helper.rb +326 -33
  504. metadata +166 -76
  505. data/doc/README +0 -94
  506. data/docs/README +0 -94
  507. data/lib/ngrokapi/models/endpoint_configuration.rb +0 -130
  508. data/lib/ngrokapi/models/endpoint_logging.rb +0 -27
  509. data/lib/ngrokapi/models/endpoint_logging_mutate.rb +0 -27
  510. data/lib/ngrokapi/models/event_stream.rb +0 -77
  511. data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +0 -108
  512. data/lib/ngrokapi/services/endpoint_compression_module_client.rb +0 -108
  513. data/lib/ngrokapi/services/endpoint_configurations_client.rb +0 -289
  514. data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +0 -108
  515. data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +0 -108
  516. data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +0 -108
  517. data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +0 -108
  518. data/lib/ngrokapi/services/event_streams_client.rb +0 -224
  519. data/spec/ngrokapi/models/endpoint_configuration_spec.rb +0 -78
  520. data/spec/ngrokapi/models/endpoint_logging_mutate_spec.rb +0 -21
  521. data/spec/ngrokapi/models/endpoint_logging_spec.rb +0 -21
  522. data/spec/ngrokapi/models/event_stream_spec.rb +0 -51
  523. data/spec/ngrokapi/services/endpoint_configurations_client_spec.rb +0 -237
  524. data/spec/ngrokapi/services/endpoint_logging_module_client_spec.rb +0 -125
  525. data/spec/ngrokapi/services/event_streams_client_spec.rb +0 -177
@@ -0,0 +1,2585 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: NgrokAPI::Services::EdgesHTTPSRoutesClient
8
+
9
+ &mdash; Documentation by YARD 0.9.27
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "NgrokAPI::Services::EdgesHTTPSRoutesClient";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (E)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Services.html" title="NgrokAPI::Services (module)">Services</a></span></span>
41
+ &raquo;
42
+ <span class="title">EdgesHTTPSRoutesClient</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: NgrokAPI::Services::EdgesHTTPSRoutesClient
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">NgrokAPI::Services::EdgesHTTPSRoutesClient</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/ngrokapi/services/edges_https_routes_client.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes">ngrok.com/docs/api#api-edges-https-routes</a></p>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div>
114
+
115
+ <h2>
116
+ Constant Summary
117
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
118
+ </h2>
119
+
120
+ <dl class="constants">
121
+
122
+ <dt id="PATH-constant" class="">PATH =
123
+ <div class="docstring">
124
+ <div class="discussion">
125
+
126
+ <p>The API path for the requests</p>
127
+
128
+
129
+ </div>
130
+ </div>
131
+ <div class="tags">
132
+
133
+
134
+ </div>
135
+ </dt>
136
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes</span><span class='tstring_end'>&#39;</span></span></pre></dd>
137
+
138
+ </dl>
139
+
140
+
141
+
142
+
143
+
144
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
145
+ <ul class="summary">
146
+
147
+ <li class="public ">
148
+ <span class="summary_signature">
149
+
150
+ <a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> &#x21d2; Object </a>
151
+
152
+
153
+
154
+ </span>
155
+
156
+
157
+
158
+
159
+ <span class="note title readonly">readonly</span>
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+ <span class="summary_desc"><div class='inline'>
170
+ <p>Returns the value of attribute client.</p>
171
+ </div></span>
172
+
173
+ </li>
174
+
175
+
176
+ </ul>
177
+
178
+
179
+
180
+
181
+
182
+ <h2>
183
+ Instance Method Summary
184
+ <small><a href="#" class="summary_toggle">collapse</a></small>
185
+ </h2>
186
+
187
+ <ul class="summary">
188
+
189
+ <li class="public ">
190
+ <span class="summary_signature">
191
+
192
+ <a href="#create-instance_method" title="#create (instance method)">#<strong>create</strong>(edge_id: &quot;&quot;, match_type:, match:, description: &quot;&quot;, metadata: &quot;&quot;, backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil) &#x21d2; NgrokAPI::Models::HTTPSEdgeRoute </a>
193
+
194
+
195
+
196
+ </span>
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <span class="summary_desc"><div class='inline'>
207
+ <p>Create an HTTPS Edge Route.</p>
208
+ </div></span>
209
+
210
+ </li>
211
+
212
+
213
+ <li class="public ">
214
+ <span class="summary_signature">
215
+
216
+ <a href="#create!-instance_method" title="#create! (instance method)">#<strong>create!</strong>(edge_id: &quot;&quot;, match_type:, match:, description: &quot;&quot;, metadata: &quot;&quot;, backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil) &#x21d2; NgrokAPI::Models::HTTPSEdgeRoute </a>
217
+
218
+
219
+
220
+ </span>
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+ <span class="summary_desc"><div class='inline'>
231
+ <p>Create an HTTPS Edge Route Throws an exception if API error.</p>
232
+ </div></span>
233
+
234
+ </li>
235
+
236
+
237
+ <li class="public ">
238
+ <span class="summary_signature">
239
+
240
+ <a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong>(edge_id: &quot;&quot;, id: &quot;&quot;) &#x21d2; NgrokAPI::Models::Empty </a>
241
+
242
+
243
+
244
+ </span>
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+ <span class="summary_desc"><div class='inline'>
255
+ <p>Delete an HTTPS Edge Route by ID.</p>
256
+ </div></span>
257
+
258
+ </li>
259
+
260
+
261
+ <li class="public ">
262
+ <span class="summary_signature">
263
+
264
+ <a href="#delete!-instance_method" title="#delete! (instance method)">#<strong>delete!</strong>(edge_id: &quot;&quot;, id: &quot;&quot;) &#x21d2; NgrokAPI::Models::Empty </a>
265
+
266
+
267
+
268
+ </span>
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+ <span class="summary_desc"><div class='inline'>
279
+ <p>Delete an HTTPS Edge Route by ID Throws an exception if API error.</p>
280
+ </div></span>
281
+
282
+ </li>
283
+
284
+
285
+ <li class="public ">
286
+ <span class="summary_signature">
287
+
288
+ <a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(edge_id: &quot;&quot;, id: &quot;&quot;) &#x21d2; NgrokAPI::Models::HTTPSEdgeRoute </a>
289
+
290
+
291
+
292
+ </span>
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+ <span class="summary_desc"><div class='inline'>
303
+ <p>Get an HTTPS Edge Route by ID.</p>
304
+ </div></span>
305
+
306
+ </li>
307
+
308
+
309
+ <li class="public ">
310
+ <span class="summary_signature">
311
+
312
+ <a href="#get!-instance_method" title="#get! (instance method)">#<strong>get!</strong>(edge_id: &quot;&quot;, id: &quot;&quot;) &#x21d2; NgrokAPI::Models::HTTPSEdgeRoute </a>
313
+
314
+
315
+
316
+ </span>
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+ <span class="summary_desc"><div class='inline'>
327
+ <p>Get an HTTPS Edge Route by ID Throws an exception if API error.</p>
328
+ </div></span>
329
+
330
+ </li>
331
+
332
+
333
+ <li class="public ">
334
+ <span class="summary_signature">
335
+
336
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:) &#x21d2; EdgesHTTPSRoutesClient </a>
337
+
338
+
339
+
340
+ </span>
341
+
342
+
343
+ <span class="note title constructor">constructor</span>
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+ <span class="summary_desc"><div class='inline'>
353
+ <p>A new instance of EdgesHTTPSRoutesClient.</p>
354
+ </div></span>
355
+
356
+ </li>
357
+
358
+
359
+ <li class="public ">
360
+ <span class="summary_signature">
361
+
362
+ <a href="#update-instance_method" title="#update (instance method)">#<strong>update</strong>(edge_id: &quot;&quot;, id: &quot;&quot;, match_type: &quot;&quot;, match: &quot;&quot;, description: &quot;&quot;, metadata: &quot;&quot;, backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil) &#x21d2; NgrokAPI::Models::HTTPSEdgeRoute </a>
363
+
364
+
365
+
366
+ </span>
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+ <span class="summary_desc"><div class='inline'>
377
+ <p>Updates an HTTPS Edge Route by ID.</p>
378
+ </div></span>
379
+
380
+ </li>
381
+
382
+
383
+ <li class="public ">
384
+ <span class="summary_signature">
385
+
386
+ <a href="#update!-instance_method" title="#update! (instance method)">#<strong>update!</strong>(edge_id: &quot;&quot;, id: &quot;&quot;, match_type: &quot;&quot;, match: &quot;&quot;, description: &quot;&quot;, metadata: &quot;&quot;, backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil) &#x21d2; NgrokAPI::Models::HTTPSEdgeRoute </a>
387
+
388
+
389
+
390
+ </span>
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+ <span class="summary_desc"><div class='inline'>
401
+ <p>Updates an HTTPS Edge Route by ID.</p>
402
+ </div></span>
403
+
404
+ </li>
405
+
406
+
407
+ </ul>
408
+
409
+
410
+ <div id="constructor_details" class="method_details_list">
411
+ <h2>Constructor Details</h2>
412
+
413
+ <div class="method_details first">
414
+ <h3 class="signature first" id="initialize-instance_method">
415
+
416
+ #<strong>initialize</strong>(client:) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Services::EdgesHTTPSRoutesClient (class)">EdgesHTTPSRoutesClient</a></span></tt>
417
+
418
+
419
+
420
+
421
+
422
+ </h3><div class="docstring">
423
+ <div class="discussion">
424
+
425
+ <p>Returns a new instance of EdgesHTTPSRoutesClient.</p>
426
+
427
+
428
+ </div>
429
+ </div>
430
+ <div class="tags">
431
+
432
+
433
+ </div><table class="source_code">
434
+ <tr>
435
+ <td>
436
+ <pre class="lines">
437
+
438
+
439
+ 13
440
+ 14
441
+ 15</pre>
442
+ </td>
443
+ <td>
444
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 13</span>
445
+
446
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='rparen'>)</span>
447
+ <span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
448
+ <span class='kw'>end</span></pre>
449
+ </td>
450
+ </tr>
451
+ </table>
452
+ </div>
453
+
454
+ </div>
455
+
456
+ <div id="instance_attr_details" class="attr_details">
457
+ <h2>Instance Attribute Details</h2>
458
+
459
+
460
+ <span id=""></span>
461
+ <div class="method_details first">
462
+ <h3 class="signature first" id="client-instance_method">
463
+
464
+ #<strong>client</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
465
+
466
+
467
+
468
+
469
+
470
+ </h3><div class="docstring">
471
+ <div class="discussion">
472
+
473
+ <p>Returns the value of attribute client.</p>
474
+
475
+
476
+ </div>
477
+ </div>
478
+ <div class="tags">
479
+
480
+
481
+ </div><table class="source_code">
482
+ <tr>
483
+ <td>
484
+ <pre class="lines">
485
+
486
+
487
+ 11
488
+ 12
489
+ 13</pre>
490
+ </td>
491
+ <td>
492
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 11</span>
493
+
494
+ <span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
495
+ <span class='ivar'>@client</span>
496
+ <span class='kw'>end</span></pre>
497
+ </td>
498
+ </tr>
499
+ </table>
500
+ </div>
501
+
502
+ </div>
503
+
504
+
505
+ <div id="instance_method_details" class="method_details_list">
506
+ <h2>Instance Method Details</h2>
507
+
508
+
509
+ <div class="method_details first">
510
+ <h3 class="signature first" id="create-instance_method">
511
+
512
+ #<strong>create</strong>(edge_id: &quot;&quot;, match_type:, match:, description: &quot;&quot;, metadata: &quot;&quot;, backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>
513
+
514
+
515
+
516
+
517
+
518
+ </h3><div class="docstring">
519
+ <div class="discussion">
520
+
521
+ <p>Create an HTTPS Edge Route</p>
522
+
523
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes-create">ngrok.com/docs/api#api-edges-https-routes-create</a></p>
524
+
525
+
526
+ </div>
527
+ </div>
528
+ <div class="tags">
529
+ <p class="tag_title">Parameters:</p>
530
+ <ul class="param">
531
+
532
+ <li>
533
+
534
+ <span class='name'>edge_id</span>
535
+
536
+
537
+ <span class='type'>(<tt>string</tt>)</span>
538
+
539
+
540
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
541
+
542
+
543
+ &mdash;
544
+ <div class='inline'>
545
+ <p>unique identifier of this edge</p>
546
+ </div>
547
+
548
+ </li>
549
+
550
+ <li>
551
+
552
+ <span class='name'>match_type</span>
553
+
554
+
555
+ <span class='type'>(<tt>string</tt>)</span>
556
+
557
+
558
+
559
+ &mdash;
560
+ <div class='inline'>
561
+ <p>Type of match to use for this route. Valid values are “exact_path” and “path_prefix”.</p>
562
+ </div>
563
+
564
+ </li>
565
+
566
+ <li>
567
+
568
+ <span class='name'>match</span>
569
+
570
+
571
+ <span class='type'>(<tt>string</tt>)</span>
572
+
573
+
574
+
575
+ &mdash;
576
+ <div class='inline'>
577
+ <p>Route selector: “/blog” or “example.com” or “example.com/blog”</p>
578
+ </div>
579
+
580
+ </li>
581
+
582
+ <li>
583
+
584
+ <span class='name'>description</span>
585
+
586
+
587
+ <span class='type'>(<tt>string</tt>)</span>
588
+
589
+
590
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
591
+
592
+
593
+ &mdash;
594
+ <div class='inline'>
595
+ <p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
596
+ </div>
597
+
598
+ </li>
599
+
600
+ <li>
601
+
602
+ <span class='name'>metadata</span>
603
+
604
+
605
+ <span class='type'>(<tt>string</tt>)</span>
606
+
607
+
608
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
609
+
610
+
611
+ &mdash;
612
+ <div class='inline'>
613
+ <p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
614
+ </div>
615
+
616
+ </li>
617
+
618
+ <li>
619
+
620
+ <span class='name'>backend</span>
621
+
622
+
623
+ <span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
624
+
625
+
626
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
627
+
628
+
629
+ &mdash;
630
+ <div class='inline'>
631
+ <p>backend module configuration or <code>null</code></p>
632
+ </div>
633
+
634
+ </li>
635
+
636
+ <li>
637
+
638
+ <span class='name'>ip_restriction</span>
639
+
640
+
641
+ <span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
642
+
643
+
644
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
645
+
646
+
647
+ &mdash;
648
+ <div class='inline'>
649
+ <p>ip restriction module configuration or <code>null</code></p>
650
+ </div>
651
+
652
+ </li>
653
+
654
+ <li>
655
+
656
+ <span class='name'>circuit_breaker</span>
657
+
658
+
659
+ <span class='type'>(<tt>EndpointCircuitBreaker</tt>)</span>
660
+
661
+
662
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
663
+
664
+
665
+ &mdash;
666
+ <div class='inline'>
667
+ <p>circuit breaker module configuration or <code>null</code></p>
668
+ </div>
669
+
670
+ </li>
671
+
672
+ <li>
673
+
674
+ <span class='name'>compression</span>
675
+
676
+
677
+ <span class='type'>(<tt>EndpointCompression</tt>)</span>
678
+
679
+
680
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
681
+
682
+
683
+ &mdash;
684
+ <div class='inline'>
685
+ <p>compression module configuration or <code>null</code></p>
686
+ </div>
687
+
688
+ </li>
689
+
690
+ <li>
691
+
692
+ <span class='name'>request_headers</span>
693
+
694
+
695
+ <span class='type'>(<tt>EndpointRequestHeaders</tt>)</span>
696
+
697
+
698
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
699
+
700
+
701
+ &mdash;
702
+ <div class='inline'>
703
+ <p>request headers module configuration or <code>null</code></p>
704
+ </div>
705
+
706
+ </li>
707
+
708
+ <li>
709
+
710
+ <span class='name'>response_headers</span>
711
+
712
+
713
+ <span class='type'>(<tt>EndpointResponseHeaders</tt>)</span>
714
+
715
+
716
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
717
+
718
+
719
+ &mdash;
720
+ <div class='inline'>
721
+ <p>response headers module configuration or <code>null</code></p>
722
+ </div>
723
+
724
+ </li>
725
+
726
+ <li>
727
+
728
+ <span class='name'>webhook_verification</span>
729
+
730
+
731
+ <span class='type'>(<tt>EndpointWebhookValidation</tt>)</span>
732
+
733
+
734
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
735
+
736
+
737
+ &mdash;
738
+ <div class='inline'>
739
+ <p>webhook verification module configuration or <code>null</code></p>
740
+ </div>
741
+
742
+ </li>
743
+
744
+ <li>
745
+
746
+ <span class='name'>oauth</span>
747
+
748
+
749
+ <span class='type'>(<tt>EndpointOAuth</tt>)</span>
750
+
751
+
752
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
753
+
754
+
755
+ &mdash;
756
+ <div class='inline'>
757
+ <p>oauth module configuration or <code>null</code></p>
758
+ </div>
759
+
760
+ </li>
761
+
762
+ <li>
763
+
764
+ <span class='name'>saml</span>
765
+
766
+
767
+ <span class='type'>(<tt>EndpointSAMLMutate</tt>)</span>
768
+
769
+
770
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
771
+
772
+
773
+ &mdash;
774
+ <div class='inline'>
775
+ <p>saml module configuration or <code>null</code></p>
776
+ </div>
777
+
778
+ </li>
779
+
780
+ <li>
781
+
782
+ <span class='name'>oidc</span>
783
+
784
+
785
+ <span class='type'>(<tt>EndpointOIDC</tt>)</span>
786
+
787
+
788
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
789
+
790
+
791
+ &mdash;
792
+ <div class='inline'>
793
+ <p>oidc module configuration or <code>null</code></p>
794
+ </div>
795
+
796
+ </li>
797
+
798
+ <li>
799
+
800
+ <span class='name'>websocket_tcp_converter</span>
801
+
802
+
803
+ <span class='type'>(<tt>EndpointWebsocketTCPConverter</tt>)</span>
804
+
805
+
806
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
807
+
808
+
809
+ &mdash;
810
+ <div class='inline'>
811
+ <p>websocket to tcp adapter configuration or <code>null</code></p>
812
+ </div>
813
+
814
+ </li>
815
+
816
+ </ul>
817
+
818
+ <p class="tag_title">Returns:</p>
819
+ <ul class="return">
820
+
821
+ <li>
822
+
823
+
824
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>)</span>
825
+
826
+
827
+
828
+ &mdash;
829
+ <div class='inline'>
830
+ <p>result from the API request</p>
831
+ </div>
832
+
833
+ </li>
834
+
835
+ </ul>
836
+
837
+ </div><table class="source_code">
838
+ <tr>
839
+ <td>
840
+ <pre class="lines">
841
+
842
+
843
+ 39
844
+ 40
845
+ 41
846
+ 42
847
+ 43
848
+ 44
849
+ 45
850
+ 46
851
+ 47
852
+ 48
853
+ 49
854
+ 50
855
+ 51
856
+ 52
857
+ 53
858
+ 54
859
+ 55
860
+ 56
861
+ 57
862
+ 58
863
+ 59
864
+ 60
865
+ 61
866
+ 62</pre>
867
+ </td>
868
+ <td>
869
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 39</span>
870
+
871
+ <span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='label'>edge_id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>match_type:</span><span class='comma'>,</span> <span class='label'>match:</span><span class='comma'>,</span> <span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>backend:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>ip_restriction:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>circuit_breaker:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>compression:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>request_headers:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>response_headers:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>webhook_verification:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>oauth:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>saml:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>oidc:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>websocket_tcp_converter:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
872
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes</span><span class='tstring_end'>&#39;</span></span>
873
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
874
+ <span class='label'>edge_id:</span> <span class='id identifier rubyid_edge_id'>edge_id</span><span class='comma'>,</span>
875
+ <span class='rbrace'>}</span>
876
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
877
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:match_type</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match_type'>match_type</span> <span class='kw'>if</span> <span class='id identifier rubyid_match_type'>match_type</span>
878
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:match</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match'>match</span> <span class='kw'>if</span> <span class='id identifier rubyid_match'>match</span>
879
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
880
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
881
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backend</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backend'>backend</span> <span class='kw'>if</span> <span class='id identifier rubyid_backend'>backend</span>
882
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:ip_restriction</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span> <span class='kw'>if</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span>
883
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:circuit_breaker</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_circuit_breaker'>circuit_breaker</span> <span class='kw'>if</span> <span class='id identifier rubyid_circuit_breaker'>circuit_breaker</span>
884
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:compression</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_compression'>compression</span> <span class='kw'>if</span> <span class='id identifier rubyid_compression'>compression</span>
885
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:request_headers</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_request_headers'>request_headers</span> <span class='kw'>if</span> <span class='id identifier rubyid_request_headers'>request_headers</span>
886
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:response_headers</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_response_headers'>response_headers</span> <span class='kw'>if</span> <span class='id identifier rubyid_response_headers'>response_headers</span>
887
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:webhook_verification</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_webhook_verification'>webhook_verification</span> <span class='kw'>if</span> <span class='id identifier rubyid_webhook_verification'>webhook_verification</span>
888
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:oauth</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_oauth'>oauth</span> <span class='kw'>if</span> <span class='id identifier rubyid_oauth'>oauth</span>
889
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:saml</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_saml'>saml</span> <span class='kw'>if</span> <span class='id identifier rubyid_saml'>saml</span>
890
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:oidc</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_oidc'>oidc</span> <span class='kw'>if</span> <span class='id identifier rubyid_oidc'>oidc</span>
891
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:websocket_tcp_converter</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_websocket_tcp_converter'>websocket_tcp_converter</span> <span class='kw'>if</span> <span class='id identifier rubyid_websocket_tcp_converter'>websocket_tcp_converter</span>
892
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
893
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">HTTPSEdgeRoute</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html#initialize-instance_method" title="NgrokAPI::Models::HTTPSEdgeRoute#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
894
+ <span class='kw'>end</span></pre>
895
+ </td>
896
+ </tr>
897
+ </table>
898
+ </div>
899
+
900
+ <div class="method_details ">
901
+ <h3 class="signature " id="create!-instance_method">
902
+
903
+ #<strong>create!</strong>(edge_id: &quot;&quot;, match_type:, match:, description: &quot;&quot;, metadata: &quot;&quot;, backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>
904
+
905
+
906
+
907
+
908
+
909
+ </h3><div class="docstring">
910
+ <div class="discussion">
911
+
912
+ <p>Create an HTTPS Edge Route Throws an exception if API error.</p>
913
+
914
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes-create">ngrok.com/docs/api#api-edges-https-routes-create</a></p>
915
+
916
+
917
+ </div>
918
+ </div>
919
+ <div class="tags">
920
+ <p class="tag_title">Parameters:</p>
921
+ <ul class="param">
922
+
923
+ <li>
924
+
925
+ <span class='name'>edge_id</span>
926
+
927
+
928
+ <span class='type'>(<tt>string</tt>)</span>
929
+
930
+
931
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
932
+
933
+
934
+ &mdash;
935
+ <div class='inline'>
936
+ <p>unique identifier of this edge</p>
937
+ </div>
938
+
939
+ </li>
940
+
941
+ <li>
942
+
943
+ <span class='name'>match_type</span>
944
+
945
+
946
+ <span class='type'>(<tt>string</tt>)</span>
947
+
948
+
949
+
950
+ &mdash;
951
+ <div class='inline'>
952
+ <p>Type of match to use for this route. Valid values are “exact_path” and “path_prefix”.</p>
953
+ </div>
954
+
955
+ </li>
956
+
957
+ <li>
958
+
959
+ <span class='name'>match</span>
960
+
961
+
962
+ <span class='type'>(<tt>string</tt>)</span>
963
+
964
+
965
+
966
+ &mdash;
967
+ <div class='inline'>
968
+ <p>Route selector: “/blog” or “example.com” or “example.com/blog”</p>
969
+ </div>
970
+
971
+ </li>
972
+
973
+ <li>
974
+
975
+ <span class='name'>description</span>
976
+
977
+
978
+ <span class='type'>(<tt>string</tt>)</span>
979
+
980
+
981
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
982
+
983
+
984
+ &mdash;
985
+ <div class='inline'>
986
+ <p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
987
+ </div>
988
+
989
+ </li>
990
+
991
+ <li>
992
+
993
+ <span class='name'>metadata</span>
994
+
995
+
996
+ <span class='type'>(<tt>string</tt>)</span>
997
+
998
+
999
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1000
+
1001
+
1002
+ &mdash;
1003
+ <div class='inline'>
1004
+ <p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
1005
+ </div>
1006
+
1007
+ </li>
1008
+
1009
+ <li>
1010
+
1011
+ <span class='name'>backend</span>
1012
+
1013
+
1014
+ <span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
1015
+
1016
+
1017
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1018
+
1019
+
1020
+ &mdash;
1021
+ <div class='inline'>
1022
+ <p>backend module configuration or <code>null</code></p>
1023
+ </div>
1024
+
1025
+ </li>
1026
+
1027
+ <li>
1028
+
1029
+ <span class='name'>ip_restriction</span>
1030
+
1031
+
1032
+ <span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
1033
+
1034
+
1035
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1036
+
1037
+
1038
+ &mdash;
1039
+ <div class='inline'>
1040
+ <p>ip restriction module configuration or <code>null</code></p>
1041
+ </div>
1042
+
1043
+ </li>
1044
+
1045
+ <li>
1046
+
1047
+ <span class='name'>circuit_breaker</span>
1048
+
1049
+
1050
+ <span class='type'>(<tt>EndpointCircuitBreaker</tt>)</span>
1051
+
1052
+
1053
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1054
+
1055
+
1056
+ &mdash;
1057
+ <div class='inline'>
1058
+ <p>circuit breaker module configuration or <code>null</code></p>
1059
+ </div>
1060
+
1061
+ </li>
1062
+
1063
+ <li>
1064
+
1065
+ <span class='name'>compression</span>
1066
+
1067
+
1068
+ <span class='type'>(<tt>EndpointCompression</tt>)</span>
1069
+
1070
+
1071
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1072
+
1073
+
1074
+ &mdash;
1075
+ <div class='inline'>
1076
+ <p>compression module configuration or <code>null</code></p>
1077
+ </div>
1078
+
1079
+ </li>
1080
+
1081
+ <li>
1082
+
1083
+ <span class='name'>request_headers</span>
1084
+
1085
+
1086
+ <span class='type'>(<tt>EndpointRequestHeaders</tt>)</span>
1087
+
1088
+
1089
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1090
+
1091
+
1092
+ &mdash;
1093
+ <div class='inline'>
1094
+ <p>request headers module configuration or <code>null</code></p>
1095
+ </div>
1096
+
1097
+ </li>
1098
+
1099
+ <li>
1100
+
1101
+ <span class='name'>response_headers</span>
1102
+
1103
+
1104
+ <span class='type'>(<tt>EndpointResponseHeaders</tt>)</span>
1105
+
1106
+
1107
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1108
+
1109
+
1110
+ &mdash;
1111
+ <div class='inline'>
1112
+ <p>response headers module configuration or <code>null</code></p>
1113
+ </div>
1114
+
1115
+ </li>
1116
+
1117
+ <li>
1118
+
1119
+ <span class='name'>webhook_verification</span>
1120
+
1121
+
1122
+ <span class='type'>(<tt>EndpointWebhookValidation</tt>)</span>
1123
+
1124
+
1125
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1126
+
1127
+
1128
+ &mdash;
1129
+ <div class='inline'>
1130
+ <p>webhook verification module configuration or <code>null</code></p>
1131
+ </div>
1132
+
1133
+ </li>
1134
+
1135
+ <li>
1136
+
1137
+ <span class='name'>oauth</span>
1138
+
1139
+
1140
+ <span class='type'>(<tt>EndpointOAuth</tt>)</span>
1141
+
1142
+
1143
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1144
+
1145
+
1146
+ &mdash;
1147
+ <div class='inline'>
1148
+ <p>oauth module configuration or <code>null</code></p>
1149
+ </div>
1150
+
1151
+ </li>
1152
+
1153
+ <li>
1154
+
1155
+ <span class='name'>saml</span>
1156
+
1157
+
1158
+ <span class='type'>(<tt>EndpointSAMLMutate</tt>)</span>
1159
+
1160
+
1161
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1162
+
1163
+
1164
+ &mdash;
1165
+ <div class='inline'>
1166
+ <p>saml module configuration or <code>null</code></p>
1167
+ </div>
1168
+
1169
+ </li>
1170
+
1171
+ <li>
1172
+
1173
+ <span class='name'>oidc</span>
1174
+
1175
+
1176
+ <span class='type'>(<tt>EndpointOIDC</tt>)</span>
1177
+
1178
+
1179
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1180
+
1181
+
1182
+ &mdash;
1183
+ <div class='inline'>
1184
+ <p>oidc module configuration or <code>null</code></p>
1185
+ </div>
1186
+
1187
+ </li>
1188
+
1189
+ <li>
1190
+
1191
+ <span class='name'>websocket_tcp_converter</span>
1192
+
1193
+
1194
+ <span class='type'>(<tt>EndpointWebsocketTCPConverter</tt>)</span>
1195
+
1196
+
1197
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1198
+
1199
+
1200
+ &mdash;
1201
+ <div class='inline'>
1202
+ <p>websocket to tcp adapter configuration or <code>null</code></p>
1203
+ </div>
1204
+
1205
+ </li>
1206
+
1207
+ </ul>
1208
+
1209
+ <p class="tag_title">Returns:</p>
1210
+ <ul class="return">
1211
+
1212
+ <li>
1213
+
1214
+
1215
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>)</span>
1216
+
1217
+
1218
+
1219
+ &mdash;
1220
+ <div class='inline'>
1221
+ <p>result from the API request</p>
1222
+ </div>
1223
+
1224
+ </li>
1225
+
1226
+ </ul>
1227
+
1228
+ </div><table class="source_code">
1229
+ <tr>
1230
+ <td>
1231
+ <pre class="lines">
1232
+
1233
+
1234
+ 87
1235
+ 88
1236
+ 89
1237
+ 90
1238
+ 91
1239
+ 92
1240
+ 93
1241
+ 94
1242
+ 95
1243
+ 96
1244
+ 97
1245
+ 98
1246
+ 99
1247
+ 100
1248
+ 101
1249
+ 102
1250
+ 103
1251
+ 104
1252
+ 105
1253
+ 106
1254
+ 107
1255
+ 108
1256
+ 109
1257
+ 110</pre>
1258
+ </td>
1259
+ <td>
1260
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 87</span>
1261
+
1262
+ <span class='kw'>def</span> <span class='id identifier rubyid_create!'>create!</span><span class='lparen'>(</span><span class='label'>edge_id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>match_type:</span><span class='comma'>,</span> <span class='label'>match:</span><span class='comma'>,</span> <span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>backend:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>ip_restriction:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>circuit_breaker:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>compression:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>request_headers:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>response_headers:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>webhook_verification:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>oauth:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>saml:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>oidc:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>websocket_tcp_converter:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1263
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes</span><span class='tstring_end'>&#39;</span></span>
1264
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1265
+ <span class='label'>edge_id:</span> <span class='id identifier rubyid_edge_id'>edge_id</span><span class='comma'>,</span>
1266
+ <span class='rbrace'>}</span>
1267
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1268
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:match_type</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match_type'>match_type</span> <span class='kw'>if</span> <span class='id identifier rubyid_match_type'>match_type</span>
1269
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:match</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match'>match</span> <span class='kw'>if</span> <span class='id identifier rubyid_match'>match</span>
1270
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
1271
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
1272
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backend</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backend'>backend</span> <span class='kw'>if</span> <span class='id identifier rubyid_backend'>backend</span>
1273
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:ip_restriction</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span> <span class='kw'>if</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span>
1274
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:circuit_breaker</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_circuit_breaker'>circuit_breaker</span> <span class='kw'>if</span> <span class='id identifier rubyid_circuit_breaker'>circuit_breaker</span>
1275
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:compression</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_compression'>compression</span> <span class='kw'>if</span> <span class='id identifier rubyid_compression'>compression</span>
1276
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:request_headers</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_request_headers'>request_headers</span> <span class='kw'>if</span> <span class='id identifier rubyid_request_headers'>request_headers</span>
1277
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:response_headers</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_response_headers'>response_headers</span> <span class='kw'>if</span> <span class='id identifier rubyid_response_headers'>response_headers</span>
1278
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:webhook_verification</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_webhook_verification'>webhook_verification</span> <span class='kw'>if</span> <span class='id identifier rubyid_webhook_verification'>webhook_verification</span>
1279
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:oauth</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_oauth'>oauth</span> <span class='kw'>if</span> <span class='id identifier rubyid_oauth'>oauth</span>
1280
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:saml</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_saml'>saml</span> <span class='kw'>if</span> <span class='id identifier rubyid_saml'>saml</span>
1281
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:oidc</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_oidc'>oidc</span> <span class='kw'>if</span> <span class='id identifier rubyid_oidc'>oidc</span>
1282
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:websocket_tcp_converter</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_websocket_tcp_converter'>websocket_tcp_converter</span> <span class='kw'>if</span> <span class='id identifier rubyid_websocket_tcp_converter'>websocket_tcp_converter</span>
1283
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
1284
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">HTTPSEdgeRoute</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html#initialize-instance_method" title="NgrokAPI::Models::HTTPSEdgeRoute#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1285
+ <span class='kw'>end</span></pre>
1286
+ </td>
1287
+ </tr>
1288
+ </table>
1289
+ </div>
1290
+
1291
+ <div class="method_details ">
1292
+ <h3 class="signature " id="delete-instance_method">
1293
+
1294
+ #<strong>delete</strong>(edge_id: &quot;&quot;, id: &quot;&quot;) &#x21d2; <tt>NgrokAPI::Models::Empty</tt>
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+ </h3><div class="docstring">
1301
+ <div class="discussion">
1302
+
1303
+ <p>Delete an HTTPS Edge Route by ID</p>
1304
+
1305
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes-delete">ngrok.com/docs/api#api-edges-https-routes-delete</a></p>
1306
+
1307
+
1308
+ </div>
1309
+ </div>
1310
+ <div class="tags">
1311
+ <p class="tag_title">Parameters:</p>
1312
+ <ul class="param">
1313
+
1314
+ <li>
1315
+
1316
+ <span class='name'>edge_id</span>
1317
+
1318
+
1319
+ <span class='type'>(<tt>string</tt>)</span>
1320
+
1321
+
1322
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1323
+
1324
+
1325
+ &mdash;
1326
+ <div class='inline'>
1327
+ <p>unique identifier of this edge</p>
1328
+ </div>
1329
+
1330
+ </li>
1331
+
1332
+ <li>
1333
+
1334
+ <span class='name'>id</span>
1335
+
1336
+
1337
+ <span class='type'>(<tt>string</tt>)</span>
1338
+
1339
+
1340
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1341
+
1342
+
1343
+ &mdash;
1344
+ <div class='inline'>
1345
+ <p>unique identifier of this edge route</p>
1346
+ </div>
1347
+
1348
+ </li>
1349
+
1350
+ </ul>
1351
+
1352
+ <p class="tag_title">Returns:</p>
1353
+ <ul class="return">
1354
+
1355
+ <li>
1356
+
1357
+
1358
+ <span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
1359
+
1360
+
1361
+
1362
+ &mdash;
1363
+ <div class='inline'>
1364
+ <p>result from the API request</p>
1365
+ </div>
1366
+
1367
+ </li>
1368
+
1369
+ </ul>
1370
+
1371
+ </div><table class="source_code">
1372
+ <tr>
1373
+ <td>
1374
+ <pre class="lines">
1375
+
1376
+
1377
+ 264
1378
+ 265
1379
+ 266
1380
+ 267
1381
+ 268
1382
+ 269
1383
+ 270
1384
+ 271</pre>
1385
+ </td>
1386
+ <td>
1387
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 264</span>
1388
+
1389
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='label'>edge_id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1390
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes/%{id}</span><span class='tstring_end'>&#39;</span></span>
1391
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1392
+ <span class='label'>edge_id:</span> <span class='id identifier rubyid_edge_id'>edge_id</span><span class='comma'>,</span>
1393
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
1394
+ <span class='rbrace'>}</span>
1395
+ <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='rparen'>)</span>
1396
+ <span class='kw'>end</span></pre>
1397
+ </td>
1398
+ </tr>
1399
+ </table>
1400
+ </div>
1401
+
1402
+ <div class="method_details ">
1403
+ <h3 class="signature " id="delete!-instance_method">
1404
+
1405
+ #<strong>delete!</strong>(edge_id: &quot;&quot;, id: &quot;&quot;) &#x21d2; <tt>NgrokAPI::Models::Empty</tt>
1406
+
1407
+
1408
+
1409
+
1410
+
1411
+ </h3><div class="docstring">
1412
+ <div class="discussion">
1413
+
1414
+ <p>Delete an HTTPS Edge Route by ID Throws an exception if API error.</p>
1415
+
1416
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes-delete">ngrok.com/docs/api#api-edges-https-routes-delete</a></p>
1417
+
1418
+
1419
+ </div>
1420
+ </div>
1421
+ <div class="tags">
1422
+ <p class="tag_title">Parameters:</p>
1423
+ <ul class="param">
1424
+
1425
+ <li>
1426
+
1427
+ <span class='name'>edge_id</span>
1428
+
1429
+
1430
+ <span class='type'>(<tt>string</tt>)</span>
1431
+
1432
+
1433
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1434
+
1435
+
1436
+ &mdash;
1437
+ <div class='inline'>
1438
+ <p>unique identifier of this edge</p>
1439
+ </div>
1440
+
1441
+ </li>
1442
+
1443
+ <li>
1444
+
1445
+ <span class='name'>id</span>
1446
+
1447
+
1448
+ <span class='type'>(<tt>string</tt>)</span>
1449
+
1450
+
1451
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1452
+
1453
+
1454
+ &mdash;
1455
+ <div class='inline'>
1456
+ <p>unique identifier of this edge route</p>
1457
+ </div>
1458
+
1459
+ </li>
1460
+
1461
+ </ul>
1462
+
1463
+ <p class="tag_title">Returns:</p>
1464
+ <ul class="return">
1465
+
1466
+ <li>
1467
+
1468
+
1469
+ <span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
1470
+
1471
+
1472
+
1473
+ &mdash;
1474
+ <div class='inline'>
1475
+ <p>result from the API request</p>
1476
+ </div>
1477
+
1478
+ </li>
1479
+
1480
+ </ul>
1481
+
1482
+ </div><table class="source_code">
1483
+ <tr>
1484
+ <td>
1485
+ <pre class="lines">
1486
+
1487
+
1488
+ 282
1489
+ 283
1490
+ 284
1491
+ 285
1492
+ 286
1493
+ 287
1494
+ 288
1495
+ 289</pre>
1496
+ </td>
1497
+ <td>
1498
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 282</span>
1499
+
1500
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span><span class='label'>edge_id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1501
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes/%{id}</span><span class='tstring_end'>&#39;</span></span>
1502
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1503
+ <span class='label'>edge_id:</span> <span class='id identifier rubyid_edge_id'>edge_id</span><span class='comma'>,</span>
1504
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
1505
+ <span class='rbrace'>}</span>
1506
+ <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
1507
+ <span class='kw'>end</span></pre>
1508
+ </td>
1509
+ </tr>
1510
+ </table>
1511
+ </div>
1512
+
1513
+ <div class="method_details ">
1514
+ <h3 class="signature " id="get-instance_method">
1515
+
1516
+ #<strong>get</strong>(edge_id: &quot;&quot;, id: &quot;&quot;) &#x21d2; <tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>
1517
+
1518
+
1519
+
1520
+
1521
+
1522
+ </h3><div class="docstring">
1523
+ <div class="discussion">
1524
+
1525
+ <p>Get an HTTPS Edge Route by ID</p>
1526
+
1527
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes-get">ngrok.com/docs/api#api-edges-https-routes-get</a></p>
1528
+
1529
+
1530
+ </div>
1531
+ </div>
1532
+ <div class="tags">
1533
+ <p class="tag_title">Parameters:</p>
1534
+ <ul class="param">
1535
+
1536
+ <li>
1537
+
1538
+ <span class='name'>edge_id</span>
1539
+
1540
+
1541
+ <span class='type'>(<tt>string</tt>)</span>
1542
+
1543
+
1544
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1545
+
1546
+
1547
+ &mdash;
1548
+ <div class='inline'>
1549
+ <p>unique identifier of this edge</p>
1550
+ </div>
1551
+
1552
+ </li>
1553
+
1554
+ <li>
1555
+
1556
+ <span class='name'>id</span>
1557
+
1558
+
1559
+ <span class='type'>(<tt>string</tt>)</span>
1560
+
1561
+
1562
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1563
+
1564
+
1565
+ &mdash;
1566
+ <div class='inline'>
1567
+ <p>unique identifier of this edge route</p>
1568
+ </div>
1569
+
1570
+ </li>
1571
+
1572
+ </ul>
1573
+
1574
+ <p class="tag_title">Returns:</p>
1575
+ <ul class="return">
1576
+
1577
+ <li>
1578
+
1579
+
1580
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>)</span>
1581
+
1582
+
1583
+
1584
+ &mdash;
1585
+ <div class='inline'>
1586
+ <p>result from the API request</p>
1587
+ </div>
1588
+
1589
+ </li>
1590
+
1591
+ </ul>
1592
+
1593
+ </div><table class="source_code">
1594
+ <tr>
1595
+ <td>
1596
+ <pre class="lines">
1597
+
1598
+
1599
+ 120
1600
+ 121
1601
+ 122
1602
+ 123
1603
+ 124
1604
+ 125
1605
+ 126
1606
+ 127
1607
+ 128
1608
+ 129</pre>
1609
+ </td>
1610
+ <td>
1611
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 120</span>
1612
+
1613
+ <span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='label'>edge_id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1614
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes/%{id}</span><span class='tstring_end'>&#39;</span></span>
1615
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1616
+ <span class='label'>edge_id:</span> <span class='id identifier rubyid_edge_id'>edge_id</span><span class='comma'>,</span>
1617
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
1618
+ <span class='rbrace'>}</span>
1619
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1620
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
1621
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">HTTPSEdgeRoute</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html#initialize-instance_method" title="NgrokAPI::Models::HTTPSEdgeRoute#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1622
+ <span class='kw'>end</span></pre>
1623
+ </td>
1624
+ </tr>
1625
+ </table>
1626
+ </div>
1627
+
1628
+ <div class="method_details ">
1629
+ <h3 class="signature " id="get!-instance_method">
1630
+
1631
+ #<strong>get!</strong>(edge_id: &quot;&quot;, id: &quot;&quot;) &#x21d2; <tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>
1632
+
1633
+
1634
+
1635
+
1636
+
1637
+ </h3><div class="docstring">
1638
+ <div class="discussion">
1639
+
1640
+ <p>Get an HTTPS Edge Route by ID Throws an exception if API error.</p>
1641
+
1642
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes-get">ngrok.com/docs/api#api-edges-https-routes-get</a></p>
1643
+
1644
+
1645
+ </div>
1646
+ </div>
1647
+ <div class="tags">
1648
+ <p class="tag_title">Parameters:</p>
1649
+ <ul class="param">
1650
+
1651
+ <li>
1652
+
1653
+ <span class='name'>edge_id</span>
1654
+
1655
+
1656
+ <span class='type'>(<tt>string</tt>)</span>
1657
+
1658
+
1659
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1660
+
1661
+
1662
+ &mdash;
1663
+ <div class='inline'>
1664
+ <p>unique identifier of this edge</p>
1665
+ </div>
1666
+
1667
+ </li>
1668
+
1669
+ <li>
1670
+
1671
+ <span class='name'>id</span>
1672
+
1673
+
1674
+ <span class='type'>(<tt>string</tt>)</span>
1675
+
1676
+
1677
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1678
+
1679
+
1680
+ &mdash;
1681
+ <div class='inline'>
1682
+ <p>unique identifier of this edge route</p>
1683
+ </div>
1684
+
1685
+ </li>
1686
+
1687
+ </ul>
1688
+
1689
+ <p class="tag_title">Returns:</p>
1690
+ <ul class="return">
1691
+
1692
+ <li>
1693
+
1694
+
1695
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>)</span>
1696
+
1697
+
1698
+
1699
+ &mdash;
1700
+ <div class='inline'>
1701
+ <p>result from the API request</p>
1702
+ </div>
1703
+
1704
+ </li>
1705
+
1706
+ </ul>
1707
+
1708
+ </div><table class="source_code">
1709
+ <tr>
1710
+ <td>
1711
+ <pre class="lines">
1712
+
1713
+
1714
+ 140
1715
+ 141
1716
+ 142
1717
+ 143
1718
+ 144
1719
+ 145
1720
+ 146
1721
+ 147
1722
+ 148
1723
+ 149</pre>
1724
+ </td>
1725
+ <td>
1726
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 140</span>
1727
+
1728
+ <span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span><span class='label'>edge_id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1729
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes/%{id}</span><span class='tstring_end'>&#39;</span></span>
1730
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1731
+ <span class='label'>edge_id:</span> <span class='id identifier rubyid_edge_id'>edge_id</span><span class='comma'>,</span>
1732
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
1733
+ <span class='rbrace'>}</span>
1734
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1735
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
1736
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">HTTPSEdgeRoute</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html#initialize-instance_method" title="NgrokAPI::Models::HTTPSEdgeRoute#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1737
+ <span class='kw'>end</span></pre>
1738
+ </td>
1739
+ </tr>
1740
+ </table>
1741
+ </div>
1742
+
1743
+ <div class="method_details ">
1744
+ <h3 class="signature " id="update-instance_method">
1745
+
1746
+ #<strong>update</strong>(edge_id: &quot;&quot;, id: &quot;&quot;, match_type: &quot;&quot;, match: &quot;&quot;, description: &quot;&quot;, metadata: &quot;&quot;, backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>
1747
+
1748
+
1749
+
1750
+
1751
+
1752
+ </h3><div class="docstring">
1753
+ <div class="discussion">
1754
+
1755
+ <p>Updates an HTTPS Edge Route by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API.</p>
1756
+
1757
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes-update">ngrok.com/docs/api#api-edges-https-routes-update</a></p>
1758
+
1759
+
1760
+ </div>
1761
+ </div>
1762
+ <div class="tags">
1763
+ <p class="tag_title">Parameters:</p>
1764
+ <ul class="param">
1765
+
1766
+ <li>
1767
+
1768
+ <span class='name'>edge_id</span>
1769
+
1770
+
1771
+ <span class='type'>(<tt>string</tt>)</span>
1772
+
1773
+
1774
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1775
+
1776
+
1777
+ &mdash;
1778
+ <div class='inline'>
1779
+ <p>unique identifier of this edge</p>
1780
+ </div>
1781
+
1782
+ </li>
1783
+
1784
+ <li>
1785
+
1786
+ <span class='name'>id</span>
1787
+
1788
+
1789
+ <span class='type'>(<tt>string</tt>)</span>
1790
+
1791
+
1792
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1793
+
1794
+
1795
+ &mdash;
1796
+ <div class='inline'>
1797
+ <p>unique identifier of this edge route</p>
1798
+ </div>
1799
+
1800
+ </li>
1801
+
1802
+ <li>
1803
+
1804
+ <span class='name'>match_type</span>
1805
+
1806
+
1807
+ <span class='type'>(<tt>string</tt>)</span>
1808
+
1809
+
1810
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1811
+
1812
+
1813
+ &mdash;
1814
+ <div class='inline'>
1815
+ <p>Type of match to use for this route. Valid values are “exact_path” and “path_prefix”.</p>
1816
+ </div>
1817
+
1818
+ </li>
1819
+
1820
+ <li>
1821
+
1822
+ <span class='name'>match</span>
1823
+
1824
+
1825
+ <span class='type'>(<tt>string</tt>)</span>
1826
+
1827
+
1828
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1829
+
1830
+
1831
+ &mdash;
1832
+ <div class='inline'>
1833
+ <p>Route selector: “/blog” or “example.com” or “example.com/blog”</p>
1834
+ </div>
1835
+
1836
+ </li>
1837
+
1838
+ <li>
1839
+
1840
+ <span class='name'>description</span>
1841
+
1842
+
1843
+ <span class='type'>(<tt>string</tt>)</span>
1844
+
1845
+
1846
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1847
+
1848
+
1849
+ &mdash;
1850
+ <div class='inline'>
1851
+ <p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
1852
+ </div>
1853
+
1854
+ </li>
1855
+
1856
+ <li>
1857
+
1858
+ <span class='name'>metadata</span>
1859
+
1860
+
1861
+ <span class='type'>(<tt>string</tt>)</span>
1862
+
1863
+
1864
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1865
+
1866
+
1867
+ &mdash;
1868
+ <div class='inline'>
1869
+ <p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
1870
+ </div>
1871
+
1872
+ </li>
1873
+
1874
+ <li>
1875
+
1876
+ <span class='name'>backend</span>
1877
+
1878
+
1879
+ <span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
1880
+
1881
+
1882
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1883
+
1884
+
1885
+ &mdash;
1886
+ <div class='inline'>
1887
+ <p>backend module configuration or <code>null</code></p>
1888
+ </div>
1889
+
1890
+ </li>
1891
+
1892
+ <li>
1893
+
1894
+ <span class='name'>ip_restriction</span>
1895
+
1896
+
1897
+ <span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
1898
+
1899
+
1900
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1901
+
1902
+
1903
+ &mdash;
1904
+ <div class='inline'>
1905
+ <p>ip restriction module configuration or <code>null</code></p>
1906
+ </div>
1907
+
1908
+ </li>
1909
+
1910
+ <li>
1911
+
1912
+ <span class='name'>circuit_breaker</span>
1913
+
1914
+
1915
+ <span class='type'>(<tt>EndpointCircuitBreaker</tt>)</span>
1916
+
1917
+
1918
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1919
+
1920
+
1921
+ &mdash;
1922
+ <div class='inline'>
1923
+ <p>circuit breaker module configuration or <code>null</code></p>
1924
+ </div>
1925
+
1926
+ </li>
1927
+
1928
+ <li>
1929
+
1930
+ <span class='name'>compression</span>
1931
+
1932
+
1933
+ <span class='type'>(<tt>EndpointCompression</tt>)</span>
1934
+
1935
+
1936
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1937
+
1938
+
1939
+ &mdash;
1940
+ <div class='inline'>
1941
+ <p>compression module configuration or <code>null</code></p>
1942
+ </div>
1943
+
1944
+ </li>
1945
+
1946
+ <li>
1947
+
1948
+ <span class='name'>request_headers</span>
1949
+
1950
+
1951
+ <span class='type'>(<tt>EndpointRequestHeaders</tt>)</span>
1952
+
1953
+
1954
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1955
+
1956
+
1957
+ &mdash;
1958
+ <div class='inline'>
1959
+ <p>request headers module configuration or <code>null</code></p>
1960
+ </div>
1961
+
1962
+ </li>
1963
+
1964
+ <li>
1965
+
1966
+ <span class='name'>response_headers</span>
1967
+
1968
+
1969
+ <span class='type'>(<tt>EndpointResponseHeaders</tt>)</span>
1970
+
1971
+
1972
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1973
+
1974
+
1975
+ &mdash;
1976
+ <div class='inline'>
1977
+ <p>response headers module configuration or <code>null</code></p>
1978
+ </div>
1979
+
1980
+ </li>
1981
+
1982
+ <li>
1983
+
1984
+ <span class='name'>webhook_verification</span>
1985
+
1986
+
1987
+ <span class='type'>(<tt>EndpointWebhookValidation</tt>)</span>
1988
+
1989
+
1990
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1991
+
1992
+
1993
+ &mdash;
1994
+ <div class='inline'>
1995
+ <p>webhook verification module configuration or <code>null</code></p>
1996
+ </div>
1997
+
1998
+ </li>
1999
+
2000
+ <li>
2001
+
2002
+ <span class='name'>oauth</span>
2003
+
2004
+
2005
+ <span class='type'>(<tt>EndpointOAuth</tt>)</span>
2006
+
2007
+
2008
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2009
+
2010
+
2011
+ &mdash;
2012
+ <div class='inline'>
2013
+ <p>oauth module configuration or <code>null</code></p>
2014
+ </div>
2015
+
2016
+ </li>
2017
+
2018
+ <li>
2019
+
2020
+ <span class='name'>saml</span>
2021
+
2022
+
2023
+ <span class='type'>(<tt>EndpointSAMLMutate</tt>)</span>
2024
+
2025
+
2026
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2027
+
2028
+
2029
+ &mdash;
2030
+ <div class='inline'>
2031
+ <p>saml module configuration or <code>null</code></p>
2032
+ </div>
2033
+
2034
+ </li>
2035
+
2036
+ <li>
2037
+
2038
+ <span class='name'>oidc</span>
2039
+
2040
+
2041
+ <span class='type'>(<tt>EndpointOIDC</tt>)</span>
2042
+
2043
+
2044
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2045
+
2046
+
2047
+ &mdash;
2048
+ <div class='inline'>
2049
+ <p>oidc module configuration or <code>null</code></p>
2050
+ </div>
2051
+
2052
+ </li>
2053
+
2054
+ <li>
2055
+
2056
+ <span class='name'>websocket_tcp_converter</span>
2057
+
2058
+
2059
+ <span class='type'>(<tt>EndpointWebsocketTCPConverter</tt>)</span>
2060
+
2061
+
2062
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2063
+
2064
+
2065
+ &mdash;
2066
+ <div class='inline'>
2067
+ <p>websocket to tcp adapter configuration or <code>null</code></p>
2068
+ </div>
2069
+
2070
+ </li>
2071
+
2072
+ </ul>
2073
+
2074
+ <p class="tag_title">Returns:</p>
2075
+ <ul class="return">
2076
+
2077
+ <li>
2078
+
2079
+
2080
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>)</span>
2081
+
2082
+
2083
+
2084
+ &mdash;
2085
+ <div class='inline'>
2086
+ <p>result from the API request</p>
2087
+ </div>
2088
+
2089
+ </li>
2090
+
2091
+ </ul>
2092
+
2093
+ </div><table class="source_code">
2094
+ <tr>
2095
+ <td>
2096
+ <pre class="lines">
2097
+
2098
+
2099
+ 177
2100
+ 178
2101
+ 179
2102
+ 180
2103
+ 181
2104
+ 182
2105
+ 183
2106
+ 184
2107
+ 185
2108
+ 186
2109
+ 187
2110
+ 188
2111
+ 189
2112
+ 190
2113
+ 191
2114
+ 192
2115
+ 193
2116
+ 194
2117
+ 195
2118
+ 196
2119
+ 197
2120
+ 198
2121
+ 199
2122
+ 200
2123
+ 201</pre>
2124
+ </td>
2125
+ <td>
2126
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 177</span>
2127
+
2128
+ <span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='label'>edge_id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>match_type:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>match:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>backend:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>ip_restriction:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>circuit_breaker:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>compression:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>request_headers:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>response_headers:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>webhook_verification:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>oauth:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>saml:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>oidc:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>websocket_tcp_converter:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2129
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes/%{id}</span><span class='tstring_end'>&#39;</span></span>
2130
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
2131
+ <span class='label'>edge_id:</span> <span class='id identifier rubyid_edge_id'>edge_id</span><span class='comma'>,</span>
2132
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
2133
+ <span class='rbrace'>}</span>
2134
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
2135
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:match_type</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match_type'>match_type</span> <span class='kw'>if</span> <span class='id identifier rubyid_match_type'>match_type</span>
2136
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:match</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match'>match</span> <span class='kw'>if</span> <span class='id identifier rubyid_match'>match</span>
2137
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
2138
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
2139
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backend</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backend'>backend</span> <span class='kw'>if</span> <span class='id identifier rubyid_backend'>backend</span>
2140
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:ip_restriction</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span> <span class='kw'>if</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span>
2141
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:circuit_breaker</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_circuit_breaker'>circuit_breaker</span> <span class='kw'>if</span> <span class='id identifier rubyid_circuit_breaker'>circuit_breaker</span>
2142
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:compression</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_compression'>compression</span> <span class='kw'>if</span> <span class='id identifier rubyid_compression'>compression</span>
2143
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:request_headers</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_request_headers'>request_headers</span> <span class='kw'>if</span> <span class='id identifier rubyid_request_headers'>request_headers</span>
2144
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:response_headers</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_response_headers'>response_headers</span> <span class='kw'>if</span> <span class='id identifier rubyid_response_headers'>response_headers</span>
2145
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:webhook_verification</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_webhook_verification'>webhook_verification</span> <span class='kw'>if</span> <span class='id identifier rubyid_webhook_verification'>webhook_verification</span>
2146
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:oauth</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_oauth'>oauth</span> <span class='kw'>if</span> <span class='id identifier rubyid_oauth'>oauth</span>
2147
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:saml</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_saml'>saml</span> <span class='kw'>if</span> <span class='id identifier rubyid_saml'>saml</span>
2148
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:oidc</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_oidc'>oidc</span> <span class='kw'>if</span> <span class='id identifier rubyid_oidc'>oidc</span>
2149
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:websocket_tcp_converter</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_websocket_tcp_converter'>websocket_tcp_converter</span> <span class='kw'>if</span> <span class='id identifier rubyid_websocket_tcp_converter'>websocket_tcp_converter</span>
2150
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
2151
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">HTTPSEdgeRoute</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html#initialize-instance_method" title="NgrokAPI::Models::HTTPSEdgeRoute#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
2152
+ <span class='kw'>end</span></pre>
2153
+ </td>
2154
+ </tr>
2155
+ </table>
2156
+ </div>
2157
+
2158
+ <div class="method_details ">
2159
+ <h3 class="signature " id="update!-instance_method">
2160
+
2161
+ #<strong>update!</strong>(edge_id: &quot;&quot;, id: &quot;&quot;, match_type: &quot;&quot;, match: &quot;&quot;, description: &quot;&quot;, metadata: &quot;&quot;, backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>
2162
+
2163
+
2164
+
2165
+
2166
+
2167
+ </h3><div class="docstring">
2168
+ <div class="discussion">
2169
+
2170
+ <p>Updates an HTTPS Edge Route by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. Throws an exception if API error.</p>
2171
+
2172
+ <p><a href="https://ngrok.com/docs/api#api-edges-https-routes-update">ngrok.com/docs/api#api-edges-https-routes-update</a></p>
2173
+
2174
+
2175
+ </div>
2176
+ </div>
2177
+ <div class="tags">
2178
+ <p class="tag_title">Parameters:</p>
2179
+ <ul class="param">
2180
+
2181
+ <li>
2182
+
2183
+ <span class='name'>edge_id</span>
2184
+
2185
+
2186
+ <span class='type'>(<tt>string</tt>)</span>
2187
+
2188
+
2189
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
2190
+
2191
+
2192
+ &mdash;
2193
+ <div class='inline'>
2194
+ <p>unique identifier of this edge</p>
2195
+ </div>
2196
+
2197
+ </li>
2198
+
2199
+ <li>
2200
+
2201
+ <span class='name'>id</span>
2202
+
2203
+
2204
+ <span class='type'>(<tt>string</tt>)</span>
2205
+
2206
+
2207
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
2208
+
2209
+
2210
+ &mdash;
2211
+ <div class='inline'>
2212
+ <p>unique identifier of this edge route</p>
2213
+ </div>
2214
+
2215
+ </li>
2216
+
2217
+ <li>
2218
+
2219
+ <span class='name'>match_type</span>
2220
+
2221
+
2222
+ <span class='type'>(<tt>string</tt>)</span>
2223
+
2224
+
2225
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
2226
+
2227
+
2228
+ &mdash;
2229
+ <div class='inline'>
2230
+ <p>Type of match to use for this route. Valid values are “exact_path” and “path_prefix”.</p>
2231
+ </div>
2232
+
2233
+ </li>
2234
+
2235
+ <li>
2236
+
2237
+ <span class='name'>match</span>
2238
+
2239
+
2240
+ <span class='type'>(<tt>string</tt>)</span>
2241
+
2242
+
2243
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
2244
+
2245
+
2246
+ &mdash;
2247
+ <div class='inline'>
2248
+ <p>Route selector: “/blog” or “example.com” or “example.com/blog”</p>
2249
+ </div>
2250
+
2251
+ </li>
2252
+
2253
+ <li>
2254
+
2255
+ <span class='name'>description</span>
2256
+
2257
+
2258
+ <span class='type'>(<tt>string</tt>)</span>
2259
+
2260
+
2261
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
2262
+
2263
+
2264
+ &mdash;
2265
+ <div class='inline'>
2266
+ <p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
2267
+ </div>
2268
+
2269
+ </li>
2270
+
2271
+ <li>
2272
+
2273
+ <span class='name'>metadata</span>
2274
+
2275
+
2276
+ <span class='type'>(<tt>string</tt>)</span>
2277
+
2278
+
2279
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
2280
+
2281
+
2282
+ &mdash;
2283
+ <div class='inline'>
2284
+ <p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
2285
+ </div>
2286
+
2287
+ </li>
2288
+
2289
+ <li>
2290
+
2291
+ <span class='name'>backend</span>
2292
+
2293
+
2294
+ <span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
2295
+
2296
+
2297
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2298
+
2299
+
2300
+ &mdash;
2301
+ <div class='inline'>
2302
+ <p>backend module configuration or <code>null</code></p>
2303
+ </div>
2304
+
2305
+ </li>
2306
+
2307
+ <li>
2308
+
2309
+ <span class='name'>ip_restriction</span>
2310
+
2311
+
2312
+ <span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
2313
+
2314
+
2315
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2316
+
2317
+
2318
+ &mdash;
2319
+ <div class='inline'>
2320
+ <p>ip restriction module configuration or <code>null</code></p>
2321
+ </div>
2322
+
2323
+ </li>
2324
+
2325
+ <li>
2326
+
2327
+ <span class='name'>circuit_breaker</span>
2328
+
2329
+
2330
+ <span class='type'>(<tt>EndpointCircuitBreaker</tt>)</span>
2331
+
2332
+
2333
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2334
+
2335
+
2336
+ &mdash;
2337
+ <div class='inline'>
2338
+ <p>circuit breaker module configuration or <code>null</code></p>
2339
+ </div>
2340
+
2341
+ </li>
2342
+
2343
+ <li>
2344
+
2345
+ <span class='name'>compression</span>
2346
+
2347
+
2348
+ <span class='type'>(<tt>EndpointCompression</tt>)</span>
2349
+
2350
+
2351
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2352
+
2353
+
2354
+ &mdash;
2355
+ <div class='inline'>
2356
+ <p>compression module configuration or <code>null</code></p>
2357
+ </div>
2358
+
2359
+ </li>
2360
+
2361
+ <li>
2362
+
2363
+ <span class='name'>request_headers</span>
2364
+
2365
+
2366
+ <span class='type'>(<tt>EndpointRequestHeaders</tt>)</span>
2367
+
2368
+
2369
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2370
+
2371
+
2372
+ &mdash;
2373
+ <div class='inline'>
2374
+ <p>request headers module configuration or <code>null</code></p>
2375
+ </div>
2376
+
2377
+ </li>
2378
+
2379
+ <li>
2380
+
2381
+ <span class='name'>response_headers</span>
2382
+
2383
+
2384
+ <span class='type'>(<tt>EndpointResponseHeaders</tt>)</span>
2385
+
2386
+
2387
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2388
+
2389
+
2390
+ &mdash;
2391
+ <div class='inline'>
2392
+ <p>response headers module configuration or <code>null</code></p>
2393
+ </div>
2394
+
2395
+ </li>
2396
+
2397
+ <li>
2398
+
2399
+ <span class='name'>webhook_verification</span>
2400
+
2401
+
2402
+ <span class='type'>(<tt>EndpointWebhookValidation</tt>)</span>
2403
+
2404
+
2405
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2406
+
2407
+
2408
+ &mdash;
2409
+ <div class='inline'>
2410
+ <p>webhook verification module configuration or <code>null</code></p>
2411
+ </div>
2412
+
2413
+ </li>
2414
+
2415
+ <li>
2416
+
2417
+ <span class='name'>oauth</span>
2418
+
2419
+
2420
+ <span class='type'>(<tt>EndpointOAuth</tt>)</span>
2421
+
2422
+
2423
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2424
+
2425
+
2426
+ &mdash;
2427
+ <div class='inline'>
2428
+ <p>oauth module configuration or <code>null</code></p>
2429
+ </div>
2430
+
2431
+ </li>
2432
+
2433
+ <li>
2434
+
2435
+ <span class='name'>saml</span>
2436
+
2437
+
2438
+ <span class='type'>(<tt>EndpointSAMLMutate</tt>)</span>
2439
+
2440
+
2441
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2442
+
2443
+
2444
+ &mdash;
2445
+ <div class='inline'>
2446
+ <p>saml module configuration or <code>null</code></p>
2447
+ </div>
2448
+
2449
+ </li>
2450
+
2451
+ <li>
2452
+
2453
+ <span class='name'>oidc</span>
2454
+
2455
+
2456
+ <span class='type'>(<tt>EndpointOIDC</tt>)</span>
2457
+
2458
+
2459
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2460
+
2461
+
2462
+ &mdash;
2463
+ <div class='inline'>
2464
+ <p>oidc module configuration or <code>null</code></p>
2465
+ </div>
2466
+
2467
+ </li>
2468
+
2469
+ <li>
2470
+
2471
+ <span class='name'>websocket_tcp_converter</span>
2472
+
2473
+
2474
+ <span class='type'>(<tt>EndpointWebsocketTCPConverter</tt>)</span>
2475
+
2476
+
2477
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2478
+
2479
+
2480
+ &mdash;
2481
+ <div class='inline'>
2482
+ <p>websocket to tcp adapter configuration or <code>null</code></p>
2483
+ </div>
2484
+
2485
+ </li>
2486
+
2487
+ </ul>
2488
+
2489
+ <p class="tag_title">Returns:</p>
2490
+ <ul class="return">
2491
+
2492
+ <li>
2493
+
2494
+
2495
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">NgrokAPI::Models::HTTPSEdgeRoute</a></span></tt>)</span>
2496
+
2497
+
2498
+
2499
+ &mdash;
2500
+ <div class='inline'>
2501
+ <p>result from the API request</p>
2502
+ </div>
2503
+
2504
+ </li>
2505
+
2506
+ </ul>
2507
+
2508
+ </div><table class="source_code">
2509
+ <tr>
2510
+ <td>
2511
+ <pre class="lines">
2512
+
2513
+
2514
+ 230
2515
+ 231
2516
+ 232
2517
+ 233
2518
+ 234
2519
+ 235
2520
+ 236
2521
+ 237
2522
+ 238
2523
+ 239
2524
+ 240
2525
+ 241
2526
+ 242
2527
+ 243
2528
+ 244
2529
+ 245
2530
+ 246
2531
+ 247
2532
+ 248
2533
+ 249
2534
+ 250
2535
+ 251
2536
+ 252
2537
+ 253
2538
+ 254</pre>
2539
+ </td>
2540
+ <td>
2541
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_https_routes_client.rb', line 230</span>
2542
+
2543
+ <span class='kw'>def</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span><span class='label'>edge_id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>match_type:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>match:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>backend:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>ip_restriction:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>circuit_breaker:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>compression:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>request_headers:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>response_headers:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>webhook_verification:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>oauth:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>saml:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>oidc:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>websocket_tcp_converter:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2544
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/edges/https/%{edge_id}/routes/%{id}</span><span class='tstring_end'>&#39;</span></span>
2545
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
2546
+ <span class='label'>edge_id:</span> <span class='id identifier rubyid_edge_id'>edge_id</span><span class='comma'>,</span>
2547
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
2548
+ <span class='rbrace'>}</span>
2549
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
2550
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:match_type</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match_type'>match_type</span> <span class='kw'>if</span> <span class='id identifier rubyid_match_type'>match_type</span>
2551
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:match</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match'>match</span> <span class='kw'>if</span> <span class='id identifier rubyid_match'>match</span>
2552
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
2553
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
2554
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backend</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backend'>backend</span> <span class='kw'>if</span> <span class='id identifier rubyid_backend'>backend</span>
2555
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:ip_restriction</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span> <span class='kw'>if</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span>
2556
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:circuit_breaker</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_circuit_breaker'>circuit_breaker</span> <span class='kw'>if</span> <span class='id identifier rubyid_circuit_breaker'>circuit_breaker</span>
2557
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:compression</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_compression'>compression</span> <span class='kw'>if</span> <span class='id identifier rubyid_compression'>compression</span>
2558
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:request_headers</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_request_headers'>request_headers</span> <span class='kw'>if</span> <span class='id identifier rubyid_request_headers'>request_headers</span>
2559
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:response_headers</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_response_headers'>response_headers</span> <span class='kw'>if</span> <span class='id identifier rubyid_response_headers'>response_headers</span>
2560
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:webhook_verification</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_webhook_verification'>webhook_verification</span> <span class='kw'>if</span> <span class='id identifier rubyid_webhook_verification'>webhook_verification</span>
2561
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:oauth</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_oauth'>oauth</span> <span class='kw'>if</span> <span class='id identifier rubyid_oauth'>oauth</span>
2562
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:saml</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_saml'>saml</span> <span class='kw'>if</span> <span class='id identifier rubyid_saml'>saml</span>
2563
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:oidc</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_oidc'>oidc</span> <span class='kw'>if</span> <span class='id identifier rubyid_oidc'>oidc</span>
2564
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:websocket_tcp_converter</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_websocket_tcp_converter'>websocket_tcp_converter</span> <span class='kw'>if</span> <span class='id identifier rubyid_websocket_tcp_converter'>websocket_tcp_converter</span>
2565
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
2566
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html" title="NgrokAPI::Models::HTTPSEdgeRoute (class)">HTTPSEdgeRoute</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/HTTPSEdgeRoute.html#initialize-instance_method" title="NgrokAPI::Models::HTTPSEdgeRoute#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
2567
+ <span class='kw'>end</span></pre>
2568
+ </td>
2569
+ </tr>
2570
+ </table>
2571
+ </div>
2572
+
2573
+ </div>
2574
+
2575
+ </div>
2576
+
2577
+ <div id="footer">
2578
+ Generated on Mon Apr 11 19:33:03 2022 by
2579
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2580
+ 0.9.27 (ruby-2.7.5).
2581
+ </div>
2582
+
2583
+ </div>
2584
+ </body>
2585
+ </html>