ngrok-api 0.26.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/Gemfile.lock +1 -11
  4. data/doc/NgrokAPI/Client.html +100 -48
  5. data/doc/NgrokAPI/Error.html +2 -2
  6. data/doc/NgrokAPI/Errors/NotFoundError.html +2 -2
  7. data/doc/NgrokAPI/Errors.html +2 -2
  8. data/doc/NgrokAPI/HttpClient.html +2 -2
  9. data/doc/NgrokAPI/Models/APIKey.html +2 -2
  10. data/doc/NgrokAPI/Models/AWSAuth.html +2 -2
  11. data/doc/NgrokAPI/Models/AWSCredentials.html +2 -2
  12. data/doc/NgrokAPI/Models/AWSRole.html +2 -2
  13. data/doc/NgrokAPI/Models/AbuseReport.html +2 -2
  14. data/doc/NgrokAPI/Models/AbuseReportHostname.html +2 -2
  15. data/doc/NgrokAPI/Models/AgentIngress.html +2 -2
  16. data/doc/NgrokAPI/Models/AgentIngressCertJob.html +2 -2
  17. data/doc/NgrokAPI/Models/AgentIngressCertPolicy.html +2 -2
  18. data/doc/NgrokAPI/Models/AgentIngressCertStatus.html +2 -2
  19. data/doc/NgrokAPI/Models/ApplicationSession.html +2 -2
  20. data/doc/NgrokAPI/Models/ApplicationUser.html +2 -2
  21. data/doc/NgrokAPI/Models/BotUser.html +2 -2
  22. data/doc/NgrokAPI/Models/BrowserSession.html +2 -2
  23. data/doc/NgrokAPI/Models/CertificateAuthority.html +2 -2
  24. data/doc/NgrokAPI/Models/Credential.html +2 -2
  25. data/doc/NgrokAPI/Models/Endpoint.html +5 -5
  26. data/doc/NgrokAPI/Models/EndpointBackend.html +2 -2
  27. data/doc/NgrokAPI/Models/EndpointBackendMutate.html +2 -2
  28. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +2 -2
  29. data/doc/NgrokAPI/Models/EndpointCompression.html +2 -2
  30. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +2 -2
  31. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +2 -2
  32. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +2 -2
  33. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +2 -2
  34. data/doc/NgrokAPI/Models/EndpointOAuth.html +2 -2
  35. data/doc/NgrokAPI/Models/EndpointOAuthAmazon.html +2 -2
  36. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +2 -2
  37. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +2 -2
  38. data/doc/NgrokAPI/Models/EndpointOAuthGitLab.html +2 -2
  39. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +2 -2
  40. data/doc/NgrokAPI/Models/EndpointOAuthLinkedIn.html +2 -2
  41. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +2 -2
  42. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +2 -2
  43. data/doc/NgrokAPI/Models/EndpointOAuthTwitch.html +2 -2
  44. data/doc/NgrokAPI/Models/EndpointOIDC.html +2 -2
  45. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +2 -2
  46. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +2 -2
  47. data/doc/NgrokAPI/Models/EndpointSAML.html +2 -2
  48. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +2 -2
  49. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +2 -2
  50. data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +2 -2
  51. data/doc/NgrokAPI/Models/EndpointTrafficPolicy.html +2 -2
  52. data/doc/NgrokAPI/Models/EndpointUserAgentFilter.html +2 -2
  53. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +2 -2
  54. data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +2 -2
  55. data/doc/NgrokAPI/Models/EventDestination.html +2 -2
  56. data/doc/NgrokAPI/Models/EventSource.html +2 -2
  57. data/doc/NgrokAPI/Models/EventSourceList.html +2 -2
  58. data/doc/NgrokAPI/Models/EventSourceReplace.html +2 -2
  59. data/doc/NgrokAPI/Models/EventSubscription.html +2 -2
  60. data/doc/NgrokAPI/Models/EventTarget.html +2 -2
  61. data/doc/NgrokAPI/Models/EventTargetAzureLogsIngestion.html +2 -2
  62. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +2 -2
  63. data/doc/NgrokAPI/Models/EventTargetDatadog.html +2 -2
  64. data/doc/NgrokAPI/Models/EventTargetFirehose.html +2 -2
  65. data/doc/NgrokAPI/Models/EventTargetKinesis.html +2 -2
  66. data/doc/NgrokAPI/Models/FailoverBackend.html +2 -2
  67. data/doc/NgrokAPI/Models/HTTPResponseBackend.html +2 -2
  68. data/doc/NgrokAPI/Models/HTTPSEdge.html +2 -2
  69. data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +2 -2
  70. data/doc/NgrokAPI/Models/IPPolicy.html +2 -2
  71. data/doc/NgrokAPI/Models/IPPolicyRule.html +2 -2
  72. data/doc/NgrokAPI/Models/IPRestriction.html +2 -2
  73. data/doc/NgrokAPI/Models/IdentityProvider.html +2 -2
  74. data/doc/NgrokAPI/Models/Listable.html +2 -2
  75. data/doc/NgrokAPI/Models/Location.html +2 -2
  76. data/doc/NgrokAPI/Models/Ref.html +2 -2
  77. data/doc/NgrokAPI/Models/ReservedAddr.html +2 -2
  78. data/doc/NgrokAPI/Models/ReservedDomain.html +95 -21
  79. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +2 -2
  80. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +2 -2
  81. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +2 -2
  82. data/doc/NgrokAPI/Models/ReservedDomainResolvesToEntry.html +595 -0
  83. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +2 -2
  84. data/doc/NgrokAPI/Models/SSHCredential.html +2 -2
  85. data/doc/NgrokAPI/Models/SSHHostCertificate.html +2 -2
  86. data/doc/NgrokAPI/Models/SSHUserCertificate.html +2 -2
  87. data/doc/NgrokAPI/Models/Secret.html +95 -21
  88. data/doc/NgrokAPI/Models/ServiceUser.html +1051 -0
  89. data/doc/NgrokAPI/Models/StaticBackend.html +2 -2
  90. data/doc/NgrokAPI/Models/StaticBackendTLS.html +2 -2
  91. data/doc/NgrokAPI/Models/TCPEdge.html +2 -2
  92. data/doc/NgrokAPI/Models/TLSCertificate.html +2 -2
  93. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +2 -2
  94. data/doc/NgrokAPI/Models/TLSEdge.html +2 -2
  95. data/doc/NgrokAPI/Models/Tunnel.html +2 -2
  96. data/doc/NgrokAPI/Models/TunnelGroupBackend.html +2 -2
  97. data/doc/NgrokAPI/Models/TunnelSession.html +2 -2
  98. data/doc/NgrokAPI/Models/UserAgent.html +2 -2
  99. data/doc/NgrokAPI/Models/Vault.html +2 -2
  100. data/doc/NgrokAPI/Models/WeightedBackend.html +2 -2
  101. data/doc/NgrokAPI/Models.html +4 -4
  102. data/doc/NgrokAPI/PagedIterator.html +2 -2
  103. data/doc/NgrokAPI/Services/APIKeysClient.html +95 -31
  104. data/doc/NgrokAPI/Services/AbuseReportsClient.html +2 -2
  105. data/doc/NgrokAPI/Services/AgentIngressesClient.html +95 -31
  106. data/doc/NgrokAPI/Services/ApplicationSessionsClient.html +2 -2
  107. data/doc/NgrokAPI/Services/ApplicationUsersClient.html +2 -2
  108. data/doc/NgrokAPI/Services/BotUsersClient.html +2 -2
  109. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +99 -35
  110. data/doc/NgrokAPI/Services/CredentialsClient.html +103 -39
  111. data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +2 -2
  112. data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +2 -2
  113. data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +2 -2
  114. data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +2 -2
  115. data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +2 -2
  116. data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +2 -2
  117. data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +2 -2
  118. data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +2 -2
  119. data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +2 -2
  120. data/doc/NgrokAPI/Services/EdgeRouteTrafficPolicyModuleClient.html +2 -2
  121. data/doc/NgrokAPI/Services/EdgeRouteUserAgentFilterModuleClient.html +2 -2
  122. data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +2 -2
  123. data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +2 -2
  124. data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +2 -2
  125. data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +2 -2
  126. data/doc/NgrokAPI/Services/EdgesTCPClient.html +2 -2
  127. data/doc/NgrokAPI/Services/EdgesTLSClient.html +2 -2
  128. data/doc/NgrokAPI/Services/EndpointsClient.html +163 -79
  129. data/doc/NgrokAPI/Services/EventDestinationsClient.html +95 -31
  130. data/doc/NgrokAPI/Services/EventSourcesClient.html +2 -2
  131. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +95 -31
  132. data/doc/NgrokAPI/Services/FailoverBackendsClient.html +2 -2
  133. data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +2 -2
  134. data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +2 -2
  135. data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +2 -2
  136. data/doc/NgrokAPI/Services/IPPoliciesClient.html +95 -31
  137. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +95 -31
  138. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +95 -31
  139. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +95 -31
  140. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +270 -126
  141. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +99 -35
  142. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +101 -37
  143. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +6 -6
  144. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +6 -6
  145. data/doc/NgrokAPI/Services/SecretsClient.html +181 -73
  146. data/doc/NgrokAPI/Services/ServiceUsersClient.html +1797 -0
  147. data/doc/NgrokAPI/Services/StaticBackendsClient.html +2 -2
  148. data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +2 -2
  149. data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +2 -2
  150. data/doc/NgrokAPI/Services/TCPEdgeTrafficPolicyModuleClient.html +2 -2
  151. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +95 -31
  152. data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +2 -2
  153. data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +2 -2
  154. data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +2 -2
  155. data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +2 -2
  156. data/doc/NgrokAPI/Services/TLSEdgeTrafficPolicyModuleClient.html +2 -2
  157. data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +2 -2
  158. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +143 -79
  159. data/doc/NgrokAPI/Services/TunnelsClient.html +2 -2
  160. data/doc/NgrokAPI/Services/VaultsClient.html +79 -15
  161. data/doc/NgrokAPI/Services/WeightedBackendsClient.html +2 -2
  162. data/doc/NgrokAPI/Services.html +4 -4
  163. data/doc/NgrokAPI.html +3 -3
  164. data/doc/_index.html +23 -2
  165. data/doc/class_list.html +1 -1
  166. data/doc/file.README.html +2 -2
  167. data/doc/index.html +2 -2
  168. data/doc/method_list.html +1092 -812
  169. data/doc/top-level-namespace.html +2 -2
  170. data/docs/NgrokAPI/Client.html +100 -48
  171. data/docs/NgrokAPI/Error.html +2 -2
  172. data/docs/NgrokAPI/Errors/NotFoundError.html +2 -2
  173. data/docs/NgrokAPI/Errors.html +2 -2
  174. data/docs/NgrokAPI/HttpClient.html +2 -2
  175. data/docs/NgrokAPI/Models/APIKey.html +2 -2
  176. data/docs/NgrokAPI/Models/AWSAuth.html +2 -2
  177. data/docs/NgrokAPI/Models/AWSCredentials.html +2 -2
  178. data/docs/NgrokAPI/Models/AWSRole.html +2 -2
  179. data/docs/NgrokAPI/Models/AbuseReport.html +2 -2
  180. data/docs/NgrokAPI/Models/AbuseReportHostname.html +2 -2
  181. data/docs/NgrokAPI/Models/AgentIngress.html +2 -2
  182. data/docs/NgrokAPI/Models/AgentIngressCertJob.html +2 -2
  183. data/docs/NgrokAPI/Models/AgentIngressCertPolicy.html +2 -2
  184. data/docs/NgrokAPI/Models/AgentIngressCertStatus.html +2 -2
  185. data/docs/NgrokAPI/Models/ApplicationSession.html +2 -2
  186. data/docs/NgrokAPI/Models/ApplicationUser.html +2 -2
  187. data/docs/NgrokAPI/Models/BotUser.html +2 -2
  188. data/docs/NgrokAPI/Models/BrowserSession.html +2 -2
  189. data/docs/NgrokAPI/Models/CertificateAuthority.html +2 -2
  190. data/docs/NgrokAPI/Models/Credential.html +2 -2
  191. data/docs/NgrokAPI/Models/Endpoint.html +5 -5
  192. data/docs/NgrokAPI/Models/EndpointBackend.html +2 -2
  193. data/docs/NgrokAPI/Models/EndpointBackendMutate.html +2 -2
  194. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +2 -2
  195. data/docs/NgrokAPI/Models/EndpointCompression.html +2 -2
  196. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +2 -2
  197. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +2 -2
  198. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +2 -2
  199. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +2 -2
  200. data/docs/NgrokAPI/Models/EndpointOAuth.html +2 -2
  201. data/docs/NgrokAPI/Models/EndpointOAuthAmazon.html +2 -2
  202. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +2 -2
  203. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +2 -2
  204. data/docs/NgrokAPI/Models/EndpointOAuthGitLab.html +2 -2
  205. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +2 -2
  206. data/docs/NgrokAPI/Models/EndpointOAuthLinkedIn.html +2 -2
  207. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +2 -2
  208. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +2 -2
  209. data/docs/NgrokAPI/Models/EndpointOAuthTwitch.html +2 -2
  210. data/docs/NgrokAPI/Models/EndpointOIDC.html +2 -2
  211. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +2 -2
  212. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +2 -2
  213. data/docs/NgrokAPI/Models/EndpointSAML.html +2 -2
  214. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +2 -2
  215. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +2 -2
  216. data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +2 -2
  217. data/docs/NgrokAPI/Models/EndpointTrafficPolicy.html +2 -2
  218. data/docs/NgrokAPI/Models/EndpointUserAgentFilter.html +2 -2
  219. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +2 -2
  220. data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +2 -2
  221. data/docs/NgrokAPI/Models/EventDestination.html +2 -2
  222. data/docs/NgrokAPI/Models/EventSource.html +2 -2
  223. data/docs/NgrokAPI/Models/EventSourceList.html +2 -2
  224. data/docs/NgrokAPI/Models/EventSourceReplace.html +2 -2
  225. data/docs/NgrokAPI/Models/EventSubscription.html +2 -2
  226. data/docs/NgrokAPI/Models/EventTarget.html +2 -2
  227. data/docs/NgrokAPI/Models/EventTargetAzureLogsIngestion.html +2 -2
  228. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +2 -2
  229. data/docs/NgrokAPI/Models/EventTargetDatadog.html +2 -2
  230. data/docs/NgrokAPI/Models/EventTargetFirehose.html +2 -2
  231. data/docs/NgrokAPI/Models/EventTargetKinesis.html +2 -2
  232. data/docs/NgrokAPI/Models/FailoverBackend.html +2 -2
  233. data/docs/NgrokAPI/Models/HTTPResponseBackend.html +2 -2
  234. data/docs/NgrokAPI/Models/HTTPSEdge.html +2 -2
  235. data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +2 -2
  236. data/docs/NgrokAPI/Models/IPPolicy.html +2 -2
  237. data/docs/NgrokAPI/Models/IPPolicyRule.html +2 -2
  238. data/docs/NgrokAPI/Models/IPRestriction.html +2 -2
  239. data/docs/NgrokAPI/Models/IdentityProvider.html +2 -2
  240. data/docs/NgrokAPI/Models/Listable.html +2 -2
  241. data/docs/NgrokAPI/Models/Location.html +2 -2
  242. data/docs/NgrokAPI/Models/Ref.html +2 -2
  243. data/docs/NgrokAPI/Models/ReservedAddr.html +2 -2
  244. data/docs/NgrokAPI/Models/ReservedDomain.html +95 -21
  245. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +2 -2
  246. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +2 -2
  247. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +2 -2
  248. data/docs/NgrokAPI/Models/ReservedDomainResolvesToEntry.html +595 -0
  249. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +2 -2
  250. data/docs/NgrokAPI/Models/SSHCredential.html +2 -2
  251. data/docs/NgrokAPI/Models/SSHHostCertificate.html +2 -2
  252. data/docs/NgrokAPI/Models/SSHUserCertificate.html +2 -2
  253. data/docs/NgrokAPI/Models/Secret.html +95 -21
  254. data/docs/NgrokAPI/Models/ServiceUser.html +1051 -0
  255. data/docs/NgrokAPI/Models/StaticBackend.html +2 -2
  256. data/docs/NgrokAPI/Models/StaticBackendTLS.html +2 -2
  257. data/docs/NgrokAPI/Models/TCPEdge.html +2 -2
  258. data/docs/NgrokAPI/Models/TLSCertificate.html +2 -2
  259. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +2 -2
  260. data/docs/NgrokAPI/Models/TLSEdge.html +2 -2
  261. data/docs/NgrokAPI/Models/Tunnel.html +2 -2
  262. data/docs/NgrokAPI/Models/TunnelGroupBackend.html +2 -2
  263. data/docs/NgrokAPI/Models/TunnelSession.html +2 -2
  264. data/docs/NgrokAPI/Models/UserAgent.html +2 -2
  265. data/docs/NgrokAPI/Models/Vault.html +2 -2
  266. data/docs/NgrokAPI/Models/WeightedBackend.html +2 -2
  267. data/docs/NgrokAPI/Models.html +4 -4
  268. data/docs/NgrokAPI/PagedIterator.html +2 -2
  269. data/docs/NgrokAPI/Services/APIKeysClient.html +95 -31
  270. data/docs/NgrokAPI/Services/AbuseReportsClient.html +2 -2
  271. data/docs/NgrokAPI/Services/AgentIngressesClient.html +95 -31
  272. data/docs/NgrokAPI/Services/ApplicationSessionsClient.html +2 -2
  273. data/docs/NgrokAPI/Services/ApplicationUsersClient.html +2 -2
  274. data/docs/NgrokAPI/Services/BotUsersClient.html +2 -2
  275. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +99 -35
  276. data/docs/NgrokAPI/Services/CredentialsClient.html +103 -39
  277. data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +2 -2
  278. data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +2 -2
  279. data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +2 -2
  280. data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +2 -2
  281. data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +2 -2
  282. data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +2 -2
  283. data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +2 -2
  284. data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +2 -2
  285. data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +2 -2
  286. data/docs/NgrokAPI/Services/EdgeRouteTrafficPolicyModuleClient.html +2 -2
  287. data/docs/NgrokAPI/Services/EdgeRouteUserAgentFilterModuleClient.html +2 -2
  288. data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +2 -2
  289. data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +2 -2
  290. data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +2 -2
  291. data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +2 -2
  292. data/docs/NgrokAPI/Services/EdgesTCPClient.html +2 -2
  293. data/docs/NgrokAPI/Services/EdgesTLSClient.html +2 -2
  294. data/docs/NgrokAPI/Services/EndpointsClient.html +163 -79
  295. data/docs/NgrokAPI/Services/EventDestinationsClient.html +95 -31
  296. data/docs/NgrokAPI/Services/EventSourcesClient.html +2 -2
  297. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +95 -31
  298. data/docs/NgrokAPI/Services/FailoverBackendsClient.html +2 -2
  299. data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +2 -2
  300. data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +2 -2
  301. data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +2 -2
  302. data/docs/NgrokAPI/Services/IPPoliciesClient.html +95 -31
  303. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +95 -31
  304. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +95 -31
  305. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +95 -31
  306. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +270 -126
  307. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +99 -35
  308. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +101 -37
  309. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +6 -6
  310. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +6 -6
  311. data/docs/NgrokAPI/Services/SecretsClient.html +181 -73
  312. data/docs/NgrokAPI/Services/ServiceUsersClient.html +1797 -0
  313. data/docs/NgrokAPI/Services/StaticBackendsClient.html +2 -2
  314. data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +2 -2
  315. data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +2 -2
  316. data/docs/NgrokAPI/Services/TCPEdgeTrafficPolicyModuleClient.html +2 -2
  317. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +95 -31
  318. data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +2 -2
  319. data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +2 -2
  320. data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +2 -2
  321. data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +2 -2
  322. data/docs/NgrokAPI/Services/TLSEdgeTrafficPolicyModuleClient.html +2 -2
  323. data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +2 -2
  324. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +143 -79
  325. data/docs/NgrokAPI/Services/TunnelsClient.html +2 -2
  326. data/docs/NgrokAPI/Services/VaultsClient.html +79 -15
  327. data/docs/NgrokAPI/Services/WeightedBackendsClient.html +2 -2
  328. data/docs/NgrokAPI/Services.html +4 -4
  329. data/docs/NgrokAPI.html +3 -3
  330. data/docs/_index.html +23 -2
  331. data/docs/class_list.html +1 -1
  332. data/docs/file.README.html +2 -2
  333. data/docs/index.html +2 -2
  334. data/docs/method_list.html +1092 -812
  335. data/docs/top-level-namespace.html +2 -2
  336. data/lib/ngrokapi/client.rb +4 -0
  337. data/lib/ngrokapi/models/endpoint.rb +1 -1
  338. data/lib/ngrokapi/models/reserved_domain.rb +3 -1
  339. data/lib/ngrokapi/models/reserved_domain_resolves_to_entry.rb +31 -0
  340. data/lib/ngrokapi/models/secret.rb +3 -1
  341. data/lib/ngrokapi/models/service_user.rb +70 -0
  342. data/lib/ngrokapi/services/agent_ingresses_client.rb +10 -4
  343. data/lib/ngrokapi/services/api_keys_client.rb +10 -4
  344. data/lib/ngrokapi/services/certificate_authorities_client.rb +12 -6
  345. data/lib/ngrokapi/services/credentials_client.rb +14 -8
  346. data/lib/ngrokapi/services/endpoints_client.rb +18 -12
  347. data/lib/ngrokapi/services/event_destinations_client.rb +10 -4
  348. data/lib/ngrokapi/services/event_subscriptions_client.rb +10 -4
  349. data/lib/ngrokapi/services/ip_policies_client.rb +10 -4
  350. data/lib/ngrokapi/services/ip_policy_rules_client.rb +10 -4
  351. data/lib/ngrokapi/services/ip_restrictions_client.rb +10 -4
  352. data/lib/ngrokapi/services/reserved_addrs_client.rb +10 -4
  353. data/lib/ngrokapi/services/reserved_domains_client.rb +22 -8
  354. data/lib/ngrokapi/services/secrets_client.rb +16 -6
  355. data/lib/ngrokapi/services/service_users_client.rb +237 -0
  356. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +12 -6
  357. data/lib/ngrokapi/services/ssh_credentials_client.rb +12 -6
  358. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +2 -2
  359. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +2 -2
  360. data/lib/ngrokapi/services/tls_certificates_client.rb +10 -4
  361. data/lib/ngrokapi/services/tunnel_sessions_client.rb +10 -4
  362. data/lib/ngrokapi/services/vaults_client.rb +10 -4
  363. data/lib/ngrokapi/version.rb +1 -1
  364. data/spec/ngrokapi/client_spec.rb +6 -0
  365. data/spec/ngrokapi/models/reserved_domain_resolves_to_entry_spec.rb +23 -0
  366. data/spec/ngrokapi/models/service_user_spec.rb +44 -0
  367. data/spec/ngrokapi/services/credentials_client_spec.rb +4 -2
  368. data/spec/ngrokapi/services/reserved_domains_client_spec.rb +12 -4
  369. data/spec/ngrokapi/services/secrets_client_spec.rb +6 -2
  370. data/spec/ngrokapi/services/service_users_client_spec.rb +178 -0
  371. data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +4 -2
  372. data/spec/spec_helper.rb +26 -0
  373. metadata +14 -2
@@ -137,8 +137,9 @@ module NgrokAPI
137
137
  ##
138
138
  # List all IP policies on this account
139
139
  #
140
- # @param [string] before_id
141
- # @param [string] limit
140
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
141
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
142
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
142
143
  # @param [string] url optional and mutually exclusive from before_id and limit
143
144
  # @return [NgrokAPI::Models::Listable] result from the API request
144
145
  #
@@ -146,11 +147,13 @@ module NgrokAPI
146
147
  def list(
147
148
  before_id: nil,
148
149
  limit: nil,
150
+ filter: nil,
149
151
  url: nil
150
152
  )
151
153
  result = @client.list(
152
154
  before_id: before_id,
153
155
  limit: limit,
156
+ filter: filter,
154
157
  url: url,
155
158
  path: PATH
156
159
  )
@@ -167,8 +170,9 @@ module NgrokAPI
167
170
  # List all IP policies on this account
168
171
  # Throws an exception if API error.
169
172
  #
170
- # @param [string] before_id
171
- # @param [string] limit
173
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
174
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
175
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
172
176
  # @param [string] url optional and mutually exclusive from before_id and limit
173
177
  # @return [NgrokAPI::Models::Listable] result from the API request
174
178
  #
@@ -176,11 +180,13 @@ module NgrokAPI
176
180
  def list!(
177
181
  before_id: nil,
178
182
  limit: nil,
183
+ filter: nil,
179
184
  url: nil
180
185
  )
181
186
  result = @client.list(
182
187
  before_id: before_id,
183
188
  limit: limit,
189
+ filter: filter,
184
190
  danger: true,
185
191
  url: url,
186
192
  path: PATH
@@ -141,8 +141,9 @@ module NgrokAPI
141
141
  ##
142
142
  # List all IP policy rules on this account
143
143
  #
144
- # @param [string] before_id
145
- # @param [string] limit
144
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
145
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
146
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
146
147
  # @param [string] url optional and mutually exclusive from before_id and limit
147
148
  # @return [NgrokAPI::Models::Listable] result from the API request
148
149
  #
@@ -150,11 +151,13 @@ module NgrokAPI
150
151
  def list(
151
152
  before_id: nil,
152
153
  limit: nil,
154
+ filter: nil,
153
155
  url: nil
154
156
  )
155
157
  result = @client.list(
156
158
  before_id: before_id,
157
159
  limit: limit,
160
+ filter: filter,
158
161
  url: url,
159
162
  path: PATH
160
163
  )
@@ -171,8 +174,9 @@ module NgrokAPI
171
174
  # List all IP policy rules on this account
172
175
  # Throws an exception if API error.
173
176
  #
174
- # @param [string] before_id
175
- # @param [string] limit
177
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
178
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
179
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
176
180
  # @param [string] url optional and mutually exclusive from before_id and limit
177
181
  # @return [NgrokAPI::Models::Listable] result from the API request
178
182
  #
@@ -180,11 +184,13 @@ module NgrokAPI
180
184
  def list!(
181
185
  before_id: nil,
182
186
  limit: nil,
187
+ filter: nil,
183
188
  url: nil
184
189
  )
185
190
  result = @client.list(
186
191
  before_id: before_id,
187
192
  limit: limit,
193
+ filter: filter,
188
194
  danger: true,
189
195
  url: url,
190
196
  path: PATH
@@ -145,8 +145,9 @@ module NgrokAPI
145
145
  ##
146
146
  # List all IP restrictions on this account
147
147
  #
148
- # @param [string] before_id
149
- # @param [string] limit
148
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
149
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
150
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
150
151
  # @param [string] url optional and mutually exclusive from before_id and limit
151
152
  # @return [NgrokAPI::Models::Listable] result from the API request
152
153
  #
@@ -154,11 +155,13 @@ module NgrokAPI
154
155
  def list(
155
156
  before_id: nil,
156
157
  limit: nil,
158
+ filter: nil,
157
159
  url: nil
158
160
  )
159
161
  result = @client.list(
160
162
  before_id: before_id,
161
163
  limit: limit,
164
+ filter: filter,
162
165
  url: url,
163
166
  path: PATH
164
167
  )
@@ -175,8 +178,9 @@ module NgrokAPI
175
178
  # List all IP restrictions on this account
176
179
  # Throws an exception if API error.
177
180
  #
178
- # @param [string] before_id
179
- # @param [string] limit
181
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
182
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
183
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
180
184
  # @param [string] url optional and mutually exclusive from before_id and limit
181
185
  # @return [NgrokAPI::Models::Listable] result from the API request
182
186
  #
@@ -184,11 +188,13 @@ module NgrokAPI
184
188
  def list!(
185
189
  before_id: nil,
186
190
  limit: nil,
191
+ filter: nil,
187
192
  url: nil
188
193
  )
189
194
  result = @client.list(
190
195
  before_id: before_id,
191
196
  limit: limit,
197
+ filter: filter,
192
198
  danger: true,
193
199
  url: url,
194
200
  path: PATH
@@ -134,8 +134,9 @@ module NgrokAPI
134
134
  ##
135
135
  # List all reserved addresses on this account.
136
136
  #
137
- # @param [string] before_id
138
- # @param [string] limit
137
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
138
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
139
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
139
140
  # @param [string] url optional and mutually exclusive from before_id and limit
140
141
  # @return [NgrokAPI::Models::Listable] result from the API request
141
142
  #
@@ -143,11 +144,13 @@ module NgrokAPI
143
144
  def list(
144
145
  before_id: nil,
145
146
  limit: nil,
147
+ filter: nil,
146
148
  url: nil
147
149
  )
148
150
  result = @client.list(
149
151
  before_id: before_id,
150
152
  limit: limit,
153
+ filter: filter,
151
154
  url: url,
152
155
  path: PATH
153
156
  )
@@ -164,8 +167,9 @@ module NgrokAPI
164
167
  # List all reserved addresses on this account.
165
168
  # Throws an exception if API error.
166
169
  #
167
- # @param [string] before_id
168
- # @param [string] limit
170
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
171
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
172
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
169
173
  # @param [string] url optional and mutually exclusive from before_id and limit
170
174
  # @return [NgrokAPI::Models::Listable] result from the API request
171
175
  #
@@ -173,11 +177,13 @@ module NgrokAPI
173
177
  def list!(
174
178
  before_id: nil,
175
179
  limit: nil,
180
+ filter: nil,
176
181
  url: nil
177
182
  )
178
183
  result = @client.list(
179
184
  before_id: before_id,
180
185
  limit: limit,
186
+ filter: filter,
181
187
  danger: true,
182
188
  url: url,
183
189
  path: PATH
@@ -32,10 +32,11 @@ module NgrokAPI
32
32
  # @param [string] metadata arbitrary user-defined machine-readable data of this reserved domain. Optional, max 4096 bytes.
33
33
  # @param [string] certificate_id ID of a user-uploaded TLS certificate to use for connections to targeting this domain. Optional, mutually exclusive with ``certificate_management_policy``.
34
34
  # @param [ReservedDomainCertPolicy] certificate_management_policy configuration for automatic management of TLS certificates for this domain, or null if automatic management is disabled. Optional, mutually exclusive with ``certificate_id``.
35
+ # @param [List<ReservedDomainResolvesToEntry>] resolves_to DNS resolver targets configured for the reserved domain, or empty for "global" resolution.
35
36
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
36
37
  #
37
38
  # https://ngrok.com/docs/api#api-reserved-domains-create
38
- def create(name: "", domain: "", region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil, error_redirect_url: nil)
39
+ def create(name: "", domain: "", region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil, error_redirect_url: nil, resolves_to: nil)
39
40
  path = '/reserved_domains'
40
41
  replacements = {
41
42
  }
@@ -46,6 +47,7 @@ module NgrokAPI
46
47
  data[:metadata] = metadata if metadata
47
48
  data[:certificate_id] = certificate_id if certificate_id
48
49
  data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
50
+ data[:resolves_to] = resolves_to if resolves_to
49
51
  result = @client.post(path % replacements, data: data)
50
52
  NgrokAPI::Models::ReservedDomain.new(client: self, attrs: result)
51
53
  end
@@ -60,10 +62,11 @@ module NgrokAPI
60
62
  # @param [string] metadata arbitrary user-defined machine-readable data of this reserved domain. Optional, max 4096 bytes.
61
63
  # @param [string] certificate_id ID of a user-uploaded TLS certificate to use for connections to targeting this domain. Optional, mutually exclusive with ``certificate_management_policy``.
62
64
  # @param [ReservedDomainCertPolicy] certificate_management_policy configuration for automatic management of TLS certificates for this domain, or null if automatic management is disabled. Optional, mutually exclusive with ``certificate_id``.
65
+ # @param [List<ReservedDomainResolvesToEntry>] resolves_to DNS resolver targets configured for the reserved domain, or empty for "global" resolution.
63
66
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
64
67
  #
65
68
  # https://ngrok.com/docs/api#api-reserved-domains-create
66
- def create!(name: "", domain: "", region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil, error_redirect_url: nil)
69
+ def create!(name: "", domain: "", region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil, error_redirect_url: nil, resolves_to: nil)
67
70
  path = '/reserved_domains'
68
71
  replacements = {
69
72
  }
@@ -74,6 +77,7 @@ module NgrokAPI
74
77
  data[:metadata] = metadata if metadata
75
78
  data[:certificate_id] = certificate_id if certificate_id
76
79
  data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
80
+ data[:resolves_to] = resolves_to if resolves_to
77
81
  result = @client.post(path % replacements, data: data, danger: true)
78
82
  NgrokAPI::Models::ReservedDomain.new(client: self, attrs: result)
79
83
  end
@@ -147,8 +151,9 @@ module NgrokAPI
147
151
  ##
148
152
  # List all reserved domains on this account.
149
153
  #
150
- # @param [string] before_id
151
- # @param [string] limit
154
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
155
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
156
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
152
157
  # @param [string] url optional and mutually exclusive from before_id and limit
153
158
  # @return [NgrokAPI::Models::Listable] result from the API request
154
159
  #
@@ -156,11 +161,13 @@ module NgrokAPI
156
161
  def list(
157
162
  before_id: nil,
158
163
  limit: nil,
164
+ filter: nil,
159
165
  url: nil
160
166
  )
161
167
  result = @client.list(
162
168
  before_id: before_id,
163
169
  limit: limit,
170
+ filter: filter,
164
171
  url: url,
165
172
  path: PATH
166
173
  )
@@ -177,8 +184,9 @@ module NgrokAPI
177
184
  # List all reserved domains on this account.
178
185
  # Throws an exception if API error.
179
186
  #
180
- # @param [string] before_id
181
- # @param [string] limit
187
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
188
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
189
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
182
190
  # @param [string] url optional and mutually exclusive from before_id and limit
183
191
  # @return [NgrokAPI::Models::Listable] result from the API request
184
192
  #
@@ -186,11 +194,13 @@ module NgrokAPI
186
194
  def list!(
187
195
  before_id: nil,
188
196
  limit: nil,
197
+ filter: nil,
189
198
  url: nil
190
199
  )
191
200
  result = @client.list(
192
201
  before_id: before_id,
193
202
  limit: limit,
203
+ filter: filter,
194
204
  danger: true,
195
205
  url: url,
196
206
  path: PATH
@@ -213,10 +223,11 @@ module NgrokAPI
213
223
  # @param [string] metadata arbitrary user-defined machine-readable data of this reserved domain. Optional, max 4096 bytes.
214
224
  # @param [string] certificate_id ID of a user-uploaded TLS certificate to use for connections to targeting this domain. Optional, mutually exclusive with ``certificate_management_policy``.
215
225
  # @param [ReservedDomainCertPolicy] certificate_management_policy configuration for automatic management of TLS certificates for this domain, or null if automatic management is disabled. Optional, mutually exclusive with ``certificate_id``.
226
+ # @param [List<ReservedDomainResolvesToEntry>] resolves_to DNS resolver targets configured for the reserved domain, or empty for "global" resolution.
216
227
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
217
228
  #
218
229
  # https://ngrok.com/docs/api#api-reserved-domains-update
219
- def update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil, region: nil, error_redirect_url: nil)
230
+ def update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil, region: nil, error_redirect_url: nil, resolves_to: nil)
220
231
  path = '/reserved_domains/%{id}'
221
232
  replacements = {
222
233
  id: id,
@@ -226,6 +237,7 @@ module NgrokAPI
226
237
  data[:metadata] = metadata if metadata
227
238
  data[:certificate_id] = certificate_id if certificate_id
228
239
  data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
240
+ data[:resolves_to] = resolves_to if resolves_to
229
241
  result = @client.patch(path % replacements, data: data)
230
242
  NgrokAPI::Models::ReservedDomain.new(client: self, attrs: result)
231
243
  end
@@ -239,10 +251,11 @@ module NgrokAPI
239
251
  # @param [string] metadata arbitrary user-defined machine-readable data of this reserved domain. Optional, max 4096 bytes.
240
252
  # @param [string] certificate_id ID of a user-uploaded TLS certificate to use for connections to targeting this domain. Optional, mutually exclusive with ``certificate_management_policy``.
241
253
  # @param [ReservedDomainCertPolicy] certificate_management_policy configuration for automatic management of TLS certificates for this domain, or null if automatic management is disabled. Optional, mutually exclusive with ``certificate_id``.
254
+ # @param [List<ReservedDomainResolvesToEntry>] resolves_to DNS resolver targets configured for the reserved domain, or empty for "global" resolution.
242
255
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
243
256
  #
244
257
  # https://ngrok.com/docs/api#api-reserved-domains-update
245
- def update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil, region: nil, error_redirect_url: nil)
258
+ def update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil, region: nil, error_redirect_url: nil, resolves_to: nil)
246
259
  path = '/reserved_domains/%{id}'
247
260
  replacements = {
248
261
  id: id,
@@ -252,6 +265,7 @@ module NgrokAPI
252
265
  data[:metadata] = metadata if metadata
253
266
  data[:certificate_id] = certificate_id if certificate_id
254
267
  data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
268
+ data[:resolves_to] = resolves_to if resolves_to
255
269
  result = @client.patch(path % replacements, data: data, danger: true)
256
270
  NgrokAPI::Models::ReservedDomain.new(client: self, attrs: result)
257
271
  end
@@ -29,10 +29,11 @@ module NgrokAPI
29
29
  # @param [string] metadata Arbitrary user-defined metadata for this Secret
30
30
  # @param [string] description description of Secret
31
31
  # @param [string] vault_id unique identifier of the referenced vault
32
+ # @param [string] vault_name name of the referenced vault
32
33
  # @return [NgrokAPI::Models::Secret] result from the API request
33
34
  #
34
35
  # https://ngrok.com/docs/api#api-secrets-create
35
- def create(name: "", value: "", metadata: "", description: "", vault_id:)
36
+ def create(name: "", value: "", metadata: "", description: "", vault_id: "", vault_name: "")
36
37
  path = '/vault_secrets'
37
38
  replacements = {
38
39
  }
@@ -42,6 +43,7 @@ module NgrokAPI
42
43
  data[:metadata] = metadata if metadata
43
44
  data[:description] = description if description
44
45
  data[:vault_id] = vault_id if vault_id
46
+ data[:vault_name] = vault_name if vault_name
45
47
  result = @client.post(path % replacements, data: data)
46
48
  NgrokAPI::Models::Secret.new(client: self, attrs: result)
47
49
  end
@@ -55,10 +57,11 @@ module NgrokAPI
55
57
  # @param [string] metadata Arbitrary user-defined metadata for this Secret
56
58
  # @param [string] description description of Secret
57
59
  # @param [string] vault_id unique identifier of the referenced vault
60
+ # @param [string] vault_name name of the referenced vault
58
61
  # @return [NgrokAPI::Models::Secret] result from the API request
59
62
  #
60
63
  # https://ngrok.com/docs/api#api-secrets-create
61
- def create!(name: "", value: "", metadata: "", description: "", vault_id:)
64
+ def create!(name: "", value: "", metadata: "", description: "", vault_id: "", vault_name: "")
62
65
  path = '/vault_secrets'
63
66
  replacements = {
64
67
  }
@@ -68,6 +71,7 @@ module NgrokAPI
68
71
  data[:metadata] = metadata if metadata
69
72
  data[:description] = description if description
70
73
  data[:vault_id] = vault_id if vault_id
74
+ data[:vault_name] = vault_name if vault_name
71
75
  result = @client.post(path % replacements, data: data, danger: true)
72
76
  NgrokAPI::Models::Secret.new(client: self, attrs: result)
73
77
  end
@@ -192,8 +196,9 @@ module NgrokAPI
192
196
  ##
193
197
  # List all Secrets owned by account
194
198
  #
195
- # @param [string] before_id
196
- # @param [string] limit
199
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
200
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
201
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
197
202
  # @param [string] url optional and mutually exclusive from before_id and limit
198
203
  # @return [NgrokAPI::Models::Listable] result from the API request
199
204
  #
@@ -201,11 +206,13 @@ module NgrokAPI
201
206
  def list(
202
207
  before_id: nil,
203
208
  limit: nil,
209
+ filter: nil,
204
210
  url: nil
205
211
  )
206
212
  result = @client.list(
207
213
  before_id: before_id,
208
214
  limit: limit,
215
+ filter: filter,
209
216
  url: url,
210
217
  path: PATH
211
218
  )
@@ -222,8 +229,9 @@ module NgrokAPI
222
229
  # List all Secrets owned by account
223
230
  # Throws an exception if API error.
224
231
  #
225
- # @param [string] before_id
226
- # @param [string] limit
232
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
233
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
234
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
227
235
  # @param [string] url optional and mutually exclusive from before_id and limit
228
236
  # @return [NgrokAPI::Models::Listable] result from the API request
229
237
  #
@@ -231,11 +239,13 @@ module NgrokAPI
231
239
  def list!(
232
240
  before_id: nil,
233
241
  limit: nil,
242
+ filter: nil,
234
243
  url: nil
235
244
  )
236
245
  result = @client.list(
237
246
  before_id: before_id,
238
247
  limit: limit,
248
+ filter: filter,
239
249
  danger: true,
240
250
  url: url,
241
251
  path: PATH
@@ -0,0 +1,237 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Code generated for API Clients. DO NOT EDIT.
4
+
5
+ module NgrokAPI
6
+ module Services
7
+ ##
8
+ # https://ngrok.com/docs/api#api-service-users
9
+ class ServiceUsersClient
10
+ # The API path for the requests
11
+ PATH = '/service_users'
12
+ # The List Property from the resulting API for list calls
13
+ LIST_PROPERTY = 'service_users'
14
+
15
+ attr_reader :client
16
+
17
+ def initialize(client:)
18
+ @client = client
19
+ end
20
+
21
+ ##
22
+ # Create a new service user
23
+ #
24
+ # @param [string] name human-readable name used to identify the service
25
+ # @param [boolean] active whether or not the service is active
26
+ # @return [NgrokAPI::Models::ServiceUser] result from the API request
27
+ #
28
+ # https://ngrok.com/docs/api#api-service-users-create
29
+ def create(name: "", active: nil)
30
+ path = '/service_users'
31
+ replacements = {
32
+ }
33
+ data = {}
34
+ data[:name] = name if name
35
+ data[:active] = active if active
36
+ result = @client.post(path % replacements, data: data)
37
+ NgrokAPI::Models::ServiceUser.new(client: self, attrs: result)
38
+ end
39
+
40
+ ##
41
+ # Create a new service user
42
+ # Throws an exception if API error.
43
+ #
44
+ # @param [string] name human-readable name used to identify the service
45
+ # @param [boolean] active whether or not the service is active
46
+ # @return [NgrokAPI::Models::ServiceUser] result from the API request
47
+ #
48
+ # https://ngrok.com/docs/api#api-service-users-create
49
+ def create!(name: "", active: nil)
50
+ path = '/service_users'
51
+ replacements = {
52
+ }
53
+ data = {}
54
+ data[:name] = name if name
55
+ data[:active] = active if active
56
+ result = @client.post(path % replacements, data: data, danger: true)
57
+ NgrokAPI::Models::ServiceUser.new(client: self, attrs: result)
58
+ end
59
+
60
+ ##
61
+ # Delete a service user by ID
62
+ #
63
+ # @param [string] id a resource identifier
64
+ # @return [NgrokAPI::Models::Empty] result from the API request
65
+ #
66
+ # https://ngrok.com/docs/api#api-service-users-delete
67
+ def delete(id: "")
68
+ path = '/service_users/%{id}'
69
+ replacements = {
70
+ id: id,
71
+ }
72
+ @client.delete(path % replacements)
73
+ end
74
+
75
+ ##
76
+ # Delete a service user by ID
77
+ # Throws an exception if API error.
78
+ #
79
+ # @param [string] id a resource identifier
80
+ # @return [NgrokAPI::Models::Empty] result from the API request
81
+ #
82
+ # https://ngrok.com/docs/api#api-service-users-delete
83
+ def delete!(id: "")
84
+ path = '/service_users/%{id}'
85
+ replacements = {
86
+ id: id,
87
+ }
88
+ @client.delete(path % replacements, danger: true)
89
+ end
90
+
91
+ ##
92
+ # Get the details of a Bot User by ID.
93
+ #
94
+ # @param [string] id a resource identifier
95
+ # @return [NgrokAPI::Models::ServiceUser] result from the API request
96
+ #
97
+ # https://ngrok.com/docs/api#api-service-users-get
98
+ def get(id: "")
99
+ path = '/service_users/%{id}'
100
+ replacements = {
101
+ id: id,
102
+ }
103
+ data = {}
104
+ result = @client.get(path % replacements, data: data)
105
+ NgrokAPI::Models::ServiceUser.new(client: self, attrs: result)
106
+ end
107
+
108
+ ##
109
+ # Get the details of a Bot User by ID.
110
+ # Throws an exception if API error.
111
+ #
112
+ # @param [string] id a resource identifier
113
+ # @return [NgrokAPI::Models::ServiceUser] result from the API request
114
+ #
115
+ # https://ngrok.com/docs/api#api-service-users-get
116
+ def get!(id: "")
117
+ path = '/service_users/%{id}'
118
+ replacements = {
119
+ id: id,
120
+ }
121
+ data = {}
122
+ result = @client.get(path % replacements, data: data, danger: true)
123
+ NgrokAPI::Models::ServiceUser.new(client: self, attrs: result)
124
+ end
125
+
126
+ ##
127
+ # List all service users in this account.
128
+ #
129
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
130
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
131
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
132
+ # @param [string] url optional and mutually exclusive from before_id and limit
133
+ # @return [NgrokAPI::Models::Listable] result from the API request
134
+ #
135
+ # https://ngrok.com/docs/api#api-service-users-list
136
+ def list(
137
+ before_id: nil,
138
+ limit: nil,
139
+ filter: nil,
140
+ url: nil
141
+ )
142
+ result = @client.list(
143
+ before_id: before_id,
144
+ limit: limit,
145
+ filter: filter,
146
+ url: url,
147
+ path: PATH
148
+ )
149
+
150
+ NgrokAPI::Models::Listable.new(
151
+ client: self,
152
+ attrs: result,
153
+ list_property: LIST_PROPERTY,
154
+ klass: NgrokAPI::Models::ServiceUser
155
+ )
156
+ end
157
+
158
+ ##
159
+ # List all service users in this account.
160
+ # Throws an exception if API error.
161
+ #
162
+ # @param [string] before_id Expects a resource ID as its input. Returns earlier entries in the result set, sorted by ID.
163
+ # @param [string] limit Constrains the number of results in the dataset. See the `API Overview <https://ngrok.com/docs/api/index#pagination>`_ for details.
164
+ # @param [string] filter A CEL expression to filter the list results. Supports logical and comparison operators to match on fields such as ``id``, ``metadata``, ``created_at``, and more. See ngrok API Filtering for syntax and field details: `https://ngrok.com/docs/api/api-filtering <https://ngrok.com/docs/api/api-filtering>`_.
165
+ # @param [string] url optional and mutually exclusive from before_id and limit
166
+ # @return [NgrokAPI::Models::Listable] result from the API request
167
+ #
168
+ # https://ngrok.com/docs/api#api-service-users-list
169
+ def list!(
170
+ before_id: nil,
171
+ limit: nil,
172
+ filter: nil,
173
+ url: nil
174
+ )
175
+ result = @client.list(
176
+ before_id: before_id,
177
+ limit: limit,
178
+ filter: filter,
179
+ danger: true,
180
+ url: url,
181
+ path: PATH
182
+ )
183
+
184
+ NgrokAPI::Models::Listable.new(
185
+ client: self,
186
+ attrs: result,
187
+ list_property: LIST_PROPERTY,
188
+ klass: NgrokAPI::Models::ServiceUser,
189
+ danger: true
190
+ )
191
+ end
192
+
193
+ ##
194
+ # Update attributes of a service user by ID.
195
+ #
196
+ # @param [string] id
197
+ # @param [string] name human-readable name used to identify the service
198
+ # @param [boolean] active whether or not the service is active
199
+ # @return [NgrokAPI::Models::ServiceUser] result from the API request
200
+ #
201
+ # https://ngrok.com/docs/api#api-service-users-update
202
+ def update(id: "", name: nil, active: nil)
203
+ path = '/service_users/%{id}'
204
+ replacements = {
205
+ id: id,
206
+ }
207
+ data = {}
208
+ data[:name] = name if name
209
+ data[:active] = active if active
210
+ result = @client.patch(path % replacements, data: data)
211
+ NgrokAPI::Models::ServiceUser.new(client: self, attrs: result)
212
+ end
213
+
214
+ ##
215
+ # Update attributes of a service user by ID.
216
+ # Throws an exception if API error.
217
+ #
218
+ # @param [string] id
219
+ # @param [string] name human-readable name used to identify the service
220
+ # @param [boolean] active whether or not the service is active
221
+ # @return [NgrokAPI::Models::ServiceUser] result from the API request
222
+ #
223
+ # https://ngrok.com/docs/api#api-service-users-update
224
+ def update!(id: "", name: nil, active: nil)
225
+ path = '/service_users/%{id}'
226
+ replacements = {
227
+ id: id,
228
+ }
229
+ data = {}
230
+ data[:name] = name if name
231
+ data[:active] = active if active
232
+ result = @client.patch(path % replacements, data: data, danger: true)
233
+ NgrokAPI::Models::ServiceUser.new(client: self, attrs: result)
234
+ end
235
+ end
236
+ end
237
+ end