ngrok-api 0.9.0 → 0.12.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/.rubocop.yml +1 -1
- data/doc/.gitkeep +0 -0
- data/doc/NgrokAPI/Client.html +1499 -125
- data/doc/NgrokAPI/Error.html +1 -1
- data/doc/NgrokAPI/Errors/NotFoundError.html +1 -1
- data/doc/NgrokAPI/Errors.html +1 -1
- data/doc/NgrokAPI/HttpClient.html +1 -1
- data/doc/NgrokAPI/Models/{ApiKey.html → APIKey.html} +108 -177
- data/doc/NgrokAPI/Models/AWSAuth.html +617 -0
- data/doc/NgrokAPI/Models/AWSCredentials.html +617 -0
- data/doc/NgrokAPI/Models/AWSRole.html +543 -0
- data/doc/NgrokAPI/Models/AbuseReport.html +987 -0
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +617 -0
- data/doc/NgrokAPI/Models/CertificateAuthority.html +1439 -0
- data/doc/NgrokAPI/Models/Credential.html +1149 -0
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +913 -0
- data/doc/NgrokAPI/Models/EndpointCompression.html +543 -0
- data/doc/NgrokAPI/Models/EndpointConfiguration.html +1321 -510
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +617 -0
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +617 -0
- data/doc/NgrokAPI/Models/EndpointLogging.html +617 -0
- data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +617 -0
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +617 -0
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +617 -0
- data/doc/NgrokAPI/Models/EndpointOAuth.html +987 -0
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +839 -0
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +987 -0
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +839 -0
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +839 -0
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +765 -0
- data/doc/NgrokAPI/Models/EndpointOIDC.html +1135 -0
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +691 -0
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +691 -0
- data/doc/NgrokAPI/Models/EndpointSAML.html +1653 -0
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +1283 -0
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +691 -0
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +691 -0
- data/doc/NgrokAPI/Models/EventDestination.html +1058 -0
- data/doc/NgrokAPI/Models/EventSource.html +765 -0
- data/doc/NgrokAPI/Models/EventSourceReplace.html +691 -0
- data/doc/NgrokAPI/Models/EventStream.html +1309 -0
- data/doc/NgrokAPI/Models/EventSubscription.html +1058 -0
- data/doc/NgrokAPI/Models/EventTarget.html +765 -0
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +617 -0
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +617 -0
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +617 -0
- data/doc/NgrokAPI/Models/IPPolicy.html +1069 -0
- data/doc/NgrokAPI/Models/IPPolicyRule.html +1149 -0
- data/doc/NgrokAPI/Models/IPRestriction.html +1132 -0
- data/doc/NgrokAPI/Models/{TlsCertificate.html → IPWhitelistEntry.html} +168 -163
- data/doc/NgrokAPI/Models/Listable.html +1 -1
- data/doc/NgrokAPI/Models/Ref.html +617 -0
- data/doc/NgrokAPI/Models/ReservedAddr.html +1132 -0
- data/doc/NgrokAPI/Models/ReservedDomain.html +111 -1107
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +839 -0
- data/doc/NgrokAPI/Models/ReservedDomainCertNSTarget.html +617 -0
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +617 -0
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +617 -0
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +1143 -0
- data/doc/NgrokAPI/Models/SSHCredential.html +1149 -0
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +1513 -0
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +1661 -0
- data/doc/NgrokAPI/Models/TLSCertificate.html +2179 -0
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +617 -0
- data/doc/NgrokAPI/Models/Tunnel.html +987 -0
- data/doc/NgrokAPI/Models/TunnelSession.html +1209 -0
- data/doc/NgrokAPI/Models.html +4 -4
- data/doc/NgrokAPI/PagedIterator.html +1 -1
- data/{docs/NgrokAPI/Services/ApiKeysClient.html → doc/NgrokAPI/Services/APIKeysClient.html} +287 -151
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +723 -0
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +1489 -0
- data/doc/NgrokAPI/Services/CredentialsClient.html +1534 -0
- data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +473 -371
- data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +1609 -0
- data/doc/NgrokAPI/Services/EventSourcesClient.html +1348 -0
- data/doc/NgrokAPI/Services/EventStreamsClient.html +1691 -0
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +1603 -0
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +1488 -0
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +1550 -0
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +1620 -0
- data/doc/NgrokAPI/Services/IPWhitelistClient.html +1488 -0
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +1793 -0
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +518 -333
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +1532 -0
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +1552 -0
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +1573 -0
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +1617 -0
- data/{docs/NgrokAPI/Services/TlsCertificatesClient.html → doc/NgrokAPI/Services/TLSCertificatesClient.html} +290 -198
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +1468 -0
- data/doc/NgrokAPI/Services/TunnelsClient.html +513 -0
- data/doc/NgrokAPI/Services.html +4 -4
- data/doc/NgrokAPI.html +3 -3
- data/doc/_index.html +624 -28
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +7318 -286
- data/doc/top-level-namespace.html +1 -1
- data/docs/.gitkeep +0 -0
- data/docs/NgrokAPI/Client.html +1499 -125
- data/docs/NgrokAPI/Error.html +1 -1
- data/docs/NgrokAPI/Errors/NotFoundError.html +1 -1
- data/docs/NgrokAPI/Errors.html +1 -1
- data/docs/NgrokAPI/HttpClient.html +1 -1
- data/docs/NgrokAPI/Models/{ApiKey.html → APIKey.html} +108 -177
- data/docs/NgrokAPI/Models/AWSAuth.html +617 -0
- data/docs/NgrokAPI/Models/AWSCredentials.html +617 -0
- data/docs/NgrokAPI/Models/AWSRole.html +543 -0
- data/docs/NgrokAPI/Models/AbuseReport.html +987 -0
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +617 -0
- data/docs/NgrokAPI/Models/CertificateAuthority.html +1439 -0
- data/docs/NgrokAPI/Models/Credential.html +1149 -0
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +913 -0
- data/docs/NgrokAPI/Models/EndpointCompression.html +543 -0
- data/docs/NgrokAPI/Models/EndpointConfiguration.html +1321 -510
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +617 -0
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +617 -0
- data/docs/NgrokAPI/Models/EndpointLogging.html +617 -0
- data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +617 -0
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +617 -0
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +617 -0
- data/docs/NgrokAPI/Models/EndpointOAuth.html +987 -0
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +839 -0
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +987 -0
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +839 -0
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +839 -0
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +765 -0
- data/docs/NgrokAPI/Models/EndpointOIDC.html +1135 -0
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +691 -0
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +691 -0
- data/docs/NgrokAPI/Models/EndpointSAML.html +1653 -0
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +1283 -0
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +691 -0
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +691 -0
- data/docs/NgrokAPI/Models/EventDestination.html +1058 -0
- data/docs/NgrokAPI/Models/EventSource.html +765 -0
- data/docs/NgrokAPI/Models/EventSourceReplace.html +691 -0
- data/docs/NgrokAPI/Models/EventStream.html +1309 -0
- data/docs/NgrokAPI/Models/EventSubscription.html +1058 -0
- data/docs/NgrokAPI/Models/EventTarget.html +765 -0
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +617 -0
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +617 -0
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +617 -0
- data/docs/NgrokAPI/Models/IPPolicy.html +1069 -0
- data/docs/NgrokAPI/Models/IPPolicyRule.html +1149 -0
- data/docs/NgrokAPI/Models/IPRestriction.html +1132 -0
- data/docs/NgrokAPI/Models/{TlsCertificate.html → IPWhitelistEntry.html} +168 -163
- data/docs/NgrokAPI/Models/Listable.html +1 -1
- data/docs/NgrokAPI/Models/Ref.html +617 -0
- data/docs/NgrokAPI/Models/ReservedAddr.html +1132 -0
- data/docs/NgrokAPI/Models/ReservedDomain.html +111 -1107
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +839 -0
- data/docs/NgrokAPI/Models/ReservedDomainCertNSTarget.html +617 -0
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +617 -0
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +617 -0
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +1143 -0
- data/docs/NgrokAPI/Models/SSHCredential.html +1149 -0
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +1513 -0
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +1661 -0
- data/docs/NgrokAPI/Models/TLSCertificate.html +2179 -0
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +617 -0
- data/docs/NgrokAPI/Models/Tunnel.html +987 -0
- data/docs/NgrokAPI/Models/TunnelSession.html +1209 -0
- data/docs/NgrokAPI/Models.html +4 -4
- data/docs/NgrokAPI/PagedIterator.html +1 -1
- data/{doc/NgrokAPI/Services/ApiKeysClient.html → docs/NgrokAPI/Services/APIKeysClient.html} +287 -151
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +723 -0
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +1489 -0
- data/docs/NgrokAPI/Services/CredentialsClient.html +1534 -0
- data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +473 -371
- data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +1609 -0
- data/docs/NgrokAPI/Services/EventSourcesClient.html +1348 -0
- data/docs/NgrokAPI/Services/EventStreamsClient.html +1691 -0
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +1603 -0
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +1488 -0
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +1550 -0
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +1620 -0
- data/docs/NgrokAPI/Services/IPWhitelistClient.html +1488 -0
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +1793 -0
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +518 -333
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +1532 -0
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +1552 -0
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +1573 -0
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +1617 -0
- data/{doc/NgrokAPI/Services/TlsCertificatesClient.html → docs/NgrokAPI/Services/TLSCertificatesClient.html} +290 -198
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +1468 -0
- data/docs/NgrokAPI/Services/TunnelsClient.html +513 -0
- data/docs/NgrokAPI/Services.html +4 -4
- data/docs/NgrokAPI.html +3 -3
- data/docs/_index.html +624 -28
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +1 -1
- data/docs/index.html +1 -1
- data/docs/method_list.html +7318 -286
- data/docs/top-level-namespace.html +1 -1
- data/lib/ngrokapi/client.rb +218 -49
- data/lib/ngrokapi/models/abuse_report.rb +37 -0
- data/lib/ngrokapi/models/abuse_report_hostname.rb +27 -0
- data/lib/ngrokapi/models/api_key.rb +62 -64
- data/lib/ngrokapi/models/aws_auth.rb +27 -0
- data/lib/ngrokapi/models/aws_credentials.rb +27 -0
- data/lib/ngrokapi/models/aws_role.rb +25 -0
- data/lib/ngrokapi/models/certificate_authority.rb +72 -0
- data/lib/ngrokapi/models/credential.rb +67 -0
- data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +35 -0
- data/lib/ngrokapi/models/endpoint_compression.rb +25 -0
- data/lib/ngrokapi/models/endpoint_configuration.rb +130 -119
- data/lib/ngrokapi/models/endpoint_ip_policy.rb +27 -0
- data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +27 -0
- data/lib/ngrokapi/models/endpoint_logging.rb +27 -0
- data/lib/ngrokapi/models/endpoint_logging_mutate.rb +27 -0
- data/lib/ngrokapi/models/endpoint_mutual_tls.rb +27 -0
- data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +27 -0
- data/lib/ngrokapi/models/endpoint_o_auth.rb +37 -0
- data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +33 -0
- data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +37 -0
- data/lib/ngrokapi/models/endpoint_o_auth_google.rb +33 -0
- data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +33 -0
- data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +31 -0
- data/lib/ngrokapi/models/endpoint_oidc.rb +41 -0
- data/lib/ngrokapi/models/endpoint_request_headers.rb +29 -0
- data/lib/ngrokapi/models/endpoint_response_headers.rb +29 -0
- data/lib/ngrokapi/models/endpoint_saml.rb +55 -0
- data/lib/ngrokapi/models/endpoint_saml_mutate.rb +45 -0
- data/lib/ngrokapi/models/endpoint_tls_termination.rb +29 -0
- data/lib/ngrokapi/models/endpoint_webhook_validation.rb +29 -0
- data/lib/ngrokapi/models/event_destination.rb +49 -0
- data/lib/ngrokapi/models/event_source.rb +31 -0
- data/lib/ngrokapi/models/event_source_replace.rb +29 -0
- data/lib/ngrokapi/models/event_stream.rb +77 -0
- data/lib/ngrokapi/models/event_subscription.rb +47 -0
- data/lib/ngrokapi/models/event_target.rb +31 -0
- data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +27 -0
- data/lib/ngrokapi/models/event_target_firehose.rb +27 -0
- data/lib/ngrokapi/models/event_target_kinesis.rb +27 -0
- data/lib/ngrokapi/models/ip_policy.rb +64 -0
- data/lib/ngrokapi/models/ip_policy_rule.rb +67 -0
- data/lib/ngrokapi/models/ip_restriction.rb +49 -0
- data/lib/ngrokapi/models/ip_whitelist_entry.rb +62 -0
- data/lib/ngrokapi/models/ref.rb +27 -0
- data/lib/ngrokapi/models/reserved_addr.rb +49 -0
- data/lib/ngrokapi/models/reserved_domain.rb +59 -211
- data/lib/ngrokapi/models/reserved_domain_cert_job.rb +33 -0
- data/lib/ngrokapi/models/reserved_domain_cert_ns_target.rb +27 -0
- data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +27 -0
- data/lib/ngrokapi/models/reserved_domain_cert_status.rb +27 -0
- data/lib/ngrokapi/models/ssh_certificate_authority.rb +64 -0
- data/lib/ngrokapi/models/ssh_credential.rb +67 -0
- data/lib/ngrokapi/models/ssh_host_certificate.rb +74 -0
- data/lib/ngrokapi/models/ssh_user_certificate.rb +78 -0
- data/lib/ngrokapi/models/tls_certificate.rb +92 -62
- data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +27 -0
- data/lib/ngrokapi/models/tunnel.rb +37 -0
- data/lib/ngrokapi/models/tunnel_session.rb +43 -0
- data/lib/ngrokapi/services/.gitkeep +0 -0
- data/lib/ngrokapi/services/abuse_reports_client.rb +84 -0
- data/lib/ngrokapi/services/api_keys_client.rb +203 -144
- data/lib/ngrokapi/services/certificate_authorities_client.rb +204 -0
- data/lib/ngrokapi/services/credentials_client.rb +212 -0
- data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_compression_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_configurations_client.rb +324 -313
- data/lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_logging_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_oidc_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_saml_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +122 -0
- data/lib/ngrokapi/services/event_destinations_client.rb +222 -0
- data/lib/ngrokapi/services/event_sources_client.rb +177 -0
- data/lib/ngrokapi/services/event_streams_client.rb +226 -0
- data/lib/ngrokapi/services/event_subscriptions_client.rb +213 -0
- data/lib/ngrokapi/services/ip_policies_client.rb +208 -0
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +210 -0
- data/lib/ngrokapi/services/ip_restrictions_client.rb +223 -0
- data/lib/ngrokapi/services/ip_whitelist_client.rb +202 -0
- data/lib/ngrokapi/services/reserved_addrs_client.rb +246 -0
- data/lib/ngrokapi/services/reserved_domains_client.rb +382 -313
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +207 -0
- data/lib/ngrokapi/services/ssh_credentials_client.rb +211 -0
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +214 -0
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +220 -0
- data/lib/ngrokapi/services/tls_certificates_client.rb +207 -161
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +228 -0
- data/lib/ngrokapi/services/tunnels_client.rb +51 -0
- data/lib/ngrokapi/version.rb +1 -1
- data/spec/ngrokapi/client_spec.rb +139 -33
- data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +21 -0
- data/spec/ngrokapi/models/abuse_report_spec.rb +21 -0
- data/spec/ngrokapi/models/api_key_spec.rb +42 -43
- data/spec/ngrokapi/models/aws_auth_spec.rb +21 -0
- data/spec/ngrokapi/models/aws_credentials_spec.rb +21 -0
- data/spec/ngrokapi/models/aws_role_spec.rb +21 -0
- data/spec/ngrokapi/models/certificate_authority_spec.rb +42 -0
- data/spec/ngrokapi/models/credential_spec.rb +45 -0
- data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_compression_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_configuration_spec.rb +78 -0
- data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_logging_mutate_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_logging_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_oidc_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_saml_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +21 -0
- data/spec/ngrokapi/models/event_destination_spec.rb +28 -0
- data/spec/ngrokapi/models/event_source_replace_spec.rb +21 -0
- data/spec/ngrokapi/models/event_source_spec.rb +21 -0
- data/spec/ngrokapi/models/event_stream_spec.rb +51 -0
- data/spec/ngrokapi/models/event_subscription_spec.rb +28 -0
- data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +21 -0
- data/spec/ngrokapi/models/event_target_firehose_spec.rb +21 -0
- data/spec/ngrokapi/models/event_target_kinesis_spec.rb +21 -0
- data/spec/ngrokapi/models/event_target_spec.rb +21 -0
- data/spec/ngrokapi/models/ip_policy_rule_spec.rb +45 -0
- data/spec/ngrokapi/models/ip_policy_spec.rb +42 -0
- data/spec/ngrokapi/models/ip_restriction_spec.rb +28 -0
- data/spec/ngrokapi/models/ip_whitelist_entry_spec.rb +42 -0
- data/spec/ngrokapi/models/listable_spec.rb +4 -4
- data/spec/ngrokapi/models/ref_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_addr_spec.rb +28 -0
- data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_domain_cert_ns_target_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_domain_spec.rb +28 -100
- data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +42 -0
- data/spec/ngrokapi/models/ssh_credential_spec.rb +45 -0
- data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +42 -0
- data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +42 -0
- data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +21 -0
- data/spec/ngrokapi/models/tls_certificate_spec.rb +42 -0
- data/spec/ngrokapi/models/tunnel_session_spec.rb +21 -0
- data/spec/ngrokapi/models/tunnel_spec.rb +21 -0
- data/spec/ngrokapi/paged_iterator_spec.rb +5 -5
- data/spec/ngrokapi/services/.gitkeep +0 -0
- data/spec/ngrokapi/services/abuse_reports_client_spec.rb +67 -0
- data/spec/ngrokapi/services/api_keys_client_spec.rb +160 -127
- data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +162 -0
- data/spec/ngrokapi/services/credentials_client_spec.rb +166 -0
- data/spec/ngrokapi/services/endpoint_circuit_breaker_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_compression_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_configurations_client_spec.rb +240 -0
- data/spec/ngrokapi/services/endpoint_ip_policy_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_logging_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_mutual_tls_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_o_auth_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_oidc_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_request_headers_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_response_headers_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_saml_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_tls_termination_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_webhook_validation_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/event_destinations_client_spec.rb +175 -0
- data/spec/ngrokapi/services/event_sources_client_spec.rb +162 -0
- data/spec/ngrokapi/services/event_streams_client_spec.rb +180 -0
- data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +172 -0
- data/spec/ngrokapi/services/ip_policies_client_spec.rb +162 -0
- data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +168 -0
- data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +174 -0
- data/spec/ngrokapi/services/ip_whitelist_client_spec.rb +162 -0
- data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +209 -0
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +352 -0
- data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +166 -0
- data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +168 -0
- data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +170 -0
- data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +174 -0
- data/spec/ngrokapi/services/tls_certificates_client_spec.rb +164 -0
- data/spec/ngrokapi/services/tunnel_sessions_client_spec.rb +184 -0
- data/spec/ngrokapi/services/tunnels_client_spec.rb +21 -0
- data/spec/spec_helper.rb +958 -0
- metadata +355 -10
|
@@ -99,18 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
</div>
|
|
101
101
|
|
|
102
|
-
<h2>Overview</h2><div class="docstring">
|
|
103
|
-
<div class="discussion">
|
|
104
|
-
|
|
105
|
-
<p>A resource representing data from the reserved_domains API</p>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
<div class="tags">
|
|
111
|
-
|
|
112
102
|
|
|
113
|
-
</div>
|
|
114
103
|
|
|
115
104
|
|
|
116
105
|
|
|
@@ -590,103 +579,7 @@
|
|
|
590
579
|
<li class="public ">
|
|
591
580
|
<span class="summary_signature">
|
|
592
581
|
|
|
593
|
-
<a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong> ⇒
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
</span>
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
<span class="summary_desc"><div class='inline'>
|
|
608
|
-
<p>Delete this reserved domain.</p>
|
|
609
|
-
</div></span>
|
|
610
|
-
|
|
611
|
-
</li>
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
<li class="public ">
|
|
615
|
-
<span class="summary_signature">
|
|
616
|
-
|
|
617
|
-
<a href="#delete_certificate-instance_method" title="#delete_certificate (instance method)">#<strong>delete_certificate</strong> ⇒ nil </a>
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
</span>
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
<span class="summary_desc"><div class='inline'>
|
|
632
|
-
<p>Detach the certificate attached from this reserved domain.</p>
|
|
633
|
-
</div></span>
|
|
634
|
-
|
|
635
|
-
</li>
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
<li class="public ">
|
|
639
|
-
<span class="summary_signature">
|
|
640
|
-
|
|
641
|
-
<a href="#delete_certificate_management_policy-instance_method" title="#delete_certificate_management_policy (instance method)">#<strong>delete_certificate_management_policy</strong> ⇒ nil </a>
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
</span>
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
<span class="summary_desc"><div class='inline'>
|
|
656
|
-
<p>Detach the certificate management policy attached from this reserved domain.</p>
|
|
657
|
-
</div></span>
|
|
658
|
-
|
|
659
|
-
</li>
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
<li class="public ">
|
|
663
|
-
<span class="summary_signature">
|
|
664
|
-
|
|
665
|
-
<a href="#delete_http_endpoint_config-instance_method" title="#delete_http_endpoint_config (instance method)">#<strong>delete_http_endpoint_config</strong> ⇒ nil </a>
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
</span>
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
<span class="summary_desc"><div class='inline'>
|
|
680
|
-
<p>Detach the http endpoint configuration attached from this reserved domain.</p>
|
|
681
|
-
</div></span>
|
|
682
|
-
|
|
683
|
-
</li>
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
<li class="public ">
|
|
687
|
-
<span class="summary_signature">
|
|
688
|
-
|
|
689
|
-
<a href="#delete_https_endpoint_config-instance_method" title="#delete_https_endpoint_config (instance method)">#<strong>delete_https_endpoint_config</strong> ⇒ nil </a>
|
|
582
|
+
<a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong> ⇒ Object </a>
|
|
690
583
|
|
|
691
584
|
|
|
692
585
|
|
|
@@ -701,7 +594,7 @@
|
|
|
701
594
|
|
|
702
595
|
|
|
703
596
|
<span class="summary_desc"><div class='inline'>
|
|
704
|
-
<p>
|
|
597
|
+
<p>Delete a reserved domain.</p>
|
|
705
598
|
</div></span>
|
|
706
599
|
|
|
707
600
|
</li>
|
|
@@ -730,102 +623,6 @@
|
|
|
730
623
|
<p>A new instance of ReservedDomain.</p>
|
|
731
624
|
</div></span>
|
|
732
625
|
|
|
733
|
-
</li>
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
<li class="public ">
|
|
737
|
-
<span class="summary_signature">
|
|
738
|
-
|
|
739
|
-
<a href="#restore_certificate-instance_method" title="#restore_certificate (instance method)">#<strong>restore_certificate</strong> ⇒ NgrokAPI::Models::ReservedDomain </a>
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
</span>
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
<span class="summary_desc"><div class='inline'>
|
|
754
|
-
<p>Restore the certificate attached to this reserved domain.</p>
|
|
755
|
-
</div></span>
|
|
756
|
-
|
|
757
|
-
</li>
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
<li class="public ">
|
|
761
|
-
<span class="summary_signature">
|
|
762
|
-
|
|
763
|
-
<a href="#restore_certificate_management_policy-instance_method" title="#restore_certificate_management_policy (instance method)">#<strong>restore_certificate_management_policy</strong> ⇒ NgrokAPI::Models::ReservedDomain </a>
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
</span>
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
<span class="summary_desc"><div class='inline'>
|
|
778
|
-
<p>Restore the certificate management policy attached to this reserved domain.</p>
|
|
779
|
-
</div></span>
|
|
780
|
-
|
|
781
|
-
</li>
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
<li class="public ">
|
|
785
|
-
<span class="summary_signature">
|
|
786
|
-
|
|
787
|
-
<a href="#restore_http_endpoint_config-instance_method" title="#restore_http_endpoint_config (instance method)">#<strong>restore_http_endpoint_config</strong> ⇒ NgrokAPI::Models::ReservedDomain </a>
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
</span>
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
<span class="summary_desc"><div class='inline'>
|
|
802
|
-
<p>Restore the http endpoint configuration attached to this reserved domain.</p>
|
|
803
|
-
</div></span>
|
|
804
|
-
|
|
805
|
-
</li>
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
<li class="public ">
|
|
809
|
-
<span class="summary_signature">
|
|
810
|
-
|
|
811
|
-
<a href="#restore_https_endpoint_config-instance_method" title="#restore_https_endpoint_config (instance method)">#<strong>restore_https_endpoint_config</strong> ⇒ NgrokAPI::Models::ReservedDomain </a>
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
</span>
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
<span class="summary_desc"><div class='inline'>
|
|
826
|
-
<p>Restore the https endpoint configuration attached to this reserved domain.</p>
|
|
827
|
-
</div></span>
|
|
828
|
-
|
|
829
626
|
</li>
|
|
830
627
|
|
|
831
628
|
|
|
@@ -848,30 +645,6 @@
|
|
|
848
645
|
|
|
849
646
|
<span class="summary_desc"><div class='inline'></div></span>
|
|
850
647
|
|
|
851
|
-
</li>
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
<li class="public ">
|
|
855
|
-
<span class="summary_signature">
|
|
856
|
-
|
|
857
|
-
<a href="#update-instance_method" title="#update (instance method)">#<strong>update</strong>(certificate_id: nil, certificate_management_policy: nil, description: '', http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: '') ⇒ NgrokAPI::Models::ReservedDomain </a>
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
</span>
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
<span class="summary_desc"><div class='inline'>
|
|
872
|
-
<p>Update the attributes of this reserved domain.</p>
|
|
873
|
-
</div></span>
|
|
874
|
-
|
|
875
648
|
</li>
|
|
876
649
|
|
|
877
650
|
|
|
@@ -907,6 +680,8 @@
|
|
|
907
680
|
<pre class="lines">
|
|
908
681
|
|
|
909
682
|
|
|
683
|
+
22
|
|
684
|
+
23
|
|
910
685
|
24
|
|
911
686
|
25
|
|
912
687
|
26
|
|
@@ -921,29 +696,27 @@
|
|
|
921
696
|
35
|
|
922
697
|
36
|
|
923
698
|
37
|
|
924
|
-
38
|
|
925
|
-
39
|
|
926
|
-
40</pre>
|
|
699
|
+
38</pre>
|
|
927
700
|
</td>
|
|
928
701
|
<td>
|
|
929
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
930
|
-
|
|
931
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='comma'>,</span> <span class='label'>result:</span><span class='rparen'>)</span>
|
|
932
|
-
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
|
933
|
-
<span class='ivar'>@result</span> <span class='op'>=</span> <span class='id identifier rubyid_result'>result</span>
|
|
934
|
-
<span class='ivar'>@
|
|
935
|
-
<span class='ivar'>@
|
|
936
|
-
<span class='ivar'>@
|
|
937
|
-
<span class='ivar'>@
|
|
938
|
-
<span class='ivar'>@
|
|
939
|
-
<span class='ivar'>@
|
|
940
|
-
<span class='ivar'>@
|
|
941
|
-
<span class='ivar'>@
|
|
942
|
-
<span class='ivar'>@
|
|
943
|
-
<span class='ivar'>@
|
|
944
|
-
<span class='ivar'>@
|
|
945
|
-
<span class='ivar'>@
|
|
946
|
-
<span class='ivar'>@
|
|
702
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 22</span>
|
|
703
|
+
|
|
704
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='comma'>,</span> <span class='label'>result:</span><span class='rparen'>)</span>
|
|
705
|
+
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
|
706
|
+
<span class='ivar'>@result</span> <span class='op'>=</span> <span class='id identifier rubyid_result'>result</span>
|
|
707
|
+
<span class='ivar'>@id</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
708
|
+
<span class='ivar'>@uri</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>uri</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
709
|
+
<span class='ivar'>@created_at</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>created_at</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
710
|
+
<span class='ivar'>@description</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>description</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
711
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>metadata</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
712
|
+
<span class='ivar'>@domain</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>domain</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
713
|
+
<span class='ivar'>@region</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>region</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
714
|
+
<span class='ivar'>@cname_target</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cname_target</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
715
|
+
<span class='ivar'>@http_endpoint_configuration</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http_endpoint_configuration</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
716
|
+
<span class='ivar'>@https_endpoint_configuration</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>https_endpoint_configuration</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
717
|
+
<span class='ivar'>@certificate</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>certificate</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
718
|
+
<span class='ivar'>@certificate_management_policy</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>certificate_management_policy</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
719
|
+
<span class='ivar'>@certificate_management_status</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>certificate_management_status</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
947
720
|
<span class='kw'>end</span></pre>
|
|
948
721
|
</td>
|
|
949
722
|
</tr>
|
|
@@ -983,12 +756,12 @@
|
|
|
983
756
|
<pre class="lines">
|
|
984
757
|
|
|
985
758
|
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
759
|
+
6
|
|
760
|
+
7
|
|
761
|
+
8</pre>
|
|
989
762
|
</td>
|
|
990
763
|
<td>
|
|
991
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
764
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
992
765
|
|
|
993
766
|
<span class='kw'>def</span> <span class='id identifier rubyid_certificate'>certificate</span>
|
|
994
767
|
<span class='ivar'>@certificate</span>
|
|
@@ -1026,12 +799,12 @@
|
|
|
1026
799
|
<pre class="lines">
|
|
1027
800
|
|
|
1028
801
|
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
802
|
+
6
|
|
803
|
+
7
|
|
804
|
+
8</pre>
|
|
1032
805
|
</td>
|
|
1033
806
|
<td>
|
|
1034
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
807
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1035
808
|
|
|
1036
809
|
<span class='kw'>def</span> <span class='id identifier rubyid_certificate_management_policy'>certificate_management_policy</span>
|
|
1037
810
|
<span class='ivar'>@certificate_management_policy</span>
|
|
@@ -1069,12 +842,12 @@
|
|
|
1069
842
|
<pre class="lines">
|
|
1070
843
|
|
|
1071
844
|
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
845
|
+
6
|
|
846
|
+
7
|
|
847
|
+
8</pre>
|
|
1075
848
|
</td>
|
|
1076
849
|
<td>
|
|
1077
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
850
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1078
851
|
|
|
1079
852
|
<span class='kw'>def</span> <span class='id identifier rubyid_certificate_management_status'>certificate_management_status</span>
|
|
1080
853
|
<span class='ivar'>@certificate_management_status</span>
|
|
@@ -1112,12 +885,12 @@
|
|
|
1112
885
|
<pre class="lines">
|
|
1113
886
|
|
|
1114
887
|
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
888
|
+
6
|
|
889
|
+
7
|
|
890
|
+
8</pre>
|
|
1118
891
|
</td>
|
|
1119
892
|
<td>
|
|
1120
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
893
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1121
894
|
|
|
1122
895
|
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
|
1123
896
|
<span class='ivar'>@client</span>
|
|
@@ -1155,12 +928,12 @@
|
|
|
1155
928
|
<pre class="lines">
|
|
1156
929
|
|
|
1157
930
|
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
931
|
+
6
|
|
932
|
+
7
|
|
933
|
+
8</pre>
|
|
1161
934
|
</td>
|
|
1162
935
|
<td>
|
|
1163
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
936
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1164
937
|
|
|
1165
938
|
<span class='kw'>def</span> <span class='id identifier rubyid_cname_target'>cname_target</span>
|
|
1166
939
|
<span class='ivar'>@cname_target</span>
|
|
@@ -1198,12 +971,12 @@
|
|
|
1198
971
|
<pre class="lines">
|
|
1199
972
|
|
|
1200
973
|
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
974
|
+
6
|
|
975
|
+
7
|
|
976
|
+
8</pre>
|
|
1204
977
|
</td>
|
|
1205
978
|
<td>
|
|
1206
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
979
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1207
980
|
|
|
1208
981
|
<span class='kw'>def</span> <span class='id identifier rubyid_created_at'>created_at</span>
|
|
1209
982
|
<span class='ivar'>@created_at</span>
|
|
@@ -1241,12 +1014,12 @@
|
|
|
1241
1014
|
<pre class="lines">
|
|
1242
1015
|
|
|
1243
1016
|
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1017
|
+
6
|
|
1018
|
+
7
|
|
1019
|
+
8</pre>
|
|
1247
1020
|
</td>
|
|
1248
1021
|
<td>
|
|
1249
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1022
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1250
1023
|
|
|
1251
1024
|
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
|
1252
1025
|
<span class='ivar'>@description</span>
|
|
@@ -1284,12 +1057,12 @@
|
|
|
1284
1057
|
<pre class="lines">
|
|
1285
1058
|
|
|
1286
1059
|
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1060
|
+
6
|
|
1061
|
+
7
|
|
1062
|
+
8</pre>
|
|
1290
1063
|
</td>
|
|
1291
1064
|
<td>
|
|
1292
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1065
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1293
1066
|
|
|
1294
1067
|
<span class='kw'>def</span> <span class='id identifier rubyid_domain'>domain</span>
|
|
1295
1068
|
<span class='ivar'>@domain</span>
|
|
@@ -1327,12 +1100,12 @@
|
|
|
1327
1100
|
<pre class="lines">
|
|
1328
1101
|
|
|
1329
1102
|
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1103
|
+
6
|
|
1104
|
+
7
|
|
1105
|
+
8</pre>
|
|
1333
1106
|
</td>
|
|
1334
1107
|
<td>
|
|
1335
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1108
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1336
1109
|
|
|
1337
1110
|
<span class='kw'>def</span> <span class='id identifier rubyid_http_endpoint_configuration'>http_endpoint_configuration</span>
|
|
1338
1111
|
<span class='ivar'>@http_endpoint_configuration</span>
|
|
@@ -1370,12 +1143,12 @@
|
|
|
1370
1143
|
<pre class="lines">
|
|
1371
1144
|
|
|
1372
1145
|
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1146
|
+
6
|
|
1147
|
+
7
|
|
1148
|
+
8</pre>
|
|
1376
1149
|
</td>
|
|
1377
1150
|
<td>
|
|
1378
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1151
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1379
1152
|
|
|
1380
1153
|
<span class='kw'>def</span> <span class='id identifier rubyid_https_endpoint_configuration'>https_endpoint_configuration</span>
|
|
1381
1154
|
<span class='ivar'>@https_endpoint_configuration</span>
|
|
@@ -1413,12 +1186,12 @@
|
|
|
1413
1186
|
<pre class="lines">
|
|
1414
1187
|
|
|
1415
1188
|
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1189
|
+
6
|
|
1190
|
+
7
|
|
1191
|
+
8</pre>
|
|
1419
1192
|
</td>
|
|
1420
1193
|
<td>
|
|
1421
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1194
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1422
1195
|
|
|
1423
1196
|
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
|
1424
1197
|
<span class='ivar'>@id</span>
|
|
@@ -1456,12 +1229,12 @@
|
|
|
1456
1229
|
<pre class="lines">
|
|
1457
1230
|
|
|
1458
1231
|
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1232
|
+
6
|
|
1233
|
+
7
|
|
1234
|
+
8</pre>
|
|
1462
1235
|
</td>
|
|
1463
1236
|
<td>
|
|
1464
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1237
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1465
1238
|
|
|
1466
1239
|
<span class='kw'>def</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
|
1467
1240
|
<span class='ivar'>@metadata</span>
|
|
@@ -1499,12 +1272,12 @@
|
|
|
1499
1272
|
<pre class="lines">
|
|
1500
1273
|
|
|
1501
1274
|
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1275
|
+
6
|
|
1276
|
+
7
|
|
1277
|
+
8</pre>
|
|
1505
1278
|
</td>
|
|
1506
1279
|
<td>
|
|
1507
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1280
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1508
1281
|
|
|
1509
1282
|
<span class='kw'>def</span> <span class='id identifier rubyid_region'>region</span>
|
|
1510
1283
|
<span class='ivar'>@region</span>
|
|
@@ -1542,12 +1315,12 @@
|
|
|
1542
1315
|
<pre class="lines">
|
|
1543
1316
|
|
|
1544
1317
|
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1318
|
+
6
|
|
1319
|
+
7
|
|
1320
|
+
8</pre>
|
|
1548
1321
|
</td>
|
|
1549
1322
|
<td>
|
|
1550
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1323
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1551
1324
|
|
|
1552
1325
|
<span class='kw'>def</span> <span class='id identifier rubyid_result'>result</span>
|
|
1553
1326
|
<span class='ivar'>@result</span>
|
|
@@ -1585,12 +1358,12 @@
|
|
|
1585
1358
|
<pre class="lines">
|
|
1586
1359
|
|
|
1587
1360
|
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1361
|
+
6
|
|
1362
|
+
7
|
|
1363
|
+
8</pre>
|
|
1591
1364
|
</td>
|
|
1592
1365
|
<td>
|
|
1593
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1366
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 6</span>
|
|
1594
1367
|
|
|
1595
1368
|
<span class='kw'>def</span> <span class='id identifier rubyid_uri'>uri</span>
|
|
1596
1369
|
<span class='ivar'>@uri</span>
|
|
@@ -1622,15 +1395,15 @@
|
|
|
1622
1395
|
<pre class="lines">
|
|
1623
1396
|
|
|
1624
1397
|
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1398
|
+
40
|
|
1399
|
+
41
|
|
1400
|
+
42</pre>
|
|
1628
1401
|
</td>
|
|
1629
1402
|
<td>
|
|
1630
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1403
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 40</span>
|
|
1631
1404
|
|
|
1632
|
-
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
|
1633
|
-
<span class='ivar'>@result</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_result'>result</span>
|
|
1405
|
+
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
|
1406
|
+
<span class='ivar'>@result</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_result'>result</span>
|
|
1634
1407
|
<span class='kw'>end</span></pre>
|
|
1635
1408
|
</td>
|
|
1636
1409
|
</tr>
|
|
@@ -1640,7 +1413,7 @@
|
|
|
1640
1413
|
<div class="method_details ">
|
|
1641
1414
|
<h3 class="signature " id="delete-instance_method">
|
|
1642
1415
|
|
|
1643
|
-
#<strong>delete</strong> ⇒ <tt>
|
|
1416
|
+
#<strong>delete</strong> ⇒ <tt>Object</tt>
|
|
1644
1417
|
|
|
1645
1418
|
|
|
1646
1419
|
|
|
@@ -1649,7 +1422,7 @@
|
|
|
1649
1422
|
</h3><div class="docstring">
|
|
1650
1423
|
<div class="discussion">
|
|
1651
1424
|
|
|
1652
|
-
<p>Delete
|
|
1425
|
+
<p>Delete a reserved domain.</p>
|
|
1653
1426
|
|
|
1654
1427
|
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-delete">ngrok.com/docs/api#api-reserved-domains-delete</a></p>
|
|
1655
1428
|
|
|
@@ -1658,24 +1431,6 @@
|
|
|
1658
1431
|
</div>
|
|
1659
1432
|
<div class="tags">
|
|
1660
1433
|
|
|
1661
|
-
<p class="tag_title">Returns:</p>
|
|
1662
|
-
<ul class="return">
|
|
1663
|
-
|
|
1664
|
-
<li>
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
<span class='type'>(<tt>nil</tt>)</span>
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
—
|
|
1672
|
-
<div class='inline'>
|
|
1673
|
-
<p>result from delete request</p>
|
|
1674
|
-
</div>
|
|
1675
|
-
|
|
1676
|
-
</li>
|
|
1677
|
-
|
|
1678
|
-
</ul>
|
|
1679
1434
|
|
|
1680
1435
|
</div><table class="source_code">
|
|
1681
1436
|
<tr>
|
|
@@ -1683,15 +1438,19 @@
|
|
|
1683
1438
|
<pre class="lines">
|
|
1684
1439
|
|
|
1685
1440
|
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1441
|
+
52
|
|
1442
|
+
53
|
|
1443
|
+
54
|
|
1444
|
+
55
|
|
1445
|
+
56</pre>
|
|
1689
1446
|
</td>
|
|
1690
1447
|
<td>
|
|
1691
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1448
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 52</span>
|
|
1692
1449
|
|
|
1693
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span>
|
|
1694
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span
|
|
1450
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span>
|
|
1451
|
+
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span>
|
|
1452
|
+
<span class='label'>id:</span> <span class='ivar'>@id</span>
|
|
1453
|
+
<span class='rparen'>)</span>
|
|
1695
1454
|
<span class='kw'>end</span></pre>
|
|
1696
1455
|
</td>
|
|
1697
1456
|
</tr>
|
|
@@ -1699,788 +1458,33 @@
|
|
|
1699
1458
|
</div>
|
|
1700
1459
|
|
|
1701
1460
|
<div class="method_details ">
|
|
1702
|
-
<h3 class="signature " id="
|
|
1703
|
-
|
|
1704
|
-
#<strong>delete_certificate</strong> ⇒ <tt>nil</tt>
|
|
1461
|
+
<h3 class="signature " id="to_s-instance_method">
|
|
1705
1462
|
|
|
1706
|
-
|
|
1463
|
+
#<strong>to_s</strong> ⇒ <tt>Object</tt>
|
|
1707
1464
|
|
|
1708
1465
|
|
|
1709
1466
|
|
|
1710
|
-
</h3><div class="docstring">
|
|
1711
|
-
<div class="discussion">
|
|
1712
|
-
|
|
1713
|
-
<p>Detach the certificate attached from this reserved domain.</p>
|
|
1714
|
-
|
|
1715
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-delete-certificate">ngrok.com/docs/api#api-reserved-domains-delete-certificate</a></p>
|
|
1716
1467
|
|
|
1717
|
-
|
|
1718
|
-
</div>
|
|
1719
|
-
</div>
|
|
1720
|
-
<div class="tags">
|
|
1721
|
-
|
|
1722
|
-
<p class="tag_title">Returns:</p>
|
|
1723
|
-
<ul class="return">
|
|
1724
|
-
|
|
1725
|
-
<li>
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
<span class='type'>(<tt>nil</tt>)</span>
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
—
|
|
1733
|
-
<div class='inline'>
|
|
1734
|
-
<p>result from delete request</p>
|
|
1735
|
-
</div>
|
|
1736
|
-
|
|
1737
|
-
</li>
|
|
1738
1468
|
|
|
1739
|
-
</
|
|
1740
|
-
|
|
1741
|
-
</div><table class="source_code">
|
|
1469
|
+
</h3><table class="source_code">
|
|
1742
1470
|
<tr>
|
|
1743
1471
|
<td>
|
|
1744
1472
|
<pre class="lines">
|
|
1745
1473
|
|
|
1746
1474
|
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
116</pre>
|
|
1475
|
+
44
|
|
1476
|
+
45
|
|
1477
|
+
46</pre>
|
|
1751
1478
|
</td>
|
|
1752
1479
|
<td>
|
|
1753
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line
|
|
1480
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 44</span>
|
|
1754
1481
|
|
|
1755
|
-
<span class='kw'>def</span> <span class='id identifier
|
|
1756
|
-
<span class='ivar'>@
|
|
1757
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete_certificate'>delete_certificate</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='ivar'>@id</span><span class='rparen'>)</span>
|
|
1482
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
|
1483
|
+
<span class='ivar'>@result</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
|
1758
1484
|
<span class='kw'>end</span></pre>
|
|
1759
1485
|
</td>
|
|
1760
1486
|
</tr>
|
|
1761
1487
|
</table>
|
|
1762
|
-
</div>
|
|
1763
|
-
|
|
1764
|
-
<div class="method_details ">
|
|
1765
|
-
<h3 class="signature " id="delete_certificate_management_policy-instance_method">
|
|
1766
|
-
|
|
1767
|
-
#<strong>delete_certificate_management_policy</strong> ⇒ <tt>nil</tt>
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
</h3><div class="docstring">
|
|
1774
|
-
<div class="discussion">
|
|
1775
|
-
|
|
1776
|
-
<p>Detach the certificate management policy attached from this reserved domain.</p>
|
|
1777
|
-
|
|
1778
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy">ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy</a></p>
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
</div>
|
|
1782
|
-
</div>
|
|
1783
|
-
<div class="tags">
|
|
1784
|
-
|
|
1785
|
-
<p class="tag_title">Returns:</p>
|
|
1786
|
-
<ul class="return">
|
|
1787
|
-
|
|
1788
|
-
<li>
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
<span class='type'>(<tt>nil</tt>)</span>
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
—
|
|
1796
|
-
<div class='inline'>
|
|
1797
|
-
<p>result from delete request</p>
|
|
1798
|
-
</div>
|
|
1799
|
-
|
|
1800
|
-
</li>
|
|
1801
|
-
|
|
1802
|
-
</ul>
|
|
1803
|
-
|
|
1804
|
-
</div><table class="source_code">
|
|
1805
|
-
<tr>
|
|
1806
|
-
<td>
|
|
1807
|
-
<pre class="lines">
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
124
|
|
1811
|
-
125
|
|
1812
|
-
126
|
|
1813
|
-
127
|
|
1814
|
-
128</pre>
|
|
1815
|
-
</td>
|
|
1816
|
-
<td>
|
|
1817
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 124</span>
|
|
1818
|
-
|
|
1819
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_delete_certificate_management_policy'>delete_certificate_management_policy</span>
|
|
1820
|
-
<span class='ivar'>@certificate_management_policy</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
|
1821
|
-
<span class='ivar'>@certificate_management_status</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
|
1822
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete_certificate_management_policy'>delete_certificate_management_policy</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='ivar'>@id</span><span class='rparen'>)</span>
|
|
1823
|
-
<span class='kw'>end</span></pre>
|
|
1824
|
-
</td>
|
|
1825
|
-
</tr>
|
|
1826
|
-
</table>
|
|
1827
|
-
</div>
|
|
1828
|
-
|
|
1829
|
-
<div class="method_details ">
|
|
1830
|
-
<h3 class="signature " id="delete_http_endpoint_config-instance_method">
|
|
1831
|
-
|
|
1832
|
-
#<strong>delete_http_endpoint_config</strong> ⇒ <tt>nil</tt>
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
</h3><div class="docstring">
|
|
1839
|
-
<div class="discussion">
|
|
1840
|
-
|
|
1841
|
-
<p>Detach the http endpoint configuration attached from this reserved domain.</p>
|
|
1842
|
-
|
|
1843
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config">ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config</a></p>
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
</div>
|
|
1847
|
-
</div>
|
|
1848
|
-
<div class="tags">
|
|
1849
|
-
|
|
1850
|
-
<p class="tag_title">Returns:</p>
|
|
1851
|
-
<ul class="return">
|
|
1852
|
-
|
|
1853
|
-
<li>
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
<span class='type'>(<tt>nil</tt>)</span>
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
—
|
|
1861
|
-
<div class='inline'>
|
|
1862
|
-
<p>result from delete request</p>
|
|
1863
|
-
</div>
|
|
1864
|
-
|
|
1865
|
-
</li>
|
|
1866
|
-
|
|
1867
|
-
</ul>
|
|
1868
|
-
|
|
1869
|
-
</div><table class="source_code">
|
|
1870
|
-
<tr>
|
|
1871
|
-
<td>
|
|
1872
|
-
<pre class="lines">
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
136
|
|
1876
|
-
137
|
|
1877
|
-
138
|
|
1878
|
-
139</pre>
|
|
1879
|
-
</td>
|
|
1880
|
-
<td>
|
|
1881
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 136</span>
|
|
1882
|
-
|
|
1883
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_delete_http_endpoint_config'>delete_http_endpoint_config</span>
|
|
1884
|
-
<span class='ivar'>@http_endpoint_configuration</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
|
1885
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete_http_endpoint_config'>delete_http_endpoint_config</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='ivar'>@id</span><span class='rparen'>)</span>
|
|
1886
|
-
<span class='kw'>end</span></pre>
|
|
1887
|
-
</td>
|
|
1888
|
-
</tr>
|
|
1889
|
-
</table>
|
|
1890
|
-
</div>
|
|
1891
|
-
|
|
1892
|
-
<div class="method_details ">
|
|
1893
|
-
<h3 class="signature " id="delete_https_endpoint_config-instance_method">
|
|
1894
|
-
|
|
1895
|
-
#<strong>delete_https_endpoint_config</strong> ⇒ <tt>nil</tt>
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
</h3><div class="docstring">
|
|
1902
|
-
<div class="discussion">
|
|
1903
|
-
|
|
1904
|
-
<p>Detach the https endpoint configuration attached from this reserved domain.</p>
|
|
1905
|
-
|
|
1906
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config">ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config</a></p>
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
</div>
|
|
1910
|
-
</div>
|
|
1911
|
-
<div class="tags">
|
|
1912
|
-
|
|
1913
|
-
<p class="tag_title">Returns:</p>
|
|
1914
|
-
<ul class="return">
|
|
1915
|
-
|
|
1916
|
-
<li>
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
<span class='type'>(<tt>nil</tt>)</span>
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
—
|
|
1924
|
-
<div class='inline'>
|
|
1925
|
-
<p>result from delete request</p>
|
|
1926
|
-
</div>
|
|
1927
|
-
|
|
1928
|
-
</li>
|
|
1929
|
-
|
|
1930
|
-
</ul>
|
|
1931
|
-
|
|
1932
|
-
</div><table class="source_code">
|
|
1933
|
-
<tr>
|
|
1934
|
-
<td>
|
|
1935
|
-
<pre class="lines">
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
147
|
|
1939
|
-
148
|
|
1940
|
-
149
|
|
1941
|
-
150</pre>
|
|
1942
|
-
</td>
|
|
1943
|
-
<td>
|
|
1944
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 147</span>
|
|
1945
|
-
|
|
1946
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_delete_https_endpoint_config'>delete_https_endpoint_config</span>
|
|
1947
|
-
<span class='ivar'>@https_endpoint_configuration</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
|
1948
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete_https_endpoint_config'>delete_https_endpoint_config</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='ivar'>@id</span><span class='rparen'>)</span>
|
|
1949
|
-
<span class='kw'>end</span></pre>
|
|
1950
|
-
</td>
|
|
1951
|
-
</tr>
|
|
1952
|
-
</table>
|
|
1953
|
-
</div>
|
|
1954
|
-
|
|
1955
|
-
<div class="method_details ">
|
|
1956
|
-
<h3 class="signature " id="restore_certificate-instance_method">
|
|
1957
|
-
|
|
1958
|
-
#<strong>restore_certificate</strong> ⇒ <tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
</h3><div class="docstring">
|
|
1965
|
-
<div class="discussion">
|
|
1966
|
-
|
|
1967
|
-
<p>Restore the certificate attached to this reserved domain. Only works if the @result is still present from a previous action</p>
|
|
1968
|
-
|
|
1969
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-update">ngrok.com/docs/api#api-reserved-domains-update</a></p>
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
</div>
|
|
1973
|
-
</div>
|
|
1974
|
-
<div class="tags">
|
|
1975
|
-
|
|
1976
|
-
<p class="tag_title">Returns:</p>
|
|
1977
|
-
<ul class="return">
|
|
1978
|
-
|
|
1979
|
-
<li>
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>)</span>
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
—
|
|
1987
|
-
<div class='inline'>
|
|
1988
|
-
<p>result from update request</p>
|
|
1989
|
-
</div>
|
|
1990
|
-
|
|
1991
|
-
</li>
|
|
1992
|
-
|
|
1993
|
-
</ul>
|
|
1994
|
-
|
|
1995
|
-
</div><table class="source_code">
|
|
1996
|
-
<tr>
|
|
1997
|
-
<td>
|
|
1998
|
-
<pre class="lines">
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
159
|
|
2002
|
-
160
|
|
2003
|
-
161
|
|
2004
|
-
162</pre>
|
|
2005
|
-
</td>
|
|
2006
|
-
<td>
|
|
2007
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 159</span>
|
|
2008
|
-
|
|
2009
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_restore_certificate'>restore_certificate</span>
|
|
2010
|
-
<span class='ivar'>@certificate</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>certificate</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
2011
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='ivar'>@id</span><span class='comma'>,</span> <span class='label'>certificate_id:</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>certificate</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
|
2012
|
-
<span class='kw'>end</span></pre>
|
|
2013
|
-
</td>
|
|
2014
|
-
</tr>
|
|
2015
|
-
</table>
|
|
2016
|
-
</div>
|
|
2017
|
-
|
|
2018
|
-
<div class="method_details ">
|
|
2019
|
-
<h3 class="signature " id="restore_certificate_management_policy-instance_method">
|
|
2020
|
-
|
|
2021
|
-
#<strong>restore_certificate_management_policy</strong> ⇒ <tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
</h3><div class="docstring">
|
|
2028
|
-
<div class="discussion">
|
|
2029
|
-
|
|
2030
|
-
<p>Restore the certificate management policy attached to this reserved domain. Only works if the @result is still present from a previous action</p>
|
|
2031
|
-
|
|
2032
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-update">ngrok.com/docs/api#api-reserved-domains-update</a></p>
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
</div>
|
|
2036
|
-
</div>
|
|
2037
|
-
<div class="tags">
|
|
2038
|
-
|
|
2039
|
-
<p class="tag_title">Returns:</p>
|
|
2040
|
-
<ul class="return">
|
|
2041
|
-
|
|
2042
|
-
<li>
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>)</span>
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
—
|
|
2050
|
-
<div class='inline'>
|
|
2051
|
-
<p>result from update request</p>
|
|
2052
|
-
</div>
|
|
2053
|
-
|
|
2054
|
-
</li>
|
|
2055
|
-
|
|
2056
|
-
</ul>
|
|
2057
|
-
|
|
2058
|
-
</div><table class="source_code">
|
|
2059
|
-
<tr>
|
|
2060
|
-
<td>
|
|
2061
|
-
<pre class="lines">
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
171
|
|
2065
|
-
172
|
|
2066
|
-
173
|
|
2067
|
-
174
|
|
2068
|
-
175
|
|
2069
|
-
176
|
|
2070
|
-
177
|
|
2071
|
-
178</pre>
|
|
2072
|
-
</td>
|
|
2073
|
-
<td>
|
|
2074
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 171</span>
|
|
2075
|
-
|
|
2076
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_restore_certificate_management_policy'>restore_certificate_management_policy</span>
|
|
2077
|
-
<span class='ivar'>@certificate_management_policy</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>certificate_management_policy</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
2078
|
-
<span class='ivar'>@certificate_management_status</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>certificate_management_status</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
2079
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
|
|
2080
|
-
<span class='label'>id:</span> <span class='ivar'>@id</span><span class='comma'>,</span>
|
|
2081
|
-
<span class='label'>certificate_management_policy:</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>certificate_management_policy</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
2082
|
-
<span class='rparen'>)</span>
|
|
2083
|
-
<span class='kw'>end</span></pre>
|
|
2084
|
-
</td>
|
|
2085
|
-
</tr>
|
|
2086
|
-
</table>
|
|
2087
|
-
</div>
|
|
2088
|
-
|
|
2089
|
-
<div class="method_details ">
|
|
2090
|
-
<h3 class="signature " id="restore_http_endpoint_config-instance_method">
|
|
2091
|
-
|
|
2092
|
-
#<strong>restore_http_endpoint_config</strong> ⇒ <tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
</h3><div class="docstring">
|
|
2099
|
-
<div class="discussion">
|
|
2100
|
-
|
|
2101
|
-
<p>Restore the http endpoint configuration attached to this reserved domain. Only works if the @result is still present from a previous action</p>
|
|
2102
|
-
|
|
2103
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-update">ngrok.com/docs/api#api-reserved-domains-update</a></p>
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
</div>
|
|
2107
|
-
</div>
|
|
2108
|
-
<div class="tags">
|
|
2109
|
-
|
|
2110
|
-
<p class="tag_title">Returns:</p>
|
|
2111
|
-
<ul class="return">
|
|
2112
|
-
|
|
2113
|
-
<li>
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>)</span>
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
—
|
|
2121
|
-
<div class='inline'>
|
|
2122
|
-
<p>result from update request</p>
|
|
2123
|
-
</div>
|
|
2124
|
-
|
|
2125
|
-
</li>
|
|
2126
|
-
|
|
2127
|
-
</ul>
|
|
2128
|
-
|
|
2129
|
-
</div><table class="source_code">
|
|
2130
|
-
<tr>
|
|
2131
|
-
<td>
|
|
2132
|
-
<pre class="lines">
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
187
|
|
2136
|
-
188
|
|
2137
|
-
189
|
|
2138
|
-
190
|
|
2139
|
-
191
|
|
2140
|
-
192
|
|
2141
|
-
193</pre>
|
|
2142
|
-
</td>
|
|
2143
|
-
<td>
|
|
2144
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 187</span>
|
|
2145
|
-
|
|
2146
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_restore_http_endpoint_config'>restore_http_endpoint_config</span>
|
|
2147
|
-
<span class='ivar'>@http_endpoint_configuration</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http_endpoint_configuration</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
2148
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
|
|
2149
|
-
<span class='label'>id:</span> <span class='ivar'>@id</span><span class='comma'>,</span>
|
|
2150
|
-
<span class='label'>http_endpoint_configuration_id:</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http_endpoint_configuration</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
2151
|
-
<span class='rparen'>)</span>
|
|
2152
|
-
<span class='kw'>end</span></pre>
|
|
2153
|
-
</td>
|
|
2154
|
-
</tr>
|
|
2155
|
-
</table>
|
|
2156
|
-
</div>
|
|
2157
|
-
|
|
2158
|
-
<div class="method_details ">
|
|
2159
|
-
<h3 class="signature " id="restore_https_endpoint_config-instance_method">
|
|
2160
|
-
|
|
2161
|
-
#<strong>restore_https_endpoint_config</strong> ⇒ <tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
</h3><div class="docstring">
|
|
2168
|
-
<div class="discussion">
|
|
2169
|
-
|
|
2170
|
-
<p>Restore the https endpoint configuration attached to this reserved domain. Only works if the @result is still present from a previous action</p>
|
|
2171
|
-
|
|
2172
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-update">ngrok.com/docs/api#api-reserved-domains-update</a></p>
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
</div>
|
|
2176
|
-
</div>
|
|
2177
|
-
<div class="tags">
|
|
2178
|
-
|
|
2179
|
-
<p class="tag_title">Returns:</p>
|
|
2180
|
-
<ul class="return">
|
|
2181
|
-
|
|
2182
|
-
<li>
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>)</span>
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
—
|
|
2190
|
-
<div class='inline'>
|
|
2191
|
-
<p>result from update request</p>
|
|
2192
|
-
</div>
|
|
2193
|
-
|
|
2194
|
-
</li>
|
|
2195
|
-
|
|
2196
|
-
</ul>
|
|
2197
|
-
|
|
2198
|
-
</div><table class="source_code">
|
|
2199
|
-
<tr>
|
|
2200
|
-
<td>
|
|
2201
|
-
<pre class="lines">
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
202
|
|
2205
|
-
203
|
|
2206
|
-
204
|
|
2207
|
-
205
|
|
2208
|
-
206
|
|
2209
|
-
207
|
|
2210
|
-
208</pre>
|
|
2211
|
-
</td>
|
|
2212
|
-
<td>
|
|
2213
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 202</span>
|
|
2214
|
-
|
|
2215
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_restore_https_endpoint_config'>restore_https_endpoint_config</span>
|
|
2216
|
-
<span class='ivar'>@https_endpoint_configuration</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>https_endpoint_configuration</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
2217
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
|
|
2218
|
-
<span class='label'>id:</span> <span class='ivar'>@id</span><span class='comma'>,</span>
|
|
2219
|
-
<span class='label'>https_endpoint_configuration_id:</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>https_endpoint_configuration</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
2220
|
-
<span class='rparen'>)</span>
|
|
2221
|
-
<span class='kw'>end</span></pre>
|
|
2222
|
-
</td>
|
|
2223
|
-
</tr>
|
|
2224
|
-
</table>
|
|
2225
|
-
</div>
|
|
2226
|
-
|
|
2227
|
-
<div class="method_details ">
|
|
2228
|
-
<h3 class="signature " id="to_s-instance_method">
|
|
2229
|
-
|
|
2230
|
-
#<strong>to_s</strong> ⇒ <tt>Object</tt>
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
</h3><table class="source_code">
|
|
2237
|
-
<tr>
|
|
2238
|
-
<td>
|
|
2239
|
-
<pre class="lines">
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
46
|
|
2243
|
-
47
|
|
2244
|
-
48</pre>
|
|
2245
|
-
</td>
|
|
2246
|
-
<td>
|
|
2247
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 46</span>
|
|
2248
|
-
|
|
2249
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
|
2250
|
-
<span class='ivar'>@result</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
|
2251
|
-
<span class='kw'>end</span></pre>
|
|
2252
|
-
</td>
|
|
2253
|
-
</tr>
|
|
2254
|
-
</table>
|
|
2255
|
-
</div>
|
|
2256
|
-
|
|
2257
|
-
<div class="method_details ">
|
|
2258
|
-
<h3 class="signature " id="update-instance_method">
|
|
2259
|
-
|
|
2260
|
-
#<strong>update</strong>(certificate_id: nil, certificate_management_policy: nil, description: '', http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: '') ⇒ <tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
</h3><div class="docstring">
|
|
2267
|
-
<div class="discussion">
|
|
2268
|
-
|
|
2269
|
-
<p>Update the attributes of this reserved domain.</p>
|
|
2270
|
-
|
|
2271
|
-
<p><a href="https://ngrok.com/docs/api#api-reserved-domains-update">ngrok.com/docs/api#api-reserved-domains-update</a></p>
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
</div>
|
|
2275
|
-
</div>
|
|
2276
|
-
<div class="tags">
|
|
2277
|
-
<p class="tag_title">Parameters:</p>
|
|
2278
|
-
<ul class="param">
|
|
2279
|
-
|
|
2280
|
-
<li>
|
|
2281
|
-
|
|
2282
|
-
<span class='name'>description</span>
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
<span class='type'>(<tt>string</tt>)</span>
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
—
|
|
2292
|
-
<div class='inline'>
|
|
2293
|
-
<p>human-readable description of what this reserved domain will be used for</p>
|
|
2294
|
-
</div>
|
|
2295
|
-
|
|
2296
|
-
</li>
|
|
2297
|
-
|
|
2298
|
-
<li>
|
|
2299
|
-
|
|
2300
|
-
<span class='name'>metadata</span>
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
<span class='type'>(<tt>string</tt>)</span>
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
—
|
|
2310
|
-
<div class='inline'>
|
|
2311
|
-
<p>arbitrary user-defined machine-readable data of this reserved domain. Optional, max 4096 bytes.</p>
|
|
2312
|
-
</div>
|
|
2313
|
-
|
|
2314
|
-
</li>
|
|
2315
|
-
|
|
2316
|
-
<li>
|
|
2317
|
-
|
|
2318
|
-
<span class='name'>http_endpoint_configuration_id</span>
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
<span class='type'>(<tt>string</tt>)</span>
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
—
|
|
2328
|
-
<div class='inline'>
|
|
2329
|
-
<p>ID of an endpoint configuration of type http that will be used to handle inbound http traffic to this domain</p>
|
|
2330
|
-
</div>
|
|
2331
|
-
|
|
2332
|
-
</li>
|
|
2333
|
-
|
|
2334
|
-
<li>
|
|
2335
|
-
|
|
2336
|
-
<span class='name'>https_endpoint_configuration_id</span>
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
<span class='type'>(<tt>string</tt>)</span>
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
—
|
|
2346
|
-
<div class='inline'>
|
|
2347
|
-
<p>ID of an endpoint configuration of type https that will be used to handle inbound https traffic to this domain</p>
|
|
2348
|
-
</div>
|
|
2349
|
-
|
|
2350
|
-
</li>
|
|
2351
|
-
|
|
2352
|
-
<li>
|
|
2353
|
-
|
|
2354
|
-
<span class='name'>certificate_id</span>
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
<span class='type'>(<tt>string</tt>)</span>
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
—
|
|
2364
|
-
<div class='inline'>
|
|
2365
|
-
<p>ID of a user-uploaded TLS certificate to use for connections to targeting this domain. Optional, mutually exclusive with “certificate_management_policy“.</p>
|
|
2366
|
-
</div>
|
|
2367
|
-
|
|
2368
|
-
</li>
|
|
2369
|
-
|
|
2370
|
-
<li>
|
|
2371
|
-
|
|
2372
|
-
<span class='name'>certificate_management_policy</span>
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
<span class='type'>(<tt>string</tt>)</span>
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
—
|
|
2382
|
-
<div class='inline'>
|
|
2383
|
-
<p>configuration for automatic management of TLS certificates for this domain, or null if automatic management is disabled. Optional, mutually exclusive with “certificate_id“.</p>
|
|
2384
|
-
</div>
|
|
2385
|
-
|
|
2386
|
-
</li>
|
|
2387
|
-
|
|
2388
|
-
</ul>
|
|
2389
|
-
|
|
2390
|
-
<p class="tag_title">Returns:</p>
|
|
2391
|
-
<ul class="return">
|
|
2392
|
-
|
|
2393
|
-
<li>
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="NgrokAPI::Models::ReservedDomain (class)">NgrokAPI::Models::ReservedDomain</a></span></tt>)</span>
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
—
|
|
2401
|
-
<div class='inline'>
|
|
2402
|
-
<p>result from update request</p>
|
|
2403
|
-
</div>
|
|
2404
|
-
|
|
2405
|
-
</li>
|
|
2406
|
-
|
|
2407
|
-
</ul>
|
|
2408
|
-
|
|
2409
|
-
</div><table class="source_code">
|
|
2410
|
-
<tr>
|
|
2411
|
-
<td>
|
|
2412
|
-
<pre class="lines">
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
74
|
|
2416
|
-
75
|
|
2417
|
-
76
|
|
2418
|
-
77
|
|
2419
|
-
78
|
|
2420
|
-
79
|
|
2421
|
-
80
|
|
2422
|
-
81
|
|
2423
|
-
82
|
|
2424
|
-
83
|
|
2425
|
-
84
|
|
2426
|
-
85
|
|
2427
|
-
86
|
|
2428
|
-
87
|
|
2429
|
-
88
|
|
2430
|
-
89
|
|
2431
|
-
90
|
|
2432
|
-
91
|
|
2433
|
-
92
|
|
2434
|
-
93
|
|
2435
|
-
94
|
|
2436
|
-
95
|
|
2437
|
-
96
|
|
2438
|
-
97
|
|
2439
|
-
98
|
|
2440
|
-
99
|
|
2441
|
-
100
|
|
2442
|
-
101
|
|
2443
|
-
102
|
|
2444
|
-
103
|
|
2445
|
-
104</pre>
|
|
2446
|
-
</td>
|
|
2447
|
-
<td>
|
|
2448
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/reserved_domain.rb', line 74</span>
|
|
2449
|
-
|
|
2450
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
|
|
2451
|
-
<span class='label'>certificate_id:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
2452
|
-
<span class='label'>certificate_management_policy:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
2453
|
-
<span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
|
2454
|
-
<span class='label'>http_endpoint_configuration_id:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
2455
|
-
<span class='label'>https_endpoint_configuration_id:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
2456
|
-
<span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
|
2457
|
-
<span class='rparen'>)</span>
|
|
2458
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_certificate_management_policy'>certificate_management_policy</span>
|
|
2459
|
-
<span class='ivar'>@certificate_management_policy</span> <span class='op'>=</span> <span class='id identifier rubyid_certificate_management_policy'>certificate_management_policy</span>
|
|
2460
|
-
<span class='kw'>end</span>
|
|
2461
|
-
<span class='ivar'>@description</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>
|
|
2462
|
-
<span class='ivar'>@metadata</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>
|
|
2463
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
|
|
2464
|
-
<span class='label'>id:</span> <span class='ivar'>@id</span><span class='comma'>,</span>
|
|
2465
|
-
<span class='label'>description:</span> <span class='id identifier rubyid_description'>description</span><span class='comma'>,</span>
|
|
2466
|
-
<span class='label'>metadata:</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='comma'>,</span>
|
|
2467
|
-
<span class='label'>http_endpoint_configuration_id:</span> <span class='id identifier rubyid_http_endpoint_configuration_id'>http_endpoint_configuration_id</span><span class='comma'>,</span>
|
|
2468
|
-
<span class='label'>https_endpoint_configuration_id:</span> <span class='id identifier rubyid_https_endpoint_configuration_id'>https_endpoint_configuration_id</span><span class='comma'>,</span>
|
|
2469
|
-
<span class='label'>certificate_id:</span> <span class='id identifier rubyid_certificate_id'>certificate_id</span><span class='comma'>,</span>
|
|
2470
|
-
<span class='label'>certificate_management_policy:</span> <span class='id identifier rubyid_certificate_management_policy'>certificate_management_policy</span>
|
|
2471
|
-
<span class='rparen'>)</span>
|
|
2472
|
-
<span class='comment'># TODO: update @certificate, etc?
|
|
2473
|
-
</span> <span class='comment'># @certificate = new_result['certificate'] if certificate_id && new_result['certificate']
|
|
2474
|
-
</span> <span class='comment'># if http_endpoint_configuration_id
|
|
2475
|
-
</span> <span class='comment'># @http_endpoint_configuration_id = http_endpoint_configuration_id
|
|
2476
|
-
</span> <span class='comment'># end
|
|
2477
|
-
</span> <span class='comment'># if https_endpoint_configuration_id
|
|
2478
|
-
</span> <span class='comment'># @https_endpoint_configuration_id = https_endpoint_configuration_id
|
|
2479
|
-
</span> <span class='comment'># end
|
|
2480
|
-
</span><span class='kw'>end</span></pre>
|
|
2481
|
-
</td>
|
|
2482
|
-
</tr>
|
|
2483
|
-
</table>
|
|
2484
1488
|
</div>
|
|
2485
1489
|
|
|
2486
1490
|
</div>
|
|
@@ -2488,7 +1492,7 @@
|
|
|
2488
1492
|
</div>
|
|
2489
1493
|
|
|
2490
1494
|
<div id="footer">
|
|
2491
|
-
Generated on
|
|
1495
|
+
Generated on Mon Oct 4 23:24:16 2021 by
|
|
2492
1496
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2493
1497
|
0.9.26 (ruby-3.0.1).
|
|
2494
1498
|
</div>
|