ngrok-api 0.18.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +7 -7
- data/.gitignore +15 -13
- data/.rubocop.yml +30 -28
- data/.rubocop_airbnb.yml +4 -2
- data/.simplecov +3 -1
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +45 -0
- data/Gemfile +34 -32
- data/Guardfile +18 -16
- data/README.md +94 -61
- data/Rakefile +9 -7
- data/doc/NgrokAPI/Client.html +229 -125
- data/doc/NgrokAPI/Error.html +12 -12
- data/doc/NgrokAPI/Errors/NotFoundError.html +12 -12
- data/doc/NgrokAPI/Errors.html +4 -4
- data/doc/NgrokAPI/HttpClient.html +208 -65
- data/doc/NgrokAPI/Models/APIKey.html +220 -90
- data/doc/NgrokAPI/Models/AWSAuth.html +113 -61
- data/doc/NgrokAPI/Models/AWSCredentials.html +120 -68
- data/doc/NgrokAPI/Models/AWSRole.html +101 -49
- data/doc/NgrokAPI/Models/AbuseReport.html +165 -109
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +113 -61
- data/doc/NgrokAPI/Models/AgentIngress.html +365 -155
- data/doc/NgrokAPI/Models/AgentIngressCertJob.html +817 -0
- data/doc/NgrokAPI/Models/AgentIngressCertPolicy.html +669 -0
- data/doc/NgrokAPI/Models/AgentIngressCertStatus.html +669 -0
- data/doc/NgrokAPI/Models/ApplicationSession.html +1414 -0
- data/doc/NgrokAPI/Models/ApplicationUser.html +1336 -0
- data/doc/NgrokAPI/Models/BrowserSession.html +743 -0
- data/doc/NgrokAPI/Models/CertificateAuthority.html +223 -167
- data/doc/NgrokAPI/Models/Credential.html +225 -95
- data/doc/NgrokAPI/Models/Endpoint.html +215 -159
- data/doc/NgrokAPI/Models/EndpointBackend.html +120 -68
- data/doc/NgrokAPI/Models/EndpointBackendMutate.html +120 -68
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +147 -95
- data/doc/NgrokAPI/Models/EndpointCompression.html +108 -56
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +120 -68
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +120 -68
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +120 -68
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +120 -68
- data/doc/NgrokAPI/Models/EndpointOAuth.html +166 -114
- data/doc/NgrokAPI/Models/EndpointOAuthAmazon.html +891 -0
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +149 -97
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +166 -114
- data/doc/NgrokAPI/Models/EndpointOAuthGitLab.html +891 -0
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +149 -97
- data/doc/NgrokAPI/Models/EndpointOAuthLinkedIn.html +891 -0
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +149 -97
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +410 -62
- data/doc/NgrokAPI/Models/EndpointOAuthTwitch.html +891 -0
- data/doc/NgrokAPI/Models/EndpointOIDC.html +183 -131
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +125 -73
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +125 -73
- data/doc/NgrokAPI/Models/EndpointSAML.html +244 -176
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +197 -141
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +125 -73
- data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +120 -68
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +125 -73
- data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +108 -56
- data/doc/NgrokAPI/Models/EventDestination.html +178 -122
- data/doc/NgrokAPI/Models/EventSource.html +136 -80
- data/doc/NgrokAPI/Models/EventSourceList.html +112 -56
- data/doc/NgrokAPI/Models/EventSourceReplace.html +125 -73
- data/doc/NgrokAPI/Models/EventSubscription.html +178 -122
- data/doc/NgrokAPI/Models/EventTarget.html +206 -80
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +120 -68
- data/doc/NgrokAPI/Models/EventTargetDatadog.html +817 -0
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +120 -68
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +113 -61
- data/doc/NgrokAPI/Models/FailoverBackend.html +186 -130
- data/doc/NgrokAPI/Models/HTTPResponseBackend.html +202 -146
- data/doc/NgrokAPI/Models/HTTPSEdge.html +207 -151
- data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +272 -216
- data/doc/NgrokAPI/Models/IPPolicy.html +178 -122
- data/doc/NgrokAPI/Models/IPPolicyRule.html +201 -145
- data/doc/NgrokAPI/Models/IPRestriction.html +190 -134
- data/doc/NgrokAPI/Models/IdentityProvider.html +669 -0
- data/doc/NgrokAPI/Models/Listable.html +130 -130
- data/doc/NgrokAPI/Models/Location.html +817 -0
- data/doc/NgrokAPI/Models/Ref.html +119 -63
- data/doc/NgrokAPI/Models/ReservedAddr.html +189 -133
- data/doc/NgrokAPI/Models/ReservedDomain.html +231 -175
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +130 -78
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +120 -68
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +120 -68
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +197 -141
- data/doc/NgrokAPI/Models/SSHCredential.html +232 -102
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +226 -170
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +240 -184
- data/doc/NgrokAPI/Models/TCPEdge.html +204 -148
- data/doc/NgrokAPI/Models/TLSCertificate.html +279 -223
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +120 -68
- data/doc/NgrokAPI/Models/TLSEdge.html +216 -160
- data/doc/NgrokAPI/Models/Tunnel.html +205 -149
- data/doc/NgrokAPI/Models/TunnelGroupBackend.html +191 -135
- data/doc/NgrokAPI/Models/TunnelSession.html +193 -137
- data/doc/NgrokAPI/Models/UserAgent.html +965 -0
- data/doc/NgrokAPI/Models/WeightedBackend.html +186 -130
- data/doc/NgrokAPI/Models.html +6 -6
- data/doc/NgrokAPI/PagedIterator.html +53 -53
- data/doc/NgrokAPI/Services/APIKeysClient.html +302 -127
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +176 -39
- data/doc/NgrokAPI/Services/AgentIngressesClient.html +366 -133
- data/doc/NgrokAPI/Services/ApplicationSessionsClient.html +1131 -0
- data/doc/NgrokAPI/Services/ApplicationUsersClient.html +1131 -0
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +276 -123
- data/doc/NgrokAPI/Services/CredentialsClient.html +328 -133
- data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +319 -129
- data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +528 -113
- data/doc/NgrokAPI/Services/EdgesTCPClient.html +319 -129
- data/doc/NgrokAPI/Services/EdgesTLSClient.html +353 -133
- data/doc/NgrokAPI/Services/EndpointsClient.html +22 -26
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +302 -127
- data/doc/NgrokAPI/Services/EventSourcesClient.html +244 -105
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +302 -127
- data/doc/NgrokAPI/Services/FailoverBackendsClient.html +282 -127
- data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +322 -129
- data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +258 -123
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +317 -130
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +318 -127
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +278 -123
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +388 -171
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +318 -123
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +345 -132
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +354 -123
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +397 -126
- data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +296 -125
- data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +282 -127
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +22 -26
- data/doc/NgrokAPI/Services/TunnelsClient.html +22 -26
- data/doc/NgrokAPI/Services/WeightedBackendsClient.html +285 -130
- data/doc/NgrokAPI/Services.html +6 -6
- data/doc/NgrokAPI.html +6 -6
- data/doc/_index.html +139 -8
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +55 -51
- data/doc/frames.html +1 -1
- data/doc/index.html +55 -51
- data/doc/method_list.html +4383 -2175
- data/doc/top-level-namespace.html +4 -4
- data/docs/NgrokAPI/Client.html +229 -125
- data/docs/NgrokAPI/Error.html +12 -12
- data/docs/NgrokAPI/Errors/NotFoundError.html +12 -12
- data/docs/NgrokAPI/Errors.html +4 -4
- data/docs/NgrokAPI/HttpClient.html +208 -65
- data/docs/NgrokAPI/Models/APIKey.html +220 -90
- data/docs/NgrokAPI/Models/AWSAuth.html +113 -61
- data/docs/NgrokAPI/Models/AWSCredentials.html +120 -68
- data/docs/NgrokAPI/Models/AWSRole.html +101 -49
- data/docs/NgrokAPI/Models/AbuseReport.html +165 -109
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +113 -61
- data/docs/NgrokAPI/Models/AgentIngress.html +365 -155
- data/docs/NgrokAPI/Models/AgentIngressCertJob.html +817 -0
- data/docs/NgrokAPI/Models/AgentIngressCertPolicy.html +669 -0
- data/docs/NgrokAPI/Models/AgentIngressCertStatus.html +669 -0
- data/docs/NgrokAPI/Models/ApplicationSession.html +1414 -0
- data/docs/NgrokAPI/Models/ApplicationUser.html +1336 -0
- data/docs/NgrokAPI/Models/BrowserSession.html +743 -0
- data/docs/NgrokAPI/Models/CertificateAuthority.html +223 -167
- data/docs/NgrokAPI/Models/Credential.html +225 -95
- data/docs/NgrokAPI/Models/Endpoint.html +215 -159
- data/docs/NgrokAPI/Models/EndpointBackend.html +120 -68
- data/docs/NgrokAPI/Models/EndpointBackendMutate.html +120 -68
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +147 -95
- data/docs/NgrokAPI/Models/EndpointCompression.html +108 -56
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +120 -68
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +120 -68
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +120 -68
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +120 -68
- data/docs/NgrokAPI/Models/EndpointOAuth.html +166 -114
- data/docs/NgrokAPI/Models/EndpointOAuthAmazon.html +891 -0
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +149 -97
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +166 -114
- data/docs/NgrokAPI/Models/EndpointOAuthGitLab.html +891 -0
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +149 -97
- data/docs/NgrokAPI/Models/EndpointOAuthLinkedIn.html +891 -0
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +149 -97
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +410 -62
- data/docs/NgrokAPI/Models/EndpointOAuthTwitch.html +891 -0
- data/docs/NgrokAPI/Models/EndpointOIDC.html +183 -131
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +125 -73
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +125 -73
- data/docs/NgrokAPI/Models/EndpointSAML.html +244 -176
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +197 -141
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +125 -73
- data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +120 -68
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +125 -73
- data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +108 -56
- data/docs/NgrokAPI/Models/EventDestination.html +178 -122
- data/docs/NgrokAPI/Models/EventSource.html +136 -80
- data/docs/NgrokAPI/Models/EventSourceList.html +112 -56
- data/docs/NgrokAPI/Models/EventSourceReplace.html +125 -73
- data/docs/NgrokAPI/Models/EventSubscription.html +178 -122
- data/docs/NgrokAPI/Models/EventTarget.html +206 -80
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +120 -68
- data/docs/NgrokAPI/Models/EventTargetDatadog.html +817 -0
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +120 -68
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +113 -61
- data/docs/NgrokAPI/Models/FailoverBackend.html +186 -130
- data/docs/NgrokAPI/Models/HTTPResponseBackend.html +202 -146
- data/docs/NgrokAPI/Models/HTTPSEdge.html +207 -151
- data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +272 -216
- data/docs/NgrokAPI/Models/IPPolicy.html +178 -122
- data/docs/NgrokAPI/Models/IPPolicyRule.html +201 -145
- data/docs/NgrokAPI/Models/IPRestriction.html +190 -134
- data/docs/NgrokAPI/Models/IdentityProvider.html +669 -0
- data/docs/NgrokAPI/Models/Listable.html +130 -130
- data/docs/NgrokAPI/Models/Location.html +817 -0
- data/docs/NgrokAPI/Models/Ref.html +119 -63
- data/docs/NgrokAPI/Models/ReservedAddr.html +189 -133
- data/docs/NgrokAPI/Models/ReservedDomain.html +231 -175
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +130 -78
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +120 -68
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +120 -68
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +197 -141
- data/docs/NgrokAPI/Models/SSHCredential.html +232 -102
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +226 -170
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +240 -184
- data/docs/NgrokAPI/Models/TCPEdge.html +204 -148
- data/docs/NgrokAPI/Models/TLSCertificate.html +279 -223
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +120 -68
- data/docs/NgrokAPI/Models/TLSEdge.html +216 -160
- data/docs/NgrokAPI/Models/Tunnel.html +205 -149
- data/docs/NgrokAPI/Models/TunnelGroupBackend.html +191 -135
- data/docs/NgrokAPI/Models/TunnelSession.html +193 -137
- data/docs/NgrokAPI/Models/UserAgent.html +965 -0
- data/docs/NgrokAPI/Models/WeightedBackend.html +186 -130
- data/docs/NgrokAPI/Models.html +6 -6
- data/docs/NgrokAPI/PagedIterator.html +53 -53
- data/docs/NgrokAPI/Services/APIKeysClient.html +302 -127
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +176 -39
- data/docs/NgrokAPI/Services/AgentIngressesClient.html +366 -133
- data/docs/NgrokAPI/Services/ApplicationSessionsClient.html +1131 -0
- data/docs/NgrokAPI/Services/ApplicationUsersClient.html +1131 -0
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +276 -123
- data/docs/NgrokAPI/Services/CredentialsClient.html +328 -133
- data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +319 -129
- data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +528 -113
- data/docs/NgrokAPI/Services/EdgesTCPClient.html +319 -129
- data/docs/NgrokAPI/Services/EdgesTLSClient.html +353 -133
- data/docs/NgrokAPI/Services/EndpointsClient.html +22 -26
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +302 -127
- data/docs/NgrokAPI/Services/EventSourcesClient.html +244 -105
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +302 -127
- data/docs/NgrokAPI/Services/FailoverBackendsClient.html +282 -127
- data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +322 -129
- data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +258 -123
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +317 -130
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +318 -127
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +278 -123
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +388 -171
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +318 -123
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +345 -132
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +354 -123
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +397 -126
- data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +296 -125
- data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +282 -127
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +22 -26
- data/docs/NgrokAPI/Services/TunnelsClient.html +22 -26
- data/docs/NgrokAPI/Services/WeightedBackendsClient.html +285 -130
- data/docs/NgrokAPI/Services.html +6 -6
- data/docs/NgrokAPI.html +6 -6
- data/docs/_index.html +139 -8
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +55 -51
- data/docs/frames.html +1 -1
- data/docs/index.html +55 -51
- data/docs/method_list.html +4383 -2175
- data/docs/top-level-namespace.html +4 -4
- data/lib/ngrokapi/client.rb +21 -11
- data/lib/ngrokapi/error.rb +2 -0
- data/lib/ngrokapi/errors/not_found_error.rb +2 -0
- data/lib/ngrokapi/http_client.rb +153 -131
- data/lib/ngrokapi/models/abuse_report.rb +22 -12
- data/lib/ngrokapi/models/abuse_report_hostname.rb +13 -7
- data/lib/ngrokapi/models/agent_ingress.rb +33 -16
- data/lib/ngrokapi/models/agent_ingress_cert_job.rb +37 -0
- data/lib/ngrokapi/models/agent_ingress_cert_policy.rb +33 -0
- data/lib/ngrokapi/models/agent_ingress_cert_status.rb +33 -0
- data/lib/ngrokapi/models/api_key.rb +24 -12
- data/lib/ngrokapi/models/application_session.rb +67 -0
- data/lib/ngrokapi/models/application_user.rb +63 -0
- data/lib/ngrokapi/models/aws_auth.rb +13 -7
- data/lib/ngrokapi/models/aws_credentials.rb +13 -7
- data/lib/ngrokapi/models/aws_role.rb +12 -6
- data/lib/ngrokapi/models/browser_session.rb +35 -0
- data/lib/ngrokapi/models/certificate_authority.rb +26 -16
- data/lib/ngrokapi/models/credential.rb +25 -13
- data/lib/ngrokapi/models/endpoint.rb +28 -18
- data/lib/ngrokapi/models/endpoint_backend.rb +13 -7
- data/lib/ngrokapi/models/endpoint_backend_mutate.rb +13 -7
- data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +17 -11
- data/lib/ngrokapi/models/endpoint_compression.rb +12 -6
- data/lib/ngrokapi/models/endpoint_ip_policy.rb +13 -7
- data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +13 -7
- data/lib/ngrokapi/models/endpoint_mutual_tls.rb +13 -7
- data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +13 -7
- data/lib/ngrokapi/models/endpoint_o_auth.rb +18 -12
- data/lib/ngrokapi/models/endpoint_o_auth_amazon.rb +39 -0
- data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +16 -10
- data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +18 -12
- data/lib/ngrokapi/models/endpoint_o_auth_git_lab.rb +39 -0
- data/lib/ngrokapi/models/endpoint_o_auth_google.rb +16 -10
- data/lib/ngrokapi/models/endpoint_o_auth_linked_in.rb +39 -0
- data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +16 -10
- data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +24 -10
- data/lib/ngrokapi/models/endpoint_o_auth_twitch.rb +39 -0
- data/lib/ngrokapi/models/endpoint_oidc.rb +20 -14
- data/lib/ngrokapi/models/endpoint_request_headers.rb +14 -8
- data/lib/ngrokapi/models/endpoint_response_headers.rb +14 -8
- data/lib/ngrokapi/models/endpoint_saml.rb +37 -21
- data/lib/ngrokapi/models/endpoint_saml_mutate.rb +26 -16
- data/lib/ngrokapi/models/endpoint_tls_termination.rb +14 -8
- data/lib/ngrokapi/models/endpoint_tls_termination_at_edge.rb +13 -7
- data/lib/ngrokapi/models/endpoint_webhook_validation.rb +14 -8
- data/lib/ngrokapi/models/endpoint_websocket_tcp_converter.rb +12 -6
- data/lib/ngrokapi/models/event_destination.rb +22 -12
- data/lib/ngrokapi/models/event_source.rb +19 -9
- data/lib/ngrokapi/models/event_source_list.rb +17 -7
- data/lib/ngrokapi/models/event_source_replace.rb +14 -8
- data/lib/ngrokapi/models/event_subscription.rb +22 -12
- data/lib/ngrokapi/models/event_target.rb +18 -10
- data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +13 -7
- data/lib/ngrokapi/models/event_target_datadog.rb +37 -0
- data/lib/ngrokapi/models/event_target_firehose.rb +13 -7
- data/lib/ngrokapi/models/event_target_kinesis.rb +13 -7
- data/lib/ngrokapi/models/failover_backend.rb +22 -12
- data/lib/ngrokapi/models/http_response_backend.rb +23 -13
- data/lib/ngrokapi/models/https_edge.rb +24 -14
- data/lib/ngrokapi/models/https_edge_route.rb +34 -24
- data/lib/ngrokapi/models/identity_provider.rb +33 -0
- data/lib/ngrokapi/models/ip_policy.rb +21 -11
- data/lib/ngrokapi/models/ip_policy_rule.rb +23 -13
- data/lib/ngrokapi/models/ip_restriction.rb +23 -13
- data/lib/ngrokapi/models/listable.rb +55 -53
- data/lib/ngrokapi/models/location.rb +37 -0
- data/lib/ngrokapi/models/ref.rb +17 -7
- data/lib/ngrokapi/models/reserved_addr.rb +23 -13
- data/lib/ngrokapi/models/reserved_domain.rb +29 -19
- data/lib/ngrokapi/models/reserved_domain_cert_job.rb +15 -9
- data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +13 -7
- data/lib/ngrokapi/models/reserved_domain_cert_status.rb +13 -7
- data/lib/ngrokapi/models/ssh_certificate_authority.rb +22 -12
- data/lib/ngrokapi/models/ssh_credential.rb +25 -13
- data/lib/ngrokapi/models/ssh_host_certificate.rb +27 -17
- data/lib/ngrokapi/models/ssh_user_certificate.rb +29 -19
- data/lib/ngrokapi/models/tcp_edge.rb +23 -13
- data/lib/ngrokapi/models/tls_certificate.rb +36 -26
- data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +13 -7
- data/lib/ngrokapi/models/tls_edge.rb +25 -15
- data/lib/ngrokapi/models/tunnel.rb +26 -16
- data/lib/ngrokapi/models/tunnel_group_backend.rb +23 -13
- data/lib/ngrokapi/models/tunnel_session.rb +25 -15
- data/lib/ngrokapi/models/user_agent.rb +41 -0
- data/lib/ngrokapi/models/weighted_backend.rb +22 -12
- data/lib/ngrokapi/paged_iterator.rb +44 -42
- data/lib/ngrokapi/services/abuse_reports_client.rb +27 -3
- data/lib/ngrokapi/services/agent_ingresses_client.rb +45 -14
- data/lib/ngrokapi/services/api_keys_client.rb +37 -12
- data/lib/ngrokapi/services/application_sessions_client.rb +141 -0
- data/lib/ngrokapi/services/application_users_client.rb +141 -0
- data/lib/ngrokapi/services/certificate_authorities_client.rb +33 -11
- data/lib/ngrokapi/services/credentials_client.rb +45 -16
- data/lib/ngrokapi/services/edge_route_backend_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_circuit_breaker_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_compression_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_ip_restriction_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_o_auth_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_oidc_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_request_headers_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_response_headers_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_saml_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_webhook_verification_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_websocket_tcp_converter_module_client.rb +8 -8
- data/lib/ngrokapi/services/edges_https_client.rb +37 -11
- data/lib/ngrokapi/services/edges_https_routes_client.rb +55 -5
- data/lib/ngrokapi/services/edges_tcp_client.rb +37 -11
- data/lib/ngrokapi/services/edges_tls_client.rb +41 -11
- data/lib/ngrokapi/services/endpoints_client.rb +8 -8
- data/lib/ngrokapi/services/event_destinations_client.rb +37 -13
- data/lib/ngrokapi/services/event_sources_client.rb +29 -7
- data/lib/ngrokapi/services/event_subscriptions_client.rb +35 -11
- data/lib/ngrokapi/services/failover_backends_client.rb +35 -13
- data/lib/ngrokapi/services/http_response_backends_client.rb +34 -11
- data/lib/ngrokapi/services/https_edge_mutual_tls_module_client.rb +8 -8
- data/lib/ngrokapi/services/https_edge_tls_termination_module_client.rb +8 -8
- data/lib/ngrokapi/services/ip_policies_client.rb +32 -11
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +38 -12
- data/lib/ngrokapi/services/ip_restrictions_client.rb +37 -11
- data/lib/ngrokapi/services/reserved_addrs_client.rb +33 -11
- data/lib/ngrokapi/services/reserved_domains_client.rb +44 -16
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +37 -11
- data/lib/ngrokapi/services/ssh_credentials_client.rb +44 -15
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +41 -11
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +48 -14
- data/lib/ngrokapi/services/tcp_edge_backend_module_client.rb +8 -8
- data/lib/ngrokapi/services/tcp_edge_ip_restriction_module_client.rb +8 -8
- data/lib/ngrokapi/services/tls_certificates_client.rb +37 -13
- data/lib/ngrokapi/services/tls_edge_backend_module_client.rb +8 -8
- data/lib/ngrokapi/services/tls_edge_ip_restriction_module_client.rb +8 -8
- data/lib/ngrokapi/services/tls_edge_mutual_tls_module_client.rb +8 -8
- data/lib/ngrokapi/services/tls_edge_tls_termination_module_client.rb +8 -8
- data/lib/ngrokapi/services/tunnel_group_backends_client.rb +35 -13
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +8 -8
- data/lib/ngrokapi/services/tunnels_client.rb +8 -8
- data/lib/ngrokapi/services/weighted_backends_client.rb +38 -16
- data/lib/ngrokapi/version.rb +9 -7
- data/lib/ngrokapi.rb +15 -13
- data/ngrok-api.gemspec +29 -27
- data/spec/ngrokapi/client_spec.rb +20 -6
- data/spec/ngrokapi/http_client_spec.rb +77 -75
- data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +4 -2
- data/spec/ngrokapi/models/abuse_report_spec.rb +4 -2
- data/spec/ngrokapi/models/agent_ingress_cert_job_spec.rb +23 -0
- data/spec/ngrokapi/models/agent_ingress_cert_policy_spec.rb +23 -0
- data/spec/ngrokapi/models/agent_ingress_cert_status_spec.rb +23 -0
- data/spec/ngrokapi/models/agent_ingress_spec.rb +8 -3
- data/spec/ngrokapi/models/api_key_spec.rb +4 -2
- data/spec/ngrokapi/models/application_session_spec.rb +30 -0
- data/spec/ngrokapi/models/application_user_spec.rb +30 -0
- data/spec/ngrokapi/models/aws_auth_spec.rb +4 -2
- data/spec/ngrokapi/models/aws_credentials_spec.rb +4 -2
- data/spec/ngrokapi/models/aws_role_spec.rb +4 -2
- data/spec/ngrokapi/models/browser_session_spec.rb +23 -0
- data/spec/ngrokapi/models/certificate_authority_spec.rb +4 -2
- data/spec/ngrokapi/models/credential_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_backend_mutate_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_backend_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_compression_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_amazon_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_git_lab_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_linked_in_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_twitch_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_oidc_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_saml_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_tls_termination_at_edge_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_websocket_tcp_converter_spec.rb +4 -2
- data/spec/ngrokapi/models/event_destination_spec.rb +4 -2
- data/spec/ngrokapi/models/event_source_list_spec.rb +4 -2
- data/spec/ngrokapi/models/event_source_replace_spec.rb +4 -2
- data/spec/ngrokapi/models/event_source_spec.rb +4 -2
- data/spec/ngrokapi/models/event_subscription_spec.rb +4 -2
- data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +4 -2
- data/spec/ngrokapi/models/event_target_datadog_spec.rb +23 -0
- data/spec/ngrokapi/models/event_target_firehose_spec.rb +4 -2
- data/spec/ngrokapi/models/event_target_kinesis_spec.rb +4 -2
- data/spec/ngrokapi/models/event_target_spec.rb +4 -2
- data/spec/ngrokapi/models/failover_backend_spec.rb +4 -2
- data/spec/ngrokapi/models/http_response_backend_spec.rb +4 -2
- data/spec/ngrokapi/models/https_edge_route_spec.rb +4 -2
- data/spec/ngrokapi/models/https_edge_spec.rb +4 -2
- data/spec/ngrokapi/models/identity_provider_spec.rb +23 -0
- data/spec/ngrokapi/models/ip_policy_rule_spec.rb +4 -2
- data/spec/ngrokapi/models/ip_policy_spec.rb +4 -2
- data/spec/ngrokapi/models/ip_restriction_spec.rb +4 -2
- data/spec/ngrokapi/models/listable_spec.rb +45 -43
- data/spec/ngrokapi/models/location_spec.rb +23 -0
- data/spec/ngrokapi/models/ref_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_addr_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_domain_spec.rb +4 -2
- data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +4 -2
- data/spec/ngrokapi/models/ssh_credential_spec.rb +4 -2
- data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +4 -2
- data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +4 -2
- data/spec/ngrokapi/models/tcp_edge_spec.rb +4 -2
- data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +4 -2
- data/spec/ngrokapi/models/tls_certificate_spec.rb +4 -2
- data/spec/ngrokapi/models/tls_edge_spec.rb +4 -2
- data/spec/ngrokapi/models/tunnel_group_backend_spec.rb +4 -2
- data/spec/ngrokapi/models/tunnel_session_spec.rb +4 -2
- data/spec/ngrokapi/models/tunnel_spec.rb +4 -2
- data/spec/ngrokapi/models/user_agent_spec.rb +23 -0
- data/spec/ngrokapi/models/weighted_backend_spec.rb +4 -2
- data/spec/ngrokapi/paged_iterator_spec.rb +86 -84
- data/spec/ngrokapi/services/abuse_reports_client_spec.rb +21 -0
- data/spec/ngrokapi/services/agent_ingresses_client_spec.rb +34 -3
- data/spec/ngrokapi/services/api_keys_client_spec.rb +28 -1
- data/spec/ngrokapi/services/application_sessions_client_spec.rb +100 -0
- data/spec/ngrokapi/services/application_users_client_spec.rb +100 -0
- data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +23 -0
- data/spec/ngrokapi/services/credentials_client_spec.rb +30 -1
- data/spec/ngrokapi/services/edge_route_backend_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_circuit_breaker_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_compression_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_ip_restriction_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_o_auth_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_oidc_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_request_headers_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_response_headers_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_saml_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_webhook_verification_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_websocket_tcp_converter_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edges_https_client_spec.rb +27 -0
- data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +49 -0
- data/spec/ngrokapi/services/edges_tcp_client_spec.rb +27 -0
- data/spec/ngrokapi/services/edges_tls_client_spec.rb +31 -0
- data/spec/ngrokapi/services/endpoints_client_spec.rb +2 -0
- data/spec/ngrokapi/services/event_destinations_client_spec.rb +26 -0
- data/spec/ngrokapi/services/event_sources_client_spec.rb +23 -0
- data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +25 -0
- data/spec/ngrokapi/services/failover_backends_client_spec.rb +23 -0
- data/spec/ngrokapi/services/http_response_backends_client_spec.rb +27 -0
- data/spec/ngrokapi/services/https_edge_mutual_tls_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/https_edge_tls_termination_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/ip_policies_client_spec.rb +22 -0
- data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +27 -0
- data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +27 -0
- data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +24 -0
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +38 -3
- data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +27 -0
- data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +32 -1
- data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +31 -0
- data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +35 -0
- data/spec/ngrokapi/services/tcp_edge_backend_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tcp_edge_ip_restriction_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tls_certificates_client_spec.rb +25 -0
- data/spec/ngrokapi/services/tls_edge_backend_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tls_edge_ip_restriction_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tls_edge_mutual_tls_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tls_edge_tls_termination_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tunnel_group_backends_client_spec.rb +23 -0
- data/spec/ngrokapi/services/tunnel_sessions_client_spec.rb +2 -0
- data/spec/ngrokapi/services/tunnels_client_spec.rb +2 -0
- data/spec/ngrokapi/services/weighted_backends_client_spec.rb +23 -0
- data/spec/spec_helper.rb +94 -2
- metadata +68 -4
- data/doc/README +0 -94
- data/docs/README +0 -94
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: NgrokAPI::Services::TunnelGroupBackendsClient
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -225,6 +225,30 @@
|
|
225
225
|
<p>Create a new TunnelGroup backend.</p>
|
226
226
|
</div></span>
|
227
227
|
|
228
|
+
</li>
|
229
|
+
|
230
|
+
|
231
|
+
<li class="public ">
|
232
|
+
<span class="summary_signature">
|
233
|
+
|
234
|
+
<a href="#create!-instance_method" title="#create! (instance method)">#<strong>create!</strong>(description: "", metadata: "", labels: {}) ⇒ NgrokAPI::Models::TunnelGroupBackend </a>
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
</span>
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
<span class="summary_desc"><div class='inline'>
|
249
|
+
<p>Create a new TunnelGroup backend Throws an exception if API error.</p>
|
250
|
+
</div></span>
|
251
|
+
|
228
252
|
</li>
|
229
253
|
|
230
254
|
|
@@ -478,12 +502,12 @@
|
|
478
502
|
<pre class="lines">
|
479
503
|
|
480
504
|
|
481
|
-
|
482
|
-
|
483
|
-
|
505
|
+
20
|
506
|
+
21
|
507
|
+
22</pre>
|
484
508
|
</td>
|
485
509
|
<td>
|
486
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
510
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 20</span>
|
487
511
|
|
488
512
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='rparen'>)</span>
|
489
513
|
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
@@ -526,12 +550,12 @@
|
|
526
550
|
<pre class="lines">
|
527
551
|
|
528
552
|
|
529
|
-
|
530
|
-
|
531
|
-
|
553
|
+
18
|
554
|
+
19
|
555
|
+
20</pre>
|
532
556
|
</td>
|
533
557
|
<td>
|
534
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
558
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 18</span>
|
535
559
|
|
536
560
|
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
537
561
|
<span class='ivar'>@client</span>
|
@@ -652,8 +676,6 @@
|
|
652
676
|
<pre class="lines">
|
653
677
|
|
654
678
|
|
655
|
-
31
|
656
|
-
32
|
657
679
|
33
|
658
680
|
34
|
659
681
|
35
|
@@ -662,10 +684,12 @@
|
|
662
684
|
38
|
663
685
|
39
|
664
686
|
40
|
665
|
-
41
|
687
|
+
41
|
688
|
+
42
|
689
|
+
43</pre>
|
666
690
|
</td>
|
667
691
|
<td>
|
668
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
692
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 33</span>
|
669
693
|
|
670
694
|
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>labels:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
671
695
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/backends/tunnel_group</span><span class='tstring_end'>'</span></span>
|
@@ -676,7 +700,142 @@
|
|
676
700
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
677
701
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:labels</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_labels'>labels</span> <span class='kw'>if</span> <span class='id identifier rubyid_labels'>labels</span>
|
678
702
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
679
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
703
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
704
|
+
<span class='kw'>end</span></pre>
|
705
|
+
</td>
|
706
|
+
</tr>
|
707
|
+
</table>
|
708
|
+
</div>
|
709
|
+
|
710
|
+
<div class="method_details ">
|
711
|
+
<h3 class="signature " id="create!-instance_method">
|
712
|
+
|
713
|
+
#<strong>create!</strong>(description: "", metadata: "", labels: {}) ⇒ <tt><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">NgrokAPI::Models::TunnelGroupBackend</a></span></tt>
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
|
718
|
+
|
719
|
+
</h3><div class="docstring">
|
720
|
+
<div class="discussion">
|
721
|
+
|
722
|
+
<p>Create a new TunnelGroup backend Throws an exception if API error.</p>
|
723
|
+
|
724
|
+
<p><a href="https://ngrok.com/docs/api#api-tunnel-group-backends-create">ngrok.com/docs/api#api-tunnel-group-backends-create</a></p>
|
725
|
+
|
726
|
+
|
727
|
+
</div>
|
728
|
+
</div>
|
729
|
+
<div class="tags">
|
730
|
+
<p class="tag_title">Parameters:</p>
|
731
|
+
<ul class="param">
|
732
|
+
|
733
|
+
<li>
|
734
|
+
|
735
|
+
<span class='name'>description</span>
|
736
|
+
|
737
|
+
|
738
|
+
<span class='type'>(<tt>string</tt>)</span>
|
739
|
+
|
740
|
+
|
741
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
742
|
+
|
743
|
+
|
744
|
+
—
|
745
|
+
<div class='inline'>
|
746
|
+
<p>human-readable description of this backend. Optional</p>
|
747
|
+
</div>
|
748
|
+
|
749
|
+
</li>
|
750
|
+
|
751
|
+
<li>
|
752
|
+
|
753
|
+
<span class='name'>metadata</span>
|
754
|
+
|
755
|
+
|
756
|
+
<span class='type'>(<tt>string</tt>)</span>
|
757
|
+
|
758
|
+
|
759
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
760
|
+
|
761
|
+
|
762
|
+
—
|
763
|
+
<div class='inline'>
|
764
|
+
<p>arbitrary user-defined machine-readable data of this backend. Optional</p>
|
765
|
+
</div>
|
766
|
+
|
767
|
+
</li>
|
768
|
+
|
769
|
+
<li>
|
770
|
+
|
771
|
+
<span class='name'>labels</span>
|
772
|
+
|
773
|
+
|
774
|
+
<span class='type'>(<tt>Map<string, string></tt>)</span>
|
775
|
+
|
776
|
+
|
777
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
778
|
+
|
779
|
+
|
780
|
+
—
|
781
|
+
<div class='inline'>
|
782
|
+
<p>labels to watch for tunnels on, e.g. app->foo, dc->bar</p>
|
783
|
+
</div>
|
784
|
+
|
785
|
+
</li>
|
786
|
+
|
787
|
+
</ul>
|
788
|
+
|
789
|
+
<p class="tag_title">Returns:</p>
|
790
|
+
<ul class="return">
|
791
|
+
|
792
|
+
<li>
|
793
|
+
|
794
|
+
|
795
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">NgrokAPI::Models::TunnelGroupBackend</a></span></tt>)</span>
|
796
|
+
|
797
|
+
|
798
|
+
|
799
|
+
—
|
800
|
+
<div class='inline'>
|
801
|
+
<p>result from the API request</p>
|
802
|
+
</div>
|
803
|
+
|
804
|
+
</li>
|
805
|
+
|
806
|
+
</ul>
|
807
|
+
|
808
|
+
</div><table class="source_code">
|
809
|
+
<tr>
|
810
|
+
<td>
|
811
|
+
<pre class="lines">
|
812
|
+
|
813
|
+
|
814
|
+
55
|
815
|
+
56
|
816
|
+
57
|
817
|
+
58
|
818
|
+
59
|
819
|
+
60
|
820
|
+
61
|
821
|
+
62
|
822
|
+
63
|
823
|
+
64
|
824
|
+
65</pre>
|
825
|
+
</td>
|
826
|
+
<td>
|
827
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 55</span>
|
828
|
+
|
829
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create!'>create!</span><span class='lparen'>(</span><span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>labels:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
830
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/backends/tunnel_group</span><span class='tstring_end'>'</span></span>
|
831
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
832
|
+
<span class='rbrace'>}</span>
|
833
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
834
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
|
835
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
836
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:labels</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_labels'>labels</span> <span class='kw'>if</span> <span class='id identifier rubyid_labels'>labels</span>
|
837
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
838
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
680
839
|
<span class='kw'>end</span></pre>
|
681
840
|
</td>
|
682
841
|
</tr>
|
@@ -695,7 +854,7 @@
|
|
695
854
|
</h3><div class="docstring">
|
696
855
|
<div class="discussion">
|
697
856
|
|
698
|
-
<p>Delete a TunnelGroup backend by ID
|
857
|
+
<p>Delete a TunnelGroup backend by ID.</p>
|
699
858
|
|
700
859
|
<p><a href="https://ngrok.com/docs/api#api-tunnel-group-backends-delete">ngrok.com/docs/api#api-tunnel-group-backends-delete</a></p>
|
701
860
|
|
@@ -751,16 +910,16 @@
|
|
751
910
|
<pre class="lines">
|
752
911
|
|
753
912
|
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
913
|
+
74
|
914
|
+
75
|
915
|
+
76
|
916
|
+
77
|
917
|
+
78
|
918
|
+
79
|
919
|
+
80</pre>
|
761
920
|
</td>
|
762
921
|
<td>
|
763
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
922
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 74</span>
|
764
923
|
|
765
924
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
766
925
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/backends/tunnel_group/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -786,7 +945,7 @@
|
|
786
945
|
</h3><div class="docstring">
|
787
946
|
<div class="discussion">
|
788
947
|
|
789
|
-
<p>Delete a TunnelGroup backend by ID.
|
948
|
+
<p>Delete a TunnelGroup backend by ID. Throws an exception if API error.</p>
|
790
949
|
|
791
950
|
<p><a href="https://ngrok.com/docs/api#api-tunnel-group-backends-delete">ngrok.com/docs/api#api-tunnel-group-backends-delete</a></p>
|
792
951
|
|
@@ -842,16 +1001,16 @@
|
|
842
1001
|
<pre class="lines">
|
843
1002
|
|
844
1003
|
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
1004
|
+
90
|
1005
|
+
91
|
1006
|
+
92
|
1007
|
+
93
|
1008
|
+
94
|
1009
|
+
95
|
1010
|
+
96</pre>
|
852
1011
|
</td>
|
853
1012
|
<td>
|
854
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
1013
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 90</span>
|
855
1014
|
|
856
1015
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
857
1016
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/backends/tunnel_group/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -933,18 +1092,18 @@
|
|
933
1092
|
<pre class="lines">
|
934
1093
|
|
935
1094
|
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
1095
|
+
105
|
1096
|
+
106
|
1097
|
+
107
|
1098
|
+
108
|
1099
|
+
109
|
1100
|
+
110
|
1101
|
+
111
|
1102
|
+
112
|
1103
|
+
113</pre>
|
945
1104
|
</td>
|
946
1105
|
<td>
|
947
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
1106
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 105</span>
|
948
1107
|
|
949
1108
|
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
950
1109
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/backends/tunnel_group/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -953,7 +1112,7 @@
|
|
953
1112
|
<span class='rbrace'>}</span>
|
954
1113
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
955
1114
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
956
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
1115
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
957
1116
|
<span class='kw'>end</span></pre>
|
958
1117
|
</td>
|
959
1118
|
</tr>
|
@@ -1028,18 +1187,18 @@
|
|
1028
1187
|
<pre class="lines">
|
1029
1188
|
|
1030
1189
|
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1190
|
+
123
|
1191
|
+
124
|
1192
|
+
125
|
1193
|
+
126
|
1194
|
+
127
|
1195
|
+
128
|
1196
|
+
129
|
1197
|
+
130
|
1198
|
+
131</pre>
|
1040
1199
|
</td>
|
1041
1200
|
<td>
|
1042
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
1201
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 123</span>
|
1043
1202
|
|
1044
1203
|
<span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1045
1204
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/backends/tunnel_group/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1048,7 +1207,7 @@
|
|
1048
1207
|
<span class='rbrace'>}</span>
|
1049
1208
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1050
1209
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1051
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
1210
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1052
1211
|
<span class='kw'>end</span></pre>
|
1053
1212
|
</td>
|
1054
1213
|
</tr>
|
@@ -1149,28 +1308,26 @@
|
|
1149
1308
|
<pre class="lines">
|
1150
1309
|
|
1151
1310
|
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
133</pre>
|
1311
|
+
142
|
1312
|
+
143
|
1313
|
+
144
|
1314
|
+
145
|
1315
|
+
146
|
1316
|
+
147
|
1317
|
+
148
|
1318
|
+
149
|
1319
|
+
150
|
1320
|
+
151
|
1321
|
+
152
|
1322
|
+
153
|
1323
|
+
154
|
1324
|
+
155
|
1325
|
+
156</pre>
|
1168
1326
|
</td>
|
1169
1327
|
<td>
|
1170
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
1328
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 142</span>
|
1171
1329
|
|
1172
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
1173
|
-
<span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1330
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1174
1331
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
|
1175
1332
|
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
1176
1333
|
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
@@ -1180,7 +1337,7 @@
|
|
1180
1337
|
|
1181
1338
|
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
|
1182
1339
|
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
1183
|
-
<span class='label'>
|
1340
|
+
<span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
1184
1341
|
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::TunnelGroupBackendsClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
1185
1342
|
<span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span>
|
1186
1343
|
<span class='rparen'>)</span>
|
@@ -1284,30 +1441,28 @@
|
|
1284
1441
|
<pre class="lines">
|
1285
1442
|
|
1286
1443
|
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
162</pre>
|
1444
|
+
168
|
1445
|
+
169
|
1446
|
+
170
|
1447
|
+
171
|
1448
|
+
172
|
1449
|
+
173
|
1450
|
+
174
|
1451
|
+
175
|
1452
|
+
176
|
1453
|
+
177
|
1454
|
+
178
|
1455
|
+
179
|
1456
|
+
180
|
1457
|
+
181
|
1458
|
+
182
|
1459
|
+
183
|
1460
|
+
184</pre>
|
1305
1461
|
</td>
|
1306
1462
|
<td>
|
1307
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
1463
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 168</span>
|
1308
1464
|
|
1309
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list!'>list!</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
1310
|
-
<span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1465
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_list!'>list!</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1311
1466
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
|
1312
1467
|
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
1313
1468
|
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
@@ -1318,7 +1473,7 @@
|
|
1318
1473
|
|
1319
1474
|
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
|
1320
1475
|
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
1321
|
-
<span class='label'>
|
1476
|
+
<span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
1322
1477
|
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::TunnelGroupBackendsClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
1323
1478
|
<span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='comma'>,</span>
|
1324
1479
|
<span class='label'>danger:</span> <span class='kw'>true</span>
|
@@ -1446,21 +1601,21 @@
|
|
1446
1601
|
<pre class="lines">
|
1447
1602
|
|
1448
1603
|
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1604
|
+
196
|
1605
|
+
197
|
1606
|
+
198
|
1607
|
+
199
|
1608
|
+
200
|
1609
|
+
201
|
1610
|
+
202
|
1611
|
+
203
|
1612
|
+
204
|
1613
|
+
205
|
1614
|
+
206
|
1615
|
+
207</pre>
|
1461
1616
|
</td>
|
1462
1617
|
<td>
|
1463
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
1618
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 196</span>
|
1464
1619
|
|
1465
1620
|
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>labels:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1466
1621
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/backends/tunnel_group/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1472,7 +1627,7 @@
|
|
1472
1627
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
1473
1628
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:labels</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_labels'>labels</span> <span class='kw'>if</span> <span class='id identifier rubyid_labels'>labels</span>
|
1474
1629
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
1475
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
1630
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1476
1631
|
<span class='kw'>end</span></pre>
|
1477
1632
|
</td>
|
1478
1633
|
</tr>
|
@@ -1596,21 +1751,21 @@
|
|
1596
1751
|
<pre class="lines">
|
1597
1752
|
|
1598
1753
|
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1754
|
+
220
|
1755
|
+
221
|
1756
|
+
222
|
1757
|
+
223
|
1758
|
+
224
|
1759
|
+
225
|
1760
|
+
226
|
1761
|
+
227
|
1762
|
+
228
|
1763
|
+
229
|
1764
|
+
230
|
1765
|
+
231</pre>
|
1611
1766
|
</td>
|
1612
1767
|
<td>
|
1613
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line
|
1768
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tunnel_group_backends_client.rb', line 220</span>
|
1614
1769
|
|
1615
1770
|
<span class='kw'>def</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>labels:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1616
1771
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/backends/tunnel_group/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1622,7 +1777,7 @@
|
|
1622
1777
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
1623
1778
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:labels</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_labels'>labels</span> <span class='kw'>if</span> <span class='id identifier rubyid_labels'>labels</span>
|
1624
1779
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1625
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
1780
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TunnelGroupBackend.html" title="NgrokAPI::Models::TunnelGroupBackend (class)">TunnelGroupBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TunnelGroupBackend.html#initialize-instance_method" title="NgrokAPI::Models::TunnelGroupBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1626
1781
|
<span class='kw'>end</span></pre>
|
1627
1782
|
</td>
|
1628
1783
|
</tr>
|
@@ -1634,9 +1789,9 @@
|
|
1634
1789
|
</div>
|
1635
1790
|
|
1636
1791
|
<div id="footer">
|
1637
|
-
Generated on Thu
|
1638
|
-
<a href="
|
1639
|
-
0.9.
|
1792
|
+
Generated on Thu Aug 24 20:57:37 2023 by
|
1793
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1794
|
+
0.9.34 (ruby-3.0.6).
|
1640
1795
|
</div>
|
1641
1796
|
|
1642
1797
|
</div>
|