ngrok-api 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (266) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/doc/NgrokAPI/Client.html +140 -172
  4. data/doc/NgrokAPI/Error.html +3 -3
  5. data/doc/NgrokAPI/Errors/NotFoundError.html +3 -3
  6. data/doc/NgrokAPI/Errors.html +3 -3
  7. data/doc/NgrokAPI/HttpClient.html +30 -36
  8. data/doc/NgrokAPI/Models/APIKey.html +3 -3
  9. data/doc/NgrokAPI/Models/AWSAuth.html +3 -3
  10. data/doc/NgrokAPI/Models/AWSCredentials.html +3 -3
  11. data/doc/NgrokAPI/Models/AWSRole.html +3 -3
  12. data/doc/NgrokAPI/Models/AbuseReport.html +3 -3
  13. data/doc/NgrokAPI/Models/AbuseReportHostname.html +3 -3
  14. data/doc/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
  15. data/doc/NgrokAPI/Models/CertificateAuthority.html +3 -3
  16. data/doc/NgrokAPI/Models/Credential.html +3 -3
  17. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
  18. data/doc/NgrokAPI/Models/EndpointCompression.html +3 -3
  19. data/doc/NgrokAPI/Models/EndpointConfiguration.html +3 -3
  20. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
  21. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
  22. data/doc/NgrokAPI/Models/EndpointLogging.html +3 -3
  23. data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
  24. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
  25. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
  26. data/doc/NgrokAPI/Models/EndpointOAuth.html +3 -3
  27. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
  28. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
  29. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
  30. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
  31. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
  32. data/doc/NgrokAPI/Models/EndpointOIDC.html +3 -3
  33. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
  34. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
  35. data/doc/NgrokAPI/Models/EndpointSAML.html +3 -3
  36. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
  37. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
  38. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
  39. data/doc/NgrokAPI/Models/EventDestination.html +3 -3
  40. data/doc/NgrokAPI/Models/EventSource.html +3 -3
  41. data/doc/NgrokAPI/Models/EventSourceList.html +3 -3
  42. data/doc/NgrokAPI/Models/EventSourceReplace.html +3 -3
  43. data/doc/NgrokAPI/Models/EventStream.html +3 -3
  44. data/doc/NgrokAPI/Models/EventSubscription.html +3 -3
  45. data/doc/NgrokAPI/Models/EventTarget.html +3 -3
  46. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
  47. data/doc/NgrokAPI/Models/EventTargetFirehose.html +3 -3
  48. data/doc/NgrokAPI/Models/EventTargetKinesis.html +3 -3
  49. data/doc/NgrokAPI/Models/IPPolicy.html +3 -3
  50. data/doc/NgrokAPI/Models/IPPolicyRule.html +3 -3
  51. data/doc/NgrokAPI/Models/IPRestriction.html +3 -3
  52. data/doc/NgrokAPI/Models/Listable.html +3 -3
  53. data/doc/NgrokAPI/Models/Ref.html +3 -3
  54. data/doc/NgrokAPI/Models/ReservedAddr.html +3 -3
  55. data/doc/NgrokAPI/Models/ReservedDomain.html +3 -3
  56. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
  57. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
  58. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
  59. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
  60. data/doc/NgrokAPI/Models/SSHCredential.html +3 -3
  61. data/doc/NgrokAPI/Models/SSHHostCertificate.html +3 -3
  62. data/doc/NgrokAPI/Models/SSHUserCertificate.html +3 -3
  63. data/doc/NgrokAPI/Models/TLSCertificate.html +3 -3
  64. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
  65. data/doc/NgrokAPI/Models/Tunnel.html +3 -3
  66. data/doc/NgrokAPI/Models/TunnelSession.html +3 -3
  67. data/doc/NgrokAPI/Models.html +5 -5
  68. data/doc/NgrokAPI/PagedIterator.html +3 -3
  69. data/doc/NgrokAPI/Services/APIKeysClient.html +99 -149
  70. data/doc/NgrokAPI/Services/AbuseReportsClient.html +19 -33
  71. data/doc/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
  72. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
  73. data/doc/NgrokAPI/Services/CredentialsClient.html +108 -164
  74. data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
  75. data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
  76. data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
  77. data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
  78. data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
  79. data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
  80. data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
  81. data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
  82. data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
  83. data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
  84. data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
  85. data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
  86. data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
  87. data/doc/NgrokAPI/Services/EventDestinationsClient.html +116 -184
  88. data/doc/NgrokAPI/Services/EventSourcesClient.html +95 -157
  89. data/doc/NgrokAPI/Services/EventStreamsClient.html +119 -189
  90. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
  91. data/doc/NgrokAPI/Services/IPPoliciesClient.html +104 -156
  92. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
  93. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
  94. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
  95. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
  96. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
  97. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
  98. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
  99. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
  100. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
  101. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
  102. data/doc/NgrokAPI/Services/TunnelsClient.html +13 -25
  103. data/doc/NgrokAPI/Services.html +5 -5
  104. data/doc/NgrokAPI.html +4 -4
  105. data/doc/_index.html +18 -18
  106. data/doc/class_list.html +1 -1
  107. data/doc/file.README.html +3 -3
  108. data/doc/frames.html +1 -1
  109. data/doc/index.html +3 -3
  110. data/doc/method_list.html +574 -558
  111. data/doc/top-level-namespace.html +3 -3
  112. data/docs/NgrokAPI/Client.html +140 -172
  113. data/docs/NgrokAPI/Error.html +3 -3
  114. data/docs/NgrokAPI/Errors/NotFoundError.html +3 -3
  115. data/docs/NgrokAPI/Errors.html +3 -3
  116. data/docs/NgrokAPI/HttpClient.html +30 -36
  117. data/docs/NgrokAPI/Models/APIKey.html +3 -3
  118. data/docs/NgrokAPI/Models/AWSAuth.html +3 -3
  119. data/docs/NgrokAPI/Models/AWSCredentials.html +3 -3
  120. data/docs/NgrokAPI/Models/AWSRole.html +3 -3
  121. data/docs/NgrokAPI/Models/AbuseReport.html +3 -3
  122. data/docs/NgrokAPI/Models/AbuseReportHostname.html +3 -3
  123. data/docs/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
  124. data/docs/NgrokAPI/Models/CertificateAuthority.html +3 -3
  125. data/docs/NgrokAPI/Models/Credential.html +3 -3
  126. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
  127. data/docs/NgrokAPI/Models/EndpointCompression.html +3 -3
  128. data/docs/NgrokAPI/Models/EndpointConfiguration.html +3 -3
  129. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
  130. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
  131. data/docs/NgrokAPI/Models/EndpointLogging.html +3 -3
  132. data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
  133. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
  134. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
  135. data/docs/NgrokAPI/Models/EndpointOAuth.html +3 -3
  136. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
  137. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
  138. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
  139. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
  140. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
  141. data/docs/NgrokAPI/Models/EndpointOIDC.html +3 -3
  142. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
  143. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
  144. data/docs/NgrokAPI/Models/EndpointSAML.html +3 -3
  145. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
  146. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
  147. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
  148. data/docs/NgrokAPI/Models/EventDestination.html +3 -3
  149. data/docs/NgrokAPI/Models/EventSource.html +3 -3
  150. data/docs/NgrokAPI/Models/EventSourceList.html +3 -3
  151. data/docs/NgrokAPI/Models/EventSourceReplace.html +3 -3
  152. data/docs/NgrokAPI/Models/EventStream.html +3 -3
  153. data/docs/NgrokAPI/Models/EventSubscription.html +3 -3
  154. data/docs/NgrokAPI/Models/EventTarget.html +3 -3
  155. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
  156. data/docs/NgrokAPI/Models/EventTargetFirehose.html +3 -3
  157. data/docs/NgrokAPI/Models/EventTargetKinesis.html +3 -3
  158. data/docs/NgrokAPI/Models/IPPolicy.html +3 -3
  159. data/docs/NgrokAPI/Models/IPPolicyRule.html +3 -3
  160. data/docs/NgrokAPI/Models/IPRestriction.html +3 -3
  161. data/docs/NgrokAPI/Models/Listable.html +3 -3
  162. data/docs/NgrokAPI/Models/Ref.html +3 -3
  163. data/docs/NgrokAPI/Models/ReservedAddr.html +3 -3
  164. data/docs/NgrokAPI/Models/ReservedDomain.html +3 -3
  165. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
  166. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
  167. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
  168. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
  169. data/docs/NgrokAPI/Models/SSHCredential.html +3 -3
  170. data/docs/NgrokAPI/Models/SSHHostCertificate.html +3 -3
  171. data/docs/NgrokAPI/Models/SSHUserCertificate.html +3 -3
  172. data/docs/NgrokAPI/Models/TLSCertificate.html +3 -3
  173. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
  174. data/docs/NgrokAPI/Models/Tunnel.html +3 -3
  175. data/docs/NgrokAPI/Models/TunnelSession.html +3 -3
  176. data/docs/NgrokAPI/Models.html +5 -5
  177. data/docs/NgrokAPI/PagedIterator.html +3 -3
  178. data/docs/NgrokAPI/Services/APIKeysClient.html +99 -149
  179. data/docs/NgrokAPI/Services/AbuseReportsClient.html +19 -33
  180. data/docs/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
  181. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
  182. data/docs/NgrokAPI/Services/CredentialsClient.html +108 -164
  183. data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
  184. data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
  185. data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
  186. data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
  187. data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
  188. data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
  189. data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
  190. data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
  191. data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
  192. data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
  193. data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
  194. data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
  195. data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
  196. data/docs/NgrokAPI/Services/EventDestinationsClient.html +116 -184
  197. data/docs/NgrokAPI/Services/EventSourcesClient.html +95 -157
  198. data/docs/NgrokAPI/Services/EventStreamsClient.html +119 -189
  199. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
  200. data/docs/NgrokAPI/Services/IPPoliciesClient.html +104 -156
  201. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
  202. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
  203. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
  204. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
  205. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
  206. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
  207. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
  208. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
  209. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
  210. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
  211. data/docs/NgrokAPI/Services/TunnelsClient.html +13 -25
  212. data/docs/NgrokAPI/Services.html +5 -5
  213. data/docs/NgrokAPI.html +4 -4
  214. data/docs/_index.html +18 -18
  215. data/docs/class_list.html +1 -1
  216. data/docs/file.README.html +3 -3
  217. data/docs/frames.html +1 -1
  218. data/docs/index.html +3 -3
  219. data/docs/method_list.html +574 -558
  220. data/docs/top-level-namespace.html +3 -3
  221. data/lib/ngrokapi/client.rb +5 -13
  222. data/lib/ngrokapi/http_client.rb +1 -4
  223. data/lib/ngrokapi/models/{ip_whitelist_entry.rb → agent_ingress.rb} +13 -9
  224. data/lib/ngrokapi/services/abuse_reports_client.rb +3 -10
  225. data/lib/ngrokapi/services/{ip_whitelist_client.rb → agent_ingresses_client.rb} +65 -94
  226. data/lib/ngrokapi/services/api_keys_client.rb +11 -36
  227. data/lib/ngrokapi/services/certificate_authorities_client.rb +11 -37
  228. data/lib/ngrokapi/services/credentials_client.rb +11 -39
  229. data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +6 -20
  230. data/lib/ngrokapi/services/endpoint_compression_module_client.rb +6 -20
  231. data/lib/ngrokapi/services/endpoint_configurations_client.rb +11 -79
  232. data/lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +6 -20
  233. data/lib/ngrokapi/services/endpoint_logging_module_client.rb +6 -20
  234. data/lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +6 -20
  235. data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +6 -20
  236. data/lib/ngrokapi/services/endpoint_oidc_module_client.rb +6 -20
  237. data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +6 -20
  238. data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +6 -20
  239. data/lib/ngrokapi/services/endpoint_saml_module_client.rb +6 -20
  240. data/lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +6 -20
  241. data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +6 -20
  242. data/lib/ngrokapi/services/event_destinations_client.rb +11 -45
  243. data/lib/ngrokapi/services/event_sources_client.rb +9 -40
  244. data/lib/ngrokapi/services/event_streams_client.rb +11 -46
  245. data/lib/ngrokapi/services/event_subscriptions_client.rb +11 -42
  246. data/lib/ngrokapi/services/ip_policies_client.rb +11 -37
  247. data/lib/ngrokapi/services/ip_policy_rules_client.rb +11 -40
  248. data/lib/ngrokapi/services/ip_restrictions_client.rb +11 -43
  249. data/lib/ngrokapi/services/reserved_addrs_client.rb +13 -46
  250. data/lib/ngrokapi/services/reserved_domains_client.rb +19 -74
  251. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +11 -39
  252. data/lib/ngrokapi/services/ssh_credentials_client.rb +11 -40
  253. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +11 -41
  254. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +11 -43
  255. data/lib/ngrokapi/services/tls_certificates_client.rb +11 -38
  256. data/lib/ngrokapi/services/tunnel_sessions_client.rb +12 -36
  257. data/lib/ngrokapi/services/tunnels_client.rb +4 -10
  258. data/lib/ngrokapi/version.rb +1 -1
  259. data/lib/ngrokapi.rb +1 -1
  260. data/ngrok-api.gemspec +1 -1
  261. data/spec/ngrokapi/client_spec.rb +6 -6
  262. data/spec/ngrokapi/models/agent_ingress_spec.rb +42 -0
  263. data/spec/ngrokapi/services/{ip_whitelist_client_spec.rb → agent_ingresses_client_spec.rb} +49 -49
  264. data/spec/spec_helper.rb +1096 -1045
  265. metadata +10 -10
  266. data/spec/ngrokapi/models/ip_whitelist_entry_spec.rb +0 -42
@@ -35,16 +35,7 @@ module NgrokAPI
35
35
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
36
36
  #
37
37
  # https://ngrok.com/docs/api#api-reserved-domains-create
38
- def create(
39
- name:,
40
- region: "",
41
- description: "",
42
- metadata: "",
43
- http_endpoint_configuration_id: nil,
44
- https_endpoint_configuration_id: nil,
45
- certificate_id: nil,
46
- certificate_management_policy: nil
47
- )
38
+ def create(name:, region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil)
48
39
  path = '/reserved_domains'
49
40
  replacements = {
50
41
  }
@@ -68,9 +59,7 @@ module NgrokAPI
68
59
  # @return [NgrokAPI::Models::Empty] result from the API request
69
60
  #
70
61
  # https://ngrok.com/docs/api#api-reserved-domains-delete
71
- def delete(
72
- id: ""
73
- )
62
+ def delete(id: "")
74
63
  path = '/reserved_domains/%{id}'
75
64
  replacements = {
76
65
  id: id,
@@ -86,9 +75,7 @@ module NgrokAPI
86
75
  # @return [NgrokAPI::Models::Empty] result from the API request
87
76
  #
88
77
  # https://ngrok.com/docs/api#api-reserved-domains-delete
89
- def delete!(
90
- id: ""
91
- )
78
+ def delete!(id: "")
92
79
  path = '/reserved_domains/%{id}'
93
80
  replacements = {
94
81
  id: id,
@@ -103,9 +90,7 @@ module NgrokAPI
103
90
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
104
91
  #
105
92
  # https://ngrok.com/docs/api#api-reserved-domains-get
106
- def get(
107
- id: ""
108
- )
93
+ def get(id: "")
109
94
  path = '/reserved_domains/%{id}'
110
95
  replacements = {
111
96
  id: id,
@@ -123,9 +108,7 @@ module NgrokAPI
123
108
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
124
109
  #
125
110
  # https://ngrok.com/docs/api#api-reserved-domains-get
126
- def get!(
127
- id: ""
128
- )
111
+ def get!(id: "")
129
112
  path = '/reserved_domains/%{id}'
130
113
  replacements = {
131
114
  id: id,
@@ -144,11 +127,8 @@ module NgrokAPI
144
127
  # @return [NgrokAPI::Models::Listable] result from the API request
145
128
  #
146
129
  # https://ngrok.com/docs/api#api-reserved-domains-list
147
- def list(
148
- before_id: nil,
149
- limit: nil,
150
- url: nil
151
- )
130
+ def list(before_id: nil, limit: nil,
131
+ url: nil)
152
132
  result = @client.list(
153
133
  before_id: before_id,
154
134
  limit: limit,
@@ -174,11 +154,8 @@ module NgrokAPI
174
154
  # @return [NgrokAPI::Models::Listable] result from the API request
175
155
  #
176
156
  # https://ngrok.com/docs/api#api-reserved-domains-list
177
- def list!(
178
- before_id: nil,
179
- limit: nil,
180
- url: nil
181
- )
157
+ def list!(before_id: nil, limit: nil,
158
+ url: nil)
182
159
  result = @client.list(
183
160
  before_id: before_id,
184
161
  limit: limit,
@@ -209,15 +186,7 @@ module NgrokAPI
209
186
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
210
187
  #
211
188
  # https://ngrok.com/docs/api#api-reserved-domains-update
212
- def update(
213
- id: "",
214
- description: nil,
215
- metadata: nil,
216
- http_endpoint_configuration_id: nil,
217
- https_endpoint_configuration_id: nil,
218
- certificate_id: nil,
219
- certificate_management_policy: nil
220
- )
189
+ def update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil)
221
190
  path = '/reserved_domains/%{id}'
222
191
  replacements = {
223
192
  id: id,
@@ -247,15 +216,7 @@ module NgrokAPI
247
216
  # @return [NgrokAPI::Models::ReservedDomain] result from the API request
248
217
  #
249
218
  # https://ngrok.com/docs/api#api-reserved-domains-update
250
- def update!(
251
- id: "",
252
- description: nil,
253
- metadata: nil,
254
- http_endpoint_configuration_id: nil,
255
- https_endpoint_configuration_id: nil,
256
- certificate_id: nil,
257
- certificate_management_policy: nil
258
- )
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)
259
220
  path = '/reserved_domains/%{id}'
260
221
  replacements = {
261
222
  id: id,
@@ -278,9 +239,7 @@ module NgrokAPI
278
239
  # @return [NgrokAPI::Models::Empty] result from the API request
279
240
  #
280
241
  # https://ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
281
- def delete_certificate_management_policy(
282
- id: ""
283
- )
242
+ def delete_certificate_management_policy(id: "")
284
243
  path = '/reserved_domains/%{id}/certificate_management_policy'
285
244
  replacements = {
286
245
  id: id,
@@ -296,9 +255,7 @@ module NgrokAPI
296
255
  # @return [NgrokAPI::Models::Empty] result from the API request
297
256
  #
298
257
  # https://ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
299
- def delete_certificate_management_policy!(
300
- id: ""
301
- )
258
+ def delete_certificate_management_policy!(id: "")
302
259
  path = '/reserved_domains/%{id}/certificate_management_policy'
303
260
  replacements = {
304
261
  id: id,
@@ -313,9 +270,7 @@ module NgrokAPI
313
270
  # @return [NgrokAPI::Models::Empty] result from the API request
314
271
  #
315
272
  # https://ngrok.com/docs/api#api-reserved-domains-delete-certificate
316
- def delete_certificate(
317
- id: ""
318
- )
273
+ def delete_certificate(id: "")
319
274
  path = '/reserved_domains/%{id}/certificate'
320
275
  replacements = {
321
276
  id: id,
@@ -331,9 +286,7 @@ module NgrokAPI
331
286
  # @return [NgrokAPI::Models::Empty] result from the API request
332
287
  #
333
288
  # https://ngrok.com/docs/api#api-reserved-domains-delete-certificate
334
- def delete_certificate!(
335
- id: ""
336
- )
289
+ def delete_certificate!(id: "")
337
290
  path = '/reserved_domains/%{id}/certificate'
338
291
  replacements = {
339
292
  id: id,
@@ -348,9 +301,7 @@ module NgrokAPI
348
301
  # @return [NgrokAPI::Models::Empty] result from the API request
349
302
  #
350
303
  # https://ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
351
- def delete_http_endpoint_config(
352
- id: ""
353
- )
304
+ def delete_http_endpoint_config(id: "")
354
305
  path = '/reserved_domains/%{id}/http_endpoint_configuration'
355
306
  replacements = {
356
307
  id: id,
@@ -366,9 +317,7 @@ module NgrokAPI
366
317
  # @return [NgrokAPI::Models::Empty] result from the API request
367
318
  #
368
319
  # https://ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
369
- def delete_http_endpoint_config!(
370
- id: ""
371
- )
320
+ def delete_http_endpoint_config!(id: "")
372
321
  path = '/reserved_domains/%{id}/http_endpoint_configuration'
373
322
  replacements = {
374
323
  id: id,
@@ -383,9 +332,7 @@ module NgrokAPI
383
332
  # @return [NgrokAPI::Models::Empty] result from the API request
384
333
  #
385
334
  # https://ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
386
- def delete_https_endpoint_config(
387
- id: ""
388
- )
335
+ def delete_https_endpoint_config(id: "")
389
336
  path = '/reserved_domains/%{id}/https_endpoint_configuration'
390
337
  replacements = {
391
338
  id: id,
@@ -401,9 +348,7 @@ module NgrokAPI
401
348
  # @return [NgrokAPI::Models::Empty] result from the API request
402
349
  #
403
350
  # https://ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
404
- def delete_https_endpoint_config!(
405
- id: ""
406
- )
351
+ def delete_https_endpoint_config!(id: "")
407
352
  path = '/reserved_domains/%{id}/https_endpoint_configuration'
408
353
  replacements = {
409
354
  id: id,
@@ -30,13 +30,7 @@ module NgrokAPI
30
30
  # @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
31
31
  #
32
32
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-create
33
- def create(
34
- description: "",
35
- metadata: "",
36
- private_key_type: "",
37
- elliptic_curve: "",
38
- key_size: 0
39
- )
33
+ def create(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0)
40
34
  path = '/ssh_certificate_authorities'
41
35
  replacements = {
42
36
  }
@@ -57,9 +51,7 @@ module NgrokAPI
57
51
  # @return [NgrokAPI::Models::Empty] result from the API request
58
52
  #
59
53
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-delete
60
- def delete(
61
- id: ""
62
- )
54
+ def delete(id: "")
63
55
  path = '/ssh_certificate_authorities/%{id}'
64
56
  replacements = {
65
57
  id: id,
@@ -75,9 +67,7 @@ module NgrokAPI
75
67
  # @return [NgrokAPI::Models::Empty] result from the API request
76
68
  #
77
69
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-delete
78
- def delete!(
79
- id: ""
80
- )
70
+ def delete!(id: "")
81
71
  path = '/ssh_certificate_authorities/%{id}'
82
72
  replacements = {
83
73
  id: id,
@@ -92,9 +82,7 @@ module NgrokAPI
92
82
  # @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
93
83
  #
94
84
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-get
95
- def get(
96
- id: ""
97
- )
85
+ def get(id: "")
98
86
  path = '/ssh_certificate_authorities/%{id}'
99
87
  replacements = {
100
88
  id: id,
@@ -112,9 +100,7 @@ module NgrokAPI
112
100
  # @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
113
101
  #
114
102
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-get
115
- def get!(
116
- id: ""
117
- )
103
+ def get!(id: "")
118
104
  path = '/ssh_certificate_authorities/%{id}'
119
105
  replacements = {
120
106
  id: id,
@@ -133,11 +119,8 @@ module NgrokAPI
133
119
  # @return [NgrokAPI::Models::Listable] result from the API request
134
120
  #
135
121
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-list
136
- def list(
137
- before_id: nil,
138
- limit: nil,
139
- url: nil
140
- )
122
+ def list(before_id: nil, limit: nil,
123
+ url: nil)
141
124
  result = @client.list(
142
125
  before_id: before_id,
143
126
  limit: limit,
@@ -163,11 +146,8 @@ module NgrokAPI
163
146
  # @return [NgrokAPI::Models::Listable] result from the API request
164
147
  #
165
148
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-list
166
- def list!(
167
- before_id: nil,
168
- limit: nil,
169
- url: nil
170
- )
149
+ def list!(before_id: nil, limit: nil,
150
+ url: nil)
171
151
  result = @client.list(
172
152
  before_id: before_id,
173
153
  limit: limit,
@@ -194,11 +174,7 @@ module NgrokAPI
194
174
  # @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
195
175
  #
196
176
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-update
197
- def update(
198
- id: "",
199
- description: nil,
200
- metadata: nil
201
- )
177
+ def update(id: "", description: nil, metadata: nil)
202
178
  path = '/ssh_certificate_authorities/%{id}'
203
179
  replacements = {
204
180
  id: id,
@@ -220,11 +196,7 @@ module NgrokAPI
220
196
  # @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
221
197
  #
222
198
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-update
223
- def update!(
224
- id: "",
225
- description: nil,
226
- metadata: nil
227
- )
199
+ def update!(id: "", description: nil, metadata: nil)
228
200
  path = '/ssh_certificate_authorities/%{id}'
229
201
  replacements = {
230
202
  id: id,
@@ -30,12 +30,7 @@ module NgrokAPI
30
30
  # @return [NgrokAPI::Models::SSHCredential] result from the API request
31
31
  #
32
32
  # https://ngrok.com/docs/api#api-ssh-credentials-create
33
- def create(
34
- description: "",
35
- metadata: "",
36
- acl: [],
37
- public_key:
38
- )
33
+ def create(description: "", metadata: "", acl: [], public_key:)
39
34
  path = '/ssh_credentials'
40
35
  replacements = {
41
36
  }
@@ -55,9 +50,7 @@ module NgrokAPI
55
50
  # @return [NgrokAPI::Models::Empty] result from the API request
56
51
  #
57
52
  # https://ngrok.com/docs/api#api-ssh-credentials-delete
58
- def delete(
59
- id: ""
60
- )
53
+ def delete(id: "")
61
54
  path = '/ssh_credentials/%{id}'
62
55
  replacements = {
63
56
  id: id,
@@ -73,9 +66,7 @@ module NgrokAPI
73
66
  # @return [NgrokAPI::Models::Empty] result from the API request
74
67
  #
75
68
  # https://ngrok.com/docs/api#api-ssh-credentials-delete
76
- def delete!(
77
- id: ""
78
- )
69
+ def delete!(id: "")
79
70
  path = '/ssh_credentials/%{id}'
80
71
  replacements = {
81
72
  id: id,
@@ -90,9 +81,7 @@ module NgrokAPI
90
81
  # @return [NgrokAPI::Models::SSHCredential] result from the API request
91
82
  #
92
83
  # https://ngrok.com/docs/api#api-ssh-credentials-get
93
- def get(
94
- id: ""
95
- )
84
+ def get(id: "")
96
85
  path = '/ssh_credentials/%{id}'
97
86
  replacements = {
98
87
  id: id,
@@ -110,9 +99,7 @@ module NgrokAPI
110
99
  # @return [NgrokAPI::Models::SSHCredential] result from the API request
111
100
  #
112
101
  # https://ngrok.com/docs/api#api-ssh-credentials-get
113
- def get!(
114
- id: ""
115
- )
102
+ def get!(id: "")
116
103
  path = '/ssh_credentials/%{id}'
117
104
  replacements = {
118
105
  id: id,
@@ -131,11 +118,8 @@ module NgrokAPI
131
118
  # @return [NgrokAPI::Models::Listable] result from the API request
132
119
  #
133
120
  # https://ngrok.com/docs/api#api-ssh-credentials-list
134
- def list(
135
- before_id: nil,
136
- limit: nil,
137
- url: nil
138
- )
121
+ def list(before_id: nil, limit: nil,
122
+ url: nil)
139
123
  result = @client.list(
140
124
  before_id: before_id,
141
125
  limit: limit,
@@ -161,11 +145,8 @@ module NgrokAPI
161
145
  # @return [NgrokAPI::Models::Listable] result from the API request
162
146
  #
163
147
  # https://ngrok.com/docs/api#api-ssh-credentials-list
164
- def list!(
165
- before_id: nil,
166
- limit: nil,
167
- url: nil
168
- )
148
+ def list!(before_id: nil, limit: nil,
149
+ url: nil)
169
150
  result = @client.list(
170
151
  before_id: before_id,
171
152
  limit: limit,
@@ -193,12 +174,7 @@ module NgrokAPI
193
174
  # @return [NgrokAPI::Models::SSHCredential] result from the API request
194
175
  #
195
176
  # https://ngrok.com/docs/api#api-ssh-credentials-update
196
- def update(
197
- id: "",
198
- description: nil,
199
- metadata: nil,
200
- acl: nil
201
- )
177
+ def update(id: "", description: nil, metadata: nil, acl: nil)
202
178
  path = '/ssh_credentials/%{id}'
203
179
  replacements = {
204
180
  id: id,
@@ -222,12 +198,7 @@ module NgrokAPI
222
198
  # @return [NgrokAPI::Models::SSHCredential] result from the API request
223
199
  #
224
200
  # https://ngrok.com/docs/api#api-ssh-credentials-update
225
- def update!(
226
- id: "",
227
- description: nil,
228
- metadata: nil,
229
- acl: nil
230
- )
201
+ def update!(id: "", description: nil, metadata: nil, acl: nil)
231
202
  path = '/ssh_credentials/%{id}'
232
203
  replacements = {
233
204
  id: id,
@@ -33,15 +33,7 @@ module NgrokAPI
33
33
  # @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
34
34
  #
35
35
  # https://ngrok.com/docs/api#api-ssh-host-certificates-create
36
- def create(
37
- ssh_certificate_authority_id:,
38
- public_key:,
39
- principals: [],
40
- valid_after: "",
41
- valid_until: "",
42
- description: "",
43
- metadata: ""
44
- )
36
+ def create(ssh_certificate_authority_id:, public_key:, principals: [], valid_after: "", valid_until: "", description: "", metadata: "")
45
37
  path = '/ssh_host_certificates'
46
38
  replacements = {
47
39
  }
@@ -64,9 +56,7 @@ module NgrokAPI
64
56
  # @return [NgrokAPI::Models::Empty] result from the API request
65
57
  #
66
58
  # https://ngrok.com/docs/api#api-ssh-host-certificates-delete
67
- def delete(
68
- id: ""
69
- )
59
+ def delete(id: "")
70
60
  path = '/ssh_host_certificates/%{id}'
71
61
  replacements = {
72
62
  id: id,
@@ -82,9 +72,7 @@ module NgrokAPI
82
72
  # @return [NgrokAPI::Models::Empty] result from the API request
83
73
  #
84
74
  # https://ngrok.com/docs/api#api-ssh-host-certificates-delete
85
- def delete!(
86
- id: ""
87
- )
75
+ def delete!(id: "")
88
76
  path = '/ssh_host_certificates/%{id}'
89
77
  replacements = {
90
78
  id: id,
@@ -99,9 +87,7 @@ module NgrokAPI
99
87
  # @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
100
88
  #
101
89
  # https://ngrok.com/docs/api#api-ssh-host-certificates-get
102
- def get(
103
- id: ""
104
- )
90
+ def get(id: "")
105
91
  path = '/ssh_host_certificates/%{id}'
106
92
  replacements = {
107
93
  id: id,
@@ -119,9 +105,7 @@ module NgrokAPI
119
105
  # @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
120
106
  #
121
107
  # https://ngrok.com/docs/api#api-ssh-host-certificates-get
122
- def get!(
123
- id: ""
124
- )
108
+ def get!(id: "")
125
109
  path = '/ssh_host_certificates/%{id}'
126
110
  replacements = {
127
111
  id: id,
@@ -140,11 +124,8 @@ module NgrokAPI
140
124
  # @return [NgrokAPI::Models::Listable] result from the API request
141
125
  #
142
126
  # https://ngrok.com/docs/api#api-ssh-host-certificates-list
143
- def list(
144
- before_id: nil,
145
- limit: nil,
146
- url: nil
147
- )
127
+ def list(before_id: nil, limit: nil,
128
+ url: nil)
148
129
  result = @client.list(
149
130
  before_id: before_id,
150
131
  limit: limit,
@@ -170,11 +151,8 @@ module NgrokAPI
170
151
  # @return [NgrokAPI::Models::Listable] result from the API request
171
152
  #
172
153
  # https://ngrok.com/docs/api#api-ssh-host-certificates-list
173
- def list!(
174
- before_id: nil,
175
- limit: nil,
176
- url: nil
177
- )
154
+ def list!(before_id: nil, limit: nil,
155
+ url: nil)
178
156
  result = @client.list(
179
157
  before_id: before_id,
180
158
  limit: limit,
@@ -201,11 +179,7 @@ module NgrokAPI
201
179
  # @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
202
180
  #
203
181
  # https://ngrok.com/docs/api#api-ssh-host-certificates-update
204
- def update(
205
- id: "",
206
- description: nil,
207
- metadata: nil
208
- )
182
+ def update(id: "", description: nil, metadata: nil)
209
183
  path = '/ssh_host_certificates/%{id}'
210
184
  replacements = {
211
185
  id: id,
@@ -227,11 +201,7 @@ module NgrokAPI
227
201
  # @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
228
202
  #
229
203
  # https://ngrok.com/docs/api#api-ssh-host-certificates-update
230
- def update!(
231
- id: "",
232
- description: nil,
233
- metadata: nil
234
- )
204
+ def update!(id: "", description: nil, metadata: nil)
235
205
  path = '/ssh_host_certificates/%{id}'
236
206
  replacements = {
237
207
  id: id,
@@ -35,17 +35,7 @@ module NgrokAPI
35
35
  # @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
36
36
  #
37
37
  # https://ngrok.com/docs/api#api-ssh-user-certificates-create
38
- def create(
39
- ssh_certificate_authority_id:,
40
- public_key:,
41
- principals: [],
42
- critical_options: {},
43
- extensions: {},
44
- valid_after: "",
45
- valid_until: "",
46
- description: "",
47
- metadata: ""
48
- )
38
+ def create(ssh_certificate_authority_id:, public_key:, principals: [], critical_options: {}, extensions: {}, valid_after: "", valid_until: "", description: "", metadata: "")
49
39
  path = '/ssh_user_certificates'
50
40
  replacements = {
51
41
  }
@@ -70,9 +60,7 @@ module NgrokAPI
70
60
  # @return [NgrokAPI::Models::Empty] result from the API request
71
61
  #
72
62
  # https://ngrok.com/docs/api#api-ssh-user-certificates-delete
73
- def delete(
74
- id: ""
75
- )
63
+ def delete(id: "")
76
64
  path = '/ssh_user_certificates/%{id}'
77
65
  replacements = {
78
66
  id: id,
@@ -88,9 +76,7 @@ module NgrokAPI
88
76
  # @return [NgrokAPI::Models::Empty] result from the API request
89
77
  #
90
78
  # https://ngrok.com/docs/api#api-ssh-user-certificates-delete
91
- def delete!(
92
- id: ""
93
- )
79
+ def delete!(id: "")
94
80
  path = '/ssh_user_certificates/%{id}'
95
81
  replacements = {
96
82
  id: id,
@@ -105,9 +91,7 @@ module NgrokAPI
105
91
  # @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
106
92
  #
107
93
  # https://ngrok.com/docs/api#api-ssh-user-certificates-get
108
- def get(
109
- id: ""
110
- )
94
+ def get(id: "")
111
95
  path = '/ssh_user_certificates/%{id}'
112
96
  replacements = {
113
97
  id: id,
@@ -125,9 +109,7 @@ module NgrokAPI
125
109
  # @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
126
110
  #
127
111
  # https://ngrok.com/docs/api#api-ssh-user-certificates-get
128
- def get!(
129
- id: ""
130
- )
112
+ def get!(id: "")
131
113
  path = '/ssh_user_certificates/%{id}'
132
114
  replacements = {
133
115
  id: id,
@@ -146,11 +128,8 @@ module NgrokAPI
146
128
  # @return [NgrokAPI::Models::Listable] result from the API request
147
129
  #
148
130
  # https://ngrok.com/docs/api#api-ssh-user-certificates-list
149
- def list(
150
- before_id: nil,
151
- limit: nil,
152
- url: nil
153
- )
131
+ def list(before_id: nil, limit: nil,
132
+ url: nil)
154
133
  result = @client.list(
155
134
  before_id: before_id,
156
135
  limit: limit,
@@ -176,11 +155,8 @@ module NgrokAPI
176
155
  # @return [NgrokAPI::Models::Listable] result from the API request
177
156
  #
178
157
  # https://ngrok.com/docs/api#api-ssh-user-certificates-list
179
- def list!(
180
- before_id: nil,
181
- limit: nil,
182
- url: nil
183
- )
158
+ def list!(before_id: nil, limit: nil,
159
+ url: nil)
184
160
  result = @client.list(
185
161
  before_id: before_id,
186
162
  limit: limit,
@@ -207,11 +183,7 @@ module NgrokAPI
207
183
  # @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
208
184
  #
209
185
  # https://ngrok.com/docs/api#api-ssh-user-certificates-update
210
- def update(
211
- id: "",
212
- description: nil,
213
- metadata: nil
214
- )
186
+ def update(id: "", description: nil, metadata: nil)
215
187
  path = '/ssh_user_certificates/%{id}'
216
188
  replacements = {
217
189
  id: id,
@@ -233,11 +205,7 @@ module NgrokAPI
233
205
  # @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
234
206
  #
235
207
  # https://ngrok.com/docs/api#api-ssh-user-certificates-update
236
- def update!(
237
- id: "",
238
- description: nil,
239
- metadata: nil
240
- )
208
+ def update!(id: "", description: nil, metadata: nil)
241
209
  path = '/ssh_user_certificates/%{id}'
242
210
  replacements = {
243
211
  id: id,