ngrok-api 0.21.0 → 0.22.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/doc/NgrokAPI/Client.html +152 -96
- data/doc/NgrokAPI/Error.html +3 -3
- data/doc/NgrokAPI/Errors/NotFoundError.html +3 -3
- data/doc/NgrokAPI/Errors.html +3 -3
- data/doc/NgrokAPI/HttpClient.html +4 -4
- data/doc/NgrokAPI/Models/APIKey.html +3 -3
- data/doc/NgrokAPI/Models/AWSAuth.html +3 -3
- data/doc/NgrokAPI/Models/AWSCredentials.html +3 -3
- data/doc/NgrokAPI/Models/AWSRole.html +3 -3
- data/doc/NgrokAPI/Models/AbuseReport.html +3 -3
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +3 -3
- data/doc/NgrokAPI/Models/AgentIngress.html +3 -3
- data/doc/NgrokAPI/Models/AgentIngressCertJob.html +3 -3
- data/doc/NgrokAPI/Models/AgentIngressCertPolicy.html +3 -3
- data/doc/NgrokAPI/Models/AgentIngressCertStatus.html +3 -3
- data/doc/NgrokAPI/Models/ApplicationSession.html +3 -3
- data/doc/NgrokAPI/Models/ApplicationUser.html +3 -3
- data/doc/NgrokAPI/Models/BotUser.html +1051 -0
- data/doc/NgrokAPI/Models/BrowserSession.html +3 -3
- data/doc/NgrokAPI/Models/CertificateAuthority.html +3 -3
- data/doc/NgrokAPI/Models/Credential.html +3 -3
- data/doc/NgrokAPI/Models/Endpoint.html +3 -3
- data/doc/NgrokAPI/Models/EndpointAction.html +669 -0
- data/doc/NgrokAPI/Models/EndpointBackend.html +3 -3
- data/doc/NgrokAPI/Models/EndpointBackendMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
- data/doc/NgrokAPI/Models/EndpointCompression.html +3 -3
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuth.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthAmazon.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthGitLab.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthLinkedIn.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthTwitch.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOIDC.html +3 -3
- data/doc/NgrokAPI/Models/EndpointPolicy.html +743 -0
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
- data/doc/NgrokAPI/Models/EndpointRule.html +743 -0
- data/doc/NgrokAPI/Models/EndpointSAML.html +18 -96
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +18 -96
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
- data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +3 -3
- data/doc/NgrokAPI/Models/EndpointUserAgentFilter.html +743 -0
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
- data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +3 -3
- data/doc/NgrokAPI/Models/EventDestination.html +3 -3
- data/doc/NgrokAPI/Models/EventSource.html +19 -167
- data/doc/NgrokAPI/Models/EventSourceList.html +3 -3
- data/doc/NgrokAPI/Models/EventSourceReplace.html +19 -167
- data/doc/NgrokAPI/Models/EventSubscription.html +3 -3
- data/doc/NgrokAPI/Models/EventTarget.html +18 -92
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetDatadog.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +3 -3
- data/doc/NgrokAPI/Models/FailoverBackend.html +3 -3
- data/doc/NgrokAPI/Models/HTTPResponseBackend.html +3 -3
- data/doc/NgrokAPI/Models/HTTPSEdge.html +3 -3
- data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +197 -37
- data/doc/NgrokAPI/Models/IPPolicy.html +27 -101
- data/doc/NgrokAPI/Models/IPPolicyRule.html +3 -3
- data/doc/NgrokAPI/Models/IPRestriction.html +3 -3
- data/doc/NgrokAPI/Models/IdentityProvider.html +3 -3
- data/doc/NgrokAPI/Models/Listable.html +3 -3
- data/doc/NgrokAPI/Models/Location.html +3 -3
- data/doc/NgrokAPI/Models/Ref.html +3 -3
- data/doc/NgrokAPI/Models/ReservedAddr.html +22 -96
- data/doc/NgrokAPI/Models/ReservedDomain.html +25 -173
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
- data/doc/NgrokAPI/Models/SSHCredential.html +3 -3
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +3 -3
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +3 -3
- data/doc/NgrokAPI/Models/StaticBackend.html +1211 -0
- data/doc/NgrokAPI/Models/StaticBackendTLS.html +595 -0
- data/doc/NgrokAPI/Models/TCPEdge.html +112 -32
- data/doc/NgrokAPI/Models/TLSCertificate.html +3 -3
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
- data/doc/NgrokAPI/Models/TLSEdge.html +112 -32
- data/doc/NgrokAPI/Models/Tunnel.html +3 -3
- data/doc/NgrokAPI/Models/TunnelGroupBackend.html +3 -3
- data/doc/NgrokAPI/Models/TunnelSession.html +3 -3
- data/doc/NgrokAPI/Models/UserAgent.html +3 -3
- data/doc/NgrokAPI/Models/WeightedBackend.html +3 -3
- data/doc/NgrokAPI/Models.html +5 -5
- data/doc/NgrokAPI/PagedIterator.html +3 -3
- data/doc/NgrokAPI/Services/APIKeysClient.html +4 -4
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +4 -4
- data/doc/NgrokAPI/Services/AgentIngressesClient.html +3 -3
- data/doc/NgrokAPI/Services/ApplicationSessionsClient.html +3 -3
- data/doc/NgrokAPI/Services/ApplicationUsersClient.html +3 -3
- data/doc/NgrokAPI/Services/BotUsersClient.html +1717 -0
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +3 -3
- data/doc/NgrokAPI/Services/CredentialsClient.html +9 -9
- data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRoutePolicyModuleClient.html +1149 -0
- data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteUserAgentFilterModuleClient.html +1149 -0
- data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +233 -93
- data/doc/NgrokAPI/Services/EdgesTCPClient.html +159 -79
- data/doc/NgrokAPI/Services/EdgesTLSClient.html +159 -79
- data/doc/NgrokAPI/Services/EndpointsClient.html +3 -3
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +3 -3
- data/doc/NgrokAPI/Services/EventSourcesClient.html +3 -3
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +7 -7
- data/doc/NgrokAPI/Services/FailoverBackendsClient.html +3 -3
- data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +3 -3
- data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +3 -3
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +3 -3
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +3 -3
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +3 -3
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +6 -6
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +3 -3
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +5 -5
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +3 -3
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +7 -7
- data/doc/NgrokAPI/Services/StaticBackendsClient.html +1879 -0
- data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/TCPEdgePolicyModuleClient.html +1039 -0
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +7 -7
- data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/TLSEdgePolicyModuleClient.html +1039 -0
- data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +3 -3
- data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +3 -3
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +5 -5
- data/doc/NgrokAPI/Services/TunnelsClient.html +3 -3
- data/doc/NgrokAPI/Services/WeightedBackendsClient.html +4 -4
- data/doc/NgrokAPI/Services.html +5 -5
- data/doc/NgrokAPI.html +4 -4
- data/doc/_index.html +95 -4
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +3 -3
- data/doc/frames.html +10 -5
- data/doc/index.html +3 -3
- data/doc/method_list.html +1778 -818
- data/doc/top-level-namespace.html +3 -3
- data/docs/NgrokAPI/Client.html +152 -96
- data/docs/NgrokAPI/Error.html +3 -3
- data/docs/NgrokAPI/Errors/NotFoundError.html +3 -3
- data/docs/NgrokAPI/Errors.html +3 -3
- data/docs/NgrokAPI/HttpClient.html +4 -4
- data/docs/NgrokAPI/Models/APIKey.html +3 -3
- data/docs/NgrokAPI/Models/AWSAuth.html +3 -3
- data/docs/NgrokAPI/Models/AWSCredentials.html +3 -3
- data/docs/NgrokAPI/Models/AWSRole.html +3 -3
- data/docs/NgrokAPI/Models/AbuseReport.html +3 -3
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +3 -3
- data/docs/NgrokAPI/Models/AgentIngress.html +3 -3
- data/docs/NgrokAPI/Models/AgentIngressCertJob.html +3 -3
- data/docs/NgrokAPI/Models/AgentIngressCertPolicy.html +3 -3
- data/docs/NgrokAPI/Models/AgentIngressCertStatus.html +3 -3
- data/docs/NgrokAPI/Models/ApplicationSession.html +3 -3
- data/docs/NgrokAPI/Models/ApplicationUser.html +3 -3
- data/docs/NgrokAPI/Models/BotUser.html +1051 -0
- data/docs/NgrokAPI/Models/BrowserSession.html +3 -3
- data/docs/NgrokAPI/Models/CertificateAuthority.html +3 -3
- data/docs/NgrokAPI/Models/Credential.html +3 -3
- data/docs/NgrokAPI/Models/Endpoint.html +3 -3
- data/docs/NgrokAPI/Models/EndpointAction.html +669 -0
- data/docs/NgrokAPI/Models/EndpointBackend.html +3 -3
- data/docs/NgrokAPI/Models/EndpointBackendMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
- data/docs/NgrokAPI/Models/EndpointCompression.html +3 -3
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuth.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthAmazon.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthGitLab.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthLinkedIn.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthTwitch.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOIDC.html +3 -3
- data/docs/NgrokAPI/Models/EndpointPolicy.html +743 -0
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
- data/docs/NgrokAPI/Models/EndpointRule.html +743 -0
- data/docs/NgrokAPI/Models/EndpointSAML.html +18 -96
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +18 -96
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
- data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +3 -3
- data/docs/NgrokAPI/Models/EndpointUserAgentFilter.html +743 -0
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
- data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +3 -3
- data/docs/NgrokAPI/Models/EventDestination.html +3 -3
- data/docs/NgrokAPI/Models/EventSource.html +19 -167
- data/docs/NgrokAPI/Models/EventSourceList.html +3 -3
- data/docs/NgrokAPI/Models/EventSourceReplace.html +19 -167
- data/docs/NgrokAPI/Models/EventSubscription.html +3 -3
- data/docs/NgrokAPI/Models/EventTarget.html +18 -92
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetDatadog.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +3 -3
- data/docs/NgrokAPI/Models/FailoverBackend.html +3 -3
- data/docs/NgrokAPI/Models/HTTPResponseBackend.html +3 -3
- data/docs/NgrokAPI/Models/HTTPSEdge.html +3 -3
- data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +197 -37
- data/docs/NgrokAPI/Models/IPPolicy.html +27 -101
- data/docs/NgrokAPI/Models/IPPolicyRule.html +3 -3
- data/docs/NgrokAPI/Models/IPRestriction.html +3 -3
- data/docs/NgrokAPI/Models/IdentityProvider.html +3 -3
- data/docs/NgrokAPI/Models/Listable.html +3 -3
- data/docs/NgrokAPI/Models/Location.html +3 -3
- data/docs/NgrokAPI/Models/Ref.html +3 -3
- data/docs/NgrokAPI/Models/ReservedAddr.html +22 -96
- data/docs/NgrokAPI/Models/ReservedDomain.html +25 -173
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
- data/docs/NgrokAPI/Models/SSHCredential.html +3 -3
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +3 -3
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +3 -3
- data/docs/NgrokAPI/Models/StaticBackend.html +1211 -0
- data/docs/NgrokAPI/Models/StaticBackendTLS.html +595 -0
- data/docs/NgrokAPI/Models/TCPEdge.html +112 -32
- data/docs/NgrokAPI/Models/TLSCertificate.html +3 -3
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
- data/docs/NgrokAPI/Models/TLSEdge.html +112 -32
- data/docs/NgrokAPI/Models/Tunnel.html +3 -3
- data/docs/NgrokAPI/Models/TunnelGroupBackend.html +3 -3
- data/docs/NgrokAPI/Models/TunnelSession.html +3 -3
- data/docs/NgrokAPI/Models/UserAgent.html +3 -3
- data/docs/NgrokAPI/Models/WeightedBackend.html +3 -3
- data/docs/NgrokAPI/Models.html +5 -5
- data/docs/NgrokAPI/PagedIterator.html +3 -3
- data/docs/NgrokAPI/Services/APIKeysClient.html +4 -4
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +4 -4
- data/docs/NgrokAPI/Services/AgentIngressesClient.html +3 -3
- data/docs/NgrokAPI/Services/ApplicationSessionsClient.html +3 -3
- data/docs/NgrokAPI/Services/ApplicationUsersClient.html +3 -3
- data/docs/NgrokAPI/Services/BotUsersClient.html +1717 -0
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +3 -3
- data/docs/NgrokAPI/Services/CredentialsClient.html +9 -9
- data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRoutePolicyModuleClient.html +1149 -0
- data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteUserAgentFilterModuleClient.html +1149 -0
- data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +233 -93
- data/docs/NgrokAPI/Services/EdgesTCPClient.html +159 -79
- data/docs/NgrokAPI/Services/EdgesTLSClient.html +159 -79
- data/docs/NgrokAPI/Services/EndpointsClient.html +3 -3
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +3 -3
- data/docs/NgrokAPI/Services/EventSourcesClient.html +3 -3
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +7 -7
- data/docs/NgrokAPI/Services/FailoverBackendsClient.html +3 -3
- data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +3 -3
- data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +3 -3
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +3 -3
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +3 -3
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +3 -3
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +6 -6
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +3 -3
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +5 -5
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +3 -3
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +7 -7
- data/docs/NgrokAPI/Services/StaticBackendsClient.html +1879 -0
- data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/TCPEdgePolicyModuleClient.html +1039 -0
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +7 -7
- data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/TLSEdgePolicyModuleClient.html +1039 -0
- data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +3 -3
- data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +3 -3
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +5 -5
- data/docs/NgrokAPI/Services/TunnelsClient.html +3 -3
- data/docs/NgrokAPI/Services/WeightedBackendsClient.html +4 -4
- data/docs/NgrokAPI/Services.html +5 -5
- data/docs/NgrokAPI.html +4 -4
- data/docs/_index.html +95 -4
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +3 -3
- data/docs/frames.html +10 -5
- data/docs/index.html +3 -3
- data/docs/method_list.html +1778 -818
- data/docs/top-level-namespace.html +3 -3
- data/lib/ngrokapi/client.rb +6 -0
- data/lib/ngrokapi/models/bot_user.rb +70 -0
- data/lib/ngrokapi/models/endpoint_action.rb +33 -0
- data/lib/ngrokapi/models/endpoint_policy.rb +35 -0
- data/lib/ngrokapi/models/endpoint_rule.rb +35 -0
- data/lib/ngrokapi/models/endpoint_saml.rb +0 -4
- data/lib/ngrokapi/models/endpoint_saml_mutate.rb +0 -4
- data/lib/ngrokapi/models/endpoint_user_agent_filter.rb +35 -0
- data/lib/ngrokapi/models/event_source.rb +0 -4
- data/lib/ngrokapi/models/event_source_replace.rb +1 -5
- data/lib/ngrokapi/models/event_target.rb +0 -2
- data/lib/ngrokapi/models/https_edge_route.rb +13 -3
- data/lib/ngrokapi/models/ip_policy.rb +1 -3
- data/lib/ngrokapi/models/reserved_addr.rb +1 -3
- data/lib/ngrokapi/models/reserved_domain.rb +0 -4
- data/lib/ngrokapi/models/static_backend.rb +80 -0
- data/lib/ngrokapi/models/static_backend_tls.rb +31 -0
- data/lib/ngrokapi/models/tcp_edge.rb +8 -3
- data/lib/ngrokapi/models/tls_edge.rb +8 -3
- data/lib/ngrokapi/services/bot_users_client.rb +223 -0
- data/lib/ngrokapi/services/credentials_client.rb +2 -2
- data/lib/ngrokapi/services/edge_route_policy_module_client.rb +120 -0
- data/lib/ngrokapi/services/edge_route_user_agent_filter_module_client.rb +120 -0
- data/lib/ngrokapi/services/edges_https_routes_client.rb +20 -4
- data/lib/ngrokapi/services/edges_tcp_client.rb +12 -4
- data/lib/ngrokapi/services/edges_tls_client.rb +12 -4
- data/lib/ngrokapi/services/reserved_domains_client.rb +2 -2
- data/lib/ngrokapi/services/static_backends_client.rb +242 -0
- data/lib/ngrokapi/services/tcp_edge_policy_module_client.rb +108 -0
- data/lib/ngrokapi/services/tls_edge_policy_module_client.rb +108 -0
- data/lib/ngrokapi/version.rb +1 -1
- data/spec/ngrokapi/client_spec.rb +8 -0
- data/spec/ngrokapi/models/bot_user_spec.rb +44 -0
- data/spec/ngrokapi/models/endpoint_action_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_policy_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_rule_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_user_agent_filter_spec.rb +23 -0
- data/spec/ngrokapi/models/https_edge_route_spec.rb +7 -1
- data/spec/ngrokapi/models/static_backend_spec.rb +50 -0
- data/spec/ngrokapi/models/static_backend_tls_spec.rb +23 -0
- data/spec/ngrokapi/models/tcp_edge_spec.rb +4 -1
- data/spec/ngrokapi/models/tls_edge_spec.rb +4 -1
- data/spec/ngrokapi/services/bot_users_client_spec.rb +178 -0
- data/spec/ngrokapi/services/credentials_client_spec.rb +4 -2
- data/spec/ngrokapi/services/edge_route_policy_module_client_spec.rb +139 -0
- data/spec/ngrokapi/services/edge_route_user_agent_filter_module_client_spec.rb +139 -0
- data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +20 -4
- data/spec/ngrokapi/services/edges_tcp_client_spec.rb +12 -4
- data/spec/ngrokapi/services/edges_tls_client_spec.rb +12 -4
- data/spec/ngrokapi/services/static_backends_client_spec.rb +194 -0
- data/spec/ngrokapi/services/tcp_edge_policy_module_client_spec.rb +125 -0
- data/spec/ngrokapi/services/tls_edge_policy_module_client_spec.rb +125 -0
- data/spec/spec_helper.rb +64 -0
- metadata +54 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Top Level Namespace
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.36
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
</div>
|
|
101
101
|
|
|
102
102
|
<div id="footer">
|
|
103
|
-
Generated on
|
|
103
|
+
Generated on Tue Apr 30 20:26:13 2024 by
|
|
104
104
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
105
|
-
0.9.
|
|
105
|
+
0.9.36 (ruby-3.3.0).
|
|
106
106
|
</div>
|
|
107
107
|
|
|
108
108
|
</div>
|
data/lib/ngrokapi/client.rb
CHANGED
|
@@ -56,6 +56,10 @@ module NgrokAPI
|
|
|
56
56
|
@_tunnel_sessions ||= NgrokAPI::Services::TunnelSessionsClient.new(client: @client)
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
+
def bot_users
|
|
60
|
+
@_bot_users ||= NgrokAPI::Services::BotUsersClient.new(client: @client)
|
|
61
|
+
end
|
|
62
|
+
|
|
59
63
|
##
|
|
60
64
|
# Certificate Authorities are x509 certificates that are used to sign other
|
|
61
65
|
# x509 certificates. Attach a Certificate Authority to the Mutual TLS module
|
|
@@ -218,6 +222,7 @@ module NgrokAPI
|
|
|
218
222
|
ns = OpenStruct.new
|
|
219
223
|
ns.failover = NgrokAPI::Services::FailoverBackendsClient.new(client: @client)
|
|
220
224
|
ns.http_response = NgrokAPI::Services::HTTPResponseBackendsClient.new(client: @client)
|
|
225
|
+
ns.static_address = NgrokAPI::Services::StaticBackendsClient.new(client: @client)
|
|
221
226
|
ns.tunnel_group = NgrokAPI::Services::TunnelGroupBackendsClient.new(client: @client)
|
|
222
227
|
ns.weighted = NgrokAPI::Services::WeightedBackendsClient.new(client: @client)
|
|
223
228
|
|
|
@@ -249,6 +254,7 @@ module NgrokAPI
|
|
|
249
254
|
ns.https_edge_route_saml = NgrokAPI::Services::EdgeRouteSAMLModuleClient.new(client: @client)
|
|
250
255
|
ns.https_edge_route_oidc = NgrokAPI::Services::EdgeRouteOIDCModuleClient.new(client: @client)
|
|
251
256
|
ns.https_edge_route_websocket_tcp_converter = NgrokAPI::Services::EdgeRouteWebsocketTCPConverterModuleClient.new(client: @client)
|
|
257
|
+
ns.https_edge_route_user_agent_filter = NgrokAPI::Services::EdgeRouteUserAgentFilterModuleClient.new(client: @client)
|
|
252
258
|
ns.tcp_edge_backend = NgrokAPI::Services::TCPEdgeBackendModuleClient.new(client: @client)
|
|
253
259
|
ns.tcp_edge_ip_restriction = NgrokAPI::Services::TCPEdgeIPRestrictionModuleClient.new(client: @client)
|
|
254
260
|
ns.tls_edge_backend = NgrokAPI::Services::TLSEdgeBackendModuleClient.new(client: @client)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated for API Clients. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
require 'uri'
|
|
6
|
+
|
|
7
|
+
module NgrokAPI
|
|
8
|
+
module Models
|
|
9
|
+
class BotUser
|
|
10
|
+
attr_reader :client,
|
|
11
|
+
:attrs,
|
|
12
|
+
:id,
|
|
13
|
+
:uri,
|
|
14
|
+
:name,
|
|
15
|
+
:active,
|
|
16
|
+
:created_at
|
|
17
|
+
|
|
18
|
+
def initialize(client: nil, attrs: {})
|
|
19
|
+
@client = client
|
|
20
|
+
@attrs = attrs
|
|
21
|
+
@id = @attrs['id']
|
|
22
|
+
unless @attrs['uri'].nil?
|
|
23
|
+
@uri = URI(@attrs['uri'])
|
|
24
|
+
end
|
|
25
|
+
@name = @attrs['name']
|
|
26
|
+
@active = @attrs['active']
|
|
27
|
+
@created_at = @attrs['created_at']
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def ==(other)
|
|
31
|
+
@attrs == other.attrs
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def to_s
|
|
35
|
+
@attrs.to_s
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def to_h
|
|
39
|
+
@attrs.to_h
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
##
|
|
43
|
+
# Delete a bot user by ID
|
|
44
|
+
#
|
|
45
|
+
# https://ngrok.com/docs/api#api-bot-users-delete
|
|
46
|
+
def delete
|
|
47
|
+
@client.delete(
|
|
48
|
+
id: @id
|
|
49
|
+
)
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
##
|
|
53
|
+
# Update attributes of a bot user by ID.
|
|
54
|
+
#
|
|
55
|
+
# https://ngrok.com/docs/api#api-bot-users-update
|
|
56
|
+
def update(
|
|
57
|
+
name: nil,
|
|
58
|
+
active: nil
|
|
59
|
+
)
|
|
60
|
+
@name = name if name
|
|
61
|
+
@active = active if active
|
|
62
|
+
@client.update(
|
|
63
|
+
id: @id,
|
|
64
|
+
name: name,
|
|
65
|
+
active: active
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated for API Clients. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module NgrokAPI
|
|
6
|
+
module Models
|
|
7
|
+
class EndpointAction
|
|
8
|
+
attr_reader :client,
|
|
9
|
+
:attrs,
|
|
10
|
+
:type,
|
|
11
|
+
:config
|
|
12
|
+
|
|
13
|
+
def initialize(client: nil, attrs: {})
|
|
14
|
+
@client = client
|
|
15
|
+
@attrs = attrs
|
|
16
|
+
@type = @attrs['type']
|
|
17
|
+
@config = @attrs['config']
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def ==(other)
|
|
21
|
+
@attrs == other.attrs
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def to_s
|
|
25
|
+
@attrs.to_s
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def to_h
|
|
29
|
+
@attrs.to_h
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated for API Clients. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module NgrokAPI
|
|
6
|
+
module Models
|
|
7
|
+
class EndpointPolicy
|
|
8
|
+
attr_reader :client,
|
|
9
|
+
:attrs,
|
|
10
|
+
:enabled,
|
|
11
|
+
:inbound,
|
|
12
|
+
:outbound
|
|
13
|
+
|
|
14
|
+
def initialize(client: nil, attrs: {})
|
|
15
|
+
@client = client
|
|
16
|
+
@attrs = attrs
|
|
17
|
+
@enabled = @attrs['enabled']
|
|
18
|
+
@inbound = @attrs['inbound']
|
|
19
|
+
@outbound = @attrs['outbound']
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def ==(other)
|
|
23
|
+
@attrs == other.attrs
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def to_s
|
|
27
|
+
@attrs.to_s
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def to_h
|
|
31
|
+
@attrs.to_h
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated for API Clients. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module NgrokAPI
|
|
6
|
+
module Models
|
|
7
|
+
class EndpointRule
|
|
8
|
+
attr_reader :client,
|
|
9
|
+
:attrs,
|
|
10
|
+
:expressions,
|
|
11
|
+
:actions,
|
|
12
|
+
:name
|
|
13
|
+
|
|
14
|
+
def initialize(client: nil, attrs: {})
|
|
15
|
+
@client = client
|
|
16
|
+
@attrs = attrs
|
|
17
|
+
@expressions = @attrs['expressions']
|
|
18
|
+
@actions = @attrs['actions']
|
|
19
|
+
@name = @attrs['name']
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def ==(other)
|
|
23
|
+
@attrs == other.attrs
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def to_s
|
|
27
|
+
@attrs.to_s
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def to_h
|
|
31
|
+
@attrs.to_h
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -14,7 +14,6 @@ module NgrokAPI
|
|
|
14
14
|
:cookie_prefix,
|
|
15
15
|
:inactivity_timeout,
|
|
16
16
|
:maximum_duration,
|
|
17
|
-
:idp_metadata_url,
|
|
18
17
|
:idp_metadata,
|
|
19
18
|
:force_authn,
|
|
20
19
|
:allow_idp_initiated,
|
|
@@ -34,9 +33,6 @@ module NgrokAPI
|
|
|
34
33
|
@cookie_prefix = @attrs['cookie_prefix']
|
|
35
34
|
@inactivity_timeout = @attrs['inactivity_timeout']
|
|
36
35
|
@maximum_duration = @attrs['maximum_duration']
|
|
37
|
-
unless @attrs['idp_metadata_url'].nil?
|
|
38
|
-
@idp_metadata_url = URI(@attrs['idp_metadata_url'])
|
|
39
|
-
end
|
|
40
36
|
@idp_metadata = @attrs['idp_metadata']
|
|
41
37
|
@force_authn = @attrs['force_authn']
|
|
42
38
|
@allow_idp_initiated = @attrs['allow_idp_initiated']
|
|
@@ -14,7 +14,6 @@ module NgrokAPI
|
|
|
14
14
|
:cookie_prefix,
|
|
15
15
|
:inactivity_timeout,
|
|
16
16
|
:maximum_duration,
|
|
17
|
-
:idp_metadata_url,
|
|
18
17
|
:idp_metadata,
|
|
19
18
|
:force_authn,
|
|
20
19
|
:allow_idp_initiated,
|
|
@@ -29,9 +28,6 @@ module NgrokAPI
|
|
|
29
28
|
@cookie_prefix = @attrs['cookie_prefix']
|
|
30
29
|
@inactivity_timeout = @attrs['inactivity_timeout']
|
|
31
30
|
@maximum_duration = @attrs['maximum_duration']
|
|
32
|
-
unless @attrs['idp_metadata_url'].nil?
|
|
33
|
-
@idp_metadata_url = URI(@attrs['idp_metadata_url'])
|
|
34
|
-
end
|
|
35
31
|
@idp_metadata = @attrs['idp_metadata']
|
|
36
32
|
@force_authn = @attrs['force_authn']
|
|
37
33
|
@allow_idp_initiated = @attrs['allow_idp_initiated']
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated for API Clients. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module NgrokAPI
|
|
6
|
+
module Models
|
|
7
|
+
class EndpointUserAgentFilter
|
|
8
|
+
attr_reader :client,
|
|
9
|
+
:attrs,
|
|
10
|
+
:enabled,
|
|
11
|
+
:allow,
|
|
12
|
+
:deny
|
|
13
|
+
|
|
14
|
+
def initialize(client: nil, attrs: {})
|
|
15
|
+
@client = client
|
|
16
|
+
@attrs = attrs
|
|
17
|
+
@enabled = @attrs['enabled']
|
|
18
|
+
@allow = @attrs['allow']
|
|
19
|
+
@deny = @attrs['deny']
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def ==(other)
|
|
23
|
+
@attrs == other.attrs
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def to_s
|
|
27
|
+
@attrs.to_s
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def to_h
|
|
31
|
+
@attrs.to_h
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -10,16 +10,12 @@ module NgrokAPI
|
|
|
10
10
|
attr_reader :client,
|
|
11
11
|
:attrs,
|
|
12
12
|
:type,
|
|
13
|
-
:filter,
|
|
14
|
-
:fields,
|
|
15
13
|
:uri
|
|
16
14
|
|
|
17
15
|
def initialize(client: nil, attrs: {})
|
|
18
16
|
@client = client
|
|
19
17
|
@attrs = attrs
|
|
20
18
|
@type = @attrs['type']
|
|
21
|
-
@filter = @attrs['filter']
|
|
22
|
-
@fields = @attrs['fields']
|
|
23
19
|
unless @attrs['uri'].nil?
|
|
24
20
|
@uri = URI(@attrs['uri'])
|
|
25
21
|
end
|
|
@@ -7,16 +7,12 @@ module NgrokAPI
|
|
|
7
7
|
class EventSourceReplace
|
|
8
8
|
attr_reader :client,
|
|
9
9
|
:attrs,
|
|
10
|
-
:type
|
|
11
|
-
:filter,
|
|
12
|
-
:fields
|
|
10
|
+
:type
|
|
13
11
|
|
|
14
12
|
def initialize(client: nil, attrs: {})
|
|
15
13
|
@client = client
|
|
16
14
|
@attrs = attrs
|
|
17
15
|
@type = @attrs['type']
|
|
18
|
-
@filter = @attrs['filter']
|
|
19
|
-
@fields = @attrs['fields']
|
|
20
16
|
end
|
|
21
17
|
|
|
22
18
|
def ==(other)
|
|
@@ -10,7 +10,6 @@ module NgrokAPI
|
|
|
10
10
|
:firehose,
|
|
11
11
|
:kinesis,
|
|
12
12
|
:cloudwatch_logs,
|
|
13
|
-
:debug,
|
|
14
13
|
:datadog
|
|
15
14
|
|
|
16
15
|
def initialize(client: nil, attrs: {})
|
|
@@ -19,7 +18,6 @@ module NgrokAPI
|
|
|
19
18
|
@firehose = @attrs['firehose']
|
|
20
19
|
@kinesis = @attrs['kinesis']
|
|
21
20
|
@cloudwatch_logs = @attrs['cloudwatch_logs']
|
|
22
|
-
@debug = @attrs['debug']
|
|
23
21
|
@datadog = @attrs['datadog']
|
|
24
22
|
end
|
|
25
23
|
|
|
@@ -27,7 +27,9 @@ module NgrokAPI
|
|
|
27
27
|
:oauth,
|
|
28
28
|
:saml,
|
|
29
29
|
:oidc,
|
|
30
|
-
:websocket_tcp_converter
|
|
30
|
+
:websocket_tcp_converter,
|
|
31
|
+
:user_agent_filter,
|
|
32
|
+
:policy
|
|
31
33
|
|
|
32
34
|
def initialize(client: nil, attrs: {})
|
|
33
35
|
@client = client
|
|
@@ -53,6 +55,8 @@ module NgrokAPI
|
|
|
53
55
|
@saml = @attrs['saml']
|
|
54
56
|
@oidc = @attrs['oidc']
|
|
55
57
|
@websocket_tcp_converter = @attrs['websocket_tcp_converter']
|
|
58
|
+
@user_agent_filter = @attrs['user_agent_filter']
|
|
59
|
+
@policy = @attrs['policy']
|
|
56
60
|
end
|
|
57
61
|
|
|
58
62
|
def ==(other)
|
|
@@ -89,7 +93,9 @@ module NgrokAPI
|
|
|
89
93
|
oauth: nil,
|
|
90
94
|
saml: nil,
|
|
91
95
|
oidc: nil,
|
|
92
|
-
websocket_tcp_converter: nil
|
|
96
|
+
websocket_tcp_converter: nil,
|
|
97
|
+
user_agent_filter: nil,
|
|
98
|
+
policy: nil
|
|
93
99
|
)
|
|
94
100
|
@match_type = match_type if match_type
|
|
95
101
|
@match = match if match
|
|
@@ -106,6 +112,8 @@ module NgrokAPI
|
|
|
106
112
|
@saml = saml if saml
|
|
107
113
|
@oidc = oidc if oidc
|
|
108
114
|
@websocket_tcp_converter = websocket_tcp_converter if websocket_tcp_converter
|
|
115
|
+
@user_agent_filter = user_agent_filter if user_agent_filter
|
|
116
|
+
@policy = policy if policy
|
|
109
117
|
@client.update(
|
|
110
118
|
edge_id: @edge_id,
|
|
111
119
|
id: @id,
|
|
@@ -123,7 +131,9 @@ module NgrokAPI
|
|
|
123
131
|
oauth: oauth,
|
|
124
132
|
saml: saml,
|
|
125
133
|
oidc: oidc,
|
|
126
|
-
websocket_tcp_converter: websocket_tcp_converter
|
|
134
|
+
websocket_tcp_converter: websocket_tcp_converter,
|
|
135
|
+
user_agent_filter: user_agent_filter,
|
|
136
|
+
policy: policy
|
|
127
137
|
)
|
|
128
138
|
end
|
|
129
139
|
|
|
@@ -13,8 +13,7 @@ module NgrokAPI
|
|
|
13
13
|
:uri,
|
|
14
14
|
:created_at,
|
|
15
15
|
:description,
|
|
16
|
-
:metadata
|
|
17
|
-
:action
|
|
16
|
+
:metadata
|
|
18
17
|
|
|
19
18
|
def initialize(client: nil, attrs: {})
|
|
20
19
|
@client = client
|
|
@@ -26,7 +25,6 @@ module NgrokAPI
|
|
|
26
25
|
@created_at = @attrs['created_at']
|
|
27
26
|
@description = @attrs['description']
|
|
28
27
|
@metadata = @attrs['metadata']
|
|
29
|
-
@action = @attrs['action']
|
|
30
28
|
end
|
|
31
29
|
|
|
32
30
|
def ==(other)
|
|
@@ -15,8 +15,7 @@ module NgrokAPI
|
|
|
15
15
|
:description,
|
|
16
16
|
:metadata,
|
|
17
17
|
:addr,
|
|
18
|
-
:region
|
|
19
|
-
:endpoint_configuration
|
|
18
|
+
:region
|
|
20
19
|
|
|
21
20
|
def initialize(client: nil, attrs: {})
|
|
22
21
|
@client = client
|
|
@@ -30,7 +29,6 @@ module NgrokAPI
|
|
|
30
29
|
@metadata = @attrs['metadata']
|
|
31
30
|
@addr = @attrs['addr']
|
|
32
31
|
@region = @attrs['region']
|
|
33
|
-
@endpoint_configuration = @attrs['endpoint_configuration']
|
|
34
32
|
end
|
|
35
33
|
|
|
36
34
|
def ==(other)
|
|
@@ -17,8 +17,6 @@ module NgrokAPI
|
|
|
17
17
|
:domain,
|
|
18
18
|
:region,
|
|
19
19
|
:cname_target,
|
|
20
|
-
:http_endpoint_configuration,
|
|
21
|
-
:https_endpoint_configuration,
|
|
22
20
|
:certificate,
|
|
23
21
|
:certificate_management_policy,
|
|
24
22
|
:certificate_management_status,
|
|
@@ -37,8 +35,6 @@ module NgrokAPI
|
|
|
37
35
|
@domain = @attrs['domain']
|
|
38
36
|
@region = @attrs['region']
|
|
39
37
|
@cname_target = @attrs['cname_target']
|
|
40
|
-
@http_endpoint_configuration = @attrs['http_endpoint_configuration']
|
|
41
|
-
@https_endpoint_configuration = @attrs['https_endpoint_configuration']
|
|
42
38
|
@certificate = @attrs['certificate']
|
|
43
39
|
@certificate_management_policy = @attrs['certificate_management_policy']
|
|
44
40
|
@certificate_management_status = @attrs['certificate_management_status']
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated for API Clients. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
require 'uri'
|
|
6
|
+
|
|
7
|
+
module NgrokAPI
|
|
8
|
+
module Models
|
|
9
|
+
class StaticBackend
|
|
10
|
+
attr_reader :client,
|
|
11
|
+
:attrs,
|
|
12
|
+
:id,
|
|
13
|
+
:uri,
|
|
14
|
+
:created_at,
|
|
15
|
+
:description,
|
|
16
|
+
:metadata,
|
|
17
|
+
:address,
|
|
18
|
+
:tls
|
|
19
|
+
|
|
20
|
+
def initialize(client: nil, attrs: {})
|
|
21
|
+
@client = client
|
|
22
|
+
@attrs = attrs
|
|
23
|
+
@id = @attrs['id']
|
|
24
|
+
unless @attrs['uri'].nil?
|
|
25
|
+
@uri = URI(@attrs['uri'])
|
|
26
|
+
end
|
|
27
|
+
@created_at = @attrs['created_at']
|
|
28
|
+
@description = @attrs['description']
|
|
29
|
+
@metadata = @attrs['metadata']
|
|
30
|
+
@address = @attrs['address']
|
|
31
|
+
@tls = @attrs['tls']
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def ==(other)
|
|
35
|
+
@attrs == other.attrs
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def to_s
|
|
39
|
+
@attrs.to_s
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def to_h
|
|
43
|
+
@attrs.to_h
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
##
|
|
47
|
+
# Delete a static backend by ID.
|
|
48
|
+
#
|
|
49
|
+
# https://ngrok.com/docs/api#api-static-backends-delete
|
|
50
|
+
def delete
|
|
51
|
+
@client.delete(
|
|
52
|
+
id: @id
|
|
53
|
+
)
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
##
|
|
57
|
+
# Update static backend by ID
|
|
58
|
+
#
|
|
59
|
+
# https://ngrok.com/docs/api#api-static-backends-update
|
|
60
|
+
def update(
|
|
61
|
+
description: nil,
|
|
62
|
+
metadata: nil,
|
|
63
|
+
address: "",
|
|
64
|
+
tls: nil
|
|
65
|
+
)
|
|
66
|
+
@description = description if description
|
|
67
|
+
@metadata = metadata if metadata
|
|
68
|
+
@address = address if address
|
|
69
|
+
@tls = tls if tls
|
|
70
|
+
@client.update(
|
|
71
|
+
id: @id,
|
|
72
|
+
description: description,
|
|
73
|
+
metadata: metadata,
|
|
74
|
+
address: address,
|
|
75
|
+
tls: tls
|
|
76
|
+
)
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated for API Clients. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module NgrokAPI
|
|
6
|
+
module Models
|
|
7
|
+
class StaticBackendTLS
|
|
8
|
+
attr_reader :client,
|
|
9
|
+
:attrs,
|
|
10
|
+
:enabled
|
|
11
|
+
|
|
12
|
+
def initialize(client: nil, attrs: {})
|
|
13
|
+
@client = client
|
|
14
|
+
@attrs = attrs
|
|
15
|
+
@enabled = @attrs['enabled']
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def ==(other)
|
|
19
|
+
@attrs == other.attrs
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def to_s
|
|
23
|
+
@attrs.to_s
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def to_h
|
|
27
|
+
@attrs.to_h
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -16,7 +16,8 @@ module NgrokAPI
|
|
|
16
16
|
:uri,
|
|
17
17
|
:hostports,
|
|
18
18
|
:backend,
|
|
19
|
-
:ip_restriction
|
|
19
|
+
:ip_restriction,
|
|
20
|
+
:policy
|
|
20
21
|
|
|
21
22
|
def initialize(client: nil, attrs: {})
|
|
22
23
|
@client = client
|
|
@@ -31,6 +32,7 @@ module NgrokAPI
|
|
|
31
32
|
@hostports = @attrs['hostports']
|
|
32
33
|
@backend = @attrs['backend']
|
|
33
34
|
@ip_restriction = @attrs['ip_restriction']
|
|
35
|
+
@policy = @attrs['policy']
|
|
34
36
|
end
|
|
35
37
|
|
|
36
38
|
def ==(other)
|
|
@@ -57,20 +59,23 @@ module NgrokAPI
|
|
|
57
59
|
metadata: nil,
|
|
58
60
|
hostports: nil,
|
|
59
61
|
backend: nil,
|
|
60
|
-
ip_restriction: nil
|
|
62
|
+
ip_restriction: nil,
|
|
63
|
+
policy: nil
|
|
61
64
|
)
|
|
62
65
|
@description = description if description
|
|
63
66
|
@metadata = metadata if metadata
|
|
64
67
|
@hostports = hostports if hostports
|
|
65
68
|
@backend = backend if backend
|
|
66
69
|
@ip_restriction = ip_restriction if ip_restriction
|
|
70
|
+
@policy = policy if policy
|
|
67
71
|
@client.update(
|
|
68
72
|
id: @id,
|
|
69
73
|
description: description,
|
|
70
74
|
metadata: metadata,
|
|
71
75
|
hostports: hostports,
|
|
72
76
|
backend: backend,
|
|
73
|
-
ip_restriction: ip_restriction
|
|
77
|
+
ip_restriction: ip_restriction,
|
|
78
|
+
policy: policy
|
|
74
79
|
)
|
|
75
80
|
end
|
|
76
81
|
|
|
@@ -18,7 +18,8 @@ module NgrokAPI
|
|
|
18
18
|
:backend,
|
|
19
19
|
:ip_restriction,
|
|
20
20
|
:mutual_tls,
|
|
21
|
-
:tls_termination
|
|
21
|
+
:tls_termination,
|
|
22
|
+
:policy
|
|
22
23
|
|
|
23
24
|
def initialize(client: nil, attrs: {})
|
|
24
25
|
@client = client
|
|
@@ -35,6 +36,7 @@ module NgrokAPI
|
|
|
35
36
|
@ip_restriction = @attrs['ip_restriction']
|
|
36
37
|
@mutual_tls = @attrs['mutual_tls']
|
|
37
38
|
@tls_termination = @attrs['tls_termination']
|
|
39
|
+
@policy = @attrs['policy']
|
|
38
40
|
end
|
|
39
41
|
|
|
40
42
|
def ==(other)
|
|
@@ -63,7 +65,8 @@ module NgrokAPI
|
|
|
63
65
|
backend: nil,
|
|
64
66
|
ip_restriction: nil,
|
|
65
67
|
mutual_tls: nil,
|
|
66
|
-
tls_termination: nil
|
|
68
|
+
tls_termination: nil,
|
|
69
|
+
policy: nil
|
|
67
70
|
)
|
|
68
71
|
@description = description if description
|
|
69
72
|
@metadata = metadata if metadata
|
|
@@ -72,6 +75,7 @@ module NgrokAPI
|
|
|
72
75
|
@ip_restriction = ip_restriction if ip_restriction
|
|
73
76
|
@mutual_tls = mutual_tls if mutual_tls
|
|
74
77
|
@tls_termination = tls_termination if tls_termination
|
|
78
|
+
@policy = policy if policy
|
|
75
79
|
@client.update(
|
|
76
80
|
id: @id,
|
|
77
81
|
description: description,
|
|
@@ -80,7 +84,8 @@ module NgrokAPI
|
|
|
80
84
|
backend: backend,
|
|
81
85
|
ip_restriction: ip_restriction,
|
|
82
86
|
mutual_tls: mutual_tls,
|
|
83
|
-
tls_termination: tls_termination
|
|
87
|
+
tls_termination: tls_termination,
|
|
88
|
+
policy: policy
|
|
84
89
|
)
|
|
85
90
|
end
|
|
86
91
|
|