Class: NgrokAPI::Models::ApiKey
+ Class: NgrokAPI::Models::APIKey
@@ -74,7 +74,7 @@
- Object
- - NgrokAPI::Models::ApiKey
+ - NgrokAPI::Models::APIKey
show all
@@ -99,19 +99,8 @@
-Overview
-
-
-A resource representing data from the api_keys API
-
-
-
-
Instance Attribute Summary collapse
@@ -387,7 +376,7 @@
Class: NgrokAPI::Models::APIKey
@@ -74,7 +74,7 @@
- Object
- - NgrokAPI::Models::ApiKey
+ - NgrokAPI::Models::APIKey
show all
@@ -99,19 +99,8 @@
A resource representing data from the api_keys API
-Delete this API key.
+Delete an API key by ID.
A new instance of ApiKey.
+A new instance of APIKey.
Update the attributes of this API key.
+Update attributes of an API key by ID.
- #initialize(client:, result:) ⇒ ApiKey + #initialize(client:, result:) ⇒ APIKey @@ -498,7 +487,7 @@
Returns a new instance of ApiKey.
+Returns a new instance of APIKey.
+15 +16 17 18 19 @@ -519,22 +510,20 @@ 21 22 23 -24 -25 -26+24
# File 'lib/ngrokapi/models/api_key.rb', line 17 +# File 'lib/ngrokapi/models/api_key.rb', line 15 -def initialize(client:, result:) - @client = client - @result = result - @created_at = @result['created_at'] - @id = @result['id'] - @description = @result['description'] - @metadata = @result['metadata'] - @token = @result['token'] - @uri = @result['uri'] +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @description = @result['description'] + @metadata = @result['metadata'] + @created_at = @result['created_at'] + @token = @result['token'] end
-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/api_key.rb', line 8 +# File 'lib/ngrokapi/models/api_key.rb', line 6 def client @client @@ -617,12 +606,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/api_key.rb', line 8 +# File 'lib/ngrokapi/models/api_key.rb', line 6 def created_at @created_at @@ -660,12 +649,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/api_key.rb', line 8 +# File 'lib/ngrokapi/models/api_key.rb', line 6 def description @description @@ -703,12 +692,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/api_key.rb', line 8 +# File 'lib/ngrokapi/models/api_key.rb', line 6 def id @id @@ -746,12 +735,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/api_key.rb', line 8 +# File 'lib/ngrokapi/models/api_key.rb', line 6 def @metadata @@ -789,12 +778,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/api_key.rb', line 8 +# File 'lib/ngrokapi/models/api_key.rb', line 6 def result @result @@ -832,12 +821,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/api_key.rb', line 8 +# File 'lib/ngrokapi/models/api_key.rb', line 6 def token @token @@ -875,12 +864,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/api_key.rb', line 8 +# File 'lib/ngrokapi/models/api_key.rb', line 6 def uri @uri @@ -912,15 +901,15 @@-28 -29 -30+26 +27 +28
# File 'lib/ngrokapi/models/api_key.rb', line 28 +# File 'lib/ngrokapi/models/api_key.rb', line 26 -def ==(other) - @result == other.result +def ==(other) + @result == other.result end
- #delete ⇒ nil + #delete ⇒ Object @@ -939,7 +928,7 @@
Delete this API key.
+Delete an API key by ID
@@ -948,24 +937,6 @@
- # File 'lib/ngrokapi/models/api_key.rb', line 42 +# File 'lib/ngrokapi/models/api_key.rb', line 38 -def delete - @client.delete(id: @id) +def delete + @client.delete( + id: @id + ) end |
- # File 'lib/ngrokapi/models/api_key.rb', line 32 +# File 'lib/ngrokapi/models/api_key.rb', line 30 -def to_s - @result.to_s +def to_s + @result.to_s end |
@@ -1021,7 +996,7 @@
- # File 'lib/ngrokapi/models/api_key.rb', line 56 +# File 'lib/ngrokapi/models/api_key.rb', line 48 -def update(description: nil, metadata: nil) - @description = description if description - @metadata = if - @client.update(id: @id, description: description, metadata: ) +def update( + description: nil, + metadata: nil +) + @description = description if description + @metadata = if + @client.update( + id: @id, + description: description, + metadata: + ) end |
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/aws_auth.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @role = @result['role'] + @creds = @result['creds'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_auth.rb', line 6 + +def client + @client +end+ |
+
+ + #creds ⇒ Object (readonly) + + + + + +
Returns the value of attribute creds.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_auth.rb', line 6 + +def creds + @creds +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_auth.rb', line 6 + +def result + @result +end+ |
+
+ + #role ⇒ Object (readonly) + + + + + +
Returns the value of attribute role.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_auth.rb', line 6 + +def role + @role +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/aws_auth.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/aws_auth.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::AWSCredentials + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::AWSCredentials + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/aws_credentials.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #aws_access_key_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute aws_access_key_id.
+
+
+
+ -
+
+
+ #aws_secret_access_key ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute aws_secret_access_key.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ AWSCredentials
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of AWSCredentials.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ AWSCredentials + + + + + +
Returns a new instance of AWSCredentials.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/aws_credentials.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @aws_access_key_id = @result['aws_access_key_id'] + @aws_secret_access_key = @result['aws_secret_access_key'] +end+ |
+
Instance Attribute Details
+ + + ++ + #aws_access_key_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute aws_access_key_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_credentials.rb', line 6 + +def aws_access_key_id + @aws_access_key_id +end+ |
+
+ + #aws_secret_access_key ⇒ Object (readonly) + + + + + +
Returns the value of attribute aws_secret_access_key.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_credentials.rb', line 6 + +def aws_secret_access_key + @aws_secret_access_key +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_credentials.rb', line 6 + +def client + @client +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_credentials.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/aws_credentials.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/aws_credentials.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::AWSRole + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::AWSRole + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/aws_role.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #role_arn ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute role_arn.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ AWSRole
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of AWSRole.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ AWSRole + + + + + +
Returns a new instance of AWSRole.
+ + +
+ + + +10 +11 +12 +13 +14+ |
+
+ # File 'lib/ngrokapi/models/aws_role.rb', line 10 + +def initialize(client:, result:) + @client = client + @result = result + @role_arn = @result['role_arn'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_role.rb', line 6 + +def client + @client +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_role.rb', line 6 + +def result + @result +end+ |
+
+ + #role_arn ⇒ Object (readonly) + + + + + +
Returns the value of attribute role_arn.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/aws_role.rb', line 6 + +def role_arn + @role_arn +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +16 +17 +18+ |
+
+ # File 'lib/ngrokapi/models/aws_role.rb', line 16 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/aws_role.rb', line 20 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::AbuseReport + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::AbuseReport + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/abuse_report.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #hostnames ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute hostnames.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #status ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute status.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+ -
+
+
+ #urls ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute urls.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ AbuseReport
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of AbuseReport.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ AbuseReport + + + + + +
Returns a new instance of AbuseReport.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @urls = @result['urls'] + @metadata = @result['metadata'] + @status = @result['status'] + @hostnames = @result['hostnames'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #hostnames ⇒ Object (readonly) + + + + + +
Returns the value of attribute hostnames.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def hostnames + @hostnames +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def + @metadata +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def result + @result +end+ |
+
+ + #status ⇒ Object (readonly) + + + + + +
Returns the value of attribute status.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def status + @status +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def uri + @uri +end+ |
+
+ + #urls ⇒ Object (readonly) + + + + + +
Returns the value of attribute urls.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 6 + +def urls + @urls +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/abuse_report.rb', line 32 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::AbuseReportHostname + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::AbuseReportHostname + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/abuse_report_hostname.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #hostname ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute hostname.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #status ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute status.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ AbuseReportHostname
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of AbuseReportHostname.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ AbuseReportHostname + + + + + +
Returns a new instance of AbuseReportHostname.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/abuse_report_hostname.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @hostname = @result['hostname'] + @status = @result['status'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report_hostname.rb', line 6 + +def client + @client +end+ |
+
+ + #hostname ⇒ Object (readonly) + + + + + +
Returns the value of attribute hostname.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report_hostname.rb', line 6 + +def hostname + @hostname +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report_hostname.rb', line 6 + +def result + @result +end+ |
+
+ + #status ⇒ Object (readonly) + + + + + +
Returns the value of attribute status.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/abuse_report_hostname.rb', line 6 + +def status + @status +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/abuse_report_hostname.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/abuse_report_hostname.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::CertificateAuthority + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::CertificateAuthority + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/certificate_authority.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #ca_pem ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ca_pem.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #extended_key_usages ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute extended_key_usages.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #key_usages ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute key_usages.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #not_after ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute not_after.
+
+
+
+ -
+
+
+ #not_before ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute not_before.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #subject_common_name ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute subject_common_name.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a Certificate Authority.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ CertificateAuthority
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of CertificateAuthority.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of a Certificate Authority by ID.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ CertificateAuthority + + + + + +
Returns a new instance of CertificateAuthority.
+ + +
+ + + +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 20 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @ca_pem = @result['ca_pem'] + @subject_common_name = @result['subject_common_name'] + @not_before = @result['not_before'] + @not_after = @result['not_after'] + @key_usages = @result['key_usages'] + @extended_key_usages = @result['extended_key_usages'] +end+ |
+
Instance Attribute Details
+ + + ++ + #ca_pem ⇒ Object (readonly) + + + + + +
Returns the value of attribute ca_pem.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def ca_pem + @ca_pem +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def description + @description +end+ |
+
+ + #extended_key_usages ⇒ Object (readonly) + + + + + +
Returns the value of attribute extended_key_usages.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def extended_key_usages + @extended_key_usages +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def id + @id +end+ |
+
+ + #key_usages ⇒ Object (readonly) + + + + + +
Returns the value of attribute key_usages.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def key_usages + @key_usages +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def + @metadata +end+ |
+
+ + #not_after ⇒ Object (readonly) + + + + + +
Returns the value of attribute not_after.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def not_after + @not_after +end+ |
+
+ + #not_before ⇒ Object (readonly) + + + + + +
Returns the value of attribute not_before.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def not_before + @not_before +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def result + @result +end+ |
+
+ + #subject_common_name ⇒ Object (readonly) + + + + + +
Returns the value of attribute subject_common_name.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def subject_common_name + @subject_common_name +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +36 +37 +38+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 36 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete a Certificate Authority
+ + + + +
+ + + +48 +49 +50 +51 +52+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 48 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +40 +41 +42+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 40 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil) ⇒ Object + + + + + +
Update attributes of a Certificate Authority by ID
+ + + + +
+ + + +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69+ |
+
+ # File 'lib/ngrokapi/models/certificate_authority.rb', line 58 + +def update( + description: nil, + metadata: nil +) + @description = description if description + @metadata = if + @client.update( + id: @id, + description: description, + metadata: + ) +end+ |
+
Class: NgrokAPI::Models::Credential + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::Credential + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/credential.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #acl ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute acl.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #token ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute token.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a tunnel authtoken credential by ID.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ Credential
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of Credential.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil, acl: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an tunnel authtoken credential by ID.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ Credential + + + + + +
Returns a new instance of Credential.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @token = @result['token'] + @acl = @result['acl'] +end+ |
+
Instance Attribute Details
+ + + ++ + #acl ⇒ Object (readonly) + + + + + +
Returns the value of attribute acl.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def acl + @acl +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def description + @description +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def + @metadata +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def result + @result +end+ |
+
+ + #token ⇒ Object (readonly) + + + + + +
Returns the value of attribute token.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def token + @token +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete a tunnel authtoken credential by ID
+ + + + +
+ + + +40 +41 +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 40 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 32 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil, acl: nil) ⇒ Object + + + + + +
Update attributes of an tunnel authtoken credential by ID
+ + + + +
+ + + +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64+ |
+
+ # File 'lib/ngrokapi/models/credential.rb', line 50 + +def update( + description: nil, + metadata: nil, + acl: nil +) + @description = description if description + @metadata = if + @acl = acl if acl + @client.update( + id: @id, + description: description, + metadata: , + acl: acl + ) +end+ |
+
Class: NgrokAPI::Models::EndpointCircuitBreaker + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointCircuitBreaker + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_circuit_breaker.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #error_threshold_percentage ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute error_threshold_percentage.
+
+
+
+ -
+
+
+ #num_buckets ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute num_buckets.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #rolling_window ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute rolling_window.
+
+
+
+ -
+
+
+ #tripped_duration ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute tripped_duration.
+
+
+
+ -
+
+
+ #volume_threshold ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute volume_threshold.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointCircuitBreaker
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointCircuitBreaker.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointCircuitBreaker + + + + + +
Returns a new instance of EndpointCircuitBreaker.
+ + +
+ + + +15 +16 +17 +18 +19 +20 +21 +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 15 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @tripped_duration = @result['tripped_duration'] + @rolling_window = @result['rolling_window'] + @num_buckets = @result['num_buckets'] + @volume_threshold = @result['volume_threshold'] + @error_threshold_percentage = @result['error_threshold_percentage'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #error_threshold_percentage ⇒ Object (readonly) + + + + + +
Returns the value of attribute error_threshold_percentage.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 6 + +def error_threshold_percentage + @error_threshold_percentage +end+ |
+
+ + #num_buckets ⇒ Object (readonly) + + + + + +
Returns the value of attribute num_buckets.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 6 + +def num_buckets + @num_buckets +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 6 + +def result + @result +end+ |
+
+ + #rolling_window ⇒ Object (readonly) + + + + + +
Returns the value of attribute rolling_window.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 6 + +def rolling_window + @rolling_window +end+ |
+
+ + #tripped_duration ⇒ Object (readonly) + + + + + +
Returns the value of attribute tripped_duration.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 6 + +def tripped_duration + @tripped_duration +end+ |
+
+ + #volume_threshold ⇒ Object (readonly) + + + + + +
Returns the value of attribute volume_threshold.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 6 + +def volume_threshold + @volume_threshold +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +26 +27 +28+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 26 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +30 +31 +32+ |
+
+ # File 'lib/ngrokapi/models/endpoint_circuit_breaker.rb', line 30 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointCompression + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointCompression + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_compression.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointCompression
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointCompression.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointCompression + + + + + +
Returns a new instance of EndpointCompression.
+ + +
+ + + +10 +11 +12 +13 +14+ |
+
+ # File 'lib/ngrokapi/models/endpoint_compression.rb', line 10 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_compression.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_compression.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_compression.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +16 +17 +18+ |
+
+ # File 'lib/ngrokapi/models/endpoint_compression.rb', line 16 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/endpoint_compression.rb', line 20 + +def to_s + @result.to_s +end+ |
+
Overview
A resource representing data from the endpoint_configuration API
-Instance Attribute Summary collapse
-
+
-
+
+
+ #backend ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute backend.
+
+
+
+ -
+
+
+ #basic_auth ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute basic_auth.
+
+
+
+ -
+
+
+ #circuit_breaker ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute circuit_breaker.
+
+
+
-
@@ -143,6 +219,35 @@
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #compression ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++
Returns the value of attribute compression.
+
@@ -230,6 +335,64 @@
-
+
+
+ #ip_policy ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ip_policy.
+
+
+
+ -
+
+
+ #logging ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++
Returns the value of attribute logging.
+
@@ -259,6 +422,151 @@
-
+
+
+ #mutual_tls ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute mutual_tls.
+
+
+
+ -
+
+
+ #oauth ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute oauth.
+
+
+
+ -
+
+
+ #oidc ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute oidc.
+
+
+
+ -
+
+
+ #request_headers ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute request_headers.
+
+
+
+ -
+
+
+ #response_headers ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++
Returns the value of attribute response_headers.
+
@@ -288,6 +596,93 @@
-
+
+
+ #saml ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute saml.
+
+
+
+ -
+
+
+ #tls_termination ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute tls_termination.
+
+
+
+ -
+
+
+ #type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++
Returns the value of attribute type.
+
@@ -317,6 +712,35 @@
-
+
+
+ #webhook_validation ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++
Returns the value of attribute webhook_validation.
+
@@ -358,7 +782,7 @@
-
- #delete ⇒ nil
+ #delete ⇒ Object
@@ -373,7 +797,7 @@
-
Delete this endpoint configuration.
+Delete an endpoint configuration.
@@ -430,7 +854,7 @@
-
- #update(description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update(description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ Object
@@ -445,7 +869,7 @@
-
Update this endpoint configuration.
+Updates an endpoint configuration.
@@ -483,27 +907,57 @@
Returns the value of attribute id.
+ + + +Returns the value of attribute metadata.
+ + + +Returns the value of attribute result.
+ + + +Returns the value of attribute uri.
+ + + +-16 -17 -18 -19 -20 -21 -22 -23 -24+29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 16 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 29 -def initialize(client:, result:) - @client = client - @result = result - @created_at = @result['created_at'] - @id = @result['id'] - @description = @result['description'] - @metadata = @result['metadata'] - @uri = @result['uri'] +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @type = @result['type'] + @description = @result['description'] + @metadata = @result['metadata'] + @created_at = @result['created_at'] + @uri = @result['uri'] + @basic_auth = @result['basic_auth'] + @circuit_breaker = @result['circuit_breaker'] + @compression = @result['compression'] + @request_headers = @result['request_headers'] + @response_headers = @result['response_headers'] + @ip_policy = @result['ip_policy'] + @mutual_tls = @result['mutual_tls'] + @tls_termination = @result['tls_termination'] + @webhook_validation = @result['webhook_validation'] + @oauth = @result['oauth'] + @logging = @result['logging'] + @saml = @result['saml'] + @oidc = @result['oidc'] + @backend = @result['backend'] end
+
+
+ #backend ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute backend.
+
+
+
+
+
Returns the value of attribute backend.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def backend + @backend +end+ |
+
+ + #basic_auth ⇒ Object (readonly) + + + + + +
Returns the value of attribute basic_auth.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def basic_auth + @basic_auth +end+ |
+
+ + #circuit_breaker ⇒ Object (readonly) + + + + + +
Returns the value of attribute circuit_breaker.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def circuit_breaker + @circuit_breaker +end+ |
+
#client ⇒ Object (readonly)
@@ -543,12 +1126,12 @@
-8
-9
-10
+6
+7
+8
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
def client
@client
@@ -559,6 +1142,49 @@
+
+
+
+
+ #compression ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute compression.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def compression
+ @compression
+end
+
+
+
+
+
+
@@ -586,12 +1212,12 @@
-8
-9
-10
+6
+7
+8
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
def created_at
@created_at
@@ -629,12 +1255,12 @@
-8
-9
-10
+6
+7
+8
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
def description
@description
@@ -672,12 +1298,12 @@
-8
-9
-10
+6
+7
+8
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
def id
@id
@@ -688,6 +1314,92 @@
+
+
+
+
+ #ip_policy ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute ip_policy.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def ip_policy
+ @ip_policy
+end
+
+
+
+
+
+
+
+
+
+
+ #logging ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute logging.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def logging
+ @logging
+end
+
+
+
+
+
+
@@ -715,12 +1427,12 @@
-8
-9
-10
+6
+7
+8
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
def
@metadata
@@ -731,6 +1443,221 @@
+
+
+
+
+ #mutual_tls ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute mutual_tls.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def mutual_tls
+ @mutual_tls
+end
+
+
+
+
+
+
+
+
+
+
+ #oauth ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute oauth.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def oauth
+ @oauth
+end
+
+
+
+
+
+
+
+
+
+
+ #oidc ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute oidc.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def oidc
+ @oidc
+end
+
+
+
+
+
+
+
+
+
+
+ #request_headers ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute request_headers.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def request_headers
+ @request_headers
+end
+
+
+
+
+
+
+
+
+
+
+ #response_headers ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute response_headers.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def response_headers
+ @response_headers
+end
+
+
+
+
+
+
@@ -758,12 +1685,12 @@
-8
-9
-10
+6
+7
+8
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
def result
@result
@@ -774,6 +1701,135 @@
+
+
+
+
+ #saml ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute saml.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def saml
+ @saml
+end
+
+
+
+
+
+
+
+
+
+
+ #tls_termination ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute tls_termination.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def tls_termination
+ @tls_termination
+end
+
+
+
+
+
+
+
+
+
+
+ #type ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute type.
+
+
+
+
+
+
+
+
+
+
+6
+7
+8
+
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
+
+def type
+ @type
+end
+
+
+
+
+
+
@@ -801,12 +1857,12 @@
-8
-9
-10
+6
+7
+8
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6
def uri
@uri
@@ -816,6 +1872,49 @@
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 def client @client @@ -559,6 +1142,49 @@ + +++ ++ + #compression ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute compression.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def compression + @compression +end+@@ -586,12 +1212,12 @@
-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 def created_at @created_at @@ -629,12 +1255,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 def description @description @@ -672,12 +1298,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 def id @id @@ -688,6 +1314,92 @@ + +++ + + ++ + #ip_policy ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute ip_policy.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def ip_policy + @ip_policy +end+++ ++ + #logging ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute logging.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def logging + @logging +end+@@ -715,12 +1427,12 @@
-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 def @metadata @@ -731,6 +1443,221 @@ + +++ + + ++ + #mutual_tls ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute mutual_tls.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def mutual_tls + @mutual_tls +end+++ + + ++ + #oauth ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute oauth.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def oauth + @oauth +end+++ + + ++ + #oidc ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute oidc.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def oidc + @oidc +end+++ + + ++ + #request_headers ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute request_headers.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def request_headers + @request_headers +end+++ ++ + #response_headers ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute response_headers.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def response_headers + @response_headers +end+@@ -758,12 +1685,12 @@
-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 def result @result @@ -774,6 +1701,135 @@ + +++ + + ++ + #saml ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute saml.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def saml + @saml +end+++ + + ++ + #tls_termination ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute tls_termination.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def tls_termination + @tls_termination +end+++ ++ + #type ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute type.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def type + @type +end+@@ -801,12 +1857,12 @@
-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 8 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 def uri @uri @@ -816,6 +1872,49 @@
+ + #webhook_validation ⇒ Object (readonly) + + + + + +
Returns the value of attribute webhook_validation.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 6 + +def webhook_validation + @webhook_validation +end+ |
+
-26 -27 -28+54 +55 +56
# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 26 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 54 -def ==(other) - @result == other.result +def ==(other) + @result == other.result end
- #delete ⇒ nil + #delete ⇒ Object @@ -865,7 +1964,7 @@
Delete this endpoint configuration.
+Delete an endpoint configuration. This operation will fail if the endpoint configuration is still referenced by any reserved domain or reserved address.
@@ -874,24 +1973,6 @@
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 40 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 67 -def delete - @client.delete(id: @id) +def delete + @client.delete( + id: @id + ) end |
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 30 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 58 -def to_s - @result.to_s +def to_s + @result.to_s end |
@@ -947,7 +2032,7 @@
- # File 'lib/ngrokapi/models/endpoint_configuration.rb', line 68 +# File 'lib/ngrokapi/models/endpoint_configuration.rb', line 80 -def update( - description: nil, - metadata: nil, - circuit_breaker: nil, - compression: nil, - request_headers: nil, - response_headers: nil, - ip_policy: nil, - mutual_tls: nil, - tls_termination: nil, - webhook_validation: nil, - oauth: nil, - logging: nil, - saml: nil, - oidc: nil -) - @description = description if description - @metadata = if - @circuit_breaker = circuit_breaker if circuit_breaker - @compression = compression if compression - @request_headers = request_headers if request_headers - @response_headers = response_headers if response_headers - @ip_policy = ip_policy if ip_policy - @mutual_tls = mutual_tls if mutual_tls - @tls_termination = tls_termination if tls_termination - @webhook_validation = webhook_validation if webhook_validation - @oauth = oauth if oauth - @logging = logging if logging - @saml = saml if saml - @oidc = oidc if oidc - @client.update( - id: @id, - description: description, - metadata: , - circuit_breaker: circuit_breaker, - compression: compression, - request_headers: request_headers, - response_headers: response_headers, - ip_policy: ip_policy, - mutual_tls: mutual_tls, - tls_termination: tls_termination, - webhook_validation: webhook_validation, - oauth: oauth, - logging: logging, - saml: saml, - oidc: oidc - ) +def update( + description: nil, + metadata: nil, + circuit_breaker: nil, + compression: nil, + request_headers: nil, + response_headers: nil, + ip_policy: nil, + mutual_tls: nil, + tls_termination: nil, + webhook_validation: nil, + oauth: nil, + logging: nil, + saml: nil, + oidc: nil +) + @description = description if description + @metadata = if + @circuit_breaker = circuit_breaker if circuit_breaker + @compression = compression if compression + @request_headers = request_headers if request_headers + @response_headers = response_headers if response_headers + @ip_policy = ip_policy if ip_policy + @mutual_tls = mutual_tls if mutual_tls + @tls_termination = tls_termination if tls_termination + @webhook_validation = webhook_validation if webhook_validation + @oauth = oauth if oauth + @logging = logging if logging + @saml = saml if saml + @oidc = oidc if oidc + @client.update( + id: @id, + description: description, + metadata: , + circuit_breaker: circuit_breaker, + compression: compression, + request_headers: request_headers, + response_headers: response_headers, + ip_policy: ip_policy, + mutual_tls: mutual_tls, + tls_termination: tls_termination, + webhook_validation: webhook_validation, + oauth: oauth, + logging: logging, + saml: saml, + oidc: oidc + ) end |
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @ip_policies = @result['ip_policies'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #ip_policies ⇒ Object (readonly) + + + + + +
Returns the value of attribute ip_policies.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy.rb', line 6 + +def ip_policies + @ip_policies +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointIPPolicyMutate + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointIPPolicyMutate + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #ip_policy_ids ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ip_policy_ids.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointIPPolicyMutate
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointIPPolicyMutate.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointIPPolicyMutate + + + + + +
Returns a new instance of EndpointIPPolicyMutate.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy_mutate.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @ip_policy_ids = @result['ip_policy_ids'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy_mutate.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy_mutate.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #ip_policy_ids ⇒ Object (readonly) + + + + + +
Returns the value of attribute ip_policy_ids.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy_mutate.rb', line 6 + +def ip_policy_ids + @ip_policy_ids +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy_mutate.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy_mutate.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/endpoint_ip_policy_mutate.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointLogging + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointLogging + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_logging.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #event_streams ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute event_streams.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointLogging
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointLogging.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointLogging + + + + + +
Returns a new instance of EndpointLogging.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @event_streams = @result['event_streams'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #event_streams ⇒ Object (readonly) + + + + + +
Returns the value of attribute event_streams.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging.rb', line 6 + +def event_streams + @event_streams +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointLoggingMutate + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointLoggingMutate + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_logging_mutate.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #event_stream_ids ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute event_stream_ids.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointLoggingMutate
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointLoggingMutate.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointLoggingMutate + + + + + +
Returns a new instance of EndpointLoggingMutate.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging_mutate.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @event_stream_ids = @result['event_stream_ids'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging_mutate.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging_mutate.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #event_stream_ids ⇒ Object (readonly) + + + + + +
Returns the value of attribute event_stream_ids.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging_mutate.rb', line 6 + +def event_stream_ids + @event_stream_ids +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging_mutate.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging_mutate.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/endpoint_logging_mutate.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointMutualTLS + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointMutualTLS + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_mutual_tls.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #certificate_authorities ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute certificate_authorities.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointMutualTLS
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointMutualTLS.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointMutualTLS + + + + + +
Returns a new instance of EndpointMutualTLS.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @certificate_authorities = @result['certificate_authorities'] +end+ |
+
Instance Attribute Details
+ + + ++ + #certificate_authorities ⇒ Object (readonly) + + + + + +
Returns the value of attribute certificate_authorities.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls.rb', line 6 + +def + @certificate_authorities +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointMutualTLSMutate + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointMutualTLSMutate + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #certificate_authority_ids ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute certificate_authority_ids.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointMutualTLSMutate
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointMutualTLSMutate.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointMutualTLSMutate + + + + + +
Returns a new instance of EndpointMutualTLSMutate.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @certificate_authority_ids = @result['certificate_authority_ids'] +end+ |
+
Instance Attribute Details
+ + + ++ + #certificate_authority_ids ⇒ Object (readonly) + + + + + +
Returns the value of attribute certificate_authority_ids.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb', line 6 + +def + @certificate_authority_ids +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointOAuth + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointOAuth + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_o_auth.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #auth_check_interval ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute auth_check_interval.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #cookie_prefix ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute cookie_prefix.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #inactivity_timeout ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute inactivity_timeout.
+
+
+
+ -
+
+
+ #maximum_duration ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute maximum_duration.
+
+
+
+ -
+
+
+ #options_passthrough ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute options_passthrough.
+
+
+
+ -
+
+
+ #provider ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute provider.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointOAuth
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOAuth.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointOAuth + + + + + +
Returns a new instance of EndpointOAuth.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @provider = @result['provider'] + @options_passthrough = @result['options_passthrough'] + @cookie_prefix = @result['cookie_prefix'] + @inactivity_timeout = @result['inactivity_timeout'] + @maximum_duration = @result['maximum_duration'] + @auth_check_interval = @result['auth_check_interval'] +end+ |
+
Instance Attribute Details
+ + + ++ + #auth_check_interval ⇒ Object (readonly) + + + + + +
Returns the value of attribute auth_check_interval.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def auth_check_interval + @auth_check_interval +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def client + @client +end+ |
+
+ + #cookie_prefix ⇒ Object (readonly) + + + + + +
Returns the value of attribute cookie_prefix.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def + @cookie_prefix +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #inactivity_timeout ⇒ Object (readonly) + + + + + +
Returns the value of attribute inactivity_timeout.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def inactivity_timeout + @inactivity_timeout +end+ |
+
+ + #maximum_duration ⇒ Object (readonly) + + + + + +
Returns the value of attribute maximum_duration.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def maximum_duration + @maximum_duration +end+ |
+
+ + #options_passthrough ⇒ Object (readonly) + + + + + +
Returns the value of attribute options_passthrough.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def + @options_passthrough +end+ |
+
+ + #provider ⇒ Object (readonly) + + + + + +
Returns the value of attribute provider.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def provider + @provider +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth.rb', line 32 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointOAuthFacebook + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointOAuthFacebook + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_o_auth_facebook.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #client_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_id.
+
+
+
+ -
+
+
+ #client_secret ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_secret.
+
+
+
+ -
+
+
+ #email_addresses ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute email_addresses.
+
+
+
+ -
+
+
+ #email_domains ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute email_domains.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #scopes ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute scopes.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointOAuthFacebook
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOAuthFacebook.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointOAuthFacebook + + + + + +
Returns a new instance of EndpointOAuthFacebook.
+ + +
+ + + +14 +15 +16 +17 +18 +19 +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 14 + +def initialize(client:, result:) + @client = client + @result = result + @client_id = @result['client_id'] + @client_secret = @result['client_secret'] + @scopes = @result['scopes'] + @email_addresses = @result['email_addresses'] + @email_domains = @result['email_domains'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 + +def client + @client +end+ |
+
+ + #client_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 + +def client_id + @client_id +end+ |
+
+ + #client_secret ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_secret.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 + +def client_secret + @client_secret +end+ |
+
+ + #email_addresses ⇒ Object (readonly) + + + + + +
Returns the value of attribute email_addresses.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 + +def email_addresses + @email_addresses +end+ |
+
+ + #email_domains ⇒ Object (readonly) + + + + + +
Returns the value of attribute email_domains.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 + +def email_domains + @email_domains +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 + +def result + @result +end+ |
+
+ + #scopes ⇒ Object (readonly) + + + + + +
Returns the value of attribute scopes.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 6 + +def scopes + @scopes +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 24 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_facebook.rb', line 28 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointOAuthGitHub + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointOAuthGitHub + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #client_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_id.
+
+
+
+ -
+
+
+ #client_secret ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_secret.
+
+
+
+ -
+
+
+ #email_addresses ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute email_addresses.
+
+
+
+ -
+
+
+ #email_domains ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute email_domains.
+
+
+
+ -
+
+
+ #organizations ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute organizations.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #scopes ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute scopes.
+
+
+
+ -
+
+
+ #teams ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute teams.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointOAuthGitHub
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOAuthGitHub.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointOAuthGitHub + + + + + +
Returns a new instance of EndpointOAuthGitHub.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @client_id = @result['client_id'] + @client_secret = @result['client_secret'] + @scopes = @result['scopes'] + @email_addresses = @result['email_addresses'] + @email_domains = @result['email_domains'] + @teams = @result['teams'] + @organizations = @result['organizations'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def client + @client +end+ |
+
+ + #client_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def client_id + @client_id +end+ |
+
+ + #client_secret ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_secret.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def client_secret + @client_secret +end+ |
+
+ + #email_addresses ⇒ Object (readonly) + + + + + +
Returns the value of attribute email_addresses.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def email_addresses + @email_addresses +end+ |
+
+ + #email_domains ⇒ Object (readonly) + + + + + +
Returns the value of attribute email_domains.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def email_domains + @email_domains +end+ |
+
+ + #organizations ⇒ Object (readonly) + + + + + +
Returns the value of attribute organizations.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def organizations + @organizations +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def result + @result +end+ |
+
+ + #scopes ⇒ Object (readonly) + + + + + +
Returns the value of attribute scopes.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def scopes + @scopes +end+ |
+
+ + #teams ⇒ Object (readonly) + + + + + +
Returns the value of attribute teams.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 6 + +def teams + @teams +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_git_hub.rb', line 32 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointOAuthGoogle + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointOAuthGoogle + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_o_auth_google.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #client_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_id.
+
+
+
+ -
+
+
+ #client_secret ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_secret.
+
+
+
+ -
+
+
+ #email_addresses ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute email_addresses.
+
+
+
+ -
+
+
+ #email_domains ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute email_domains.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #scopes ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute scopes.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointOAuthGoogle
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOAuthGoogle.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointOAuthGoogle + + + + + +
Returns a new instance of EndpointOAuthGoogle.
+ + +
+ + + +14 +15 +16 +17 +18 +19 +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 14 + +def initialize(client:, result:) + @client = client + @result = result + @client_id = @result['client_id'] + @client_secret = @result['client_secret'] + @scopes = @result['scopes'] + @email_addresses = @result['email_addresses'] + @email_domains = @result['email_domains'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 6 + +def client + @client +end+ |
+
+ + #client_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 6 + +def client_id + @client_id +end+ |
+
+ + #client_secret ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_secret.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 6 + +def client_secret + @client_secret +end+ |
+
+ + #email_addresses ⇒ Object (readonly) + + + + + +
Returns the value of attribute email_addresses.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 6 + +def email_addresses + @email_addresses +end+ |
+
+ + #email_domains ⇒ Object (readonly) + + + + + +
Returns the value of attribute email_domains.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 6 + +def email_domains + @email_domains +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 6 + +def result + @result +end+ |
+
+ + #scopes ⇒ Object (readonly) + + + + + +
Returns the value of attribute scopes.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 6 + +def scopes + @scopes +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 24 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_google.rb', line 28 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointOAuthMicrosoft + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointOAuthMicrosoft + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #client_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_id.
+
+
+
+ -
+
+
+ #client_secret ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_secret.
+
+
+
+ -
+
+
+ #email_addresses ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute email_addresses.
+
+
+
+ -
+
+
+ #email_domains ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute email_domains.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #scopes ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute scopes.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointOAuthMicrosoft
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOAuthMicrosoft.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointOAuthMicrosoft + + + + + +
Returns a new instance of EndpointOAuthMicrosoft.
+ + +
+ + + +14 +15 +16 +17 +18 +19 +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 14 + +def initialize(client:, result:) + @client = client + @result = result + @client_id = @result['client_id'] + @client_secret = @result['client_secret'] + @scopes = @result['scopes'] + @email_addresses = @result['email_addresses'] + @email_domains = @result['email_domains'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 6 + +def client + @client +end+ |
+
+ + #client_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 6 + +def client_id + @client_id +end+ |
+
+ + #client_secret ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_secret.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 6 + +def client_secret + @client_secret +end+ |
+
+ + #email_addresses ⇒ Object (readonly) + + + + + +
Returns the value of attribute email_addresses.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 6 + +def email_addresses + @email_addresses +end+ |
+
+ + #email_domains ⇒ Object (readonly) + + + + + +
Returns the value of attribute email_domains.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 6 + +def email_domains + @email_domains +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 6 + +def result + @result +end+ |
+
+ + #scopes ⇒ Object (readonly) + + + + + +
Returns the value of attribute scopes.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 6 + +def scopes + @scopes +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 24 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_microsoft.rb', line 28 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointOAuthProvider + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointOAuthProvider + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_o_auth_provider.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #facebook ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute facebook.
+
+
+
+ -
+
+
+ #github ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute github.
+
+
+
+ -
+
+
+ #google ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute google.
+
+
+
+ -
+
+
+ #microsoft ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute microsoft.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointOAuthProvider
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOAuthProvider.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointOAuthProvider + + + + + +
Returns a new instance of EndpointOAuthProvider.
+ + +
+ + + +13 +14 +15 +16 +17 +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 13 + +def initialize(client:, result:) + @client = client + @result = result + @github = @result['github'] + @facebook = @result['facebook'] + @microsoft = @result['microsoft'] + @google = @result['google'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 6 + +def client + @client +end+ |
+
+ + #facebook ⇒ Object (readonly) + + + + + +
Returns the value of attribute facebook.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 6 + +def facebook + @facebook +end+ |
+
+ + #github ⇒ Object (readonly) + + + + + +
Returns the value of attribute github.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 6 + +def github + @github +end+ |
+
+ + #google ⇒ Object (readonly) + + + + + +
Returns the value of attribute google.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 6 + +def google + @google +end+ |
+
+ + #microsoft ⇒ Object (readonly) + + + + + +
Returns the value of attribute microsoft.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 6 + +def microsoft + @microsoft +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 22 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +26 +27 +28+ |
+
+ # File 'lib/ngrokapi/models/endpoint_o_auth_provider.rb', line 26 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointOIDC + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointOIDC + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_oidc.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #client_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_id.
+
+
+
+ -
+
+
+ #client_secret ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client_secret.
+
+
+
+ -
+
+
+ #cookie_prefix ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute cookie_prefix.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #inactivity_timeout ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute inactivity_timeout.
+
+
+
+ -
+
+
+ #issuer ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute issuer.
+
+
+
+ -
+
+
+ #maximum_duration ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute maximum_duration.
+
+
+
+ -
+
+
+ #options_passthrough ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute options_passthrough.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #scopes ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute scopes.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointOIDC
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOIDC.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointOIDC + + + + + +
Returns a new instance of EndpointOIDC.
+ + +
+ + + +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 18 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @options_passthrough = @result['options_passthrough'] + @cookie_prefix = @result['cookie_prefix'] + @inactivity_timeout = @result['inactivity_timeout'] + @maximum_duration = @result['maximum_duration'] + @issuer = @result['issuer'] + @client_id = @result['client_id'] + @client_secret = @result['client_secret'] + @scopes = @result['scopes'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def client + @client +end+ |
+
+ + #client_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def client_id + @client_id +end+ |
+
+ + #client_secret ⇒ Object (readonly) + + + + + +
Returns the value of attribute client_secret.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def client_secret + @client_secret +end+ |
+
+ + #cookie_prefix ⇒ Object (readonly) + + + + + +
Returns the value of attribute cookie_prefix.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def + @cookie_prefix +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #inactivity_timeout ⇒ Object (readonly) + + + + + +
Returns the value of attribute inactivity_timeout.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def inactivity_timeout + @inactivity_timeout +end+ |
+
+ + #issuer ⇒ Object (readonly) + + + + + +
Returns the value of attribute issuer.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def issuer + @issuer +end+ |
+
+ + #maximum_duration ⇒ Object (readonly) + + + + + +
Returns the value of attribute maximum_duration.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def maximum_duration + @maximum_duration +end+ |
+
+ + #options_passthrough ⇒ Object (readonly) + + + + + +
Returns the value of attribute options_passthrough.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def + @options_passthrough +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def result + @result +end+ |
+
+ + #scopes ⇒ Object (readonly) + + + + + +
Returns the value of attribute scopes.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 + +def scopes + @scopes +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 32 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +36 +37 +38+ |
+
+ # File 'lib/ngrokapi/models/endpoint_oidc.rb', line 36 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointRequestHeaders + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointRequestHeaders + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_request_headers.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #add ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute add.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #remove ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute remove.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointRequestHeaders
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointRequestHeaders.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointRequestHeaders + + + + + +
Returns a new instance of EndpointRequestHeaders.
+ + +
+ + + +12 +13 +14 +15 +16 +17 +18+ |
+
+ # File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 12 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @add = @result['add'] + @remove = @result['remove'] +end+ |
+
Instance Attribute Details
+ + + ++ + #add ⇒ Object (readonly) + + + + + +
Returns the value of attribute add.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6 + +def add + @add +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #remove ⇒ Object (readonly) + + + + + +
Returns the value of attribute remove.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6 + +def remove + @remove +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 20 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 24 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointResponseHeaders + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointResponseHeaders + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_response_headers.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #add ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute add.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #remove ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute remove.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointResponseHeaders
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointResponseHeaders.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointResponseHeaders + + + + + +
Returns a new instance of EndpointResponseHeaders.
+ + +
+ + + +12 +13 +14 +15 +16 +17 +18+ |
+
+ # File 'lib/ngrokapi/models/endpoint_response_headers.rb', line 12 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @add = @result['add'] + @remove = @result['remove'] +end+ |
+
Instance Attribute Details
+ + + ++ + #add ⇒ Object (readonly) + + + + + +
Returns the value of attribute add.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_response_headers.rb', line 6 + +def add + @add +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_response_headers.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_response_headers.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #remove ⇒ Object (readonly) + + + + + +
Returns the value of attribute remove.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_response_headers.rb', line 6 + +def remove + @remove +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_response_headers.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/endpoint_response_headers.rb', line 20 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_response_headers.rb', line 24 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointSAML + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointSAML + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_saml.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #allow_idp_initiated ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute allow_idp_initiated.
+
+
+
+ -
+
+
+ #assertion_consumer_service_url ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute assertion_consumer_service_url.
+
+
+
+ -
+
+
+ #authorized_groups ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute authorized_groups.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #cookie_prefix ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute cookie_prefix.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #entity_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute entity_id.
+
+
+
+ -
+
+
+ #force_authn ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute force_authn.
+
+
+
+ -
+
+
+ #idp_metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute idp_metadata.
+
+
+
+ -
+
+
+ #idp_metadata_url ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute idp_metadata_url.
+
+
+
+ -
+
+
+ #inactivity_timeout ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute inactivity_timeout.
+
+
+
+ -
+
+
+ #maximum_duration ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute maximum_duration.
+
+
+
+ -
+
+
+ #metadata_url ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata_url.
+
+
+
+ -
+
+
+ #nameid_format ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute nameid_format.
+
+
+
+ -
+
+
+ #options_passthrough ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute options_passthrough.
+
+
+
+ -
+
+
+ #request_signing_certificate_pem ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute request_signing_certificate_pem.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #single_logout_url ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute single_logout_url.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointSAML
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointSAML.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointSAML + + + + + +
Returns a new instance of EndpointSAML.
+ + +
+ + + +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 25 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @options_passthrough = @result['options_passthrough'] + @cookie_prefix = @result['cookie_prefix'] + @inactivity_timeout = @result['inactivity_timeout'] + @maximum_duration = @result['maximum_duration'] + @idp_metadata_url = @result['idp_metadata_url'] + @idp_metadata = @result['idp_metadata'] + @force_authn = @result['force_authn'] + @allow_idp_initiated = @result['allow_idp_initiated'] + @authorized_groups = @result['authorized_groups'] + @entity_id = @result['entity_id'] + @assertion_consumer_service_url = @result['assertion_consumer_service_url'] + @single_logout_url = @result['single_logout_url'] + @request_signing_certificate_pem = @result['request_signing_certificate_pem'] + @metadata_url = @result['metadata_url'] + @nameid_format = @result['nameid_format'] +end+ |
+
Instance Attribute Details
+ + + ++ + #allow_idp_initiated ⇒ Object (readonly) + + + + + +
Returns the value of attribute allow_idp_initiated.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def allow_idp_initiated + @allow_idp_initiated +end+ |
+
+ + #assertion_consumer_service_url ⇒ Object (readonly) + + + + + +
Returns the value of attribute assertion_consumer_service_url.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def assertion_consumer_service_url + @assertion_consumer_service_url +end+ |
+
+ + #authorized_groups ⇒ Object (readonly) + + + + + +
Returns the value of attribute authorized_groups.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def + @authorized_groups +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def client + @client +end+ |
+
+ + #cookie_prefix ⇒ Object (readonly) + + + + + +
Returns the value of attribute cookie_prefix.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def + @cookie_prefix +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #entity_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute entity_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def entity_id + @entity_id +end+ |
+
+ + #force_authn ⇒ Object (readonly) + + + + + +
Returns the value of attribute force_authn.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def force_authn + @force_authn +end+ |
+
+ + #idp_metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute idp_metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def + @idp_metadata +end+ |
+
+ + #idp_metadata_url ⇒ Object (readonly) + + + + + +
Returns the value of attribute idp_metadata_url.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def + @idp_metadata_url +end+ |
+
+ + #inactivity_timeout ⇒ Object (readonly) + + + + + +
Returns the value of attribute inactivity_timeout.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def inactivity_timeout + @inactivity_timeout +end+ |
+
+ + #maximum_duration ⇒ Object (readonly) + + + + + +
Returns the value of attribute maximum_duration.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def maximum_duration + @maximum_duration +end+ |
+
+ + #metadata_url ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata_url.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def + @metadata_url +end+ |
+
+ + #nameid_format ⇒ Object (readonly) + + + + + +
Returns the value of attribute nameid_format.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def nameid_format + @nameid_format +end+ |
+
+ + #options_passthrough ⇒ Object (readonly) + + + + + +
Returns the value of attribute options_passthrough.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def + @options_passthrough +end+ |
+
+ + #request_signing_certificate_pem ⇒ Object (readonly) + + + + + +
Returns the value of attribute request_signing_certificate_pem.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def request_signing_certificate_pem + @request_signing_certificate_pem +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def result + @result +end+ |
+
+ + #single_logout_url ⇒ Object (readonly) + + + + + +
Returns the value of attribute single_logout_url.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 6 + +def single_logout_url + @single_logout_url +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +46 +47 +48+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 46 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +50 +51 +52+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml.rb', line 50 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointSAMLMutate + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointSAMLMutate + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_saml_mutate.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #allow_idp_initiated ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute allow_idp_initiated.
+
+
+
+ -
+
+
+ #authorized_groups ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute authorized_groups.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #cookie_prefix ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute cookie_prefix.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #force_authn ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute force_authn.
+
+
+
+ -
+
+
+ #idp_metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute idp_metadata.
+
+
+
+ -
+
+
+ #idp_metadata_url ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute idp_metadata_url.
+
+
+
+ -
+
+
+ #inactivity_timeout ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute inactivity_timeout.
+
+
+
+ -
+
+
+ #maximum_duration ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute maximum_duration.
+
+
+
+ -
+
+
+ #nameid_format ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute nameid_format.
+
+
+
+ -
+
+
+ #options_passthrough ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute options_passthrough.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointSAMLMutate
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointSAMLMutate.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointSAMLMutate + + + + + +
Returns a new instance of EndpointSAMLMutate.
+ + +
+ + + +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 20 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @options_passthrough = @result['options_passthrough'] + @cookie_prefix = @result['cookie_prefix'] + @inactivity_timeout = @result['inactivity_timeout'] + @maximum_duration = @result['maximum_duration'] + @idp_metadata_url = @result['idp_metadata_url'] + @idp_metadata = @result['idp_metadata'] + @force_authn = @result['force_authn'] + @allow_idp_initiated = @result['allow_idp_initiated'] + @authorized_groups = @result['authorized_groups'] + @nameid_format = @result['nameid_format'] +end+ |
+
Instance Attribute Details
+ + + ++ + #allow_idp_initiated ⇒ Object (readonly) + + + + + +
Returns the value of attribute allow_idp_initiated.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def allow_idp_initiated + @allow_idp_initiated +end+ |
+
+ + #authorized_groups ⇒ Object (readonly) + + + + + +
Returns the value of attribute authorized_groups.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def + @authorized_groups +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def client + @client +end+ |
+
+ + #cookie_prefix ⇒ Object (readonly) + + + + + +
Returns the value of attribute cookie_prefix.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def + @cookie_prefix +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #force_authn ⇒ Object (readonly) + + + + + +
Returns the value of attribute force_authn.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def force_authn + @force_authn +end+ |
+
+ + #idp_metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute idp_metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def + @idp_metadata +end+ |
+
+ + #idp_metadata_url ⇒ Object (readonly) + + + + + +
Returns the value of attribute idp_metadata_url.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def + @idp_metadata_url +end+ |
+
+ + #inactivity_timeout ⇒ Object (readonly) + + + + + +
Returns the value of attribute inactivity_timeout.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def inactivity_timeout + @inactivity_timeout +end+ |
+
+ + #maximum_duration ⇒ Object (readonly) + + + + + +
Returns the value of attribute maximum_duration.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def maximum_duration + @maximum_duration +end+ |
+
+ + #nameid_format ⇒ Object (readonly) + + + + + +
Returns the value of attribute nameid_format.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def nameid_format + @nameid_format +end+ |
+
+ + #options_passthrough ⇒ Object (readonly) + + + + + +
Returns the value of attribute options_passthrough.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def + @options_passthrough +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +36 +37 +38+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 36 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +40 +41 +42+ |
+
+ # File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 40 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointTLSTermination + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointTLSTermination + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_tls_termination.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #min_version ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute min_version.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #terminate_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute terminate_at.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointTLSTermination
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointTLSTermination.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointTLSTermination + + + + + +
Returns a new instance of EndpointTLSTermination.
+ + +
+ + + +12 +13 +14 +15 +16 +17 +18+ |
+
+ # File 'lib/ngrokapi/models/endpoint_tls_termination.rb', line 12 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @terminate_at = @result['terminate_at'] + @min_version = @result['min_version'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_tls_termination.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_tls_termination.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #min_version ⇒ Object (readonly) + + + + + +
Returns the value of attribute min_version.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_tls_termination.rb', line 6 + +def min_version + @min_version +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_tls_termination.rb', line 6 + +def result + @result +end+ |
+
+ + #terminate_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute terminate_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_tls_termination.rb', line 6 + +def terminate_at + @terminate_at +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/endpoint_tls_termination.rb', line 20 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_tls_termination.rb', line 24 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EndpointWebhookValidation + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EndpointWebhookValidation + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/endpoint_webhook_validation.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #enabled ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enabled.
+
+
+
+ -
+
+
+ #provider ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute provider.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #secret ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute secret.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EndpointWebhookValidation
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointWebhookValidation.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EndpointWebhookValidation + + + + + +
Returns a new instance of EndpointWebhookValidation.
+ + +
+ + + +12 +13 +14 +15 +16 +17 +18+ |
+
+ # File 'lib/ngrokapi/models/endpoint_webhook_validation.rb', line 12 + +def initialize(client:, result:) + @client = client + @result = result + @enabled = @result['enabled'] + @provider = @result['provider'] + @secret = @result['secret'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_webhook_validation.rb', line 6 + +def client + @client +end+ |
+
+ + #enabled ⇒ Object (readonly) + + + + + +
Returns the value of attribute enabled.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_webhook_validation.rb', line 6 + +def enabled + @enabled +end+ |
+
+ + #provider ⇒ Object (readonly) + + + + + +
Returns the value of attribute provider.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_webhook_validation.rb', line 6 + +def provider + @provider +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_webhook_validation.rb', line 6 + +def result + @result +end+ |
+
+ + #secret ⇒ Object (readonly) + + + + + +
Returns the value of attribute secret.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/endpoint_webhook_validation.rb', line 6 + +def secret + @secret +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/endpoint_webhook_validation.rb', line 20 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/endpoint_webhook_validation.rb', line 24 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EventDestination + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventDestination + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_destination.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #format ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute format.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #target ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute target.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Destination.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ EventDestination
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventDestination.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventDestination + + + + + +
Returns a new instance of EventDestination.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @metadata = @result['metadata'] + @created_at = @result['created_at'] + @description = @result['description'] + @format = @result['format'] + @target = @result['target'] + @uri = @result['uri'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def description + @description +end+ |
+
+ + #format ⇒ Object (readonly) + + + + + +
Returns the value of attribute format.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def format + @format +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def + @metadata +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def result + @result +end+ |
+
+ + #target ⇒ Object (readonly) + + + + + +
Returns the value of attribute target.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def target + @target +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an Event Destination. If the Event Destination is still referenced by an Event Stream, this will throw an error until that Event Stream has removed that reference.
+ + + + +
+ + + +42 +43 +44 +45 +46+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 42 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/event_destination.rb', line 32 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EventSource + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventSource + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_source.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #fields ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute fields.
+
+
+
+ -
+
+
+ #filter ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute filter.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute type.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EventSource
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventSource.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventSource + + + + + +
Returns a new instance of EventSource.
+ + +
+ + + +13 +14 +15 +16 +17 +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 13 + +def initialize(client:, result:) + @client = client + @result = result + @type = @result['type'] + @filter = @result['filter'] + @fields = @result['fields'] + @uri = @result['uri'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 6 + +def client + @client +end+ |
+
+ + #fields ⇒ Object (readonly) + + + + + +
Returns the value of attribute fields.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 6 + +def fields + @fields +end+ |
+
+ + #filter ⇒ Object (readonly) + + + + + +
Returns the value of attribute filter.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 6 + +def filter + @filter +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 6 + +def result + @result +end+ |
+
+ + #type ⇒ Object (readonly) + + + + + +
Returns the value of attribute type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 6 + +def type + @type +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 22 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +26 +27 +28+ |
+
+ # File 'lib/ngrokapi/models/event_source.rb', line 26 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EventSourceReplace + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventSourceReplace + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_source_replace.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #fields ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute fields.
+
+
+
+ -
+
+
+ #filter ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute filter.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute type.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EventSourceReplace
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventSourceReplace.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventSourceReplace + + + + + +
Returns a new instance of EventSourceReplace.
+ + +
+ + + +12 +13 +14 +15 +16 +17 +18+ |
+
+ # File 'lib/ngrokapi/models/event_source_replace.rb', line 12 + +def initialize(client:, result:) + @client = client + @result = result + @type = @result['type'] + @filter = @result['filter'] + @fields = @result['fields'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source_replace.rb', line 6 + +def client + @client +end+ |
+
+ + #fields ⇒ Object (readonly) + + + + + +
Returns the value of attribute fields.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source_replace.rb', line 6 + +def fields + @fields +end+ |
+
+ + #filter ⇒ Object (readonly) + + + + + +
Returns the value of attribute filter.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source_replace.rb', line 6 + +def filter + @filter +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source_replace.rb', line 6 + +def result + @result +end+ |
+
+ + #type ⇒ Object (readonly) + + + + + +
Returns the value of attribute type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_source_replace.rb', line 6 + +def type + @type +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/event_source_replace.rb', line 20 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/event_source_replace.rb', line 24 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EventStream + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventStream + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_stream.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #destination_ids ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute destination_ids.
+
+
+
+ -
+
+
+ #event_type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute event_type.
+
+
+
+ -
+
+
+ #fields ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute fields.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #sampling_rate ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute sampling_rate.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Stream.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ EventStream
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventStream.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an Event Stream by ID.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventStream + + + + + +
Returns a new instance of EventStream.
+ + +
+ + + +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 18 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @metadata = @result['metadata'] + @description = @result['description'] + @fields = @result['fields'] + @event_type = @result['event_type'] + @destination_ids = @result['destination_ids'] + @sampling_rate = @result['sampling_rate'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def description + @description +end+ |
+
+ + #destination_ids ⇒ Object (readonly) + + + + + +
Returns the value of attribute destination_ids.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def destination_ids + @destination_ids +end+ |
+
+ + #event_type ⇒ Object (readonly) + + + + + +
Returns the value of attribute event_type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def event_type + @event_type +end+ |
+
+ + #fields ⇒ Object (readonly) + + + + + +
Returns the value of attribute fields.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def fields + @fields +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def + @metadata +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def result + @result +end+ |
+
+ + #sampling_rate ⇒ Object (readonly) + + + + + +
Returns the value of attribute sampling_rate.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def sampling_rate + @sampling_rate +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 32 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an Event Stream. Associated Event Destinations will be preserved.
+ + + + +
+ + + +44 +45 +46 +47 +48+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 44 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +36 +37 +38+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 36 + +def to_s + @result.to_s +end+ |
+
+ + #update(metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ Object + + + + + +
Update attributes of an Event Stream by ID.
+ + + + +
+ + + +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74+ |
+
+ # File 'lib/ngrokapi/models/event_stream.rb', line 54 + +def update( + metadata: nil, + description: nil, + fields: nil, + destination_ids: nil, + sampling_rate: nil +) + @metadata = if + @description = description if description + @fields = fields if fields + @destination_ids = destination_ids if destination_ids + @sampling_rate = sampling_rate if sampling_rate + @client.update( + id: @id, + metadata: , + description: description, + fields: fields, + destination_ids: destination_ids, + sampling_rate: sampling_rate + ) +end+ |
+
Class: NgrokAPI::Models::EventSubscription + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventSubscription + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_subscription.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #destinations ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute destinations.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #sources ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute sources.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Subscription.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ EventSubscription
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventSubscription.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventSubscription + + + + + +
Returns a new instance of EventSubscription.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @metadata = @result['metadata'] + @description = @result['description'] + @sources = @result['sources'] + @destinations = @result['destinations'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def description + @description +end+ |
+
+ + #destinations ⇒ Object (readonly) + + + + + +
Returns the value of attribute destinations.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def destinations + @destinations +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def + @metadata +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def result + @result +end+ |
+
+ + #sources ⇒ Object (readonly) + + + + + +
Returns the value of attribute sources.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def sources + @sources +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an Event Subscription.
+ + + + +
+ + + +40 +41 +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 40 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/event_subscription.rb', line 32 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EventTarget + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventTarget + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_target.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #cloudwatch_logs ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute cloudwatch_logs.
+
+
+
+ -
+
+
+ #debug ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute debug.
+
+
+
+ -
+
+
+ #firehose ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute firehose.
+
+
+
+ -
+
+
+ #kinesis ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute kinesis.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EventTarget
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventTarget.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventTarget + + + + + +
Returns a new instance of EventTarget.
+ + +
+ + + +13 +14 +15 +16 +17 +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 13 + +def initialize(client:, result:) + @client = client + @result = result + @firehose = @result['firehose'] + @kinesis = @result['kinesis'] + @cloudwatch_logs = @result['cloudwatch_logs'] + @debug = @result['debug'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 6 + +def client + @client +end+ |
+
+ + #cloudwatch_logs ⇒ Object (readonly) + + + + + +
Returns the value of attribute cloudwatch_logs.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 6 + +def cloudwatch_logs + @cloudwatch_logs +end+ |
+
+ + #debug ⇒ Object (readonly) + + + + + +
Returns the value of attribute debug.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 6 + +def debug + @debug +end+ |
+
+ + #firehose ⇒ Object (readonly) + + + + + +
Returns the value of attribute firehose.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 6 + +def firehose + @firehose +end+ |
+
+ + #kinesis ⇒ Object (readonly) + + + + + +
Returns the value of attribute kinesis.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 6 + +def kinesis + @kinesis +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 22 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +26 +27 +28+ |
+
+ # File 'lib/ngrokapi/models/event_target.rb', line 26 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EventTargetCloudwatchLogs + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventTargetCloudwatchLogs + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_target_cloudwatch_logs.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #auth ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute auth.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #log_group_arn ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute log_group_arn.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EventTargetCloudwatchLogs
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventTargetCloudwatchLogs.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventTargetCloudwatchLogs + + + + + +
Returns a new instance of EventTargetCloudwatchLogs.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/event_target_cloudwatch_logs.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @auth = @result['auth'] + @log_group_arn = @result['log_group_arn'] +end+ |
+
Instance Attribute Details
+ + + ++ + #auth ⇒ Object (readonly) + + + + + +
Returns the value of attribute auth.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_cloudwatch_logs.rb', line 6 + +def auth + @auth +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_cloudwatch_logs.rb', line 6 + +def client + @client +end+ |
+
+ + #log_group_arn ⇒ Object (readonly) + + + + + +
Returns the value of attribute log_group_arn.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_cloudwatch_logs.rb', line 6 + +def log_group_arn + @log_group_arn +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_cloudwatch_logs.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/event_target_cloudwatch_logs.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/event_target_cloudwatch_logs.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EventTargetFirehose + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventTargetFirehose + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_target_firehose.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #auth ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute auth.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #delivery_stream_arn ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute delivery_stream_arn.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EventTargetFirehose
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventTargetFirehose.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventTargetFirehose + + + + + +
Returns a new instance of EventTargetFirehose.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/event_target_firehose.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @auth = @result['auth'] + @delivery_stream_arn = @result['delivery_stream_arn'] +end+ |
+
Instance Attribute Details
+ + + ++ + #auth ⇒ Object (readonly) + + + + + +
Returns the value of attribute auth.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_firehose.rb', line 6 + +def auth + @auth +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_firehose.rb', line 6 + +def client + @client +end+ |
+
+ + #delivery_stream_arn ⇒ Object (readonly) + + + + + +
Returns the value of attribute delivery_stream_arn.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_firehose.rb', line 6 + +def delivery_stream_arn + @delivery_stream_arn +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_firehose.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/event_target_firehose.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/event_target_firehose.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::EventTargetKinesis + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::EventTargetKinesis + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/event_target_kinesis.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #auth ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute auth.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #stream_arn ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute stream_arn.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ EventTargetKinesis
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventTargetKinesis.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ EventTargetKinesis + + + + + +
Returns a new instance of EventTargetKinesis.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/event_target_kinesis.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @auth = @result['auth'] + @stream_arn = @result['stream_arn'] +end+ |
+
Instance Attribute Details
+ + + ++ + #auth ⇒ Object (readonly) + + + + + +
Returns the value of attribute auth.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_kinesis.rb', line 6 + +def auth + @auth +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_kinesis.rb', line 6 + +def client + @client +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_kinesis.rb', line 6 + +def result + @result +end+ |
+
+ + #stream_arn ⇒ Object (readonly) + + + + + +
Returns the value of attribute stream_arn.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/event_target_kinesis.rb', line 6 + +def stream_arn + @stream_arn +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/event_target_kinesis.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/event_target_kinesis.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::IPPolicy + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::IPPolicy + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/ip_policy.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #action ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute action.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP policy.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ IPPolicy
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of IPPolicy.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP policy by ID.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ IPPolicy + + + + + +
Returns a new instance of IPPolicy.
+ + +
+ + + +15 +16 +17 +18 +19 +20 +21 +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 15 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @action = @result['action'] +end+ |
+
Instance Attribute Details
+ + + ++ + #action ⇒ Object (readonly) + + + + + +
Returns the value of attribute action.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 6 + +def action + @action +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 6 + +def description + @description +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 6 + +def + @metadata +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 6 + +def result + @result +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +26 +27 +28+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 26 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an IP policy. If the IP policy is referenced by another object for the purposes of traffic restriction it will be treated as if the IP policy remains but has zero rules.
+ + + + +
+ + + +40 +41 +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 40 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +30 +31 +32+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 30 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil) ⇒ Object + + + + + +
Update attributes of an IP policy by ID
+ + + + +
+ + + +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61+ |
+
+ # File 'lib/ngrokapi/models/ip_policy.rb', line 50 + +def update( + description: nil, + metadata: nil +) + @description = description if description + @metadata = if + @client.update( + id: @id, + description: description, + metadata: + ) +end+ |
+
Class: NgrokAPI::Models::IPPolicyRule + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::IPPolicyRule + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/ip_policy_rule.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #cidr ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute cidr.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #ip_policy ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ip_policy.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP policy rule.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ IPPolicyRule
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of IPPolicyRule.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil, cidr: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP policy rule by ID.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ IPPolicyRule + + + + + +
Returns a new instance of IPPolicyRule.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @cidr = @result['cidr'] + @ip_policy = @result['ip_policy'] +end+ |
+
Instance Attribute Details
+ + + ++ + #cidr ⇒ Object (readonly) + + + + + +
Returns the value of attribute cidr.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def cidr + @cidr +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def description + @description +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def id + @id +end+ |
+
+ + #ip_policy ⇒ Object (readonly) + + + + + +
Returns the value of attribute ip_policy.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def ip_policy + @ip_policy +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def + @metadata +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def result + @result +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an IP policy rule.
+ + + + +
+ + + +40 +41 +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 40 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 32 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil, cidr: nil) ⇒ Object + + + + + +
Update attributes of an IP policy rule by ID
+ + + + +
+ + + +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64+ |
+
+ # File 'lib/ngrokapi/models/ip_policy_rule.rb', line 50 + +def update( + description: nil, + metadata: nil, + cidr: nil +) + @description = description if description + @metadata = if + @cidr = cidr if cidr + @client.update( + id: @id, + description: description, + metadata: , + cidr: cidr + ) +end+ |
+
Class: NgrokAPI::Models::IPRestriction + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::IPRestriction + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/ip_restriction.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #enforced ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute enforced.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #ip_policies ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ip_policies.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute type.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP restriction.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ IPRestriction
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of IPRestriction.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ IPRestriction + + + + + +
Returns a new instance of IPRestriction.
+ + +
+ + + +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 17 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @enforced = @result['enforced'] + @type = @result['type'] + @ip_policies = @result['ip_policies'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def description + @description +end+ |
+
+ + #enforced ⇒ Object (readonly) + + + + + +
Returns the value of attribute enforced.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def enforced + @enforced +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def id + @id +end+ |
+
+ + #ip_policies ⇒ Object (readonly) + + + + + +
Returns the value of attribute ip_policies.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def ip_policies + @ip_policies +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def + @metadata +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def result + @result +end+ |
+
+ + #type ⇒ Object (readonly) + + + + + +
Returns the value of attribute type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def type + @type +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +30 +31 +32+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 30 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an IP restriction
+ + + + +
+ + + +42 +43 +44 +45 +46+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 42 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +34 +35 +36+ |
+
+ # File 'lib/ngrokapi/models/ip_restriction.rb', line 34 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::TlsCertificate
+ Class: NgrokAPI::Models::IPWhitelistEntry
@@ -74,7 +74,7 @@
- Object
- - NgrokAPI::Models::TlsCertificate
+ - NgrokAPI::Models::IPWhitelistEntry
show all
@@ -94,24 +94,13 @@
- Defined in:
- - lib/ngrokapi/models/tls_certificate.rb
+ - lib/ngrokapi/models/ip_whitelist_entry.rb
-Overview
-
-
-A resource representing data from the tls_certificate API
-
-
-
-
Instance Attribute Summary collapse
@@ -230,6 +219,35 @@
Class: NgrokAPI::Models::IPWhitelistEntry
@@ -74,7 +74,7 @@
- Object
- - NgrokAPI::Models::TlsCertificate
+ - NgrokAPI::Models::IPWhitelistEntry
show all
@@ -94,24 +94,13 @@
- Defined in:
- - lib/ngrokapi/models/tls_certificate.rb
+ - lib/ngrokapi/models/ip_whitelist_entry.rb
A resource representing data from the tls_certificate API
-Returns the value of attribute id.
Returns the value of attribute ip_net.
+Delete this TLS certificate.
+Delete an IP whitelist entry.
A new instance of TlsCertificate.
+A new instance of IPWhitelistEntry.
Update the attributes of this TLS Certificate.
+Update attributes of an IP whitelist entry by ID.
- #initialize(client:, result:) ⇒ TlsCertificate + #initialize(client:, result:) ⇒ IPWhitelistEntry @@ -469,7 +487,7 @@
Returns a new instance of TlsCertificate.
+Returns a new instance of IPWhitelistEntry.
+15 16 17 18 @@ -494,16 +513,17 @@ 24
# File 'lib/ngrokapi/models/tls_certificate.rb', line 16 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 15 -def initialize(client:, result:) - @client = client - @result = result - @created_at = @result['created_at'] - @id = @result['id'] - @description = @result['description'] - @metadata = @result['metadata'] - @uri = @result['uri'] +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @ip_net = @result['ip_net'] end
-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/tls_certificate.rb', line 8 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 6 def client @client @@ -586,12 +606,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/tls_certificate.rb', line 8 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 6 def created_at @created_at @@ -629,12 +649,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/tls_certificate.rb', line 8 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 6 def description @description @@ -672,12 +692,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/tls_certificate.rb', line 8 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 6 def id @id @@ -688,6 +708,49 @@ + +++ ++ + #ip_net ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute ip_net.
+ + ++
++ ++ ++ + +6 +7 +8++ +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 6 + +def ip_net + @ip_net +end+@@ -715,12 +778,12 @@
-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/tls_certificate.rb', line 8 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 6 def @metadata @@ -758,12 +821,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/tls_certificate.rb', line 8 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 6 def result @result @@ -801,12 +864,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/tls_certificate.rb', line 8 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 6 def uri @uri @@ -843,10 +906,10 @@ 28
# File 'lib/ngrokapi/models/tls_certificate.rb', line 26 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 26 -def ==(other) - @result == other.result +def ==(other) + @result == other.result end
- #delete ⇒ nil + #delete ⇒ Object @@ -865,33 +928,15 @@
Delete this TLS certificate.
+Delete an IP whitelist entry.
- +
- # File 'lib/ngrokapi/models/tls_certificate.rb', line 40 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 38 -def delete - @client.delete(id: @id) +def delete + @client.delete( + id: @id + ) end |
- # File 'lib/ngrokapi/models/tls_certificate.rb', line 30 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 30 -def to_s - @result.to_s +def to_s + @result.to_s end |
@@ -947,7 +996,7 @@
- # File 'lib/ngrokapi/models/tls_certificate.rb', line 54 +# File 'lib/ngrokapi/models/ip_whitelist_entry.rb', line 48 -def update(description: nil, metadata: nil) - @description = description if description - @metadata = if - @client.update(id: @id, description: description, metadata: ) +def update( + description: nil, + metadata: nil +) + @description = description if description + @metadata = if + @client.update( + id: @id, + description: description, + metadata: + ) end |
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/ref.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ref.rb', line 6 + +def client + @client +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ref.rb', line 6 + +def id + @id +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ref.rb', line 6 + +def result + @result +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ref.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/ref.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/ref.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::ReservedAddr + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::ReservedAddr + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/reserved_addr.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #addr ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute addr.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #endpoint_configuration ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute endpoint_configuration.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #region ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute region.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a reserved address.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ ReservedAddr
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of ReservedAddr.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ ReservedAddr + + + + + +
Returns a new instance of ReservedAddr.
+ + +
+ + + +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 17 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @addr = @result['addr'] + @region = @result['region'] + @endpoint_configuration = @result['endpoint_configuration'] +end+ |
+
Instance Attribute Details
+ + + ++ + #addr ⇒ Object (readonly) + + + + + +
Returns the value of attribute addr.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def addr + @addr +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def description + @description +end+ |
+
+ + #endpoint_configuration ⇒ Object (readonly) + + + + + +
Returns the value of attribute endpoint_configuration.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def endpoint_configuration + @endpoint_configuration +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def + @metadata +end+ |
+
+ + #region ⇒ Object (readonly) + + + + + +
Returns the value of attribute region.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def region + @region +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def result + @result +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +30 +31 +32+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 30 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete a reserved address.
+ + + + +
+ + + +42 +43 +44 +45 +46+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 42 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +34 +35 +36+ |
+
+ # File 'lib/ngrokapi/models/reserved_addr.rb', line 34 + +def to_s + @result.to_s +end+ |
+
Overview
A resource representing data from the reserved_domains API
-Instance Attribute Summary collapse
@@ -590,7 +579,7 @@Delete this reserved domain.
-Detach the certificate attached from this reserved domain.
-Detach the certificate management policy attached from this reserved domain.
-Detach the http endpoint configuration attached from this reserved domain.
-Detach the https endpoint configuration attached from this reserved domain.
+Delete a reserved domain.
A new instance of ReservedDomain.
- - - -Restore the certificate attached to this reserved domain.
-Restore the certificate management policy attached to this reserved domain.
-Restore the http endpoint configuration attached to this reserved domain.
-Restore the https endpoint configuration attached to this reserved domain.
-Update the attributes of this reserved domain.
-+22 +23 24 25 26 @@ -921,29 +696,27 @@ 35 36 37 -38 -39 -40+38
# File 'lib/ngrokapi/models/reserved_domain.rb', line 24 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 22 -def initialize(client:, result:) - @client = client - @result = result - @created_at = @result['created_at'] - @certificate = @result['certificate'] - @certificate_management_policy = @result['certificate_management_policy'] - @certificate_management_status = @result['certificate_management_status'] - @cname_target = @result['cname_target'] - @description = @result['description'] - @domain = @result['domain'] - @http_endpoint_configuration = @result['http_endpoint_configuration'] - @https_endpoint_configuration = @result['https_endpoint_configuration'] - @id = @result['id'] - @metadata = @result['metadata'] - @region = @result['region'] - @uri = @result['uri'] +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @domain = @result['domain'] + @region = @result['region'] + @cname_target = @result['cname_target'] + @http_endpoint_configuration = @result['http_endpoint_configuration'] + @https_endpoint_configuration = @result['https_endpoint_configuration'] + @certificate = @result['certificate'] + @certificate_management_policy = @result['certificate_management_policy'] + @certificate_management_status = @result['certificate_management_status'] end
-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def certificate @certificate @@ -1026,12 +799,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def certificate_management_policy @certificate_management_policy @@ -1069,12 +842,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def certificate_management_status @certificate_management_status @@ -1112,12 +885,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def client @client @@ -1155,12 +928,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def cname_target @cname_target @@ -1198,12 +971,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def created_at @created_at @@ -1241,12 +1014,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def description @description @@ -1284,12 +1057,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def domain @domain @@ -1327,12 +1100,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def http_endpoint_configuration @http_endpoint_configuration @@ -1370,12 +1143,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def https_endpoint_configuration @https_endpoint_configuration @@ -1413,12 +1186,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def id @id @@ -1456,12 +1229,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def @metadata @@ -1499,12 +1272,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def region @region @@ -1542,12 +1315,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def result @result @@ -1585,12 +1358,12 @@-8 -9 -10+6 +7 +8
# File 'lib/ngrokapi/models/reserved_domain.rb', line 8 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 6 def uri @uri @@ -1622,15 +1395,15 @@-42 -43 -44+40 +41 +42
# File 'lib/ngrokapi/models/reserved_domain.rb', line 42 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 40 -def ==(other) - @result == other.result +def ==(other) + @result == other.result end
- #delete ⇒ nil + #delete ⇒ Object @@ -1649,7 +1422,7 @@
Delete this reserved domain.
+Delete a reserved domain.
@@ -1658,24 +1431,6 @@
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 56 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 52 -def delete - @client.delete(id: @id) -end- |
-
- - #delete_certificate ⇒ nil - - - - - -
Detach the certificate attached from this reserved domain.
- - - - -
- - - -113 -114 -115 -116- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 113 - -def delete_certificate - @certificate = nil - @client.delete_certificate(id: @id) -end- |
-
- - #delete_certificate_management_policy ⇒ nil - - - - - -
Detach the certificate management policy attached from this reserved domain.
- -ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
- - -
- - - -124 -125 -126 -127 -128- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 124 - -def delete_certificate_management_policy - @certificate_management_policy = nil - @certificate_management_status = nil - @client.delete_certificate_management_policy(id: @id) -end- |
-
- - #delete_http_endpoint_config ⇒ nil - - - - - -
Detach the http endpoint configuration attached from this reserved domain.
- -ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
- - -
- - - -136 -137 -138 -139- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 136 - -def delete_http_endpoint_config - @http_endpoint_configuration = nil - @client.delete_http_endpoint_config(id: @id) -end- |
-
- - #delete_https_endpoint_config ⇒ nil - - - - - -
Detach the https endpoint configuration attached from this reserved domain.
- -ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
- - -
- - - -147 -148 -149 -150- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 147 - -def delete_https_endpoint_config - @https_endpoint_configuration = nil - @client.delete_https_endpoint_config(id: @id) -end- |
-
- - #restore_certificate ⇒ NgrokAPI::Models::ReservedDomain - - - - - -
Restore the certificate attached to this reserved domain. Only works if the @result is still present from a previous action
- - - - -
- - - -159 -160 -161 -162- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 159 - -def restore_certificate - @certificate = @result['certificate'] - @client.update(id: @id, certificate_id: @result['certificate']['id']) -end- |
-
- - #restore_certificate_management_policy ⇒ NgrokAPI::Models::ReservedDomain - - - - - -
Restore the certificate management policy attached to this reserved domain. Only works if the @result is still present from a previous action
- - - - -
- - - -171 -172 -173 -174 -175 -176 -177 -178- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 171 - -def restore_certificate_management_policy - @certificate_management_policy = @result['certificate_management_policy'] - @certificate_management_status = @result['certificate_management_status'] - @client.update( - id: @id, - certificate_management_policy: @result['certificate_management_policy'] - ) -end- |
-
- - #restore_http_endpoint_config ⇒ NgrokAPI::Models::ReservedDomain - - - - - -
Restore the http endpoint configuration attached to this reserved domain. Only works if the @result is still present from a previous action
- - - - -
- - - -187 -188 -189 -190 -191 -192 -193- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 187 - -def restore_http_endpoint_config - @http_endpoint_configuration = @result['http_endpoint_configuration'] - @client.update( - id: @id, - http_endpoint_configuration_id: @result['http_endpoint_configuration']['id'] - ) -end- |
-
- - #restore_https_endpoint_config ⇒ NgrokAPI::Models::ReservedDomain - - - - - -
Restore the https endpoint configuration attached to this reserved domain. Only works if the @result is still present from a previous action
- - - - -
- - - -202 -203 -204 -205 -206 -207 -208- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 202 - -def restore_https_endpoint_config - @https_endpoint_configuration = @result['https_endpoint_configuration'] - @client.update( - id: @id, - https_endpoint_configuration_id: @result['https_endpoint_configuration']['id'] - ) +def delete + @client.delete( + id: @id + ) end |
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 46 +# File 'lib/ngrokapi/models/reserved_domain.rb', line 44 -def to_s - @result.to_s +def to_s + @result.to_s end |
- - #update(certificate_id: nil, certificate_management_policy: nil, description: '', http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: '') ⇒ NgrokAPI::Models::ReservedDomain - - - - - -
Update the attributes of this reserved domain.
- - - - -
- - - -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104- |
-
- # File 'lib/ngrokapi/models/reserved_domain.rb', line 74 - -def update( - certificate_id: nil, - certificate_management_policy: nil, - description: '', - http_endpoint_configuration_id: nil, - https_endpoint_configuration_id: nil, - metadata: '' -) - if certificate_management_policy - @certificate_management_policy = certificate_management_policy - end - @description = description if description - @metadata = if - @client.update( - id: @id, - description: description, - metadata: , - http_endpoint_configuration_id: http_endpoint_configuration_id, - https_endpoint_configuration_id: https_endpoint_configuration_id, - certificate_id: certificate_id, - certificate_management_policy: certificate_management_policy - ) - # TODO: update @certificate, etc? - # @certificate = new_result['certificate'] if certificate_id && new_result['certificate'] - # if http_endpoint_configuration_id - # @http_endpoint_configuration_id = http_endpoint_configuration_id - # end - # if https_endpoint_configuration_id - # @https_endpoint_configuration_id = https_endpoint_configuration_id - # end -end- |
-
Class: NgrokAPI::Models::ReservedDomainCertJob + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::ReservedDomainCertJob + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/reserved_domain_cert_job.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #error_code ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute error_code.
+
+
+
+ -
+
+
+ #msg ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute msg.
+
+
+
+ -
+
+
+ #ns_targets ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ns_targets.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #retries_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute retries_at.
+
+
+
+ -
+
+
+ #started_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute started_at.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ ReservedDomainCertJob
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of ReservedDomainCertJob.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ ReservedDomainCertJob + + + + + +
Returns a new instance of ReservedDomainCertJob.
+ + +
+ + + +14 +15 +16 +17 +18 +19 +20 +21 +22+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 14 + +def initialize(client:, result:) + @client = client + @result = result + @error_code = @result['error_code'] + @msg = @result['msg'] + @started_at = @result['started_at'] + @retries_at = @result['retries_at'] + @ns_targets = @result['ns_targets'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 + +def client + @client +end+ |
+
+ + #error_code ⇒ Object (readonly) + + + + + +
Returns the value of attribute error_code.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 + +def error_code + @error_code +end+ |
+
+ + #msg ⇒ Object (readonly) + + + + + +
Returns the value of attribute msg.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 + +def msg + @msg +end+ |
+
+ + #ns_targets ⇒ Object (readonly) + + + + + +
Returns the value of attribute ns_targets.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 + +def ns_targets + @ns_targets +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 + +def result + @result +end+ |
+
+ + #retries_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute retries_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 + +def retries_at + @retries_at +end+ |
+
+ + #started_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute started_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 6 + +def started_at + @started_at +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 24 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_job.rb', line 28 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::ReservedDomainCertNSTarget + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::ReservedDomainCertNSTarget + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/reserved_domain_cert_ns_target.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #nameservers ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute nameservers.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #zone ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute zone.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ ReservedDomainCertNSTarget
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of ReservedDomainCertNSTarget.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ ReservedDomainCertNSTarget + + + + + +
Returns a new instance of ReservedDomainCertNSTarget.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_ns_target.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @zone = @result['zone'] + @nameservers = @result['nameservers'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_ns_target.rb', line 6 + +def client + @client +end+ |
+
+ + #nameservers ⇒ Object (readonly) + + + + + +
Returns the value of attribute nameservers.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_ns_target.rb', line 6 + +def nameservers + @nameservers +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_ns_target.rb', line 6 + +def result + @result +end+ |
+
+ + #zone ⇒ Object (readonly) + + + + + +
Returns the value of attribute zone.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_ns_target.rb', line 6 + +def zone + @zone +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_ns_target.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_ns_target.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::ReservedDomainCertPolicy + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::ReservedDomainCertPolicy + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/reserved_domain_cert_policy.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #authority ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute authority.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #private_key_type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute private_key_type.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ ReservedDomainCertPolicy
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of ReservedDomainCertPolicy.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ ReservedDomainCertPolicy + + + + + +
Returns a new instance of ReservedDomainCertPolicy.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_policy.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @authority = @result['authority'] + @private_key_type = @result['private_key_type'] +end+ |
+
Instance Attribute Details
+ + + ++ + #authority ⇒ Object (readonly) + + + + + +
Returns the value of attribute authority.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_policy.rb', line 6 + +def + @authority +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_policy.rb', line 6 + +def client + @client +end+ |
+
+ + #private_key_type ⇒ Object (readonly) + + + + + +
Returns the value of attribute private_key_type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_policy.rb', line 6 + +def private_key_type + @private_key_type +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_policy.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_policy.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_policy.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::ReservedDomainCertStatus + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::ReservedDomainCertStatus + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/reserved_domain_cert_status.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #provisioning_job ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute provisioning_job.
+
+
+
+ -
+
+
+ #renews_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute renews_at.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ ReservedDomainCertStatus
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of ReservedDomainCertStatus.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ ReservedDomainCertStatus + + + + + +
Returns a new instance of ReservedDomainCertStatus.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @renews_at = @result['renews_at'] + @provisioning_job = @result['provisioning_job'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 6 + +def client + @client +end+ |
+
+ + #provisioning_job ⇒ Object (readonly) + + + + + +
Returns the value of attribute provisioning_job.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 6 + +def provisioning_job + @provisioning_job +end+ |
+
+ + #renews_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute renews_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 6 + +def renews_at + @renews_at +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::SSHCertificateAuthority + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::SSHCertificateAuthority + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/ssh_certificate_authority.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #key_type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute key_type.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #public_key ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute public_key.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH Certificate Authority.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ SSHCertificateAuthority
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of SSHCertificateAuthority.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH Certificate Authority.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ SSHCertificateAuthority + + + + + +
Returns a new instance of SSHCertificateAuthority.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @public_key = @result['public_key'] + @key_type = @result['key_type'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def description + @description +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def id + @id +end+ |
+
+ + #key_type ⇒ Object (readonly) + + + + + +
Returns the value of attribute key_type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def key_type + @key_type +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def + @metadata +end+ |
+
+ + #public_key ⇒ Object (readonly) + + + + + +
Returns the value of attribute public_key.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def public_key + @public_key +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def result + @result +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an SSH Certificate Authority
+ + + + +
+ + + +40 +41 +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 40 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 32 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil) ⇒ Object + + + + + +
Update an SSH Certificate Authority
+ + + + +
+ + + +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61+ |
+
+ # File 'lib/ngrokapi/models/ssh_certificate_authority.rb', line 50 + +def update( + description: nil, + metadata: nil +) + @description = description if description + @metadata = if + @client.update( + id: @id, + description: description, + metadata: + ) +end+ |
+
Class: NgrokAPI::Models::SSHCredential + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::SSHCredential + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/ssh_credential.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #acl ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute acl.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #public_key ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute public_key.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an ssh_credential by ID.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ SSHCredential
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of SSHCredential.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil, acl: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an ssh_credential by ID.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ SSHCredential + + + + + +
Returns a new instance of SSHCredential.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @public_key = @result['public_key'] + @acl = @result['acl'] +end+ |
+
Instance Attribute Details
+ + + ++ + #acl ⇒ Object (readonly) + + + + + +
Returns the value of attribute acl.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def acl + @acl +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def description + @description +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def + @metadata +end+ |
+
+ + #public_key ⇒ Object (readonly) + + + + + +
Returns the value of attribute public_key.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def public_key + @public_key +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def result + @result +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an ssh_credential by ID
+ + + + +
+ + + +40 +41 +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 40 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 32 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil, acl: nil) ⇒ Object + + + + + +
Update attributes of an ssh_credential by ID
+ + + + +
+ + + +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64+ |
+
+ # File 'lib/ngrokapi/models/ssh_credential.rb', line 50 + +def update( + description: nil, + metadata: nil, + acl: nil +) + @description = description if description + @metadata = if + @acl = acl if acl + @client.update( + id: @id, + description: description, + metadata: , + acl: acl + ) +end+ |
+
Class: NgrokAPI::Models::SSHHostCertificate + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::SSHHostCertificate + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/ssh_host_certificate.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #certificate ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute certificate.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #key_type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute key_type.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #principals ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute principals.
+
+
+
+ -
+
+
+ #public_key ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute public_key.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #ssh_certificate_authority_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ssh_certificate_authority_id.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+ -
+
+
+ #valid_after ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute valid_after.
+
+
+
+ -
+
+
+ #valid_until ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute valid_until.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH Host Certificate.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ SSHHostCertificate
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of SSHHostCertificate.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH Host Certificate.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ SSHHostCertificate + + + + + +
Returns a new instance of SSHHostCertificate.
+ + +
+ + + +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 21 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @public_key = @result['public_key'] + @key_type = @result['key_type'] + @ssh_certificate_authority_id = @result['ssh_certificate_authority_id'] + @principals = @result['principals'] + @valid_after = @result['valid_after'] + @valid_until = @result['valid_until'] + @certificate = @result['certificate'] +end+ |
+
Instance Attribute Details
+ + + ++ + #certificate ⇒ Object (readonly) + + + + + +
Returns the value of attribute certificate.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def certificate + @certificate +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def description + @description +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def id + @id +end+ |
+
+ + #key_type ⇒ Object (readonly) + + + + + +
Returns the value of attribute key_type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def key_type + @key_type +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def + @metadata +end+ |
+
+ + #principals ⇒ Object (readonly) + + + + + +
Returns the value of attribute principals.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def principals + @principals +end+ |
+
+ + #public_key ⇒ Object (readonly) + + + + + +
Returns the value of attribute public_key.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def public_key + @public_key +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def result + @result +end+ |
+
+ + #ssh_certificate_authority_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute ssh_certificate_authority_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def + @ssh_certificate_authority_id +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def uri + @uri +end+ |
+
+ + #valid_after ⇒ Object (readonly) + + + + + +
Returns the value of attribute valid_after.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def valid_after + @valid_after +end+ |
+
+ + #valid_until ⇒ Object (readonly) + + + + + +
Returns the value of attribute valid_until.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 6 + +def valid_until + @valid_until +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +38 +39 +40+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 38 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an SSH Host Certificate
+ + + + +
+ + + +50 +51 +52 +53 +54+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 50 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 42 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil) ⇒ Object + + + + + +
Update an SSH Host Certificate
+ + + + +
+ + + +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71+ |
+
+ # File 'lib/ngrokapi/models/ssh_host_certificate.rb', line 60 + +def update( + description: nil, + metadata: nil +) + @description = description if description + @metadata = if + @client.update( + id: @id, + description: description, + metadata: + ) +end+ |
+
Class: NgrokAPI::Models::SSHUserCertificate + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::SSHUserCertificate + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/ssh_user_certificate.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #certificate ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute certificate.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #critical_options ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute critical_options.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #extensions ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute extensions.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #key_type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute key_type.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #principals ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute principals.
+
+
+
+ -
+
+
+ #public_key ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute public_key.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #ssh_certificate_authority_id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ssh_certificate_authority_id.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+ -
+
+
+ #valid_after ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute valid_after.
+
+
+
+ -
+
+
+ #valid_until ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute valid_until.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH User Certificate.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ SSHUserCertificate
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of SSHUserCertificate.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH User Certificate.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ SSHUserCertificate + + + + + +
Returns a new instance of SSHUserCertificate.
+ + +
+ + + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 23 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @public_key = @result['public_key'] + @key_type = @result['key_type'] + @ssh_certificate_authority_id = @result['ssh_certificate_authority_id'] + @principals = @result['principals'] + @critical_options = @result['critical_options'] + @extensions = @result['extensions'] + @valid_after = @result['valid_after'] + @valid_until = @result['valid_until'] + @certificate = @result['certificate'] +end+ |
+
Instance Attribute Details
+ + + ++ + #certificate ⇒ Object (readonly) + + + + + +
Returns the value of attribute certificate.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def certificate + @certificate +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #critical_options ⇒ Object (readonly) + + + + + +
Returns the value of attribute critical_options.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def + @critical_options +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def description + @description +end+ |
+
+ + #extensions ⇒ Object (readonly) + + + + + +
Returns the value of attribute extensions.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def extensions + @extensions +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def id + @id +end+ |
+
+ + #key_type ⇒ Object (readonly) + + + + + +
Returns the value of attribute key_type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def key_type + @key_type +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def + @metadata +end+ |
+
+ + #principals ⇒ Object (readonly) + + + + + +
Returns the value of attribute principals.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def principals + @principals +end+ |
+
+ + #public_key ⇒ Object (readonly) + + + + + +
Returns the value of attribute public_key.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def public_key + @public_key +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def result + @result +end+ |
+
+ + #ssh_certificate_authority_id ⇒ Object (readonly) + + + + + +
Returns the value of attribute ssh_certificate_authority_id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def + @ssh_certificate_authority_id +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def uri + @uri +end+ |
+
+ + #valid_after ⇒ Object (readonly) + + + + + +
Returns the value of attribute valid_after.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def valid_after + @valid_after +end+ |
+
+ + #valid_until ⇒ Object (readonly) + + + + + +
Returns the value of attribute valid_until.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 6 + +def valid_until + @valid_until +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +42 +43 +44+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 42 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete an SSH User Certificate
+ + + + +
+ + + +54 +55 +56 +57 +58+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 54 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +46 +47 +48+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 46 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil) ⇒ Object + + + + + +
Update an SSH User Certificate
+ + + + +
+ + + +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75+ |
+
+ # File 'lib/ngrokapi/models/ssh_user_certificate.rb', line 64 + +def update( + description: nil, + metadata: nil +) + @description = description if description + @metadata = if + @client.update( + id: @id, + description: description, + metadata: + ) +end+ |
+
Class: NgrokAPI::Models::TLSCertificate + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::TLSCertificate + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/tls_certificate.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #certificate_pem ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute certificate_pem.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #created_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute created_at.
+
+
+
+ -
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute description.
+
+
+
+ -
+
+
+ #extended_key_usages ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute extended_key_usages.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #issued_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute issued_at.
+
+
+
+ -
+
+
+ #issuer_common_name ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute issuer_common_name.
+
+
+
+ -
+
+
+ #key_usages ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute key_usages.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #not_after ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute not_after.
+
+
+
+ -
+
+
+ #not_before ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute not_before.
+
+
+
+ -
+
+
+ #private_key_type ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute private_key_type.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #serial_number ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute serial_number.
+
+
+
+ -
+
+
+ #subject_alternative_names ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute subject_alternative_names.
+
+
+
+ -
+
+
+ #subject_common_name ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute subject_common_name.
+
+
+
+ -
+
+
+ #subject_country ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute subject_country.
+
+
+
+ -
+
+
+ #subject_locality ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute subject_locality.
+
+
+
+ -
+
+
+ #subject_organization ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute subject_organization.
+
+
+
+ -
+
+
+ #subject_organizational_unit ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute subject_organizational_unit.
+
+
+
+ -
+
+
+ #subject_province ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute subject_province.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #delete ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a TLS certificate.
+
+
+
+ -
+
+
+ #initialize(client:, result:) ⇒ TLSCertificate
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of TLSCertificate.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #update(description: nil, metadata: nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of a TLS Certificate by ID.
+
+
+
+
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ TLSCertificate + + + + + +
Returns a new instance of TLSCertificate.
+ + +
+ + + +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 30 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @uri = @result['uri'] + @created_at = @result['created_at'] + @description = @result['description'] + @metadata = @result['metadata'] + @certificate_pem = @result['certificate_pem'] + @subject_common_name = @result['subject_common_name'] + @subject_alternative_names = @result['subject_alternative_names'] + @issued_at = @result['issued_at'] + @not_before = @result['not_before'] + @not_after = @result['not_after'] + @key_usages = @result['key_usages'] + @extended_key_usages = @result['extended_key_usages'] + @private_key_type = @result['private_key_type'] + @issuer_common_name = @result['issuer_common_name'] + @serial_number = @result['serial_number'] + @subject_organization = @result['subject_organization'] + @subject_organizational_unit = @result['subject_organizational_unit'] + @subject_locality = @result['subject_locality'] + @subject_province = @result['subject_province'] + @subject_country = @result['subject_country'] +end+ |
+
Instance Attribute Details
+ + + ++ + #certificate_pem ⇒ Object (readonly) + + + + + +
Returns the value of attribute certificate_pem.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def certificate_pem + @certificate_pem +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def client + @client +end+ |
+
+ + #created_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute created_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def created_at + @created_at +end+ |
+
+ + #description ⇒ Object (readonly) + + + + + +
Returns the value of attribute description.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def description + @description +end+ |
+
+ + #extended_key_usages ⇒ Object (readonly) + + + + + +
Returns the value of attribute extended_key_usages.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def extended_key_usages + @extended_key_usages +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def id + @id +end+ |
+
+ + #issued_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute issued_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def issued_at + @issued_at +end+ |
+
+ + #issuer_common_name ⇒ Object (readonly) + + + + + +
Returns the value of attribute issuer_common_name.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def issuer_common_name + @issuer_common_name +end+ |
+
+ + #key_usages ⇒ Object (readonly) + + + + + +
Returns the value of attribute key_usages.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def key_usages + @key_usages +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def + @metadata +end+ |
+
+ + #not_after ⇒ Object (readonly) + + + + + +
Returns the value of attribute not_after.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def not_after + @not_after +end+ |
+
+ + #not_before ⇒ Object (readonly) + + + + + +
Returns the value of attribute not_before.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def not_before + @not_before +end+ |
+
+ + #private_key_type ⇒ Object (readonly) + + + + + +
Returns the value of attribute private_key_type.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def private_key_type + @private_key_type +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def result + @result +end+ |
+
+ + #serial_number ⇒ Object (readonly) + + + + + +
Returns the value of attribute serial_number.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def serial_number + @serial_number +end+ |
+
+ + #subject_alternative_names ⇒ Object (readonly) + + + + + +
Returns the value of attribute subject_alternative_names.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def subject_alternative_names + @subject_alternative_names +end+ |
+
+ + #subject_common_name ⇒ Object (readonly) + + + + + +
Returns the value of attribute subject_common_name.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def subject_common_name + @subject_common_name +end+ |
+
+ + #subject_country ⇒ Object (readonly) + + + + + +
Returns the value of attribute subject_country.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def subject_country + @subject_country +end+ |
+
+ + #subject_locality ⇒ Object (readonly) + + + + + +
Returns the value of attribute subject_locality.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def subject_locality + @subject_locality +end+ |
+
+ + #subject_organization ⇒ Object (readonly) + + + + + +
Returns the value of attribute subject_organization.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def subject_organization + @subject_organization +end+ |
+
+ + #subject_organizational_unit ⇒ Object (readonly) + + + + + +
Returns the value of attribute subject_organizational_unit.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def subject_organizational_unit + @subject_organizational_unit +end+ |
+
+ + #subject_province ⇒ Object (readonly) + + + + + +
Returns the value of attribute subject_province.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def subject_province + @subject_province +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +56 +57 +58+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 56 + +def ==(other) + @result == other.result +end+ |
+
+ + #delete ⇒ Object + + + + + +
Delete a TLS certificate
+ + + + +
+ + + +68 +69 +70 +71 +72+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 68 + +def delete + @client.delete( + id: @id + ) +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +60 +61 +62+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 60 + +def to_s + @result.to_s +end+ |
+
+ + #update(description: nil, metadata: nil) ⇒ Object + + + + + +
Update attributes of a TLS Certificate by ID
+ + + + +
+ + + +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate.rb', line 78 + +def update( + description: nil, + metadata: nil +) + @description = description if description + @metadata = if + @client.update( + id: @id, + description: description, + metadata: + ) +end+ |
+
Class: NgrokAPI::Models::TLSCertificateSANs + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::TLSCertificateSANs + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/tls_certificate_sa_ns.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #dns_names ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute dns_names.
+
+
+
+ -
+
+
+ #ips ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ips.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ TLSCertificateSANs
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of TLSCertificateSANs.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ TLSCertificateSANs + + + + + +
Returns a new instance of TLSCertificateSANs.
+ + +
+ + + +11 +12 +13 +14 +15 +16+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate_sa_ns.rb', line 11 + +def initialize(client:, result:) + @client = client + @result = result + @dns_names = @result['dns_names'] + @ips = @result['ips'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate_sa_ns.rb', line 6 + +def client + @client +end+ |
+
+ + #dns_names ⇒ Object (readonly) + + + + + +
Returns the value of attribute dns_names.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate_sa_ns.rb', line 6 + +def dns_names + @dns_names +end+ |
+
+ + #ips ⇒ Object (readonly) + + + + + +
Returns the value of attribute ips.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate_sa_ns.rb', line 6 + +def ips + @ips +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate_sa_ns.rb', line 6 + +def result + @result +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +18 +19 +20+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate_sa_ns.rb', line 18 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +22 +23 +24+ |
+
+ # File 'lib/ngrokapi/models/tls_certificate_sa_ns.rb', line 22 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::Tunnel + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::Tunnel + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/tunnel.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #proto ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute proto.
+
+
+
+ -
+
+
+ #public_url ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute public_url.
+
+
+
+ -
+
+
+ #region ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute region.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #started_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute started_at.
+
+
+
+ -
+
+
+ #tunnel_session ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute tunnel_session.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ Tunnel
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of Tunnel.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ Tunnel + + + + + +
Returns a new instance of Tunnel.
+ + +
+ + + +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 16 + +def initialize(client:, result:) + @client = client + @result = result + @id = @result['id'] + @public_url = @result['public_url'] + @started_at = @result['started_at'] + @metadata = @result['metadata'] + @proto = @result['proto'] + @region = @result['region'] + @tunnel_session = @result['tunnel_session'] +end+ |
+
Instance Attribute Details
+ + + ++ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def client + @client +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def id + @id +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def + @metadata +end+ |
+
+ + #proto ⇒ Object (readonly) + + + + + +
Returns the value of attribute proto.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def proto + @proto +end+ |
+
+ + #public_url ⇒ Object (readonly) + + + + + +
Returns the value of attribute public_url.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def public_url + @public_url +end+ |
+
+ + #region ⇒ Object (readonly) + + + + + +
Returns the value of attribute region.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def region + @region +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def result + @result +end+ |
+
+ + #started_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute started_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def started_at + @started_at +end+ |
+
+ + #tunnel_session ⇒ Object (readonly) + + + + + +
Returns the value of attribute tunnel_session.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 6 + +def tunnel_session + @tunnel_session +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +28 +29 +30+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 28 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +32 +33 +34+ |
+
+ # File 'lib/ngrokapi/models/tunnel.rb', line 32 + +def to_s + @result.to_s +end+ |
+
Class: NgrokAPI::Models::TunnelSession + + + +
+-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Models::TunnelSession + +
+
-
+
- Defined in: +
- lib/ngrokapi/models/tunnel_session.rb +
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #agent_version ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute agent_version.
+
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+ -
+
+
+ #credential ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute credential.
+
+
+
+ -
+
+
+ #id ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute id.
+
+
+
+ -
+
+
+ #ip ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute ip.
+
+
+
+ -
+
+
+ #metadata ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute metadata.
+
+
+
+ -
+
+
+ #os ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute os.
+
+
+
+ -
+
+
+ #region ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute region.
+
+
+
+ -
+
+
+ #result ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute result.
+
+
+
+ -
+
+
+ #started_at ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute started_at.
+
+
+
+ -
+
+
+ #transport ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute transport.
+
+
+
+ -
+
+
+ #uri ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute uri.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #==(other) ⇒ Object + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:, result:) ⇒ TunnelSession
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of TunnelSession.
+
+
+
+ - + + + #to_s ⇒ Object + + + + + + + + + + + + + + + + + + +
Constructor Details
+ ++ + #initialize(client:, result:) ⇒ TunnelSession + + + + + +
Returns a new instance of TunnelSession.
+ + +
+ + + +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 19 + +def initialize(client:, result:) + @client = client + @result = result + @agent_version = @result['agent_version'] + @credential = @result['credential'] + @id = @result['id'] + @ip = @result['ip'] + @metadata = @result['metadata'] + @os = @result['os'] + @region = @result['region'] + @started_at = @result['started_at'] + @transport = @result['transport'] + @uri = @result['uri'] +end+ |
+
Instance Attribute Details
+ + + ++ + #agent_version ⇒ Object (readonly) + + + + + +
Returns the value of attribute agent_version.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def agent_version + @agent_version +end+ |
+
+ + #client ⇒ Object (readonly) + + + + + +
Returns the value of attribute client.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def client + @client +end+ |
+
+ + #credential ⇒ Object (readonly) + + + + + +
Returns the value of attribute credential.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def credential + @credential +end+ |
+
+ + #id ⇒ Object (readonly) + + + + + +
Returns the value of attribute id.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def id + @id +end+ |
+
+ + #ip ⇒ Object (readonly) + + + + + +
Returns the value of attribute ip.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def ip + @ip +end+ |
+
+ + #metadata ⇒ Object (readonly) + + + + + +
Returns the value of attribute metadata.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def + @metadata +end+ |
+
+ + #os ⇒ Object (readonly) + + + + + +
Returns the value of attribute os.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def os + @os +end+ |
+
+ + #region ⇒ Object (readonly) + + + + + +
Returns the value of attribute region.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def region + @region +end+ |
+
+ + #result ⇒ Object (readonly) + + + + + +
Returns the value of attribute result.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def result + @result +end+ |
+
+ + #started_at ⇒ Object (readonly) + + + + + +
Returns the value of attribute started_at.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def started_at + @started_at +end+ |
+
+ + #transport ⇒ Object (readonly) + + + + + +
Returns the value of attribute transport.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def transport + @transport +end+ |
+
+ + #uri ⇒ Object (readonly) + + + + + +
Returns the value of attribute uri.
+ + +
+ + + +6 +7 +8+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 6 + +def uri + @uri +end+ |
+
Instance Method Details
+ + ++ + #==(other) ⇒ Object + + + + + +
+ + + +34 +35 +36+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 34 + +def ==(other) + @result == other.result +end+ |
+
+ + #to_s ⇒ Object + + + + + +
+ + + +38 +39 +40+ |
+
+ # File 'lib/ngrokapi/models/tunnel_session.rb', line 38 + +def to_s + @result.to_s +end+ |
+
- Defined in: -
- lib/ngrokapi/services/api_keys_client.rb,
- lib/ngrokapi/services/reserved_domains_client.rb,
lib/ngrokapi/services/tls_certificates_client.rb,
lib/ngrokapi/services/endpoint_configurations_client.rb +- lib/ngrokapi/services/tunnels_client.rb,
+ lib/ngrokapi/services/api_keys_client.rb,
lib/ngrokapi/services/credentials_client.rb,
lib/ngrokapi/services/ip_policies_client.rb,
lib/ngrokapi/services/ip_whitelist_client.rb,
lib/ngrokapi/services/abuse_reports_client.rb,
lib/ngrokapi/services/event_sources_client.rb,
lib/ngrokapi/services/event_streams_client.rb,
lib/ngrokapi/services/reserved_addrs_client.rb,
lib/ngrokapi/services/ip_policy_rules_client.rb,
lib/ngrokapi/services/ip_restrictions_client.rb,
lib/ngrokapi/services/ssh_credentials_client.rb,
lib/ngrokapi/services/tunnel_sessions_client.rb,
lib/ngrokapi/services/reserved_domains_client.rb,
lib/ngrokapi/services/tls_certificates_client.rb,
lib/ngrokapi/services/event_destinations_client.rb,
lib/ngrokapi/services/event_subscriptions_client.rb,
lib/ngrokapi/services/endpoint_oidc_module_client.rb,
lib/ngrokapi/services/endpoint_saml_module_client.rb,
lib/ngrokapi/services/ssh_host_certificates_client.rb,
lib/ngrokapi/services/ssh_user_certificates_client.rb,
lib/ngrokapi/services/endpoint_o_auth_module_client.rb,
lib/ngrokapi/services/certificate_authorities_client.rb,
lib/ngrokapi/services/endpoint_configurations_client.rb,
lib/ngrokapi/services/endpoint_logging_module_client.rb,
lib/ngrokapi/services/endpoint_ip_policy_module_client.rb,
lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb,
lib/ngrokapi/services/endpoint_compression_module_client.rb,
lib/ngrokapi/services/ssh_certificate_authorities_client.rb,
lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb,
lib/ngrokapi/services/endpoint_request_headers_module_client.rb,
lib/ngrokapi/services/endpoint_tls_termination_module_client.rb,
lib/ngrokapi/services/endpoint_response_headers_module_client.rb,
lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb - lib/ngrokapi/services/tunnels_client.rb,
Class: NgrokAPI::Services::ApiKeysClient
+ Class: NgrokAPI::Services::APIKeysClient
@@ -74,7 +74,7 @@
- Object
- - NgrokAPI::Services::ApiKeysClient
+ - NgrokAPI::Services::APIKeysClient
show all
@@ -102,7 +102,13 @@
Overview
-A client for interacting with the api_keys API
+API Keys are used to authenticate to the (ngrok.com/docs/api#authentication)ngrok
+
+API. You may use the API itself
+to provision and manage API Keys but you'll need to provision your first API
+key from the (https://dashboard.ngrok.com/api/keys)API Keys page on your
+ngrok.com dashboard.
+
ngrok.com/docs/api#api-api-keys
@@ -121,6 +127,22 @@
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/api_keys'
+
- LIST_PROPERTY =
@@ -137,22 +159,6 @@
'keys'
- - PATH =
-
-
-
-
The API path for API keys
-
-
-
-
-
-
- '/api_keys'
-
@@ -207,7 +213,7 @@
-
- #create(description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #create(description: "", metadata: "") ⇒ NgrokAPI::Models::APIKey
@@ -231,7 +237,7 @@
-
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -255,7 +261,7 @@
-
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -270,7 +276,7 @@
-
Delete an API key by ID.
+Delete an API key by ID Throws an exception if API error.
@@ -279,7 +285,7 @@
-
- #get(id: nil) ⇒ NgrokAPI::Models::ApiKey
+ #get(id: "") ⇒ NgrokAPI::Models::APIKey
@@ -303,7 +309,7 @@
-
- #get!(id: nil) ⇒ NgrokAPI::Models::ApiKey
+ #get!(id: "") ⇒ NgrokAPI::Models::APIKey
@@ -327,7 +333,7 @@
-
- #initialize(client:) ⇒ ApiKeysClient
+ #initialize(client:) ⇒ APIKeysClient
@@ -344,7 +350,7 @@
-
A new instance of ApiKeysClient.
+A new instance of APIKeysClient.
@@ -377,7 +383,7 @@
-
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey
@@ -401,7 +407,7 @@
-
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey
@@ -431,7 +437,7 @@
- #initialize(client:) ⇒ ApiKeysClient
+ #initialize(client:) ⇒ APIKeysClient
@@ -440,7 +446,7 @@
-Returns a new instance of ApiKeysClient.
+Returns a new instance of APIKeysClient.
@@ -454,15 +460,15 @@
-17
-18
-19
+22
+23
+24
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 17
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 22
-def initialize(client:)
- @client = client
+def initialize(client:)
+ @client = client
end
@@ -502,12 +508,12 @@
-15
-16
-17
+20
+21
+22
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 15
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 20
def client
@client
@@ -527,7 +533,7 @@
- #create(description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #create(description: "", metadata: "") ⇒ NgrokAPI::Models::APIKey
@@ -555,7 +561,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -573,7 +579,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -591,13 +597,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from create request
+result from the API request
@@ -610,17 +616,35 @@
-31
-32
-33
-34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 31
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 35
-def create(description: nil, metadata: nil)
- result = @client.post(PATH, data: build_data(description: description, metadata: ))
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def create(
+ description: "",
+ metadata: ""
+)
+ path = '/api_keys'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -630,7 +654,7 @@
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -639,7 +663,7 @@
-Delete an API key by ID.
+Delete an API key by ID
ngrok.com/docs/api#api-api-keys-delete
@@ -658,7 +682,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -676,13 +700,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -695,15 +719,27 @@
-44
-45
-46
+56
+57
+58
+59
+60
+61
+62
+63
+64
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 44
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 56
-def delete(id: nil)
- @client.delete("#{PATH}/#{id}")
+def delete(
+ id: ""
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -713,7 +749,7 @@
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -722,7 +758,7 @@
-Delete an API key by ID. Throw an exception if 404.
+Delete an API key by ID Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-delete
@@ -741,7 +777,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -759,13 +795,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -778,15 +814,27 @@
-55
-56
-57
+74
+75
+76
+77
+78
+79
+80
+81
+82
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 55
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 74
-def delete!(id: nil)
- @client.delete("#{PATH}/#{id}", danger: true)
+def delete!(
+ id: ""
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -796,7 +844,7 @@
- #get(id: nil) ⇒ NgrokAPI::Models::ApiKey
+ #get(id: "") ⇒ NgrokAPI::Models::APIKey
@@ -824,7 +872,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -842,13 +890,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from get request
+result from the API request
@@ -861,17 +909,31 @@
-66
-67
-68
-69
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 66
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 91
-def get(id: nil)
- result = @client.get("#{PATH}/#{id}")
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def get(
+ id: ""
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -881,7 +943,7 @@
- #get!(id: nil) ⇒ NgrokAPI::Models::ApiKey
+ #get!(id: "") ⇒ NgrokAPI::Models::APIKey
@@ -890,7 +952,7 @@
-Get the details of an API key by ID. Throw an exception if 404.
+Get the details of an API key by ID. Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-get
@@ -909,7 +971,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -927,13 +989,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from get request
+result from the API request
@@ -946,17 +1008,31 @@
-78
-79
-80
-81
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 78
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 111
-def get!(id: nil)
- result = @client.get("#{PATH}/#{id}", danger: true)
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def get!(
+ id: ""
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -975,7 +1051,7 @@
-List all API keys owned by this account.
+List all API keys owned by this account
ngrok.com/docs/api#api-api-keys-list
@@ -1004,7 +1080,7 @@
limit
- (integer)
+ (string)
(defaults to: nil)
@@ -1044,7 +1120,7 @@
—
-the result listable
+result from the API request
@@ -1057,27 +1133,45 @@
-92
-93
-94
-95
-96
-97
-98
-99
-100
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 92
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 132
-def list(before_id: nil, limit: nil, url: nil)
- result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH)
- NgrokAPI::Models::Listable.new(
- client: self,
- result: result,
- list_property: LIST_PROPERTY,
- klass: NgrokAPI::Models::ApiKey
- )
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::APIKey
+ )
end
@@ -1087,7 +1181,7 @@
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey
@@ -1115,7 +1209,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -1164,13 +1258,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from update request
+result from the API request
@@ -1183,17 +1277,39 @@
-113
-114
-115
-116
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 113
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 160
-def update(id: nil, description: nil, metadata: nil)
- result = @client.patch("#{PATH}/#{id}", data: build_data(description: description, metadata: ))
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -1203,7 +1319,7 @@
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey
@@ -1212,7 +1328,7 @@
-Update attributes of an API key by ID.
+Update attributes of an API key by ID. Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-update
@@ -1231,7 +1347,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -1280,13 +1396,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from update request
+result from the API request
@@ -1299,19 +1415,39 @@
-127
-128
-129
-130
-131
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 127
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 186
-def update!(id: nil, description: nil, metadata: nil)
- data = build_data(description: description, metadata: )
- result = @client.patch("#{PATH}/#{id}", danger: true, data: data)
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -1323,7 +1459,7 @@
diff --git a/doc/NgrokAPI/Services/AbuseReportsClient.html b/doc/NgrokAPI/Services/AbuseReportsClient.html
new file mode 100644
index 0000000..3c78ab7
--- /dev/null
+++ b/doc/NgrokAPI/Services/AbuseReportsClient.html
@@ -0,0 +1,723 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::AbuseReportsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::AbuseReportsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::AbuseReportsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/abuse_reports_client.rb
+
+
+
+
+Overview
+
+
+Abuse Reports allow you to submit take-down requests for URLs hosted by
+
+ngrok that violate ngrok's terms of service.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/abuse_reports'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(urls:, metadata: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Creates a new abuse report which will be reviewed by our system and abuse response team.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the detailed status of abuse report by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the detailed status of abuse report by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ AbuseReportsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of AbuseReportsClient.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ AbuseReportsClient
+
+
+
+
+
+
+
+
+Returns a new instance of AbuseReportsClient.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 16
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+14
+15
+16
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 14
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(urls:, metadata: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+Creates a new abuse report which will be reviewed by our system and abuse response team. This API is only available to authorized accounts. Contact abuse@ngrok.com to request access
+
+
+
+
+
+
+
+
+
+
+
+
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 30
+
+def create(
+ urls:,
+ metadata: ""
+)
+ path = '/abuse_reports'
+ replacements = {
+ }
+ data = {}
+ data[:urls] = urls if urls
+ data[:metadata] = if
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::AbuseReport.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+Get the detailed status of abuse report by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 51
+
+def get(
+ id: ""
+)
+ path = '/abuse_reports/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::AbuseReport.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+Get the detailed status of abuse report by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 71
+
+def get!(
+ id: ""
+)
+ path = '/abuse_reports/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::AbuseReport.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html b/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html
new file mode 100644
index 0000000..c88da70
--- /dev/null
+++ b/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html
@@ -0,0 +1,1489 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::CertificateAuthoritiesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/certificate_authorities_client.rb
+
+
+
+
+Overview
+
+
+Certificate Authorities are x509 certificates that are used to sign other
+
+x509 certificates. Attach a Certificate Authority to the Mutual TLS module
+to verify that the TLS certificate presented by a client has been signed by
+this CA. Certificate Authorities are used only for mTLS validation only and
+thus a private key is not included in the resource.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/certificate_authorities'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'certificate_authorities'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", ca_pem:) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Upload a new Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a Certificate Authority Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about a certficate authority.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about a certficate authority Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ CertificateAuthoritiesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of CertificateAuthoritiesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all Certificate Authority on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of a Certificate Authority by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of a Certificate Authority by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ CertificateAuthoritiesClient
+
+
+
+
+
+
+
+
+Returns a new instance of CertificateAuthoritiesClient.
+
+
+
+
+
+
+
+
+
+
+21
+22
+23
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 21
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 19
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", ca_pem:) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Upload a new Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 34
+
+def create(
+ description: "",
+ metadata: "",
+ ca_pem:
+)
+ path = '/certificate_authorities'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:ca_pem] = ca_pem if ca_pem
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+57
+58
+59
+60
+61
+62
+63
+64
+65
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 57
+
+def delete(
+ id: ""
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a Certificate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+75
+76
+77
+78
+79
+80
+81
+82
+83
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 75
+
+def delete!(
+ id: ""
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Get detailed information about a certficate authority
+
+
+
+
+
+
+
+
+
+
+
+
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 92
+
+def get(
+ id: ""
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Get detailed information about a certficate authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 112
+
+def get!(
+ id: ""
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all Certificate Authority on this account
+
+
+
+
+
+
+
+
+
+
+
+
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 133
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::CertificateAuthority
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Update attributes of a Certificate Authority by ID
+
+
+
+
+
+
+
+
+
+
+
+
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 161
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Update attributes of a Certificate Authority by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 187
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/CredentialsClient.html b/doc/NgrokAPI/Services/CredentialsClient.html
new file mode 100644
index 0000000..455ee34
--- /dev/null
+++ b/doc/NgrokAPI/Services/CredentialsClient.html
@@ -0,0 +1,1534 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::CredentialsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::CredentialsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::CredentialsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/credentials_client.rb
+
+
+
+
+Overview
+
+
+Tunnel Credentials are ngrok agent authtokens. They authorize the ngrok
+
+agent to connect the ngrok service as your account. They are installed with
+the ngrok authtoken command or by specifying it in the ngrok.yml
+configuration file with the authtoken property.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/credentials'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'credentials'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", acl: []) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new tunnel authtoken credential.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a tunnel authtoken credential by ID.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about a tunnel authtoken credential.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about a tunnel authtoken credential Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ CredentialsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of CredentialsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all tunnel authtoken credentials on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an tunnel authtoken credential by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ CredentialsClient
+
+
+
+
+
+
+
+
+Returns a new instance of CredentialsClient.
+
+
+
+
+
+
+
+
+
+
+20
+21
+22
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 20
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 18
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", acl: []) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Create a new tunnel authtoken credential. This authtoken credential can be used to start a new tunnel session. The response to this API call is the only time the generated token is available. If you need it for future use, you must save it securely yourself.
+
+
+
+
+
+
+
+
+
+
+
+
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 36
+
+def create(
+ description: "",
+ metadata: "",
+ acl: []
+)
+ path = '/credentials'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a tunnel authtoken credential by ID
+
+
+
+
+
+
+
+
+
+
+
+
+59
+60
+61
+62
+63
+64
+65
+66
+67
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 59
+
+def delete(
+ id: ""
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+77
+78
+79
+80
+81
+82
+83
+84
+85
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 77
+
+def delete!(
+ id: ""
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Get detailed information about a tunnel authtoken credential
+
+
+
+
+
+
+
+
+
+
+
+
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 94
+
+def get(
+ id: ""
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Get detailed information about a tunnel authtoken credential Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 114
+
+def get!(
+ id: ""
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all tunnel authtoken credentials on this account
+
+
+
+
+
+
+
+
+
+
+
+
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 135
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::Credential
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Update attributes of an tunnel authtoken credential by ID
+
+
+
+
+
+
+
+
+
+
+
+
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 164
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ acl: nil
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Update attributes of an tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 193
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ acl: nil
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html b/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html
new file mode 100644
index 0000000..6cc5c4c
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/circuit_breaker'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointCircuitBreakerModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointCircuitBreakerModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointCircuitBreakerModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointCircuitBreakerModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html b/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html
new file mode 100644
index 0000000..1781e2d
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointCompressionModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_compression_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/compression'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointCompressionModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointCompressionModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointCompressionModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointCompressionModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointCompression.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointCompression.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointCompression.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointCompression.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointConfigurationsClient.html b/doc/NgrokAPI/Services/EndpointConfigurationsClient.html
index e1f4631..60ad299 100644
--- a/doc/NgrokAPI/Services/EndpointConfigurationsClient.html
+++ b/doc/NgrokAPI/Services/EndpointConfigurationsClient.html
@@ -102,7 +102,11 @@
Overview
-A client for interacting with the endpoint_configuration API
+Endpoint Configurations are a reusable group of modules that encapsulate how
+
+traffic to a domain or address is handled. Endpoint configurations are only
+applied to Domains and TCP Addresses they have been attached to.
+
ngrok.com/docs/api#api-endpoint-configurations
@@ -121,6 +125,22 @@
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations'
+
- LIST_PROPERTY =
@@ -137,22 +157,6 @@
'endpoint_configurations'
- - PATH =
-
-
-
-
The API path for endpoint configurations
-
-
-
-
-
-
- '/endpoint_configurations'
-
@@ -207,7 +211,7 @@
-
- #create(description: '', metadata: '', type: '', circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #create(type: "", description: "", metadata: "", basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -231,7 +235,7 @@
-
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -255,7 +259,7 @@
-
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -279,7 +283,7 @@
-
- #get(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -294,7 +298,7 @@
-
Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration.
@@ -303,7 +307,7 @@
-
- #get!(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -318,7 +322,7 @@
-
Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration Throws an exception if API error.
@@ -377,7 +381,7 @@
-
- #update(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -401,7 +405,7 @@
-
- #update!(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update!(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -454,15 +458,15 @@
-17
-18
-19
+19
+20
+21
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 17
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 19
-def initialize(client:)
- @client = client
+def initialize(client:)
+ @client = client
end
@@ -502,12 +506,12 @@
-15
-16
-17
+17
+18
+19
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 15
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 17
def client
@client
@@ -527,7 +531,7 @@
- #create(description: '', metadata: '', type: '', circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #create(type: "", description: "", metadata: "", basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -547,6 +551,24 @@
Parameters:
+ -
+
+ type
+
+
+ (string)
+
+
+ (defaults to: "")
+
+
+ —
+
+
they type of traffic this endpoint configuration can be applied to. one of: “http“, “https“, “tcp“
+
+
+
+
-
description
@@ -555,7 +577,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -573,7 +595,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -583,30 +605,12 @@
- -
-
- type
-
-
- (string)
-
-
- (defaults to: '')
-
-
- —
-
-
they type of traffic this endpoint configuration can be applied to. one of: “http“, “https“, “tcp“
-
-
-
-
-
circuit_breaker
- (string)
+ (EndpointCircuitBreaker)
(defaults to: nil)
@@ -614,7 +618,7 @@
—
-
circuit breaker module configuration
+circuit breaker module configuration or “null“
@@ -624,7 +628,7 @@
compression
- (string)
+ (EndpointCompression)
(defaults to: nil)
@@ -632,7 +636,7 @@
—
-compression module configuration
+compression module configuration or “null“
@@ -642,7 +646,7 @@
request_headers
- (string)
+ (EndpointRequestHeaders)
(defaults to: nil)
@@ -650,7 +654,7 @@
—
-request headers module configuration
+request headers module configuration or “null“
@@ -660,7 +664,7 @@
response_headers
- (string)
+ (EndpointResponseHeaders)
(defaults to: nil)
@@ -668,7 +672,7 @@
—
-response headers module configuration
+response headers module configuration or “null“
@@ -678,7 +682,7 @@
ip_policy
- (string)
+ (EndpointIPPolicyMutate)
(defaults to: nil)
@@ -686,7 +690,7 @@
—
-ip policy module configuration
+ip policy module configuration or “null“
@@ -696,7 +700,7 @@
mutual_tls
- (string)
+ (EndpointMutualTLSMutate)
(defaults to: nil)
@@ -704,7 +708,7 @@
—
-mutual TLS module configuration
+mutual TLS module configuration or “null“
@@ -714,7 +718,7 @@
tls_termination
- (string)
+ (EndpointTLSTermination)
(defaults to: nil)
@@ -722,7 +726,7 @@
—
-TLS termination module configuration
+TLS termination module configuration or “null“
@@ -732,7 +736,7 @@
webhook_validation
- (string)
+ (EndpointWebhookValidation)
(defaults to: nil)
@@ -740,7 +744,7 @@
—
-webhook validation module configuration
+webhook validation module configuration or “null“
@@ -750,7 +754,7 @@
oauth
- (string)
+ (EndpointOAuth)
(defaults to: nil)
@@ -758,7 +762,7 @@
—
-oauth module configuration
+oauth module configuration or “null“
@@ -768,7 +772,7 @@
logging
- (string)
+ (EndpointLoggingMutate)
(defaults to: nil)
@@ -776,7 +780,7 @@
—
-logging module configuration
+logging module configuration or “null“
@@ -786,7 +790,7 @@
saml
- (string)
+ (EndpointSAMLMutate)
(defaults to: nil)
@@ -794,7 +798,7 @@
—
-saml module configuration
+saml module configuration or “null“
@@ -804,7 +808,7 @@
oidc
- (string)
+ (EndpointOIDC)
(defaults to: nil)
@@ -812,7 +816,7 @@
—
-oidc module configuration
+oidc module configuration or “null“
@@ -831,7 +835,7 @@
—
-result from create request
+result from the API request
@@ -880,47 +884,55 @@
77
78
79
-80
+80
+81
+82
+83
+84
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 44
-def create(
- description: '',
- metadata: '',
- type: '',
- circuit_breaker: nil,
- compression: nil,
- request_headers: nil,
- response_headers: nil,
- ip_policy: nil,
- mutual_tls: nil,
- tls_termination: nil,
- webhook_validation: nil,
- oauth: nil,
- logging: nil,
- saml: nil,
- oidc: nil
-)
- data = {
- type: type,
- description: description,
- metadata: ,
- circuit_breaker: circuit_breaker,
- compression: compression,
- request_headers: request_headers,
- response_headers: response_headers,
- ip_policy: ip_policy,
- mutual_tls: mutual_tls,
- tls_termination: tls_termination,
- webhook_validation: webhook_validation,
- oauth: oauth,
- logging: logging,
- saml: saml,
- oidc: oidc,
- }
- result = @client.post(PATH, data: data)
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def create(
+ type: "",
+ description: "",
+ metadata: "",
+ basic_auth: nil,
+ circuit_breaker: nil,
+ compression: nil,
+ request_headers: nil,
+ response_headers: nil,
+ ip_policy: nil,
+ mutual_tls: nil,
+ tls_termination: nil,
+ webhook_validation: nil,
+ oauth: nil,
+ logging: nil,
+ saml: nil,
+ oidc: nil,
+ backend: nil
+)
+ path = '/endpoint_configurations'
+ replacements = {
+ }
+ data = {}
+ data[:type] = type if type
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:circuit_breaker] = circuit_breaker if circuit_breaker
+ data[:compression] = compression if compression
+ data[:request_headers] = request_headers if request_headers
+ data[:response_headers] = response_headers if response_headers
+ data[:ip_policy] = ip_policy if ip_policy
+ data[:mutual_tls] = mutual_tls if mutual_tls
+ data[:tls_termination] = tls_termination if tls_termination
+ data[:webhook_validation] = webhook_validation if webhook_validation
+ data[:oauth] = oauth if oauth
+ data[:logging] = logging if logging
+ data[:saml] = saml if saml
+ data[:oidc] = oidc if oidc
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -930,7 +942,7 @@
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -958,7 +970,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -976,13 +988,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -995,15 +1007,27 @@
-92
-93
-94
+94
+95
+96
+97
+98
+99
+100
+101
+102
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 92
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 94
-def delete(id: nil)
- @client.delete("#{PATH}/#{id}")
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1013,7 +1037,7 @@
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1022,7 +1046,7 @@
-Delete an endpoint configuration. Throw an exception if 404. This operation will fail if the endpoint configuration is still referenced by any reserved domain or reserved address.
+Delete an endpoint configuration. This operation will fail if the endpoint configuration is still referenced by any reserved domain or reserved address. Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-delete
@@ -1041,7 +1065,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1059,13 +1083,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1078,15 +1102,27 @@
-105
-106
-107
+113
+114
+115
+116
+117
+118
+119
+120
+121
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 105
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 113
-def delete!(id: nil)
- @client.delete("#{PATH}/#{id}", danger: true)
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1096,7 +1132,7 @@
- #get(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -1105,7 +1141,7 @@
-Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration
ngrok.com/docs/api#api-endpoint-configurations-get
@@ -1124,7 +1160,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1148,7 +1184,7 @@
—
-result from get request
+result from the API request
@@ -1161,17 +1197,31 @@
-116
-117
-118
-119
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 116
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 130
-def get(id: nil)
- result = @client.get("#{PATH}/#{id}")
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -1181,7 +1231,7 @@
- #get!(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -1190,7 +1240,7 @@
-Returns detailed information about an endpoint configuration by ID. Throw an execption if 404.
+Returns detailed information about an endpoint configuration Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-get
@@ -1209,7 +1259,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1233,7 +1283,7 @@
—
-result from get request
+result from the API request
@@ -1246,17 +1296,31 @@
-128
-129
-130
-131
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 128
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 150
-def get!(id: nil)
- result = @client.get("#{PATH}/#{id}", danger: true)
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -1275,7 +1339,7 @@
-Returns a list of all endpoint configurations on this account.
+Returns a list of all endpoint configurations on this account
ngrok.com/docs/api#api-endpoint-configurations-list
@@ -1304,7 +1368,7 @@
limit
- (integer)
+ (string)
(defaults to: nil)
@@ -1344,7 +1408,7 @@
—
-the result listable
+result from the API request
@@ -1357,27 +1421,45 @@
-142
-143
-144
-145
-146
-147
-148
-149
-150
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 142
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 171
-def list(before_id: nil, limit: nil, url: nil)
- result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH)
- NgrokAPI::Models::Listable.new(
- client: self,
- result: result,
- list_property: LIST_PROPERTY,
- klass: NgrokAPI::Models::EndpointConfiguration
- )
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::EndpointConfiguration
+ )
end
@@ -1387,7 +1469,7 @@
- #update(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -1415,7 +1497,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1466,7 +1548,7 @@
circuit_breaker
- (string)
+ (EndpointCircuitBreaker)
(defaults to: nil)
@@ -1474,7 +1556,7 @@
—
-circuit breaker module configuration
+circuit breaker module configuration or “null“
@@ -1484,7 +1566,7 @@
compression
- (string)
+ (EndpointCompression)
(defaults to: nil)
@@ -1492,7 +1574,7 @@
—
-compression module configuration
+compression module configuration or “null“
@@ -1502,7 +1584,7 @@
request_headers
- (string)
+ (EndpointRequestHeaders)
(defaults to: nil)
@@ -1510,7 +1592,7 @@
—
-request headers module configuration
+request headers module configuration or “null“
@@ -1520,7 +1602,7 @@
response_headers
- (string)
+ (EndpointResponseHeaders)
(defaults to: nil)
@@ -1528,7 +1610,7 @@
—
-response headers module configuration
+response headers module configuration or “null“
@@ -1538,7 +1620,7 @@
ip_policy
- (string)
+ (EndpointIPPolicyMutate)
(defaults to: nil)
@@ -1546,7 +1628,7 @@
—
-ip policy module configuration
+ip policy module configuration or “null“
@@ -1556,7 +1638,7 @@
mutual_tls
- (string)
+ (EndpointMutualTLSMutate)
(defaults to: nil)
@@ -1564,7 +1646,7 @@
—
-mutual TLS module configuration
+mutual TLS module configuration or “null“
@@ -1574,7 +1656,7 @@
tls_termination
- (string)
+ (EndpointTLSTermination)
(defaults to: nil)
@@ -1582,7 +1664,7 @@
—
-TLS termination module configuration
+TLS termination module configuration or “null“
@@ -1592,7 +1674,7 @@
webhook_validation
- (string)
+ (EndpointWebhookValidation)
(defaults to: nil)
@@ -1600,7 +1682,7 @@
—
-webhook validation module configuration
+webhook validation module configuration or “null“
@@ -1610,7 +1692,7 @@
oauth
- (string)
+ (EndpointOAuth)
(defaults to: nil)
@@ -1618,7 +1700,7 @@
—
-oauth module configuration
+oauth module configuration or “null“
@@ -1628,7 +1710,7 @@
logging
- (string)
+ (EndpointLoggingMutate)
(defaults to: nil)
@@ -1636,7 +1718,7 @@
—
-logging module configuration
+logging module configuration or “null“
@@ -1646,7 +1728,7 @@
saml
- (string)
+ (EndpointSAMLMutate)
(defaults to: nil)
@@ -1654,7 +1736,7 @@
—
-saml module configuration
+saml module configuration or “null“
@@ -1664,7 +1746,7 @@
oidc
- (string)
+ (EndpointOIDC)
(defaults to: nil)
@@ -1672,7 +1754,7 @@
—
-oidc module configuration
+oidc module configuration or “null“
@@ -1691,7 +1773,7 @@
—
-result from update request
+result from the API request
@@ -1704,81 +1786,91 @@
-177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
-193
-194
-195
-196
-197
-198
-199
-200
-201
-202
-203
-204
-205
-206
-207
-208
-209
-210
-211
-212
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 177
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 214
-def update(
- id: nil,
- description: nil,
- metadata: nil,
- circuit_breaker: nil,
- compression: nil,
- request_headers: nil,
- response_headers: nil,
- ip_policy: nil,
- mutual_tls: nil,
- tls_termination: nil,
- webhook_validation: nil,
- oauth: nil,
- logging: nil,
- saml: nil,
- oidc: nil
-)
- data = build_data(
- description: description,
- metadata: ,
- circuit_breaker: circuit_breaker,
- compression: compression,
- request_headers: request_headers,
- response_headers: response_headers,
- ip_policy: ip_policy,
- mutual_tls: mutual_tls,
- tls_termination: tls_termination,
- webhook_validation: webhook_validation,
- oauth: oauth,
- logging: logging,
- saml: saml,
- oidc: oidc
- )
- result = @client.patch("#{PATH}/#{id}", data: data)
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ basic_auth: nil,
+ circuit_breaker: nil,
+ compression: nil,
+ request_headers: nil,
+ response_headers: nil,
+ ip_policy: nil,
+ mutual_tls: nil,
+ tls_termination: nil,
+ webhook_validation: nil,
+ oauth: nil,
+ logging: nil,
+ saml: nil,
+ oidc: nil,
+ backend: nil
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:circuit_breaker] = circuit_breaker if circuit_breaker
+ data[:compression] = compression if compression
+ data[:request_headers] = request_headers if request_headers
+ data[:response_headers] = response_headers if response_headers
+ data[:ip_policy] = ip_policy if ip_policy
+ data[:mutual_tls] = mutual_tls if mutual_tls
+ data[:tls_termination] = tls_termination if tls_termination
+ data[:webhook_validation] = webhook_validation if webhook_validation
+ data[:oauth] = oauth if oauth
+ data[:logging] = logging if logging
+ data[:saml] = saml if saml
+ data[:oidc] = oidc if oidc
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -1788,7 +1880,7 @@
- #update!(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update!(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -1797,7 +1889,7 @@
-Updates an endpoint configuration. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. Throw an exception if 404.
+Updates an endpoint configuration. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-update
@@ -1816,7 +1908,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1867,7 +1959,7 @@
circuit_breaker
- (string)
+ (EndpointCircuitBreaker)
(defaults to: nil)
@@ -1875,7 +1967,7 @@
—
-circuit breaker module configuration
+circuit breaker module configuration or “null“
@@ -1885,7 +1977,7 @@
compression
- (string)
+ (EndpointCompression)
(defaults to: nil)
@@ -1893,7 +1985,7 @@
—
-compression module configuration
+compression module configuration or “null“
@@ -1903,7 +1995,7 @@
request_headers
- (string)
+ (EndpointRequestHeaders)
(defaults to: nil)
@@ -1911,7 +2003,7 @@
—
-request headers module configuration
+request headers module configuration or “null“
@@ -1921,7 +2013,7 @@
response_headers
- (string)
+ (EndpointResponseHeaders)
(defaults to: nil)
@@ -1929,7 +2021,7 @@
—
-response headers module configuration
+response headers module configuration or “null“
@@ -1939,7 +2031,7 @@
ip_policy
- (string)
+ (EndpointIPPolicyMutate)
(defaults to: nil)
@@ -1947,7 +2039,7 @@
—
-ip policy module configuration
+ip policy module configuration or “null“
@@ -1957,7 +2049,7 @@
mutual_tls
- (string)
+ (EndpointMutualTLSMutate)
(defaults to: nil)
@@ -1965,7 +2057,7 @@
—
-mutual TLS module configuration
+mutual TLS module configuration or “null“
@@ -1975,7 +2067,7 @@
tls_termination
- (string)
+ (EndpointTLSTermination)
(defaults to: nil)
@@ -1983,7 +2075,7 @@
—
-TLS termination module configuration
+TLS termination module configuration or “null“
@@ -1993,7 +2085,7 @@
webhook_validation
- (string)
+ (EndpointWebhookValidation)
(defaults to: nil)
@@ -2001,7 +2093,7 @@
—
-webhook validation module configuration
+webhook validation module configuration or “null“
@@ -2011,7 +2103,7 @@
oauth
- (string)
+ (EndpointOAuth)
(defaults to: nil)
@@ -2019,7 +2111,7 @@
—
-oauth module configuration
+oauth module configuration or “null“
@@ -2029,7 +2121,7 @@
logging
- (string)
+ (EndpointLoggingMutate)
(defaults to: nil)
@@ -2037,7 +2129,7 @@
—
-logging module configuration
+logging module configuration or “null“
@@ -2047,7 +2139,7 @@
saml
- (string)
+ (EndpointSAMLMutate)
(defaults to: nil)
@@ -2055,7 +2147,7 @@
—
-saml module configuration
+saml module configuration or “null“
@@ -2065,7 +2157,7 @@
oidc
- (string)
+ (EndpointOIDC)
(defaults to: nil)
@@ -2073,7 +2165,7 @@
—
-oidc module configuration
+oidc module configuration or “null“
@@ -2092,7 +2184,7 @@
—
-result from update request
+result from the API request
@@ -2105,81 +2197,91 @@
-238
-239
-240
-241
-242
-243
-244
-245
-246
-247
-248
-249
-250
-251
-252
-253
-254
-255
-256
-257
-258
-259
-260
-261
-262
-263
-264
-265
-266
-267
-268
-269
-270
-271
-272
-273
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 238
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 281
-def update!(
- id: nil,
- description: nil,
- metadata: nil,
- circuit_breaker: nil,
- compression: nil,
- request_headers: nil,
- response_headers: nil,
- ip_policy: nil,
- mutual_tls: nil,
- tls_termination: nil,
- webhook_validation: nil,
- oauth: nil,
- logging: nil,
- saml: nil,
- oidc: nil
-)
- data = build_data(
- description: description,
- metadata: ,
- circuit_breaker: circuit_breaker,
- compression: compression,
- request_headers: request_headers,
- response_headers: response_headers,
- ip_policy: ip_policy,
- mutual_tls: mutual_tls,
- tls_termination: tls_termination,
- webhook_validation: webhook_validation,
- oauth: oauth,
- logging: logging,
- saml: saml,
- oidc: oidc
- )
- result = @client.patch("#{PATH}/#{id}", danger: true, data: data)
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ basic_auth: nil,
+ circuit_breaker: nil,
+ compression: nil,
+ request_headers: nil,
+ response_headers: nil,
+ ip_policy: nil,
+ mutual_tls: nil,
+ tls_termination: nil,
+ webhook_validation: nil,
+ oauth: nil,
+ logging: nil,
+ saml: nil,
+ oidc: nil,
+ backend: nil
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:circuit_breaker] = circuit_breaker if circuit_breaker
+ data[:compression] = compression if compression
+ data[:request_headers] = request_headers if request_headers
+ data[:response_headers] = response_headers if response_headers
+ data[:ip_policy] = ip_policy if ip_policy
+ data[:mutual_tls] = mutual_tls if mutual_tls
+ data[:tls_termination] = tls_termination if tls_termination
+ data[:webhook_validation] = webhook_validation if webhook_validation
+ data[:oauth] = oauth if oauth
+ data[:logging] = logging if logging
+ data[:saml] = saml if saml
+ data[:oidc] = oidc if oidc
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -2191,7 +2293,7 @@
diff --git a/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html b/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html
new file mode 100644
index 0000000..0db28bd
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_ip_policy_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/ip_policy'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointIPPolicyModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointIPPolicyModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointIPPolicyModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointIPPolicyModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html b/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html
new file mode 100644
index 0000000..cffac98
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointLoggingModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_logging_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/logging'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointLoggingModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointLoggingModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointLoggingModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointLoggingModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointLogging.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointLogging.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointLogging.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointLogging.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html b/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html
new file mode 100644
index 0000000..2f65fa5
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/mutual_tls'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointMutualTLSModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointMutualTLSModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointMutualTLSModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointMutualTLSModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html b/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html
new file mode 100644
index 0000000..d433864
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointOAuthModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_o_auth_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/oauth'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointOAuthModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointOAuthModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointOAuthModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointOAuthModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointOAuth.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointOAuth.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointOAuth.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointOAuth.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html b/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html
new file mode 100644
index 0000000..7b242bf
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointOIDCModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_oidc_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/oidc'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointOIDCModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointOIDCModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointOIDCModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointOIDCModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointOIDC.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointOIDC.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointOIDC.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointOIDC.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html b/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html
new file mode 100644
index 0000000..ab460b4
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_request_headers_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/request_headers'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointRequestHeadersModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointRequestHeadersModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointRequestHeadersModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointRequestHeadersModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html b/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html
new file mode 100644
index 0000000..5e4bece
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_response_headers_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/response_headers'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointResponseHeadersModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointResponseHeadersModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointResponseHeadersModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointResponseHeadersModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html b/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html
new file mode 100644
index 0000000..4c8db30
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointSAMLModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_saml_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/saml'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointSAMLModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointSAMLModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointSAMLModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointSAMLModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointSAML.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointSAML.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointSAML.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointSAML.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html b/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html
new file mode 100644
index 0000000..7f904f8
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_tls_termination_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/tls_termination'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointTLSTerminationModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointTLSTerminationModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointTLSTerminationModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointTLSTerminationModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html b/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html
new file mode 100644
index 0000000..719f591
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/webhook_validation'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointWebhookValidationModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointWebhookValidationModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointWebhookValidationModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointWebhookValidationModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EventDestinationsClient.html b/doc/NgrokAPI/Services/EventDestinationsClient.html
new file mode 100644
index 0000000..31bf309
--- /dev/null
+++ b/doc/NgrokAPI/Services/EventDestinationsClient.html
@@ -0,0 +1,1609 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventDestinationsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventDestinationsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EventDestinationsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/event_destinations_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/event_destinations'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'event_destinations'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new Event Destination.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Destination.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Destination.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an Event Destination by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an Event Destination by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventDestinationsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EventDestinationsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all Event Destinations on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an Event Destination.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an Event Destination.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EventDestinationsClient
+
+
+
+
+
+
+
+
+Returns a new instance of EventDestinationsClient.
+
+
+
+
+
+
+
+
+
+
+15
+16
+17
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 15
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 13
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Create a new Event Destination. It will not apply to anything until it is associated with an Event Stream, and that Event Stream is associated with an Endpoint Config.
+
+
+
+
+
+
+
+
+
+
+
+
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 31
+
+def create(
+ metadata: "",
+ description: "",
+ format: "",
+ target: nil,
+ verify_with_test_event: nil
+)
+ path = '/event_destinations'
+ replacements = {
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:format] = format if format
+ data[:target] = target if target
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Destination. If the Event Destination is still referenced by an Event Stream, this will throw an error until that Event Stream has removed that reference.
+
+
+
+
+
+
+
+
+
+
+
+
+59
+60
+61
+62
+63
+64
+65
+66
+67
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 59
+
+def delete(
+ id: ""
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Destination. If the Event Destination is still referenced by an Event Stream, this will throw an error until that Event Stream has removed that reference. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 79
+
+def delete!(
+ id: ""
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Get detailed information about an Event Destination by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 96
+
+def get(
+ id: ""
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Get detailed information about an Event Destination by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 116
+
+def get!(
+ id: ""
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all Event Destinations on this account.
+
+
+
+
+
+
+
+
+
+
+
+
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 137
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::EventDestination
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Update attributes of an Event Destination.
+
+
+
+
+
+
+
+
+
+
+
+
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 167
+
+def update(
+ id: "",
+ metadata: nil,
+ description: nil,
+ format: nil,
+ target: nil,
+ verify_with_test_event: nil
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:format] = format if format
+ data[:target] = target if target
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Update attributes of an Event Destination. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 200
+
+def update!(
+ id: "",
+ metadata: nil,
+ description: nil,
+ format: nil,
+ target: nil,
+ verify_with_test_event: nil
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:format] = format if format
+ data[:target] = target if target
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EventSourcesClient.html b/doc/NgrokAPI/Services/EventSourcesClient.html
new file mode 100644
index 0000000..53c5706
--- /dev/null
+++ b/doc/NgrokAPI/Services/EventSourcesClient.html
@@ -0,0 +1,1348 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventSourcesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventSourcesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EventSourcesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/event_sources_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/event_subscriptions/%{subscription_id}/sources'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(subscription_id: "", type: "", filter: "", fields: []) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Add an additional type for which this event subscription will trigger.
+
+
+
+
+
+ -
+
+
+ #delete(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Remove a type for which this event subscription will trigger.
+
+
+
+
+
+ -
+
+
+ #delete!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Remove a type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the details for a given type that triggers for the given event subscription.
+
+
+
+
+
+ -
+
+
+ #get!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the details for a given type that triggers for the given event subscription Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventSourcesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EventSourcesClient.
+
+
+
+
+
+ -
+
+
+ #update(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update the type for which this event subscription will trigger.
+
+
+
+
+
+ -
+
+
+ #update!(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update the type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EventSourcesClient
+
+
+
+
+
+
+
+
+Returns a new instance of EventSourcesClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(subscription_id: "", type: "", filter: "", fields: []) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Add an additional type for which this event subscription will trigger
+
+
+
+
+
+
+
+
+
+
+
+
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 25
+
+def create(
+ subscription_id: "",
+ type: "",
+ filter: "",
+ fields: []
+)
+ path = '/event_subscriptions/%{subscription_id}/sources'
+ replacements = {
+ subscription_id: subscription_id,
+ }
+ data = {}
+ data[:type] = type if type
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Remove a type for which this event subscription will trigger
+
+
+
+
+
+
+
+
+
+
+
+
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 49
+
+def delete(
+ subscription_id: "",
+ type: ""
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Remove a type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 70
+
+def delete!(
+ subscription_id: "",
+ type: ""
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Get the details for a given type that triggers for the given event subscription
+
+
+
+
+
+
+
+
+
+
+
+
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 90
+
+def get(
+ subscription_id: "",
+ type: ""
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Get the details for a given type that triggers for the given event subscription Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 113
+
+def get!(
+ subscription_id: "",
+ type: ""
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Update the type for which this event subscription will trigger
+
+
+
+
+
+
+
+
+
+
+
+
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 135
+
+def update(
+ subscription_id: "",
+ type: "",
+ filter: nil,
+ fields: nil
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ data = {}
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Update the type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 160
+
+def update!(
+ subscription_id: "",
+ type: "",
+ filter: nil,
+ fields: nil
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ data = {}
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EventStreamsClient.html b/doc/NgrokAPI/Services/EventStreamsClient.html
new file mode 100644
index 0000000..02d2439
--- /dev/null
+++ b/doc/NgrokAPI/Services/EventStreamsClient.html
@@ -0,0 +1,1691 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventStreamsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventStreamsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EventStreamsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/event_streams_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/event_streams'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'event_streams'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(metadata: "", description: "", fields: [], event_type: "", destination_ids: [], sampling_rate: 0) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new Event Stream.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Stream.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Stream.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an Event Stream by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an Event Stream by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventStreamsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EventStreamsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all Event Streams available on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an Event Stream by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an Event Stream by ID.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EventStreamsClient
+
+
+
+
+
+
+
+
+Returns a new instance of EventStreamsClient.
+
+
+
+
+
+
+
+
+
+
+15
+16
+17
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 15
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 13
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(metadata: "", description: "", fields: [], event_type: "", destination_ids: [], sampling_rate: 0) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Create a new Event Stream. It will not apply to anything until you associate it with one or more Endpoint Configs.
+
+
+
+
+
+
+
+
+
+
+
+
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 32
+
+def create(
+ metadata: "",
+ description: "",
+ fields: [],
+ event_type: "",
+ destination_ids: [],
+ sampling_rate: 0
+)
+ path = '/event_streams'
+ replacements = {
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:fields] = fields if fields
+ data[:event_type] = event_type if event_type
+ data[:destination_ids] = destination_ids if destination_ids
+ data[:sampling_rate] = sampling_rate if sampling_rate
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Stream. Associated Event Destinations will be preserved.
+
+
+
+
+
+
+
+
+
+
+
+
+61
+62
+63
+64
+65
+66
+67
+68
+69
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 61
+
+def delete(
+ id: ""
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Stream. Associated Event Destinations will be preserved. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 79
+
+def delete!(
+ id: ""
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Get detailed information about an Event Stream by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 96
+
+def get(
+ id: ""
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Get detailed information about an Event Stream by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 116
+
+def get!(
+ id: ""
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all Event Streams available on this account.
+
+
+
+
+
+
+
+
+
+
+
+
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 137
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::EventStream
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Update attributes of an Event Stream by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 168
+
+def update(
+ id: "",
+ metadata: nil,
+ description: nil,
+ fields: nil,
+ destination_ids: nil,
+ sampling_rate: nil
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:fields] = fields if fields
+ data[:destination_ids] = destination_ids if destination_ids
+ data[:sampling_rate] = sampling_rate if sampling_rate
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Update attributes of an Event Stream by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 203
+
+def update!(
+ id: "",
+ metadata: nil,
+ description: nil,
+ fields: nil,
+ destination_ids: nil,
+ sampling_rate: nil
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:fields] = fields if fields
+ data[:destination_ids] = destination_ids if destination_ids
+ data[:sampling_rate] = sampling_rate if sampling_rate
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EventSubscriptionsClient.html b/doc/NgrokAPI/Services/EventSubscriptionsClient.html
new file mode 100644
index 0000000..1e4ca34
--- /dev/null
+++ b/doc/NgrokAPI/Services/EventSubscriptionsClient.html
@@ -0,0 +1,1603 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventSubscriptionsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EventSubscriptionsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/event_subscriptions_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/event_subscriptions'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'event_subscriptions'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(metadata: "", description: "", sources: [], destination_ids: []) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create an Event Subscription.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Subscription.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Subscription.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get an Event Subscription by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get an Event Subscription by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventSubscriptionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EventSubscriptionsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List this Account's Event Subscriptions.
+
+
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an Event Subscription.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an Event Subscription.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EventSubscriptionsClient
+
+
+
+
+
+
+
+
+Returns a new instance of EventSubscriptionsClient.
+
+
+
+
+
+
+
+
+
+
+15
+16
+17
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 15
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 13
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(metadata: "", description: "", sources: [], destination_ids: []) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Create an Event Subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 29
+
+def create(
+ metadata: "",
+ description: "",
+ sources: [],
+ destination_ids: []
+)
+ path = '/event_subscriptions'
+ replacements = {
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:sources] = sources if sources
+ data[:destination_ids] = destination_ids if destination_ids
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+54
+55
+56
+57
+58
+59
+60
+61
+62
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 54
+
+def delete(
+ id: ""
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Subscription. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+72
+73
+74
+75
+76
+77
+78
+79
+80
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 72
+
+def delete!(
+ id: ""
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Get an Event Subscription by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 89
+
+def get(
+ id: ""
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Get an Event Subscription by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 109
+
+def get!(
+ id: ""
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List this Account's Event Subscriptions.
+
+
+
+
+
+
+
+
+
+
+
+
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 130
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::EventSubscription
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Update an Event Subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 160
+
+def update(
+ id: "",
+ metadata: nil,
+ description: nil,
+ sources: nil,
+ destination_ids: nil
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:sources] = sources if sources
+ data[:destination_ids] = destination_ids if destination_ids
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Update an Event Subscription. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 192
+
+def update!(
+ id: "",
+ metadata: nil,
+ description: nil,
+ sources: nil,
+ destination_ids: nil
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:sources] = sources if sources
+ data[:destination_ids] = destination_ids if destination_ids
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/IPPoliciesClient.html b/doc/NgrokAPI/Services/IPPoliciesClient.html
new file mode 100644
index 0000000..421426d
--- /dev/null
+++ b/doc/NgrokAPI/Services/IPPoliciesClient.html
@@ -0,0 +1,1488 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPPoliciesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::IPPoliciesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ip_policies_client.rb
+
+
+
+
+Overview
+
+
+IP Policies are reusable groups of CIDR ranges with an allow or deny
+
+action. They can be attached to endpoints via the Endpoint Configuration IP
+Policy module. They can also be used with IP Restrictions to control source
+IP ranges that can start tunnel sessions and connect to the API and dashboard.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ip_policies'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ip_policies'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", action:) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new IP policy.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP policy.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP policy.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP policy by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP policy by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPPoliciesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of IPPoliciesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all IP policies on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP policy by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP policy by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ IPPoliciesClient
+
+
+
+
+
+
+
+
+Returns a new instance of IPPoliciesClient.
+
+
+
+
+
+
+
+
+
+
+20
+21
+22
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 20
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 18
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", action:) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Create a new IP policy. It will not apply to any traffic until you associate to a traffic source via an endpoint configuration or IP restriction.
+
+
+
+
+
+
+
+
+
+
+
+
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 34
+
+def create(
+ description: "",
+ metadata: "",
+ action:
+)
+ path = '/ip_policies'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:action] = action if action
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP policy. If the IP policy is referenced by another object for the purposes of traffic restriction it will be treated as if the IP policy remains but has zero rules.
+
+
+
+
+
+
+
+
+
+
+
+
+59
+60
+61
+62
+63
+64
+65
+66
+67
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 59
+
+def delete(
+ id: ""
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP policy. If the IP policy is referenced by another object for the purposes of traffic restriction it will be treated as if the IP policy remains but has zero rules. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 79
+
+def delete!(
+ id: ""
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Get detailed information about an IP policy by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 96
+
+def get(
+ id: ""
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Get detailed information about an IP policy by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 116
+
+def get!(
+ id: ""
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all IP policies on this account
+
+
+
+
+
+
+
+
+
+
+
+
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 137
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::IPPolicy
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Update attributes of an IP policy by ID
+
+
+
+
+
+
+
+
+
+
+
+
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 165
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Update attributes of an IP policy by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 191
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/IPPolicyRulesClient.html b/doc/NgrokAPI/Services/IPPolicyRulesClient.html
new file mode 100644
index 0000000..fc29ea4
--- /dev/null
+++ b/doc/NgrokAPI/Services/IPPolicyRulesClient.html
@@ -0,0 +1,1550 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPPolicyRulesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::IPPolicyRulesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ip_policy_rules_client.rb
+
+
+
+
+Overview
+
+
+IP Policy Rules are the IPv4 or IPv6 CIDRs entries that
+
+make up an IP Policy.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ip_policy_rules'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ip_policy_rules'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", cidr:, ip_policy_id:) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new IP policy rule attached to an IP Policy.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP policy rule.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP policy rule.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP policy rule by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP policy rule by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPPolicyRulesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of IPPolicyRulesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all IP policy rules on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP policy rule by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP policy rule by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ IPPolicyRulesClient
+
+
+
+
+
+
+
+
+Returns a new instance of IPPolicyRulesClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", cidr:, ip_policy_id:) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Create a new IP policy rule attached to an IP Policy.
+
+
+
+
+
+
+
+
+
+
+
+
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 32
+
+def create(
+ description: "",
+ metadata: "",
+ cidr:,
+ ip_policy_id:
+)
+ path = '/ip_policy_rules'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:cidr] = cidr if cidr
+ data[:ip_policy_id] = ip_policy_id if ip_policy_id
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP policy rule.
+
+
+
+
+
+
+
+
+
+
+
+
+57
+58
+59
+60
+61
+62
+63
+64
+65
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 57
+
+def delete(
+ id: ""
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP policy rule. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+75
+76
+77
+78
+79
+80
+81
+82
+83
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 75
+
+def delete!(
+ id: ""
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Get detailed information about an IP policy rule by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 92
+
+def get(
+ id: ""
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Get detailed information about an IP policy rule by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 112
+
+def get!(
+ id: ""
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all IP policy rules on this account
+
+
+
+
+
+
+
+
+
+
+
+
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 133
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::IPPolicyRule
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Update attributes of an IP policy rule by ID
+
+
+
+
+
+
+
+
+
+
+
+
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 162
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ cidr: nil
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:cidr] = cidr if cidr
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Update attributes of an IP policy rule by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 191
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ cidr: nil
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:cidr] = cidr if cidr
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/IPRestrictionsClient.html b/doc/NgrokAPI/Services/IPRestrictionsClient.html
new file mode 100644
index 0000000..8751ea9
--- /dev/null
+++ b/doc/NgrokAPI/Services/IPRestrictionsClient.html
@@ -0,0 +1,1620 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPRestrictionsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::IPRestrictionsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ip_restrictions_client.rb
+
+
+
+
+Overview
+
+
+An IP restriction is a restriction placed on the CIDRs that are allowed to
+
+initate traffic to a specific aspect of your ngrok account. An IP
+restriction has a type which defines the ingress it applies to. IP
+restrictions can be used to enforce the source IPs that can make API
+requests, log in to the dashboard, start ngrok agents, and connect to your
+public-facing endpoints.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ip_restrictions'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ip_restrictions'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", enforced: False, type:, ip_policy_ids:) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new IP restriction.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP restriction.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP restriction Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP restriction.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP restriction Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPRestrictionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of IPRestrictionsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all IP restrictions on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP restriction by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP restriction by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ IPRestrictionsClient
+
+
+
+
+
+
+
+
+Returns a new instance of IPRestrictionsClient.
+
+
+
+
+
+
+
+
+
+
+22
+23
+24
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 22
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+20
+21
+22
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 20
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", enforced: False, type:, ip_policy_ids:) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Create a new IP restriction
+
+
+
+
+
+
+
+
+
+
+
+
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 37
+
+def create(
+ description: "",
+ metadata: "",
+ enforced: False,
+ type:,
+ ip_policy_ids:
+)
+ path = '/ip_restrictions'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:enforced] = enforced if enforced
+ data[:type] = type if type
+ data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP restriction
+
+
+
+
+
+
+
+
+
+
+
+
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 64
+
+def delete(
+ id: ""
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP restriction Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+82
+83
+84
+85
+86
+87
+88
+89
+90
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 82
+
+def delete!(
+ id: ""
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Get detailed information about an IP restriction
+
+
+
+
+
+
+
+
+
+
+
+
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 99
+
+def get(
+ id: ""
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Get detailed information about an IP restriction Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 119
+
+def get!(
+ id: ""
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all IP restrictions on this account
+
+
+
+
+
+
+
+
+
+
+
+
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 140
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::IPRestriction
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Update attributes of an IP restriction by ID
+
+
+
+
+
+
+
+
+
+
+
+
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 170
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ enforced: nil,
+ ip_policy_ids: []
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:enforced] = enforced if enforced
+ data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Update attributes of an IP restriction by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 202
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ enforced: nil,
+ ip_policy_ids: []
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:enforced] = enforced if enforced
+ data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/IPWhitelistClient.html b/doc/NgrokAPI/Services/IPWhitelistClient.html
new file mode 100644
index 0000000..f863fb1
--- /dev/null
+++ b/doc/NgrokAPI/Services/IPWhitelistClient.html
@@ -0,0 +1,1488 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPWhitelistClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::IPWhitelistClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ip_whitelist_client.rb
+
+
+
+
+Overview
+
+
+The IP Whitelist is deprecated and will be removed. Use an IP Restriction
+
+with an endpoints type instead.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ip_whitelist'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'whitelist'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", ip_net: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new IP whitelist entry that will restrict traffic to all tunnel endpoints on the account.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP whitelist entry.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP whitelist entry.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP whitelist entry by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP whitelist entry by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPWhitelistClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of IPWhitelistClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all IP whitelist entries on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP whitelist entry by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP whitelist entry by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ IPWhitelistClient
+
+
+
+
+
+
+
+
+Returns a new instance of IPWhitelistClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", ip_net: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Create a new IP whitelist entry that will restrict traffic to all tunnel endpoints on the account.
+
+
+
+
+
+
+
+
+
+
+
+
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 32
+
+def create(
+ description: "",
+ metadata: "",
+ ip_net: ""
+)
+ path = '/ip_whitelist'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:ip_net] = ip_net if ip_net
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP whitelist entry.
+
+
+
+
+
+
+
+
+
+
+
+
+55
+56
+57
+58
+59
+60
+61
+62
+63
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 55
+
+def delete(
+ id: ""
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP whitelist entry. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+73
+74
+75
+76
+77
+78
+79
+80
+81
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 73
+
+def delete!(
+ id: ""
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Get detailed information about an IP whitelist entry by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 90
+
+def get(
+ id: ""
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Get detailed information about an IP whitelist entry by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 110
+
+def get!(
+ id: ""
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all IP whitelist entries on this account
+
+
+
+
+
+
+
+
+
+
+
+
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 131
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::IPWhitelistEntry
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Update attributes of an IP whitelist entry by ID
+
+
+
+
+
+
+
+
+
+
+
+
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 159
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Update attributes of an IP whitelist entry by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 185
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/ReservedAddrsClient.html b/doc/NgrokAPI/Services/ReservedAddrsClient.html
new file mode 100644
index 0000000..eb68285
--- /dev/null
+++ b/doc/NgrokAPI/Services/ReservedAddrsClient.html
@@ -0,0 +1,1793 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::ReservedAddrsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::ReservedAddrsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/reserved_addrs_client.rb
+
+
+
+
+Overview
+
+
+Reserved Addresses are TCP addresses that can be used to listen for traffic.
+
+TCP address hostnames and ports are assigned by ngrok, they cannot be
+chosen.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/reserved_addrs'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'reserved_addrs'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", region: "", endpoint_configuration_id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new reserved address.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a reserved address.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a reserved address.
+
+
+
+
+
+ -
+
+
+ #delete_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Detach the endpoint configuration attached to a reserved address.
+
+
+
+
+
+ -
+
+
+ #delete_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Detach the endpoint configuration attached to a reserved address.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the details of a reserved address.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the details of a reserved address.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ ReservedAddrsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of ReservedAddrsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all reserved addresses on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update the attributes of a reserved address.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update the attributes of a reserved address.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ ReservedAddrsClient
+
+
+
+
+
+
+
+
+Returns a new instance of ReservedAddrsClient.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 19
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+17
+18
+19
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 17
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", region: "", endpoint_configuration_id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Create a new reserved address.
+
+
+
+
+
+
+
+
+
+
+
+
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 33
+
+def create(
+ description: "",
+ metadata: "",
+ region: "",
+ endpoint_configuration_id: ""
+)
+ path = '/reserved_addrs'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:region] = region if region
+ data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a reserved address.
+
+
+
+
+
+
+
+
+
+
+
+
+58
+59
+60
+61
+62
+63
+64
+65
+66
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 58
+
+def delete(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a reserved address. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+76
+77
+78
+79
+80
+81
+82
+83
+84
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 76
+
+def delete!(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #delete_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Detach the endpoint configuration attached to a reserved address.
+
+ngrok.com/docs/api#api-reserved-addrs-delete-endpoint-config
+
+
+
+
+
+
+
+
+
+
+217
+218
+219
+220
+221
+222
+223
+224
+225
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 217
+
+def delete_endpoint_config(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}/endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Detach the endpoint configuration attached to a reserved address. Throws an exception if API error.
+
+ngrok.com/docs/api#api-reserved-addrs-delete-endpoint-config
+
+
+
+
+
+
+
+
+
+
+235
+236
+237
+238
+239
+240
+241
+242
+243
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 235
+
+def delete_endpoint_config!(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}/endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Get the details of a reserved address.
+
+
+
+
+
+
+
+
+
+
+
+
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 93
+
+def get(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Get the details of a reserved address. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 113
+
+def get!(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all reserved addresses on this account.
+
+
+
+
+
+
+
+
+
+
+
+
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 134
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::ReservedAddr
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Update the attributes of a reserved address.
+
+
+
+
+
+
+
+
+
+
+
+
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 163
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ endpoint_configuration_id: nil
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Update the attributes of a reserved address. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 192
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ endpoint_configuration_id: nil
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/ReservedDomainsClient.html b/doc/NgrokAPI/Services/ReservedDomainsClient.html
index 8131463..d5f08d8 100644
--- a/doc/NgrokAPI/Services/ReservedDomainsClient.html
+++ b/doc/NgrokAPI/Services/ReservedDomainsClient.html
@@ -102,7 +102,12 @@
Overview
-A client for interacting with the reserved_domains API
+Reserved Domains are hostnames that you can listen for traffic on. Domains
+
+can be used to listen for http, https or tls traffic. You may use a domain
+that you own by creating a CNAME record specified in the returned resource.
+This CNAME record points traffic for that domain to ngrok's edge servers.
+
ngrok.com/docs/api#api-reserved-domains
@@ -121,6 +126,22 @@
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/reserved_domains'
+
- LIST_PROPERTY =
@@ -137,22 +158,6 @@
'reserved_domains'
- - PATH =
-
-
-
-
The API path for reserved domains
-
-
-
-
-
-
- '/reserved_domains'
-
@@ -207,7 +212,7 @@
-
- #create(name: '', region: '', description: '', metadata: '', http_endpoint_configuration_id: '', https_endpoint_configuration_id: '', certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #create(name:, region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -231,7 +236,7 @@
-
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -255,7 +260,7 @@
-
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -279,7 +284,7 @@
-
- #delete_certificate(id: nil) ⇒ nil
+ #delete_certificate(id: "") ⇒ NgrokAPI::Models::Empty
@@ -294,7 +299,7 @@
-
Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
@@ -303,7 +308,7 @@
-
- #delete_certificate!(id: nil) ⇒ nil
+ #delete_certificate!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -318,7 +323,7 @@
-
Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
@@ -327,7 +332,7 @@
-
- #delete_certificate_management_policy(id: nil) ⇒ nil
+ #delete_certificate_management_policy(id: "") ⇒ NgrokAPI::Models::Empty
@@ -342,7 +347,7 @@
-
Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
@@ -351,7 +356,7 @@
-
- #delete_certificate_management_policy!(id: nil) ⇒ nil
+ #delete_certificate_management_policy!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -366,7 +371,7 @@
-
Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
@@ -375,7 +380,7 @@
-
- #delete_http_endpoint_config(id: nil) ⇒ nil
+ #delete_http_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
@@ -390,7 +395,7 @@
-
Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
@@ -399,7 +404,7 @@
-
- #delete_http_endpoint_config!(id: nil) ⇒ nil
+ #delete_http_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -414,7 +419,7 @@
-
Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
@@ -423,7 +428,7 @@
-
- #delete_https_endpoint_config(id: nil) ⇒ nil
+ #delete_https_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
@@ -438,7 +443,7 @@
-
Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
@@ -447,7 +452,7 @@
-
- #delete_https_endpoint_config!(id: nil) ⇒ nil
+ #delete_https_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -462,7 +467,7 @@
-
Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
@@ -471,7 +476,7 @@
-
- #get(id: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedDomain
@@ -495,7 +500,7 @@
-
- #get!(id: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedDomain
@@ -569,7 +574,7 @@
-
- #update(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -593,7 +598,7 @@
-
- #update!(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -646,15 +651,15 @@
-17
-18
-19
+20
+21
+22
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 17
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 20
-def initialize(client:)
- @client = client
+def initialize(client:)
+ @client = client
end
@@ -694,12 +699,12 @@
-15
-16
-17
+18
+19
+20
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 15
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 18
def client
@client
@@ -719,7 +724,7 @@
- #create(name: '', region: '', description: '', metadata: '', http_endpoint_configuration_id: '', https_endpoint_configuration_id: '', certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #create(name:, region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -747,8 +752,6 @@
(string)
- (defaults to: '')
-
—
@@ -765,7 +768,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -783,7 +786,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -801,7 +804,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -819,7 +822,7 @@
(string)
- (defaults to: '')
+ (defaults to: nil)
—
@@ -837,7 +840,7 @@
(string)
- (defaults to: '')
+ (defaults to: nil)
—
@@ -870,7 +873,7 @@
certificate_management_policy
- (string)
+ (ReservedDomainCertPolicy)
(defaults to: nil)
@@ -897,7 +900,7 @@
—
-result from create request
+result from the API request
@@ -910,7 +913,6 @@
-37
38
39
40
@@ -932,33 +934,38 @@
56
57
58
-59
+59
+60
+61
+62
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 37
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 38
-def create(
- name: '',
- region: '',
- description: '',
- metadata: '',
- http_endpoint_configuration_id: '',
- https_endpoint_configuration_id: '',
- certificate_id: nil,
- certificate_management_policy: nil
-)
- data = {
- name: name,
- region: region,
- description: description,
- metadata: ,
- http_endpoint_configuration_id: http_endpoint_configuration_id,
- https_endpoint_configuration_id: https_endpoint_configuration_id,
- certificate_id: certificate_id,
- certificate_management_policy: certificate_management_policy,
- }
- result = @client.post(PATH, data: data)
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def create(
+ name:,
+ region: "",
+ description: "",
+ metadata: "",
+ http_endpoint_configuration_id: nil,
+ https_endpoint_configuration_id: nil,
+ certificate_id: nil,
+ certificate_management_policy: nil
+)
+ path = '/reserved_domains'
+ replacements = {
+ }
+ data = {}
+ data[:name] = name if name
+ data[:region] = region if region
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id
+ data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id
+ data[:certificate_id] = certificate_id if certificate_id
+ data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -968,7 +975,7 @@
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -996,7 +1003,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1014,13 +1021,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1033,15 +1040,27 @@
-69
-70
-71
+71
+72
+73
+74
+75
+76
+77
+78
+79
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 69
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 71
-def delete(id: nil)
- @client.delete("#{PATH}/#{id}")
+def delete(
+ id: ""
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1051,7 +1070,7 @@
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1060,7 +1079,7 @@
-Delete a reserved domain. Throw an exception if 404.
+Delete a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete
@@ -1079,7 +1098,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1097,13 +1116,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1116,15 +1135,27 @@
-80
-81
-82
+89
+90
+91
+92
+93
+94
+95
+96
+97
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 80
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 89
-def delete!(id: nil)
- @client.delete("#{PATH}/#{id}", danger: true)
+def delete!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1134,7 +1165,7 @@
- #delete_certificate(id: nil) ⇒ nil
+ #delete_certificate(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1143,7 +1174,7 @@
-Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-certificate
@@ -1162,7 +1193,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1180,13 +1211,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1199,15 +1230,27 @@
-205
-206
-207
+283
+284
+285
+286
+287
+288
+289
+290
+291
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 205
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 283
-def delete_certificate(id: nil)
- @client.delete("#{PATH}/#{id}/certificate")
+def delete_certificate(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/certificate'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1217,7 +1260,7 @@
- #delete_certificate!(id: nil) ⇒ nil
+ #delete_certificate!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1226,7 +1269,7 @@
-Detach the certificate attached from a reserved domain. Throw an exception if 404.
+Detach the certificate attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-certificate
@@ -1245,7 +1288,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1263,13 +1306,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1282,15 +1325,27 @@
-216
-217
-218
+301
+302
+303
+304
+305
+306
+307
+308
+309
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 216
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 301
-def delete_certificate!(id: nil)
- @client.delete("#{PATH}/#{id}/certificate", danger: true)
+def delete_certificate!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/certificate'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1300,7 +1355,7 @@
- #delete_certificate_management_policy(id: nil) ⇒ nil
+ #delete_certificate_management_policy(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1309,7 +1364,7 @@
-Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
@@ -1328,7 +1383,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1346,13 +1401,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1365,15 +1420,27 @@
-227
-228
-229
+248
+249
+250
+251
+252
+253
+254
+255
+256
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 227
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 248
-def delete_certificate_management_policy(id: nil)
- @client.delete("#{PATH}/#{id}/certificate_management_policy")
+def delete_certificate_management_policy(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/certificate_management_policy'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1383,7 +1450,7 @@
- #delete_certificate_management_policy!(id: nil) ⇒ nil
+ #delete_certificate_management_policy!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1392,7 +1459,7 @@
-Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
@@ -1411,7 +1478,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1429,13 +1496,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1448,15 +1515,27 @@
-238
-239
-240
+266
+267
+268
+269
+270
+271
+272
+273
+274
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 238
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 266
-def delete_certificate_management_policy!(id: nil)
- @client.delete("#{PATH}/#{id}/certificate_management_policy", danger: true)
+def delete_certificate_management_policy!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/certificate_management_policy'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1466,7 +1545,7 @@
- #delete_http_endpoint_config(id: nil) ⇒ nil
+ #delete_http_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1475,7 +1554,7 @@
-Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
@@ -1494,7 +1573,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1512,13 +1591,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1531,15 +1610,27 @@
-249
-250
-251
+318
+319
+320
+321
+322
+323
+324
+325
+326
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 249
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 318
-def delete_http_endpoint_config(id: nil)
- @client.delete("#{PATH}/#{id}/http_endpoint_configuration")
+def delete_http_endpoint_config(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/http_endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1549,7 +1640,7 @@
- #delete_http_endpoint_config!(id: nil) ⇒ nil
+ #delete_http_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1558,7 +1649,7 @@
-Detach the http endpoint configuration attached from a reserved domain. Throw an exception if 404.
+Detach the http endpoint configuration attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
@@ -1577,7 +1668,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1595,13 +1686,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1614,15 +1705,27 @@
-260
-261
-262
+336
+337
+338
+339
+340
+341
+342
+343
+344
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 260
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 336
-def delete_http_endpoint_config!(id: nil)
- @client.delete("#{PATH}/#{id}/http_endpoint_configuration", danger: true)
+def delete_http_endpoint_config!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/http_endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1632,7 +1735,7 @@
- #delete_https_endpoint_config(id: nil) ⇒ nil
+ #delete_https_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1641,7 +1744,7 @@
-Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
@@ -1660,7 +1763,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1678,13 +1781,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1697,15 +1800,27 @@
-271
-272
-273
+353
+354
+355
+356
+357
+358
+359
+360
+361
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 271
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 353
-def delete_https_endpoint_config(id: nil)
- @client.delete("#{PATH}/#{id}/https_endpoint_configuration")
+def delete_https_endpoint_config(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/https_endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1715,7 +1830,7 @@
- #delete_https_endpoint_config!(id: nil) ⇒ nil
+ #delete_https_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1724,7 +1839,7 @@
-Detach the https endpoint configuration attached from a reserved domain. Throw an exception if 404.
+Detach the https endpoint configuration attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
@@ -1743,7 +1858,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1761,13 +1876,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1780,15 +1895,27 @@
-282
-283
-284
+371
+372
+373
+374
+375
+376
+377
+378
+379
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 282
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 371
-def delete_https_endpoint_config!(id: nil)
- @client.delete("#{PATH}/#{id}/https_endpoint_configuration", danger: true)
+def delete_https_endpoint_config!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/https_endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1798,7 +1925,7 @@
- #get(id: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedDomain
@@ -1826,7 +1953,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1850,7 +1977,7 @@
—
-result from get request
+result from the API request
@@ -1863,17 +1990,31 @@
-91
-92
-93
-94
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 91
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 106
-def get(id: nil)
- result = @client.get("#{PATH}/#{id}")
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def get(
+ id: ""
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -1883,7 +2024,7 @@
- #get!(id: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedDomain
@@ -1892,7 +2033,7 @@
-Get the details of a reserved domain. Throw an exception if 404.
+Get the details of a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-get
@@ -1911,7 +2052,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1935,7 +2076,7 @@
—
-result from get request
+result from the API request
@@ -1948,17 +2089,31 @@
-103
-104
-105
-106
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 103
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 126
-def get!(id: nil)
- result = @client.get!("#{PATH}/#{id}")
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def get!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -2006,7 +2161,7 @@
limit
- (integer)
+ (string)
(defaults to: nil)
@@ -2046,7 +2201,7 @@
—
-result from list request
+result from the API request
@@ -2059,27 +2214,45 @@
-117
-118
-119
-120
-121
-122
-123
-124
-125
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 117
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 147
-def list(before_id: nil, limit: nil, url: nil)
- result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH)
- NgrokAPI::Models::Listable.new(
- client: self,
- result: result,
- list_property: LIST_PROPERTY,
- klass: NgrokAPI::Models::ReservedDomain
- )
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::ReservedDomain
+ )
end
@@ -2089,7 +2262,7 @@
- #update(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -2117,7 +2290,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -2217,7 +2390,7 @@
certificate_management_policy
- (string)
+ (ReservedDomainCertPolicy)
(defaults to: nil)
@@ -2244,7 +2417,7 @@
—
-result from update request
+result from the API request
@@ -2257,49 +2430,55 @@
-142
-143
-144
-145
-146
-147
-148
-149
-150
-151
-152
-153
-154
-155
-156
-157
-158
-159
-160
-161
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 142
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 179
-def update(
- id: nil,
- certificate_id: nil,
- certificate_management_policy: nil,
- description: nil,
- http_endpoint_configuration_id: nil,
- https_endpoint_configuration_id: nil,
- metadata: nil
-)
- data = build_data(
- description: description,
- metadata: ,
- http_endpoint_configuration_id: http_endpoint_configuration_id,
- https_endpoint_configuration_id: https_endpoint_configuration_id,
- certificate_id: certificate_id,
- certificate_management_policy: certificate_management_policy
- )
- result = @client.patch("#{PATH}/#{id}", data: data)
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ http_endpoint_configuration_id: nil,
+ https_endpoint_configuration_id: nil,
+ certificate_id: nil,
+ certificate_management_policy: nil
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id
+ data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id
+ data[:certificate_id] = certificate_id if certificate_id
+ data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -2309,7 +2488,7 @@
- #update!(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -2318,7 +2497,7 @@
-Update the attributes of a reserved domain. Throw an exception if 404.
+Update the attributes of a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-update
@@ -2337,7 +2516,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -2437,7 +2616,7 @@
certificate_management_policy
- (string)
+ (ReservedDomainCertPolicy)
(defaults to: nil)
@@ -2464,7 +2643,7 @@
—
-result from update request
+result from the API request
@@ -2477,49 +2656,55 @@
-176
-177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
-193
-194
-195
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 176
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 217
-def update!(
- id: nil,
- certificate_id: nil,
- certificate_management_policy: nil,
- description: nil,
- http_endpoint_configuration_id: nil,
- https_endpoint_configuration_id: nil,
- metadata: nil
-)
- data = build_data(
- description: description,
- metadata: ,
- http_endpoint_configuration_id: http_endpoint_configuration_id,
- https_endpoint_configuration_id: https_endpoint_configuration_id,
- certificate_id: certificate_id,
- certificate_management_policy: certificate_management_policy
- )
- result = @client.patch("#{PATH}/#{id}", danger: true, data: data)
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ http_endpoint_configuration_id: nil,
+ https_endpoint_configuration_id: nil,
+ certificate_id: nil,
+ certificate_management_policy: nil
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id
+ data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id
+ data[:certificate_id] = certificate_id if certificate_id
+ data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -2531,7 +2716,7 @@
diff --git a/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html b/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html
new file mode 100644
index 0000000..6392ca3
--- /dev/null
+++ b/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html
@@ -0,0 +1,1532 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ssh_certificate_authorities_client.rb
+
+
+
+
+Overview
+
+
+An SSH Certificate Authority is a pair of an SSH Certificate and its private
+
+key that can be used to sign other SSH host and user certificates.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ssh_certificate_authorities'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ssh_certificate_authorities'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new SSH Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH Certficate Authority.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH Certficate Authority Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHCertificateAuthoritiesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of SSHCertificateAuthoritiesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all SSH Certificate Authorities on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ SSHCertificateAuthoritiesClient
+
+
+
+
+
+
+
+
+Returns a new instance of SSHCertificateAuthoritiesClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Create a new SSH Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 33
+
+def create(
+ description: "",
+ metadata: "",
+ private_key_type: "",
+ elliptic_curve: "",
+ key_size: 0
+)
+ path = '/ssh_certificate_authorities'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:private_key_type] = private_key_type if private_key_type
+ data[:elliptic_curve] = elliptic_curve if elliptic_curve
+ data[:key_size] = key_size if key_size
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an SSH Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+60
+61
+62
+63
+64
+65
+66
+67
+68
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 60
+
+def delete(
+ id: ""
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+78
+79
+80
+81
+82
+83
+84
+85
+86
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 78
+
+def delete!(
+ id: ""
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Get detailed information about an SSH Certficate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 95
+
+def get(
+ id: ""
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Get detailed information about an SSH Certficate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 115
+
+def get!(
+ id: ""
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all SSH Certificate Authorities on this account
+
+
+
+
+
+
+
+
+
+
+
+
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 136
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::SSHCertificateAuthority
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Update an SSH Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 164
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Update an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 190
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/SSHCredentialsClient.html b/doc/NgrokAPI/Services/SSHCredentialsClient.html
new file mode 100644
index 0000000..e002ed7
--- /dev/null
+++ b/doc/NgrokAPI/Services/SSHCredentialsClient.html
@@ -0,0 +1,1552 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHCredentialsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::SSHCredentialsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ssh_credentials_client.rb
+
+
+
+
+Overview
+
+
+SSH Credentials are SSH public keys that can be used to start SSH tunnels
+
+via the ngrok SSH tunnel gateway.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ssh_credentials'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ssh_credentials'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", acl: [], public_key:) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new ssh_credential from an uploaded public SSH key.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an ssh_credential by ID.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an ssh_credential by ID Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an ssh_credential.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an ssh_credential Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHCredentialsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of SSHCredentialsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all ssh credentials on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an ssh_credential by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an ssh_credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ SSHCredentialsClient
+
+
+
+
+
+
+
+
+Returns a new instance of SSHCredentialsClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", acl: [], public_key:) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Create a new ssh_credential from an uploaded public SSH key. This ssh credential can be used to start new tunnels via ngrok's SSH gateway.
+
+
+
+
+
+
+
+
+
+
+
+
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 33
+
+def create(
+ description: "",
+ metadata: "",
+ acl: [],
+ public_key:
+)
+ path = '/ssh_credentials'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ data[:public_key] = public_key if public_key
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an ssh_credential by ID
+
+
+
+
+
+
+
+
+
+
+
+
+58
+59
+60
+61
+62
+63
+64
+65
+66
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 58
+
+def delete(
+ id: ""
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an ssh_credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+76
+77
+78
+79
+80
+81
+82
+83
+84
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 76
+
+def delete!(
+ id: ""
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Get detailed information about an ssh_credential
+
+
+
+
+
+
+
+
+
+
+
+
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 93
+
+def get(
+ id: ""
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Get detailed information about an ssh_credential Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 113
+
+def get!(
+ id: ""
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all ssh credentials on this account
+
+
+
+
+
+
+
+
+
+
+
+
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 134
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::SSHCredential
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Update attributes of an ssh_credential by ID
+
+
+
+
+
+
+
+
+
+
+
+
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 163
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ acl: nil
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Update attributes of an ssh_credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 192
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ acl: nil
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/SSHHostCertificatesClient.html b/doc/NgrokAPI/Services/SSHHostCertificatesClient.html
new file mode 100644
index 0000000..13eb62d
--- /dev/null
+++ b/doc/NgrokAPI/Services/SSHHostCertificatesClient.html
@@ -0,0 +1,1573 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHHostCertificatesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::SSHHostCertificatesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ssh_host_certificates_client.rb
+
+
+
+
+Overview
+
+
+SSH Host Certificates along with the corresponding private key allows an SSH
+
+server to assert its authenticity to connecting SSH clients who trust the
+SSH Certificate Authority that was used to sign the certificate.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ssh_host_certificates'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ssh_host_certificates'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new SSH Host Certificate.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH Host Certificate.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH Host Certificate Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH Host Certficate.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH Host Certficate Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHHostCertificatesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of SSHHostCertificatesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all SSH Host Certificates issued on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH Host Certificate.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH Host Certificate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ SSHHostCertificatesClient
+
+
+
+
+
+
+
+
+Returns a new instance of SSHHostCertificatesClient.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 19
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+17
+18
+19
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 17
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Create a new SSH Host Certificate
+
+
+
+
+
+
+
+
+
+
+
+
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 36
+
+def create(
+ ssh_certificate_authority_id:,
+ public_key:,
+ principals: [],
+ valid_after: "",
+ valid_until: "",
+ description: "",
+ metadata: ""
+)
+ path = '/ssh_host_certificates'
+ replacements = {
+ }
+ data = {}
+ data[:ssh_certificate_authority_id] = if
+ data[:public_key] = public_key if public_key
+ data[:principals] = principals if principals
+ data[:valid_after] = valid_after if valid_after
+ data[:valid_until] = valid_until if valid_until
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an SSH Host Certificate
+
+
+
+
+
+
+
+
+
+
+
+
+67
+68
+69
+70
+71
+72
+73
+74
+75
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 67
+
+def delete(
+ id: ""
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an SSH Host Certificate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+85
+86
+87
+88
+89
+90
+91
+92
+93
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 85
+
+def delete!(
+ id: ""
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Get detailed information about an SSH Host Certficate
+
+
+
+
+
+
+
+
+
+
+
+
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 102
+
+def get(
+ id: ""
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Get detailed information about an SSH Host Certficate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 122
+
+def get!(
+ id: ""
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all SSH Host Certificates issued on this account
+
+
+
+
+
+
+
+
+
+
+
+
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 143
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::SSHHostCertificate
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Update an SSH Host Certificate
+
+
+
+
+
+
+
+
+
+
+
+
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 171
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Update an SSH Host Certificate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 197
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/SSHUserCertificatesClient.html b/doc/NgrokAPI/Services/SSHUserCertificatesClient.html
new file mode 100644
index 0000000..23cb556
--- /dev/null
+++ b/doc/NgrokAPI/Services/SSHUserCertificatesClient.html
@@ -0,0 +1,1617 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHUserCertificatesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::SSHUserCertificatesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ssh_user_certificates_client.rb
+
+
+
+
+Overview
+
+
+SSH User Certificates are presented by SSH clients when connecting to an SSH
+
+server to authenticate their connection. The SSH server must trust the SSH
+Certificate Authority used to sign the certificate.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ssh_user_certificates'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ssh_user_certificates'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], critical_options: {}, extensions: {}, valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new SSH User Certificate.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH User Certificate.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH User Certificate Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH User Certficate.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH User Certficate Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHUserCertificatesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of SSHUserCertificatesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all SSH User Certificates issued on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH User Certificate.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH User Certificate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ SSHUserCertificatesClient
+
+
+
+
+
+
+
+
+Returns a new instance of SSHUserCertificatesClient.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/ssh_user_certificates_client.rb', line 19
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+17
+18
+19
+
+
+ # File 'lib/ngrokapi/services/ssh_user_certificates_client.rb', line 17
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], critical_options: {}, extensions: {}, valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+Create a new SSH User Certificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/NgrokAPI/Services/TlsCertificatesClient.html b/doc/NgrokAPI/Services/TLSCertificatesClient.html
similarity index 62%
rename from docs/NgrokAPI/Services/TlsCertificatesClient.html
rename to doc/NgrokAPI/Services/TLSCertificatesClient.html
index 3300974..538fc9b 100644
--- a/docs/NgrokAPI/Services/TlsCertificatesClient.html
+++ b/doc/NgrokAPI/Services/TLSCertificatesClient.html
@@ -4,7 +4,7 @@
- Class: NgrokAPI::Services::TlsCertificatesClient
+ Class: NgrokAPI::Services::TLSCertificatesClient
— Documentation by YARD 0.9.26
@@ -15,7 +15,7 @@
@@ -39,7 +39,7 @@
Index (T) »
NgrokAPI » Services
»
- TlsCertificatesClient
+ TLSCertificatesClient
@@ -59,7 +59,7 @@
- Class: NgrokAPI::Services::TlsCertificatesClient
+ Class: NgrokAPI::Services::TLSCertificatesClient
@@ -74,7 +74,7 @@
- Object
- - NgrokAPI::Services::TlsCertificatesClient
+ - NgrokAPI::Services::TLSCertificatesClient
show all
@@ -102,7 +102,13 @@
Overview
-A client for interacting with the tls_certificates API
+TLS Certificates are pairs of x509 certificates and their matching private
+
+key that can be used to terminate TLS traffic. TLS certificates are unused
+until they are attached to a Domain. TLS Certificates may also be
+provisioned by ngrok automatically for domains on which you have enabled
+automated certificate provisioning.
+
ngrok.com/docs/api#api-tls-certificates
@@ -121,6 +127,22 @@
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/tls_certificates'
+
- LIST_PROPERTY =
@@ -137,22 +159,6 @@
'tls_certificates'
- - PATH =
-
-
-
-
The API path for tls certificates
-
-
-
-
-
-
- '/tls_certificates'
-
@@ -207,7 +213,7 @@
-
- #create(certificate_pem: '', description: '', metadata: '', private_key_pem: '') ⇒ NgrokAPI::Models::TlsCertificate
+ #create(description: "", metadata: "", certificate_pem:, private_key_pem:) ⇒ NgrokAPI::Models::TLSCertificate
@@ -231,7 +237,7 @@
-
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -246,7 +252,7 @@
-
Delete a TLS certificate by ID.
+Delete a TLS certificate.
@@ -255,7 +261,7 @@
-
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -270,7 +276,7 @@
-
Delete a TLS certificate by ID.
+Delete a TLS certificate Throws an exception if API error.
@@ -279,7 +285,7 @@
-
- #get(id: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #get(id: "") ⇒ NgrokAPI::Models::TLSCertificate
@@ -294,7 +300,7 @@
-
Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate.
@@ -303,7 +309,7 @@
-
- #get!(id: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #get!(id: "") ⇒ NgrokAPI::Models::TLSCertificate
@@ -318,7 +324,7 @@
-
Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate Throws an exception if API error.
@@ -327,7 +333,7 @@
-
- #initialize(client:) ⇒ TlsCertificatesClient
+ #initialize(client:) ⇒ TLSCertificatesClient
@@ -344,7 +350,7 @@
-
A new instance of TlsCertificatesClient.
+A new instance of TLSCertificatesClient.
@@ -377,7 +383,7 @@
-
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate
@@ -401,7 +407,7 @@
-
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate
@@ -416,7 +422,7 @@
-
Update attributes of a TLS Certificate by ID.
+Update attributes of a TLS Certificate by ID Throws an exception if API error.
@@ -431,7 +437,7 @@
- #initialize(client:) ⇒ TlsCertificatesClient
+ #initialize(client:) ⇒ TLSCertificatesClient
@@ -440,7 +446,7 @@
-Returns a new instance of TlsCertificatesClient.
+Returns a new instance of TLSCertificatesClient.
@@ -454,15 +460,15 @@
-17
-18
-19
+21
+22
+23
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 17
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 21
-def initialize(client:)
- @client = client
+def initialize(client:)
+ @client = client
end
@@ -502,12 +508,12 @@
-15
-16
-17
+19
+20
+21
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 15
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 19
def client
@client
@@ -527,7 +533,7 @@
- #create(certificate_pem: '', description: '', metadata: '', private_key_pem: '') ⇒ NgrokAPI::Models::TlsCertificate
+ #create(description: "", metadata: "", certificate_pem:, private_key_pem:) ⇒ NgrokAPI::Models::TLSCertificate
@@ -536,7 +542,7 @@
-Upload a new TLS certificate.
+Upload a new TLS certificate
ngrok.com/docs/api#api-tls-certificates-create
@@ -555,7 +561,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -573,7 +579,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -591,8 +597,6 @@
(string)
- (defaults to: '')
-
—
@@ -609,8 +613,6 @@
(string)
- (defaults to: '')
-
—
@@ -627,13 +629,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from create request
+result from the API request
@@ -646,8 +648,6 @@
-33
-34
35
36
37
@@ -660,25 +660,31 @@
44
45
46
-47
+47
+48
+49
+50
+51
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 33
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 35
-def create(
- certificate_pem: '',
- description: '',
- metadata: '',
- private_key_pem: ''
-)
- data = {
- certificate_pem: certificate_pem,
- description: description,
- metadata: ,
- private_key_pem: private_key_pem,
- }
- result = @client.post(PATH, data: data)
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def create(
+ description: "",
+ metadata: "",
+ certificate_pem:,
+ private_key_pem:
+)
+ path = '/tls_certificates'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:certificate_pem] = certificate_pem if certificate_pem
+ data[:private_key_pem] = private_key_pem if private_key_pem
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -688,7 +694,7 @@
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -697,7 +703,7 @@
-Delete a TLS certificate by ID.
+Delete a TLS certificate
ngrok.com/docs/api#api-tls-certificates-delete
@@ -716,7 +722,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -734,13 +740,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -753,15 +759,27 @@
-57
-58
-59
+60
+61
+62
+63
+64
+65
+66
+67
+68
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 57
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 60
-def delete(id: nil)
- @client.delete("#{PATH}/#{id}")
+def delete(
+ id: ""
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -771,7 +789,7 @@
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -780,7 +798,7 @@
-Delete a TLS certificate by ID. Throw an exception if 404.
+Delete a TLS certificate Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-delete
@@ -799,7 +817,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -817,13 +835,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -836,15 +854,27 @@
-68
-69
-70
+78
+79
+80
+81
+82
+83
+84
+85
+86
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 68
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 78
-def delete!(id: nil)
- @client.delete("#{PATH}/#{id}", danger: true)
+def delete!(
+ id: ""
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -854,7 +884,7 @@
- #get(id: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #get(id: "") ⇒ NgrokAPI::Models::TLSCertificate
@@ -863,7 +893,7 @@
-Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate
ngrok.com/docs/api#api-tls-certificates-get
@@ -882,7 +912,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -900,13 +930,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from get request
+result from the API request
@@ -919,17 +949,31 @@
-79
-80
-81
-82
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 79
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 95
-def get(id: nil)
- result = @client.get("#{PATH}/#{id}")
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def get(
+ id: ""
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -939,7 +983,7 @@
- #get!(id: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #get!(id: "") ⇒ NgrokAPI::Models::TLSCertificate
@@ -948,7 +992,7 @@
-Get detailed information about a TLS certificate by ID. Throw an exception if 404.
+Get detailed information about a TLS certificate Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-get
@@ -967,7 +1011,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -985,13 +1029,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from get request
+result from the API request
@@ -1004,17 +1048,31 @@
-91
-92
-93
-94
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 91
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 115
-def get!(id: nil)
- result = @client.get("#{PATH}/#{id}", danger: true)
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def get!(
+ id: ""
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -1033,7 +1091,7 @@
-List all TLS certificates on this account.
+List all TLS certificates on this account
ngrok.com/docs/api#api-tls-certificates-list
@@ -1062,7 +1120,7 @@
limit
- (integer)
+ (string)
(defaults to: nil)
@@ -1102,7 +1160,7 @@
—
-the result listable
+result from the API request
@@ -1115,27 +1173,45 @@
-105
-106
-107
-108
-109
-110
-111
-112
-113
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 105
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 136
-def list(before_id: nil, limit: nil, url: nil)
- result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH)
- NgrokAPI::Models::Listable.new(
- client: self,
- result: result,
- list_property: LIST_PROPERTY,
- klass: NgrokAPI::Models::TlsCertificate
- )
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::TLSCertificate
+ )
end
@@ -1145,7 +1221,7 @@
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate
@@ -1154,7 +1230,7 @@
-Update attributes of a TLS Certificate by ID.
+Update attributes of a TLS Certificate by ID
ngrok.com/docs/api#api-tls-certificates-update
@@ -1173,7 +1249,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -1222,13 +1298,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from update request
+result from the API request
@@ -1241,31 +1317,39 @@
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 126
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 164
-def update(
- id: nil,
- description: nil,
- metadata: nil
-)
- data = {}
- data[:description] = description if description
- data[:metadata] = if
- result = @client.patch("#{PATH}/#{id}", data: data)
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -1275,7 +1359,7 @@
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate
@@ -1284,7 +1368,7 @@
-Update attributes of a TLS Certificate by ID. Throw an exception if 404.
+Update attributes of a TLS Certificate by ID Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-update
@@ -1303,7 +1387,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -1352,13 +1436,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from update request
+result from the API request
@@ -1371,31 +1455,39 @@
-147
-148
-149
-150
-151
-152
-153
-154
-155
-156
-157
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 147
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 190
-def update!(
- id: nil,
- description: nil,
- metadata: nil
-)
- data = {}
- data[:description] = description if description
- data[:metadata] = if
- result = @client.patch("#{PATH}/#{id}", danger: true, data: data)
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -1407,7 +1499,7 @@
diff --git a/doc/NgrokAPI/Services/TunnelSessionsClient.html b/doc/NgrokAPI/Services/TunnelSessionsClient.html
new file mode 100644
index 0000000..1ee54ad
--- /dev/null
+++ b/doc/NgrokAPI/Services/TunnelSessionsClient.html
@@ -0,0 +1,1468 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::TunnelSessionsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::TunnelSessionsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::TunnelSessionsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/tunnel_sessions_client.rb
+
+
+
+
+Overview
+
+
+Tunnel Sessions represent instances of ngrok agents or SSH reverse tunnel
+
+sessions that are running and connected to the ngrok service. Each tunnel
+session can include one or more Tunnels.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'tunnel_sessions'
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/tunnel_sessions'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the detailed status of a tunnel session by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the detailed status of a tunnel session by ID Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ TunnelSessionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of TunnelSessionsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all online tunnel sessions running on this account.
+
+
+
+
+
+ -
+
+
+ #restart(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent to restart.
+
+
+
+
+
+ -
+
+
+ #restart!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent to restart.
+
+
+
+
+
+ -
+
+
+ #stop(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent that started this tunnel session to exit.
+
+
+
+
+
+ -
+
+
+ #stop!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent that started this tunnel session to exit.
+
+
+
+
+
+ -
+
+
+ #update(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent to update itself to the latest version.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent to update itself to the latest version.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ TunnelSessionsClient
+
+
+
+
+
+
+
+
+Returns a new instance of TunnelSessionsClient.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 19
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+17
+18
+19
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 17
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+Get the detailed status of a tunnel session by ID
+
+
+
+
+
+
+
+
+
+
+
+
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 58
+
+def get(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::TunnelSession.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+Get the detailed status of a tunnel session by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 78
+
+def get!(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::TunnelSession.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all online tunnel sessions running on this account.
+
+
+
+
+
+
+
+
+
+
+
+
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 32
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::TunnelSession
+ )
+end
+
+
+
+
+
+
+
+
+ #restart(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID.
+
+
+
+
+
+
+
+
+
+
+
+
+100
+101
+102
+103
+104
+105
+106
+107
+108
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 100
+
+def restart(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}/restart'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #restart!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+121
+122
+123
+124
+125
+126
+127
+128
+129
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 121
+
+def restart!(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}/restart'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #stop(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent that started this tunnel session to exit.
+
+
+
+
+
+
+
+
+
+
+
+
+139
+140
+141
+142
+143
+144
+145
+146
+147
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 139
+
+def stop(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}/stop'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #stop!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent that started this tunnel session to exit. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+158
+159
+160
+161
+162
+163
+164
+165
+166
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 158
+
+def stop!(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}/stop'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #update(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent to update itself to the latest version. After this call completes successfully, the ngrok agent will be in the update process. A caller should wait some amount of time to allow the update to complete (at least 10 seconds) before making a call to the Restart endpoint to request that the agent restart itself to start using the new code. This call will never update an ngrok agent to a new major version which could cause breaking compatibility issues. If you wish to update to a new major version, that must be done manually. Still, please be aware that updating your ngrok agent could break your integration. This call will fail in any of the following circumstances: there is no update available the ngrok agent's configuration disabled update checks the agent is currently in process of updating the agent has already successfully updated but has not yet been restarted
+
+
+
+
+
+
+
+
+
+
+
+
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 186
+
+def update(
+ id: "",
+ version: ""
+)
+ path = '/tunnel_sessions/%{id}/update'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent to update itself to the latest version. After this call completes successfully, the ngrok agent will be in the update process. A caller should wait some amount of time to allow the update to complete (at least 10 seconds) before making a call to the Restart endpoint to request that the agent restart itself to start using the new code. This call will never update an ngrok agent to a new major version which could cause breaking compatibility issues. If you wish to update to a new major version, that must be done manually. Still, please be aware that updating your ngrok agent could break your integration. This call will fail in any of the following circumstances: there is no update available the ngrok agent's configuration disabled update checks the agent is currently in process of updating the agent has already successfully updated but has not yet been restarted Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 216
+
+def update!(
+ id: "",
+ version: ""
+)
+ path = '/tunnel_sessions/%{id}/update'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/TunnelsClient.html b/doc/NgrokAPI/Services/TunnelsClient.html
new file mode 100644
index 0000000..6c54768
--- /dev/null
+++ b/doc/NgrokAPI/Services/TunnelsClient.html
@@ -0,0 +1,513 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::TunnelsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::TunnelsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::TunnelsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/tunnels_client.rb
+
+
+
+
+Overview
+
+
+Tunnels provide endpoints to access services exposed by a running ngrok
+
+agent tunnel session or an SSH reverse tunnel session.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'tunnels'
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/tunnels'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ TunnelsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of TunnelsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all online tunnels currently running on the account.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ TunnelsClient
+
+
+
+
+
+
+
+
+Returns a new instance of TunnelsClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/tunnels_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/tunnels_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all online tunnels currently running on the account.
+
+
+
+
+
+
+
+
+
+
+
+
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/tunnels_client.rb', line 31
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::Tunnel
+ )
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/_index.html b/doc/_index.html
index 58709cf..0f5f21e 100644
--- a/doc/_index.html
+++ b/doc/_index.html
@@ -81,14 +81,56 @@
-
- ApiKey
+ APIKey
(NgrokAPI::Models)
-
- ApiKeysClient
+ APIKeysClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ AWSAuth
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AWSCredentials
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AWSRole
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AbuseReport
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AbuseReportHostname
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AbuseReportsClient
(NgrokAPI::Services)
@@ -102,6 +144,20 @@
- C
+ -
+ CertificateAuthoritiesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ CertificateAuthority
+
+ (NgrokAPI::Models)
+
+
+
-
Client
@@ -109,6 +165,20 @@
+ -
+ Credential
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ CredentialsClient
+
+ (NgrokAPI::Services)
+
+
+
@@ -117,6 +187,34 @@
- E
+ -
+ EndpointCircuitBreaker
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointCircuitBreakerModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointCompression
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointCompressionModuleClient
+
+ (NgrokAPI::Services)
+
+
+
-
EndpointConfiguration
@@ -131,6 +229,209 @@
+ -
+ EndpointIPPolicy
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointIPPolicyModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointIPPolicyMutate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointLogging
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointLoggingModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointLoggingMutate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointMutualTLS
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointMutualTLSModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointMutualTLSMutate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuth
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthFacebook
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthGitHub
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthGoogle
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthMicrosoft
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointOAuthProvider
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOIDC
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOIDCModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointRequestHeaders
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointRequestHeadersModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointResponseHeaders
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointResponseHeadersModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointSAML
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointSAMLModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointSAMLMutate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointTLSTermination
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointTLSTerminationModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointWebhookValidation
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointWebhookValidationModuleClient
+
+ (NgrokAPI::Services)
+
+
+
-
Error
@@ -145,6 +446,97 @@
+ -
+ EventDestination
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventDestinationsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EventSource
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventSourceReplace
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventSourcesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EventStream
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventStreamsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EventSubscription
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventSubscriptionsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EventTarget
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventTargetCloudwatchLogs
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventTargetFirehose
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventTargetKinesis
+
+ (NgrokAPI::Models)
+
+
+
@@ -164,6 +556,70 @@
+
+ - I
+
+
+ -
+ IPPoliciesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ IPPolicy
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ IPPolicyRule
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ IPPolicyRulesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ IPRestriction
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ IPRestrictionsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ IPWhitelistClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ IPWhitelistEntry
+
+ (NgrokAPI::Models)
+
+
+
+
+
+
+
- L
@@ -194,6 +650,9 @@
+
+
+
- N
@@ -214,9 +673,6 @@
-
-
-
- P
@@ -236,6 +692,27 @@
- R
+ -
+ Ref
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedAddr
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedAddrsClient
+
+ (NgrokAPI::Services)
+
+
+
-
ReservedDomain
@@ -243,6 +720,34 @@
+ -
+ ReservedDomainCertJob
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedDomainCertNSTarget
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedDomainCertPolicy
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedDomainCertStatus
+
+ (NgrokAPI::Models)
+
+
+
-
ReservedDomainsClient
@@ -258,6 +763,62 @@
- S
+ -
+ SSHCertificateAuthoritiesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ SSHCertificateAuthority
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ SSHCredential
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ SSHCredentialsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ SSHHostCertificate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ SSHHostCertificatesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ SSHUserCertificate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ SSHUserCertificatesClient
+
+ (NgrokAPI::Services)
+
+
+
-
Services
@@ -274,14 +835,49 @@
-
- TlsCertificate
+ TLSCertificate
(NgrokAPI::Models)
-
- TlsCertificatesClient
+ TLSCertificateSANs
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ TLSCertificatesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ Tunnel
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ TunnelSession
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ TunnelSessionsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ TunnelsClient
(NgrokAPI::Services)
@@ -299,7 +895,7 @@
diff --git a/doc/class_list.html b/doc/class_list.html
index 7662b29..f520d89 100644
--- a/doc/class_list.html
+++ b/doc/class_list.html
@@ -43,7 +43,7 @@
-- NgrokAPITop Level Namespace
- Client < ObjectNgrokAPI
- Error < StandardErrorNgrokAPI
- ErrorsNgrokAPI
- NotFoundError < ErrorNgrokAPI::Errors
- HttpClient < ObjectNgrokAPI
- ModelsNgrokAPI
- ApiKey < ObjectNgrokAPI::Models
- EndpointConfiguration < ObjectNgrokAPI::Models
- Listable < ObjectNgrokAPI::Models
- ReservedDomain < ObjectNgrokAPI::Models
- TlsCertificate < ObjectNgrokAPI::Models
- PagedIterator < ObjectNgrokAPI
- ServicesNgrokAPI
- ApiKeysClient < ObjectNgrokAPI::Services
- EndpointConfigurationsClient < ObjectNgrokAPI::Services
- ReservedDomainsClient < ObjectNgrokAPI::Services
- TlsCertificatesClient < ObjectNgrokAPI::Services
+- NgrokAPITop Level Namespace
- Client < ObjectNgrokAPI
- Error < StandardErrorNgrokAPI
- ErrorsNgrokAPI
- NotFoundError < ErrorNgrokAPI::Errors
- HttpClient < ObjectNgrokAPI
- ModelsNgrokAPI
- APIKey < ObjectNgrokAPI::Models
- AWSAuth < ObjectNgrokAPI::Models
- AWSCredentials < ObjectNgrokAPI::Models
- AWSRole < ObjectNgrokAPI::Models
- AbuseReport < ObjectNgrokAPI::Models
- AbuseReportHostname < ObjectNgrokAPI::Models
- CertificateAuthority < ObjectNgrokAPI::Models
- Credential < ObjectNgrokAPI::Models
- EndpointCircuitBreaker < ObjectNgrokAPI::Models
- EndpointCompression < ObjectNgrokAPI::Models
- EndpointConfiguration < ObjectNgrokAPI::Models
- EndpointIPPolicy < ObjectNgrokAPI::Models
- EndpointIPPolicyMutate < ObjectNgrokAPI::Models
- EndpointLogging < ObjectNgrokAPI::Models
- EndpointLoggingMutate < ObjectNgrokAPI::Models
- EndpointMutualTLS < ObjectNgrokAPI::Models
- EndpointMutualTLSMutate < ObjectNgrokAPI::Models
- EndpointOAuth < ObjectNgrokAPI::Models
- EndpointOAuthFacebook < ObjectNgrokAPI::Models
- EndpointOAuthGitHub < ObjectNgrokAPI::Models
- EndpointOAuthGoogle < ObjectNgrokAPI::Models
- EndpointOAuthMicrosoft < ObjectNgrokAPI::Models
- EndpointOAuthProvider < ObjectNgrokAPI::Models
- EndpointOIDC < ObjectNgrokAPI::Models
- EndpointRequestHeaders < ObjectNgrokAPI::Models
- EndpointResponseHeaders < ObjectNgrokAPI::Models
- EndpointSAML < ObjectNgrokAPI::Models
- EndpointSAMLMutate < ObjectNgrokAPI::Models
- EndpointTLSTermination < ObjectNgrokAPI::Models
- EndpointWebhookValidation < ObjectNgrokAPI::Models
- EventDestination < ObjectNgrokAPI::Models
- EventSource < ObjectNgrokAPI::Models
- EventSourceReplace < ObjectNgrokAPI::Models
- EventStream < ObjectNgrokAPI::Models
- EventSubscription < ObjectNgrokAPI::Models
- EventTarget < ObjectNgrokAPI::Models
- EventTargetCloudwatchLogs < ObjectNgrokAPI::Models
- EventTargetFirehose < ObjectNgrokAPI::Models
- EventTargetKinesis < ObjectNgrokAPI::Models
- IPPolicy < ObjectNgrokAPI::Models
- IPPolicyRule < ObjectNgrokAPI::Models
- IPRestriction < ObjectNgrokAPI::Models
- IPWhitelistEntry < ObjectNgrokAPI::Models
- Listable < ObjectNgrokAPI::Models
- Ref < ObjectNgrokAPI::Models
- ReservedAddr < ObjectNgrokAPI::Models
- ReservedDomain < ObjectNgrokAPI::Models
- ReservedDomainCertJob < ObjectNgrokAPI::Models
- ReservedDomainCertNSTarget < ObjectNgrokAPI::Models
- ReservedDomainCertPolicy < ObjectNgrokAPI::Models
- ReservedDomainCertStatus < ObjectNgrokAPI::Models
- SSHCertificateAuthority < ObjectNgrokAPI::Models
- SSHCredential < ObjectNgrokAPI::Models
- SSHHostCertificate < ObjectNgrokAPI::Models
- SSHUserCertificate < ObjectNgrokAPI::Models
- TLSCertificate < ObjectNgrokAPI::Models
- TLSCertificateSANs < ObjectNgrokAPI::Models
- Tunnel < ObjectNgrokAPI::Models
- TunnelSession < ObjectNgrokAPI::Models
- PagedIterator < ObjectNgrokAPI
- ServicesNgrokAPI
- APIKeysClient < ObjectNgrokAPI::Services
- AbuseReportsClient < ObjectNgrokAPI::Services
- CertificateAuthoritiesClient < ObjectNgrokAPI::Services
- CredentialsClient < ObjectNgrokAPI::Services
- EndpointCircuitBreakerModuleClient < ObjectNgrokAPI::Services
- EndpointCompressionModuleClient < ObjectNgrokAPI::Services
- EndpointConfigurationsClient < ObjectNgrokAPI::Services
- EndpointIPPolicyModuleClient < ObjectNgrokAPI::Services
- EndpointLoggingModuleClient < ObjectNgrokAPI::Services
- EndpointMutualTLSModuleClient < ObjectNgrokAPI::Services
- EndpointOAuthModuleClient < ObjectNgrokAPI::Services
- EndpointOIDCModuleClient < ObjectNgrokAPI::Services
- EndpointRequestHeadersModuleClient < ObjectNgrokAPI::Services
- EndpointResponseHeadersModuleClient < ObjectNgrokAPI::Services
- EndpointSAMLModuleClient < ObjectNgrokAPI::Services
- EndpointTLSTerminationModuleClient < ObjectNgrokAPI::Services
- EndpointWebhookValidationModuleClient < ObjectNgrokAPI::Services
- EventDestinationsClient < ObjectNgrokAPI::Services
- EventSourcesClient < ObjectNgrokAPI::Services
- EventStreamsClient < ObjectNgrokAPI::Services
- EventSubscriptionsClient < ObjectNgrokAPI::Services
- IPPoliciesClient < ObjectNgrokAPI::Services
- IPPolicyRulesClient < ObjectNgrokAPI::Services
- IPRestrictionsClient < ObjectNgrokAPI::Services
- IPWhitelistClient < ObjectNgrokAPI::Services
- ReservedAddrsClient < ObjectNgrokAPI::Services
- ReservedDomainsClient < ObjectNgrokAPI::Services
- SSHCertificateAuthoritiesClient < ObjectNgrokAPI::Services
- SSHCredentialsClient < ObjectNgrokAPI::Services
- SSHHostCertificatesClient < ObjectNgrokAPI::Services
- SSHUserCertificatesClient < ObjectNgrokAPI::Services
- TLSCertificatesClient < ObjectNgrokAPI::Services
- TunnelSessionsClient < ObjectNgrokAPI::Services
- TunnelsClient < ObjectNgrokAPI::Services
diff --git a/doc/file.README.html b/doc/file.README.html
index 7c6280b..250e81f 100644
--- a/doc/file.README.html
+++ b/doc/file.README.html
@@ -116,7 +116,7 @@
diff --git a/doc/index.html b/doc/index.html
index f813551..2e93085 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -116,7 +116,7 @@
diff --git a/doc/method_list.html b/doc/method_list.html
index df71183..34bae34 100644
--- a/doc/method_list.html
+++ b/doc/method_list.html
@@ -46,8 +46,40 @@
-
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::Tunnel
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::APIKey
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::AWSAuth
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::AWSRole
@@ -62,21 +94,269 @@
-
-
-
+
+ #==
+ NgrokAPI::Models::AbuseReport
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventSource
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventTarget
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::TunnelSession
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::AWSCredentials
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomain
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::TLSCertificate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointLogging
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventDestination
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointCompression
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventSourceReplace
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventTargetKinesis
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::AbuseReportHostname
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventTargetFirehose
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::TLSCertificateSANs
+
+
+
+
+ -
#==
NgrokAPI::Models::EndpointConfiguration
@@ -84,6 +364,238 @@
+
-
+
+ #==
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointLoggingMutate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomainCertJob
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointIPPolicyMutate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointMutualTLSMutate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomainCertPolicy
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomainCertStatus
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventTargetCloudwatchLogs
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomainCertNSTarget
+
+
+
+
+ -
+
+ #abuse_reports
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #acl
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #acl
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
+
+ #action
+ NgrokAPI::Models::IPPolicy
+
+
+
+
+ -
+
+ #add
+ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+ -
+
+ #add
+ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+ -
+
+ #addr
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #agent_version
+ NgrokAPI::Models::TunnelSession
+
+
+
+
+ -
+
+ #allow_idp_initiated
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #allow_idp_initiated
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
-
#api_key
@@ -102,13 +614,117 @@
-
- #base_url
- NgrokAPI::HttpClient
+ #assertion_consumer_service_url
+ NgrokAPI::Models::EndpointSAML
-
+
+ #auth
+ NgrokAPI::Models::EventTargetKinesis
+
+
+
+
+ -
+
+ #auth
+ NgrokAPI::Models::EventTargetFirehose
+
+
+
+
+ -
+
+ #auth
+ NgrokAPI::Models::EventTargetCloudwatchLogs
+
+
+
+
+ -
+
+ #auth_check_interval
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+ -
+
+ #authority
+ NgrokAPI::Models::ReservedDomainCertPolicy
+
+
+
+
+ -
+
+ #authorized_groups
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #authorized_groups
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #aws_access_key_id
+ NgrokAPI::Models::AWSCredentials
+
+
+
+
+ -
+
+ #aws_secret_access_key
+ NgrokAPI::Models::AWSCredentials
+
+
+
+
+ -
+
+ #backend
+ NgrokAPI::Models::EndpointConfiguration
+
+
+
+
+ -
+
+ #base_url
+ NgrokAPI::HttpClient
+
+
+
+
+ -
+
+ #basic_auth
+ NgrokAPI::Models::EndpointConfiguration
+
+
+
+
+ -
+
+ #ca_pem
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
#certificate
NgrokAPI::Models::ReservedDomain
@@ -116,6 +732,46 @@
+
-
+
+ #certificate
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #certificate
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #certificate_authorities
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #certificate_authorities
+ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+ -
+
+ #certificate_authority_ids
+ NgrokAPI::Models::EndpointMutualTLSMutate
+
+
+
+
-
#certificate_management_policy
@@ -134,13 +790,53 @@
-
- #client
- NgrokAPI::Models::ApiKey
+ #certificate_pem
+ NgrokAPI::Models::TLSCertificate
-
+
+ #cidr
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #circuit_breaker
+ NgrokAPI::Models::EndpointConfiguration
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::Ref
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::Tunnel
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::APIKey
+
+
+
+
+ -
#client
NgrokAPI::PagedIterator
@@ -148,7 +844,23 @@
+
-
+
+ #client
+ NgrokAPI::Models::AWSAuth
+
+
+
+
-
+
+ #client
+ NgrokAPI::Models::AWSRole
+
+
+
+
+ -
#client
NgrokAPI::Models::Listable
@@ -156,6 +868,126 @@
+
-
+
+ #client
+ NgrokAPI::Models::IPPolicy
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::AbuseReport
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventSource
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventTarget
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::TunnelSession
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::AWSCredentials
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
-
#client
@@ -166,16 +998,176 @@
-
-
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::TunnelsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventDestination
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointCompression
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventSourceReplace
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventTargetKinesis
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::AbuseReportHostname
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventTargetFirehose
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::TLSCertificateSANs
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::IPWhitelistClient
@@ -190,21 +1182,301 @@
-
-
-
+
+ #client
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointLoggingMutate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedDomainCertJob
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::TunnelSessionsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointIPPolicyMutate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::ReservedDomainsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::TLSCertificatesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointMutualTLSMutate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedDomainCertPolicy
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedDomainCertStatus
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EventDestinationsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventTargetCloudwatchLogs
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedDomainCertNSTarget
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+
+
+ -
#client
NgrokAPI::Services::EndpointConfigurationsClient
@@ -212,6 +1484,174 @@
+
-
+
+ #client
+ NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #cloudwatch_logs
+ NgrokAPI::Models::EventTarget
+
+
+
+
-
#cname_target
@@ -222,13 +1662,133 @@
-
- #create
- NgrokAPI::Services::ApiKeysClient
+ #compression
+ NgrokAPI::Models::EndpointConfiguration
-
+
+ #cookie_prefix
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #cookie_prefix
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #cookie_prefix
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+ -
+
+ #cookie_prefix
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::AbuseReportsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
#create
NgrokAPI::Services::ReservedDomainsClient
@@ -236,10 +1796,50 @@
+
-
+
+ #create
+ NgrokAPI::Services::TLSCertificatesClient
+
+
+
+
-
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::CertificateAuthoritiesClient
@@ -254,13 +1854,85 @@
-
- #created_at
- NgrokAPI::Models::ApiKey
+ #create
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
-
+
+ #created_at
+ NgrokAPI::Models::APIKey
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::IPPolicy
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::AbuseReport
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
#created_at
NgrokAPI::Models::ReservedDomain
@@ -268,15 +1940,63 @@
+
-
+
+ #created_at
+ NgrokAPI::Models::TLSCertificate
+
+
+
+
-
- #created_at
- NgrokAPI::Models::TlsCertificate
+ #created_at
+ NgrokAPI::Models::EventDestination
-
+
+ #created_at
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
#created_at
NgrokAPI::Models::EndpointConfiguration
@@ -284,7 +2004,55 @@
+
-
+
+ #created_at
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
-
+
+ #credential
+ NgrokAPI::Models::TunnelSession
+
+
+
+
+ -
+
+ #credentials
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #creds
+ NgrokAPI::Models::AWSAuth
+
+
+
+
+ -
+
+ #critical_options
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #debug
+ NgrokAPI::Models::EventTarget
+
+
+
+
+ -
#delete
NgrokAPI::HttpClient
@@ -292,10 +2060,66 @@
+
-
+
+ #delete
+ NgrokAPI::Models::APIKey
+
+
+
+
-
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::SSHCredential
@@ -310,21 +2134,93 @@
-
-
-
+
+ #delete
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
#delete
NgrokAPI::Models::EndpointConfiguration
@@ -332,6 +2228,62 @@
+
-
+
+ #delete
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
-
#delete
@@ -342,8 +2294,72 @@
-
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EventDestinationsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::CertificateAuthoritiesClient
@@ -358,13 +2374,165 @@
-
-
+
+ #delete
+ NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
#delete!
NgrokAPI::Services::ReservedDomainsClient
@@ -372,15 +2540,79 @@
+
-
+
+ #delete!
+ NgrokAPI::Services::TLSCertificatesClient
+
+
+
+
-
-
+
+ #delete!
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+
+
+ -
#delete!
NgrokAPI::Services::EndpointConfigurationsClient
@@ -388,10 +2620,82 @@
+
-
+
+ #delete!
+ NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
-
- #delete_certificate
- NgrokAPI::Models::ReservedDomain
+ #delete!
+ NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
@@ -413,14 +2717,6 @@
-
-
- #delete_certificate_management_policy
- NgrokAPI::Models::ReservedDomain
-
-
-
-
- -
#delete_certificate_management_policy
NgrokAPI::Services::ReservedDomainsClient
@@ -428,7 +2724,7 @@
-
-
+
-
#delete_certificate_management_policy!
NgrokAPI::Services::ReservedDomainsClient
@@ -436,10 +2732,18 @@
+
-
+
+ #delete_endpoint_config
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
-
- #delete_http_endpoint_config
- NgrokAPI::Models::ReservedDomain
+ #delete_endpoint_config!
+ NgrokAPI::Services::ReservedAddrsClient
@@ -461,14 +2765,6 @@
-
-
- #delete_https_endpoint_config
- NgrokAPI::Models::ReservedDomain
-
-
-
-
- -
#delete_https_endpoint_config
NgrokAPI::Services::ReservedDomainsClient
@@ -476,7 +2772,7 @@
-
-
+
-
#delete_https_endpoint_config!
NgrokAPI::Services::ReservedDomainsClient
@@ -484,15 +2780,79 @@
+
-
+
+ #delivery_stream_arn
+ NgrokAPI::Models::EventTargetFirehose
+
+
+
+
-
- #description
- NgrokAPI::Models::ApiKey
+ #description
+ NgrokAPI::Models::APIKey
-
+
+ #description
+ NgrokAPI::Models::IPPolicy
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
#description
NgrokAPI::Models::ReservedDomain
@@ -500,15 +2860,63 @@
+
-
+
+ #description
+ NgrokAPI::Models::TLSCertificate
+
+
+
+
-
- #description
- NgrokAPI::Models::TlsCertificate
+ #description
+ NgrokAPI::Models::EventDestination
-
+
+ #description
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
#description
NgrokAPI::Models::EndpointConfiguration
@@ -516,7 +2924,39 @@
+
-
+
+ #description
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
-
+
+ #destination_ids
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #destinations
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #dns_names
+ NgrokAPI::Models::TLSCertificateSANs
+
+
+
+
+ -
#domain
NgrokAPI::Models::ReservedDomain
@@ -524,6 +2964,206 @@
+
-
+
+ #email_addresses
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #email_addresses
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #email_addresses
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #email_addresses
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #email_domains
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #email_domains
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #email_domains
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #email_domains
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointLogging
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointCompression
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointLoggingMutate
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointIPPolicyMutate
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointMutualTLSMutate
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+ -
+
+ #endpoint_configuration
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
-
#endpoint_configurations
@@ -532,6 +3172,198 @@
+
-
+
+ #enforced
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #entity_id
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #error_code
+ NgrokAPI::Models::ReservedDomainCertJob
+
+
+
+
+ -
+
+ #error_threshold_percentage
+ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+ -
+
+ #event_destinations
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #event_sources
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #event_stream_ids
+ NgrokAPI::Models::EndpointLoggingMutate
+
+
+
+
+ -
+
+ #event_streams
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #event_streams
+ NgrokAPI::Models::EndpointLogging
+
+
+
+
+ -
+
+ #event_subscriptions
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #event_type
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #extended_key_usages
+ NgrokAPI::Models::TLSCertificate
+
+
+
+
+ -
+
+ #extended_key_usages
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
+
+ #extensions
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #facebook
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #fields
+ NgrokAPI::Models::EventSource
+
+
+
+
+ -
+
+ #fields
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #fields
+ NgrokAPI::Models::EventSourceReplace
+
+
+
+
+ -
+
+ #filter
+ NgrokAPI::Models::EventSource
+
+
+
+
+ -
+
+ #filter
+ NgrokAPI::Models::EventSourceReplace
+
+
+
+
+ -
+
+ #firehose
+ NgrokAPI::Models::EventTarget
+
+
+
+
+ -
+
+ #force_authn
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #force_authn
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #format
+ NgrokAPI::Models::EventDestination
+
+
+
+
-
#get
@@ -542,13 +3374,101 @@
-
-
+
+ #get
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::AbuseReportsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::TunnelSessionsClient
+
+
+
+
+ -
#get
NgrokAPI::Services::ReservedDomainsClient
@@ -556,15 +3476,79 @@
+
-
+
+ #get
+ NgrokAPI::Services::TLSCertificatesClient
+
+
+
+
-
-
+
+ #get
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+
+
+ -
#get
NgrokAPI::Services::EndpointConfigurationsClient
@@ -572,10 +3556,178 @@
+
-
+
+ #get
+ NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
-
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::AbuseReportsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::TunnelSessionsClient
@@ -590,8 +3742,72 @@
-
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EventDestinationsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::CertificateAuthoritiesClient
@@ -604,6 +3820,86 @@
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
-
#get_next
@@ -612,6 +3908,38 @@
+
-
+
+ #github
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #google
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #hostname
+ NgrokAPI::Models::AbuseReportHostname
+
+
+
+
+ -
+
+ #hostnames
+ NgrokAPI::Models::AbuseReport
+
+
+
+
-
#http_endpoint_configuration
@@ -630,13 +3958,101 @@
-
-
Class: NgrokAPI::Services::APIKeysClient
@@ -74,7 +74,7 @@
- Object
- - NgrokAPI::Services::ApiKeysClient
+ - NgrokAPI::Services::APIKeysClient
show all
@@ -102,7 +102,13 @@
Overview
-A client for interacting with the api_keys API
+API Keys are used to authenticate to the (ngrok.com/docs/api#authentication)ngrok
+
+API. You may use the API itself
+to provision and manage API Keys but you'll need to provision your first API
+key from the (https://dashboard.ngrok.com/api/keys)API Keys page on your
+ngrok.com dashboard.
+
ngrok.com/docs/api#api-api-keys
@@ -121,6 +127,22 @@
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/api_keys'
+
- LIST_PROPERTY =
@@ -137,22 +159,6 @@
'keys'
- - PATH =
-
-
-
-
The API path for API keys
-
-
-
-
-
-
- '/api_keys'
-
@@ -207,7 +213,7 @@
-
- #create(description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #create(description: "", metadata: "") ⇒ NgrokAPI::Models::APIKey
@@ -231,7 +237,7 @@
-
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -255,7 +261,7 @@
-
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -270,7 +276,7 @@
-
Delete an API key by ID.
+Delete an API key by ID Throws an exception if API error.
@@ -279,7 +285,7 @@
-
- #get(id: nil) ⇒ NgrokAPI::Models::ApiKey
+ #get(id: "") ⇒ NgrokAPI::Models::APIKey
@@ -303,7 +309,7 @@
-
- #get!(id: nil) ⇒ NgrokAPI::Models::ApiKey
+ #get!(id: "") ⇒ NgrokAPI::Models::APIKey
@@ -327,7 +333,7 @@
-
- #initialize(client:) ⇒ ApiKeysClient
+ #initialize(client:) ⇒ APIKeysClient
@@ -344,7 +350,7 @@
-
A new instance of ApiKeysClient.
+A new instance of APIKeysClient.
@@ -377,7 +383,7 @@
-
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey
@@ -401,7 +407,7 @@
-
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey
@@ -431,7 +437,7 @@
- #initialize(client:) ⇒ ApiKeysClient
+ #initialize(client:) ⇒ APIKeysClient
@@ -440,7 +446,7 @@
-Returns a new instance of ApiKeysClient.
+Returns a new instance of APIKeysClient.
@@ -454,15 +460,15 @@
-17
-18
-19
+22
+23
+24
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 17
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 22
-def initialize(client:)
- @client = client
+def initialize(client:)
+ @client = client
end
@@ -502,12 +508,12 @@
-15
-16
-17
+20
+21
+22
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 15
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 20
def client
@client
@@ -527,7 +533,7 @@
- #create(description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #create(description: "", metadata: "") ⇒ NgrokAPI::Models::APIKey
@@ -555,7 +561,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -573,7 +579,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -591,13 +597,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from create request
+result from the API request
@@ -610,17 +616,35 @@
-31
-32
-33
-34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 31
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 35
-def create(description: nil, metadata: nil)
- result = @client.post(PATH, data: build_data(description: description, metadata: ))
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def create(
+ description: "",
+ metadata: ""
+)
+ path = '/api_keys'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -630,7 +654,7 @@
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -639,7 +663,7 @@
-Delete an API key by ID.
+Delete an API key by ID
ngrok.com/docs/api#api-api-keys-delete
@@ -658,7 +682,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -676,13 +700,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -695,15 +719,27 @@
-44
-45
-46
+56
+57
+58
+59
+60
+61
+62
+63
+64
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 44
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 56
-def delete(id: nil)
- @client.delete("#{PATH}/#{id}")
+def delete(
+ id: ""
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -713,7 +749,7 @@
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -722,7 +758,7 @@
-Delete an API key by ID. Throw an exception if 404.
+Delete an API key by ID Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-delete
@@ -741,7 +777,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -759,13 +795,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -778,15 +814,27 @@
-55
-56
-57
+74
+75
+76
+77
+78
+79
+80
+81
+82
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 55
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 74
-def delete!(id: nil)
- @client.delete("#{PATH}/#{id}", danger: true)
+def delete!(
+ id: ""
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -796,7 +844,7 @@
- #get(id: nil) ⇒ NgrokAPI::Models::ApiKey
+ #get(id: "") ⇒ NgrokAPI::Models::APIKey
@@ -824,7 +872,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -842,13 +890,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from get request
+result from the API request
@@ -861,17 +909,31 @@
-66
-67
-68
-69
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 66
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 91
-def get(id: nil)
- result = @client.get("#{PATH}/#{id}")
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def get(
+ id: ""
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -881,7 +943,7 @@
- #get!(id: nil) ⇒ NgrokAPI::Models::ApiKey
+ #get!(id: "") ⇒ NgrokAPI::Models::APIKey
@@ -890,7 +952,7 @@
-Get the details of an API key by ID. Throw an exception if 404.
+Get the details of an API key by ID. Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-get
@@ -909,7 +971,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -927,13 +989,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from get request
+result from the API request
@@ -946,17 +1008,31 @@
-78
-79
-80
-81
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 78
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 111
-def get!(id: nil)
- result = @client.get("#{PATH}/#{id}", danger: true)
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def get!(
+ id: ""
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -975,7 +1051,7 @@
-List all API keys owned by this account.
+List all API keys owned by this account
ngrok.com/docs/api#api-api-keys-list
@@ -1004,7 +1080,7 @@
limit
- (integer)
+ (string)
(defaults to: nil)
@@ -1044,7 +1120,7 @@
—
-the result listable
+result from the API request
@@ -1057,27 +1133,45 @@
-92
-93
-94
-95
-96
-97
-98
-99
-100
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 92
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 132
-def list(before_id: nil, limit: nil, url: nil)
- result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH)
- NgrokAPI::Models::Listable.new(
- client: self,
- result: result,
- list_property: LIST_PROPERTY,
- klass: NgrokAPI::Models::ApiKey
- )
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::APIKey
+ )
end
@@ -1087,7 +1181,7 @@
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey
@@ -1115,7 +1209,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -1164,13 +1258,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from update request
+result from the API request
@@ -1183,17 +1277,39 @@
-113
-114
-115
-116
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 113
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 160
-def update(id: nil, description: nil, metadata: nil)
- result = @client.patch("#{PATH}/#{id}", data: build_data(description: description, metadata: ))
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -1203,7 +1319,7 @@
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey
@@ -1212,7 +1328,7 @@
-Update attributes of an API key by ID.
+Update attributes of an API key by ID. Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-update
@@ -1231,7 +1347,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -1280,13 +1396,13 @@
-
- (NgrokAPI::Models::ApiKey)
+ (NgrokAPI::Models::APIKey)
—
-
result from update request
+result from the API request
@@ -1299,19 +1415,39 @@
-127
-128
-129
-130
-131
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
- # File 'lib/ngrokapi/services/api_keys_client.rb', line 127
+ # File 'lib/ngrokapi/services/api_keys_client.rb', line 186
-def update!(id: nil, description: nil, metadata: nil)
- data = build_data(description: description, metadata: )
- result = @client.patch("#{PATH}/#{id}", danger: true, data: data)
- NgrokAPI::Models::ApiKey.new(client: self, result: result)
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/api_keys/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::APIKey.new(client: self, result: result)
end
@@ -1323,7 +1459,7 @@
diff --git a/doc/NgrokAPI/Services/AbuseReportsClient.html b/doc/NgrokAPI/Services/AbuseReportsClient.html
new file mode 100644
index 0000000..3c78ab7
--- /dev/null
+++ b/doc/NgrokAPI/Services/AbuseReportsClient.html
@@ -0,0 +1,723 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::AbuseReportsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::AbuseReportsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::AbuseReportsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/abuse_reports_client.rb
+
+
+
+
+Overview
+
+
+Abuse Reports allow you to submit take-down requests for URLs hosted by
+
+ngrok that violate ngrok's terms of service.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/abuse_reports'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(urls:, metadata: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Creates a new abuse report which will be reviewed by our system and abuse response team.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the detailed status of abuse report by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the detailed status of abuse report by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ AbuseReportsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of AbuseReportsClient.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ AbuseReportsClient
+
+
+
+
+
+
+
+
+Returns a new instance of AbuseReportsClient.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 16
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+14
+15
+16
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 14
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(urls:, metadata: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+Creates a new abuse report which will be reviewed by our system and abuse response team. This API is only available to authorized accounts. Contact abuse@ngrok.com to request access
+
+
+
+
+
+
+
+
+
+
+
+
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 30
+
+def create(
+ urls:,
+ metadata: ""
+)
+ path = '/abuse_reports'
+ replacements = {
+ }
+ data = {}
+ data[:urls] = urls if urls
+ data[:metadata] = if
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::AbuseReport.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+Get the detailed status of abuse report by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 51
+
+def get(
+ id: ""
+)
+ path = '/abuse_reports/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::AbuseReport.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+Get the detailed status of abuse report by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+
+
+ # File 'lib/ngrokapi/services/abuse_reports_client.rb', line 71
+
+def get!(
+ id: ""
+)
+ path = '/abuse_reports/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::AbuseReport.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html b/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html
new file mode 100644
index 0000000..c88da70
--- /dev/null
+++ b/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html
@@ -0,0 +1,1489 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::CertificateAuthoritiesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/certificate_authorities_client.rb
+
+
+
+
+Overview
+
+
+Certificate Authorities are x509 certificates that are used to sign other
+
+x509 certificates. Attach a Certificate Authority to the Mutual TLS module
+to verify that the TLS certificate presented by a client has been signed by
+this CA. Certificate Authorities are used only for mTLS validation only and
+thus a private key is not included in the resource.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/certificate_authorities'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'certificate_authorities'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", ca_pem:) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Upload a new Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a Certificate Authority Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about a certficate authority.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about a certficate authority Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ CertificateAuthoritiesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of CertificateAuthoritiesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all Certificate Authority on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of a Certificate Authority by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of a Certificate Authority by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ CertificateAuthoritiesClient
+
+
+
+
+
+
+
+
+Returns a new instance of CertificateAuthoritiesClient.
+
+
+
+
+
+
+
+
+
+
+21
+22
+23
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 21
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 19
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", ca_pem:) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Upload a new Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 34
+
+def create(
+ description: "",
+ metadata: "",
+ ca_pem:
+)
+ path = '/certificate_authorities'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:ca_pem] = ca_pem if ca_pem
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+57
+58
+59
+60
+61
+62
+63
+64
+65
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 57
+
+def delete(
+ id: ""
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a Certificate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+75
+76
+77
+78
+79
+80
+81
+82
+83
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 75
+
+def delete!(
+ id: ""
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Get detailed information about a certficate authority
+
+
+
+
+
+
+
+
+
+
+
+
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 92
+
+def get(
+ id: ""
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Get detailed information about a certficate authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 112
+
+def get!(
+ id: ""
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all Certificate Authority on this account
+
+
+
+
+
+
+
+
+
+
+
+
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 133
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::CertificateAuthority
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Update attributes of a Certificate Authority by ID
+
+
+
+
+
+
+
+
+
+
+
+
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 161
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+Update attributes of a Certificate Authority by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+
+
+ # File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 187
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::CertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/CredentialsClient.html b/doc/NgrokAPI/Services/CredentialsClient.html
new file mode 100644
index 0000000..455ee34
--- /dev/null
+++ b/doc/NgrokAPI/Services/CredentialsClient.html
@@ -0,0 +1,1534 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::CredentialsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::CredentialsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::CredentialsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/credentials_client.rb
+
+
+
+
+Overview
+
+
+Tunnel Credentials are ngrok agent authtokens. They authorize the ngrok
+
+agent to connect the ngrok service as your account. They are installed with
+the ngrok authtoken command or by specifying it in the ngrok.yml
+configuration file with the authtoken property.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/credentials'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'credentials'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", acl: []) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new tunnel authtoken credential.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a tunnel authtoken credential by ID.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about a tunnel authtoken credential.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about a tunnel authtoken credential Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ CredentialsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of CredentialsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all tunnel authtoken credentials on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an tunnel authtoken credential by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ CredentialsClient
+
+
+
+
+
+
+
+
+Returns a new instance of CredentialsClient.
+
+
+
+
+
+
+
+
+
+
+20
+21
+22
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 20
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 18
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", acl: []) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Create a new tunnel authtoken credential. This authtoken credential can be used to start a new tunnel session. The response to this API call is the only time the generated token is available. If you need it for future use, you must save it securely yourself.
+
+
+
+
+
+
+
+
+
+
+
+
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 36
+
+def create(
+ description: "",
+ metadata: "",
+ acl: []
+)
+ path = '/credentials'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a tunnel authtoken credential by ID
+
+
+
+
+
+
+
+
+
+
+
+
+59
+60
+61
+62
+63
+64
+65
+66
+67
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 59
+
+def delete(
+ id: ""
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+77
+78
+79
+80
+81
+82
+83
+84
+85
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 77
+
+def delete!(
+ id: ""
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Get detailed information about a tunnel authtoken credential
+
+
+
+
+
+
+
+
+
+
+
+
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 94
+
+def get(
+ id: ""
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Get detailed information about a tunnel authtoken credential Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 114
+
+def get!(
+ id: ""
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all tunnel authtoken credentials on this account
+
+
+
+
+
+
+
+
+
+
+
+
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 135
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::Credential
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Update attributes of an tunnel authtoken credential by ID
+
+
+
+
+
+
+
+
+
+
+
+
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 164
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ acl: nil
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+Update attributes of an tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+
+
+ # File 'lib/ngrokapi/services/credentials_client.rb', line 193
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ acl: nil
+)
+ path = '/credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::Credential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html b/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html
new file mode 100644
index 0000000..6cc5c4c
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/circuit_breaker'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointCircuitBreakerModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointCircuitBreakerModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointCircuitBreakerModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointCircuitBreakerModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/circuit_breaker'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html b/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html
new file mode 100644
index 0000000..1781e2d
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointCompressionModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_compression_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/compression'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointCompressionModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointCompressionModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointCompressionModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointCompressionModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointCompression.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointCompression.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointCompression.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/compression'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointCompression.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointConfigurationsClient.html b/doc/NgrokAPI/Services/EndpointConfigurationsClient.html
index e1f4631..60ad299 100644
--- a/doc/NgrokAPI/Services/EndpointConfigurationsClient.html
+++ b/doc/NgrokAPI/Services/EndpointConfigurationsClient.html
@@ -102,7 +102,11 @@
Overview
-A client for interacting with the endpoint_configuration API
+Endpoint Configurations are a reusable group of modules that encapsulate how
+
+traffic to a domain or address is handled. Endpoint configurations are only
+applied to Domains and TCP Addresses they have been attached to.
+
ngrok.com/docs/api#api-endpoint-configurations
@@ -121,6 +125,22 @@
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations'
+
- LIST_PROPERTY =
@@ -137,22 +157,6 @@
'endpoint_configurations'
- - PATH =
-
-
-
-
The API path for endpoint configurations
-
-
-
-
-
-
- '/endpoint_configurations'
-
@@ -207,7 +211,7 @@
-
- #create(description: '', metadata: '', type: '', circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #create(type: "", description: "", metadata: "", basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -231,7 +235,7 @@
-
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -255,7 +259,7 @@
-
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -279,7 +283,7 @@
-
- #get(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -294,7 +298,7 @@
-
Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration.
@@ -303,7 +307,7 @@
-
- #get!(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -318,7 +322,7 @@
-
Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration Throws an exception if API error.
@@ -377,7 +381,7 @@
-
- #update(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -401,7 +405,7 @@
-
- #update!(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update!(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -454,15 +458,15 @@
-17
-18
-19
+19
+20
+21
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 17
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 19
-def initialize(client:)
- @client = client
+def initialize(client:)
+ @client = client
end
@@ -502,12 +506,12 @@
-15
-16
-17
+17
+18
+19
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 15
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 17
def client
@client
@@ -527,7 +531,7 @@
- #create(description: '', metadata: '', type: '', circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #create(type: "", description: "", metadata: "", basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -547,6 +551,24 @@
Parameters:
+ -
+
+ type
+
+
+ (string)
+
+
+ (defaults to: "")
+
+
+ —
+
+
they type of traffic this endpoint configuration can be applied to. one of: “http“, “https“, “tcp“
+
+
+
+
-
description
@@ -555,7 +577,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -573,7 +595,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -583,30 +605,12 @@
- -
-
- type
-
-
- (string)
-
-
- (defaults to: '')
-
-
- —
-
-
they type of traffic this endpoint configuration can be applied to. one of: “http“, “https“, “tcp“
-
-
-
-
-
circuit_breaker
- (string)
+ (EndpointCircuitBreaker)
(defaults to: nil)
@@ -614,7 +618,7 @@
—
-
circuit breaker module configuration
+circuit breaker module configuration or “null“
@@ -624,7 +628,7 @@
compression
- (string)
+ (EndpointCompression)
(defaults to: nil)
@@ -632,7 +636,7 @@
—
-compression module configuration
+compression module configuration or “null“
@@ -642,7 +646,7 @@
request_headers
- (string)
+ (EndpointRequestHeaders)
(defaults to: nil)
@@ -650,7 +654,7 @@
—
-request headers module configuration
+request headers module configuration or “null“
@@ -660,7 +664,7 @@
response_headers
- (string)
+ (EndpointResponseHeaders)
(defaults to: nil)
@@ -668,7 +672,7 @@
—
-response headers module configuration
+response headers module configuration or “null“
@@ -678,7 +682,7 @@
ip_policy
- (string)
+ (EndpointIPPolicyMutate)
(defaults to: nil)
@@ -686,7 +690,7 @@
—
-ip policy module configuration
+ip policy module configuration or “null“
@@ -696,7 +700,7 @@
mutual_tls
- (string)
+ (EndpointMutualTLSMutate)
(defaults to: nil)
@@ -704,7 +708,7 @@
—
-mutual TLS module configuration
+mutual TLS module configuration or “null“
@@ -714,7 +718,7 @@
tls_termination
- (string)
+ (EndpointTLSTermination)
(defaults to: nil)
@@ -722,7 +726,7 @@
—
-TLS termination module configuration
+TLS termination module configuration or “null“
@@ -732,7 +736,7 @@
webhook_validation
- (string)
+ (EndpointWebhookValidation)
(defaults to: nil)
@@ -740,7 +744,7 @@
—
-webhook validation module configuration
+webhook validation module configuration or “null“
@@ -750,7 +754,7 @@
oauth
- (string)
+ (EndpointOAuth)
(defaults to: nil)
@@ -758,7 +762,7 @@
—
-oauth module configuration
+oauth module configuration or “null“
@@ -768,7 +772,7 @@
logging
- (string)
+ (EndpointLoggingMutate)
(defaults to: nil)
@@ -776,7 +780,7 @@
—
-logging module configuration
+logging module configuration or “null“
@@ -786,7 +790,7 @@
saml
- (string)
+ (EndpointSAMLMutate)
(defaults to: nil)
@@ -794,7 +798,7 @@
—
-saml module configuration
+saml module configuration or “null“
@@ -804,7 +808,7 @@
oidc
- (string)
+ (EndpointOIDC)
(defaults to: nil)
@@ -812,7 +816,7 @@
—
-oidc module configuration
+oidc module configuration or “null“
@@ -831,7 +835,7 @@
—
-result from create request
+result from the API request
@@ -880,47 +884,55 @@
77
78
79
-80
+80
+81
+82
+83
+84
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 44
-def create(
- description: '',
- metadata: '',
- type: '',
- circuit_breaker: nil,
- compression: nil,
- request_headers: nil,
- response_headers: nil,
- ip_policy: nil,
- mutual_tls: nil,
- tls_termination: nil,
- webhook_validation: nil,
- oauth: nil,
- logging: nil,
- saml: nil,
- oidc: nil
-)
- data = {
- type: type,
- description: description,
- metadata: ,
- circuit_breaker: circuit_breaker,
- compression: compression,
- request_headers: request_headers,
- response_headers: response_headers,
- ip_policy: ip_policy,
- mutual_tls: mutual_tls,
- tls_termination: tls_termination,
- webhook_validation: webhook_validation,
- oauth: oauth,
- logging: logging,
- saml: saml,
- oidc: oidc,
- }
- result = @client.post(PATH, data: data)
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def create(
+ type: "",
+ description: "",
+ metadata: "",
+ basic_auth: nil,
+ circuit_breaker: nil,
+ compression: nil,
+ request_headers: nil,
+ response_headers: nil,
+ ip_policy: nil,
+ mutual_tls: nil,
+ tls_termination: nil,
+ webhook_validation: nil,
+ oauth: nil,
+ logging: nil,
+ saml: nil,
+ oidc: nil,
+ backend: nil
+)
+ path = '/endpoint_configurations'
+ replacements = {
+ }
+ data = {}
+ data[:type] = type if type
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:circuit_breaker] = circuit_breaker if circuit_breaker
+ data[:compression] = compression if compression
+ data[:request_headers] = request_headers if request_headers
+ data[:response_headers] = response_headers if response_headers
+ data[:ip_policy] = ip_policy if ip_policy
+ data[:mutual_tls] = mutual_tls if mutual_tls
+ data[:tls_termination] = tls_termination if tls_termination
+ data[:webhook_validation] = webhook_validation if webhook_validation
+ data[:oauth] = oauth if oauth
+ data[:logging] = logging if logging
+ data[:saml] = saml if saml
+ data[:oidc] = oidc if oidc
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -930,7 +942,7 @@
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -958,7 +970,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -976,13 +988,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -995,15 +1007,27 @@
-92
-93
-94
+94
+95
+96
+97
+98
+99
+100
+101
+102
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 92
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 94
-def delete(id: nil)
- @client.delete("#{PATH}/#{id}")
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1013,7 +1037,7 @@
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1022,7 +1046,7 @@
-Delete an endpoint configuration. Throw an exception if 404. This operation will fail if the endpoint configuration is still referenced by any reserved domain or reserved address.
+Delete an endpoint configuration. This operation will fail if the endpoint configuration is still referenced by any reserved domain or reserved address. Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-delete
@@ -1041,7 +1065,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1059,13 +1083,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1078,15 +1102,27 @@
-105
-106
-107
+113
+114
+115
+116
+117
+118
+119
+120
+121
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 105
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 113
-def delete!(id: nil)
- @client.delete("#{PATH}/#{id}", danger: true)
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1096,7 +1132,7 @@
- #get(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -1105,7 +1141,7 @@
-Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration
ngrok.com/docs/api#api-endpoint-configurations-get
@@ -1124,7 +1160,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1148,7 +1184,7 @@
—
-result from get request
+result from the API request
@@ -1161,17 +1197,31 @@
-116
-117
-118
-119
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 116
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 130
-def get(id: nil)
- result = @client.get("#{PATH}/#{id}")
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -1181,7 +1231,7 @@
- #get!(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -1190,7 +1240,7 @@
-Returns detailed information about an endpoint configuration by ID. Throw an execption if 404.
+Returns detailed information about an endpoint configuration Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-get
@@ -1209,7 +1259,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1233,7 +1283,7 @@
—
-result from get request
+result from the API request
@@ -1246,17 +1296,31 @@
-128
-129
-130
-131
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 128
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 150
-def get!(id: nil)
- result = @client.get("#{PATH}/#{id}", danger: true)
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -1275,7 +1339,7 @@
-Returns a list of all endpoint configurations on this account.
+Returns a list of all endpoint configurations on this account
ngrok.com/docs/api#api-endpoint-configurations-list
@@ -1304,7 +1368,7 @@
limit
- (integer)
+ (string)
(defaults to: nil)
@@ -1344,7 +1408,7 @@
—
-the result listable
+result from the API request
@@ -1357,27 +1421,45 @@
-142
-143
-144
-145
-146
-147
-148
-149
-150
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 142
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 171
-def list(before_id: nil, limit: nil, url: nil)
- result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH)
- NgrokAPI::Models::Listable.new(
- client: self,
- result: result,
- list_property: LIST_PROPERTY,
- klass: NgrokAPI::Models::EndpointConfiguration
- )
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::EndpointConfiguration
+ )
end
@@ -1387,7 +1469,7 @@
- #update(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -1415,7 +1497,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1466,7 +1548,7 @@
circuit_breaker
- (string)
+ (EndpointCircuitBreaker)
(defaults to: nil)
@@ -1474,7 +1556,7 @@
—
-circuit breaker module configuration
+circuit breaker module configuration or “null“
@@ -1484,7 +1566,7 @@
compression
- (string)
+ (EndpointCompression)
(defaults to: nil)
@@ -1492,7 +1574,7 @@
—
-compression module configuration
+compression module configuration or “null“
@@ -1502,7 +1584,7 @@
request_headers
- (string)
+ (EndpointRequestHeaders)
(defaults to: nil)
@@ -1510,7 +1592,7 @@
—
-request headers module configuration
+request headers module configuration or “null“
@@ -1520,7 +1602,7 @@
response_headers
- (string)
+ (EndpointResponseHeaders)
(defaults to: nil)
@@ -1528,7 +1610,7 @@
—
-response headers module configuration
+response headers module configuration or “null“
@@ -1538,7 +1620,7 @@
ip_policy
- (string)
+ (EndpointIPPolicyMutate)
(defaults to: nil)
@@ -1546,7 +1628,7 @@
—
-ip policy module configuration
+ip policy module configuration or “null“
@@ -1556,7 +1638,7 @@
mutual_tls
- (string)
+ (EndpointMutualTLSMutate)
(defaults to: nil)
@@ -1564,7 +1646,7 @@
—
-mutual TLS module configuration
+mutual TLS module configuration or “null“
@@ -1574,7 +1656,7 @@
tls_termination
- (string)
+ (EndpointTLSTermination)
(defaults to: nil)
@@ -1582,7 +1664,7 @@
—
-TLS termination module configuration
+TLS termination module configuration or “null“
@@ -1592,7 +1674,7 @@
webhook_validation
- (string)
+ (EndpointWebhookValidation)
(defaults to: nil)
@@ -1600,7 +1682,7 @@
—
-webhook validation module configuration
+webhook validation module configuration or “null“
@@ -1610,7 +1692,7 @@
oauth
- (string)
+ (EndpointOAuth)
(defaults to: nil)
@@ -1618,7 +1700,7 @@
—
-oauth module configuration
+oauth module configuration or “null“
@@ -1628,7 +1710,7 @@
logging
- (string)
+ (EndpointLoggingMutate)
(defaults to: nil)
@@ -1636,7 +1718,7 @@
—
-logging module configuration
+logging module configuration or “null“
@@ -1646,7 +1728,7 @@
saml
- (string)
+ (EndpointSAMLMutate)
(defaults to: nil)
@@ -1654,7 +1736,7 @@
—
-saml module configuration
+saml module configuration or “null“
@@ -1664,7 +1746,7 @@
oidc
- (string)
+ (EndpointOIDC)
(defaults to: nil)
@@ -1672,7 +1754,7 @@
—
-oidc module configuration
+oidc module configuration or “null“
@@ -1691,7 +1773,7 @@
—
-result from update request
+result from the API request
@@ -1704,81 +1786,91 @@
-177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
-193
-194
-195
-196
-197
-198
-199
-200
-201
-202
-203
-204
-205
-206
-207
-208
-209
-210
-211
-212
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 177
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 214
-def update(
- id: nil,
- description: nil,
- metadata: nil,
- circuit_breaker: nil,
- compression: nil,
- request_headers: nil,
- response_headers: nil,
- ip_policy: nil,
- mutual_tls: nil,
- tls_termination: nil,
- webhook_validation: nil,
- oauth: nil,
- logging: nil,
- saml: nil,
- oidc: nil
-)
- data = build_data(
- description: description,
- metadata: ,
- circuit_breaker: circuit_breaker,
- compression: compression,
- request_headers: request_headers,
- response_headers: response_headers,
- ip_policy: ip_policy,
- mutual_tls: mutual_tls,
- tls_termination: tls_termination,
- webhook_validation: webhook_validation,
- oauth: oauth,
- logging: logging,
- saml: saml,
- oidc: oidc
- )
- result = @client.patch("#{PATH}/#{id}", data: data)
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ basic_auth: nil,
+ circuit_breaker: nil,
+ compression: nil,
+ request_headers: nil,
+ response_headers: nil,
+ ip_policy: nil,
+ mutual_tls: nil,
+ tls_termination: nil,
+ webhook_validation: nil,
+ oauth: nil,
+ logging: nil,
+ saml: nil,
+ oidc: nil,
+ backend: nil
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:circuit_breaker] = circuit_breaker if circuit_breaker
+ data[:compression] = compression if compression
+ data[:request_headers] = request_headers if request_headers
+ data[:response_headers] = response_headers if response_headers
+ data[:ip_policy] = ip_policy if ip_policy
+ data[:mutual_tls] = mutual_tls if mutual_tls
+ data[:tls_termination] = tls_termination if tls_termination
+ data[:webhook_validation] = webhook_validation if webhook_validation
+ data[:oauth] = oauth if oauth
+ data[:logging] = logging if logging
+ data[:saml] = saml if saml
+ data[:oidc] = oidc if oidc
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -1788,7 +1880,7 @@
- #update!(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
+ #update!(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration
@@ -1797,7 +1889,7 @@
-Updates an endpoint configuration. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. Throw an exception if 404.
+Updates an endpoint configuration. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-update
@@ -1816,7 +1908,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1867,7 +1959,7 @@
circuit_breaker
- (string)
+ (EndpointCircuitBreaker)
(defaults to: nil)
@@ -1875,7 +1967,7 @@
—
-circuit breaker module configuration
+circuit breaker module configuration or “null“
@@ -1885,7 +1977,7 @@
compression
- (string)
+ (EndpointCompression)
(defaults to: nil)
@@ -1893,7 +1985,7 @@
—
-compression module configuration
+compression module configuration or “null“
@@ -1903,7 +1995,7 @@
request_headers
- (string)
+ (EndpointRequestHeaders)
(defaults to: nil)
@@ -1911,7 +2003,7 @@
—
-request headers module configuration
+request headers module configuration or “null“
@@ -1921,7 +2013,7 @@
response_headers
- (string)
+ (EndpointResponseHeaders)
(defaults to: nil)
@@ -1929,7 +2021,7 @@
—
-response headers module configuration
+response headers module configuration or “null“
@@ -1939,7 +2031,7 @@
ip_policy
- (string)
+ (EndpointIPPolicyMutate)
(defaults to: nil)
@@ -1947,7 +2039,7 @@
—
-ip policy module configuration
+ip policy module configuration or “null“
@@ -1957,7 +2049,7 @@
mutual_tls
- (string)
+ (EndpointMutualTLSMutate)
(defaults to: nil)
@@ -1965,7 +2057,7 @@
—
-mutual TLS module configuration
+mutual TLS module configuration or “null“
@@ -1975,7 +2067,7 @@
tls_termination
- (string)
+ (EndpointTLSTermination)
(defaults to: nil)
@@ -1983,7 +2075,7 @@
—
-TLS termination module configuration
+TLS termination module configuration or “null“
@@ -1993,7 +2085,7 @@
webhook_validation
- (string)
+ (EndpointWebhookValidation)
(defaults to: nil)
@@ -2001,7 +2093,7 @@
—
-webhook validation module configuration
+webhook validation module configuration or “null“
@@ -2011,7 +2103,7 @@
oauth
- (string)
+ (EndpointOAuth)
(defaults to: nil)
@@ -2019,7 +2111,7 @@
—
-oauth module configuration
+oauth module configuration or “null“
@@ -2029,7 +2121,7 @@
logging
- (string)
+ (EndpointLoggingMutate)
(defaults to: nil)
@@ -2037,7 +2129,7 @@
—
-logging module configuration
+logging module configuration or “null“
@@ -2047,7 +2139,7 @@
saml
- (string)
+ (EndpointSAMLMutate)
(defaults to: nil)
@@ -2055,7 +2147,7 @@
—
-saml module configuration
+saml module configuration or “null“
@@ -2065,7 +2157,7 @@
oidc
- (string)
+ (EndpointOIDC)
(defaults to: nil)
@@ -2073,7 +2165,7 @@
—
-oidc module configuration
+oidc module configuration or “null“
@@ -2092,7 +2184,7 @@
—
-result from update request
+result from the API request
@@ -2105,81 +2197,91 @@
-238
-239
-240
-241
-242
-243
-244
-245
-246
-247
-248
-249
-250
-251
-252
-253
-254
-255
-256
-257
-258
-259
-260
-261
-262
-263
-264
-265
-266
-267
-268
-269
-270
-271
-272
-273
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 238
+ # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 281
-def update!(
- id: nil,
- description: nil,
- metadata: nil,
- circuit_breaker: nil,
- compression: nil,
- request_headers: nil,
- response_headers: nil,
- ip_policy: nil,
- mutual_tls: nil,
- tls_termination: nil,
- webhook_validation: nil,
- oauth: nil,
- logging: nil,
- saml: nil,
- oidc: nil
-)
- data = build_data(
- description: description,
- metadata: ,
- circuit_breaker: circuit_breaker,
- compression: compression,
- request_headers: request_headers,
- response_headers: response_headers,
- ip_policy: ip_policy,
- mutual_tls: mutual_tls,
- tls_termination: tls_termination,
- webhook_validation: webhook_validation,
- oauth: oauth,
- logging: logging,
- saml: saml,
- oidc: oidc
- )
- result = @client.patch("#{PATH}/#{id}", danger: true, data: data)
- NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ basic_auth: nil,
+ circuit_breaker: nil,
+ compression: nil,
+ request_headers: nil,
+ response_headers: nil,
+ ip_policy: nil,
+ mutual_tls: nil,
+ tls_termination: nil,
+ webhook_validation: nil,
+ oauth: nil,
+ logging: nil,
+ saml: nil,
+ oidc: nil,
+ backend: nil
+)
+ path = '/endpoint_configurations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:circuit_breaker] = circuit_breaker if circuit_breaker
+ data[:compression] = compression if compression
+ data[:request_headers] = request_headers if request_headers
+ data[:response_headers] = response_headers if response_headers
+ data[:ip_policy] = ip_policy if ip_policy
+ data[:mutual_tls] = mutual_tls if mutual_tls
+ data[:tls_termination] = tls_termination if tls_termination
+ data[:webhook_validation] = webhook_validation if webhook_validation
+ data[:oauth] = oauth if oauth
+ data[:logging] = logging if logging
+ data[:saml] = saml if saml
+ data[:oidc] = oidc if oidc
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result)
end
@@ -2191,7 +2293,7 @@
diff --git a/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html b/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html
new file mode 100644
index 0000000..0db28bd
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_ip_policy_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/ip_policy'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointIPPolicyModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointIPPolicyModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointIPPolicyModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointIPPolicyModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/ip_policy'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html b/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html
new file mode 100644
index 0000000..cffac98
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointLoggingModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_logging_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/logging'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointLoggingModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointLoggingModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointLoggingModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointLoggingModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointLogging.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointLogging.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointLogging.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/logging'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointLogging.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html b/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html
new file mode 100644
index 0000000..2f65fa5
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/mutual_tls'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointMutualTLSModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointMutualTLSModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointMutualTLSModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointMutualTLSModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/mutual_tls'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html b/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html
new file mode 100644
index 0000000..d433864
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointOAuthModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_o_auth_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/oauth'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointOAuthModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointOAuthModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointOAuthModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointOAuthModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointOAuth.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointOAuth.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointOAuth.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/oauth'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointOAuth.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html b/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html
new file mode 100644
index 0000000..7b242bf
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointOIDCModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_oidc_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/oidc'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointOIDCModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointOIDCModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointOIDCModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointOIDCModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointOIDC.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointOIDC.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointOIDC.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/oidc'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointOIDC.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html b/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html
new file mode 100644
index 0000000..ab460b4
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_request_headers_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/request_headers'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointRequestHeadersModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointRequestHeadersModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointRequestHeadersModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointRequestHeadersModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/request_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html b/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html
new file mode 100644
index 0000000..5e4bece
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_response_headers_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/response_headers'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointResponseHeadersModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointResponseHeadersModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointResponseHeadersModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointResponseHeadersModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/response_headers'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html b/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html
new file mode 100644
index 0000000..4c8db30
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointSAMLModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_saml_module_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/saml'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointSAMLModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointSAMLModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointSAMLModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointSAMLModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointSAML.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointSAML.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointSAML.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/saml'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointSAML.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html b/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html
new file mode 100644
index 0000000..7f904f8
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_tls_termination_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/tls_termination'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointTLSTerminationModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointTLSTerminationModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointTLSTerminationModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointTLSTerminationModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/tls_termination'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html b/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html
new file mode 100644
index 0000000..719f591
--- /dev/null
+++ b/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb
+
+
+
+
+Overview
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/endpoint_configurations/%{id}/webhook_validation'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EndpointWebhookValidationModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EndpointWebhookValidationModuleClient.
+
+
+
+
+
+ -
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EndpointWebhookValidationModuleClient
+
+
+
+
+
+
+
+
+Returns a new instance of EndpointWebhookValidationModuleClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 96
+
+def delete(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 111
+
+def delete!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 62
+
+def get(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 79
+
+def get!(
+ id: ""
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 23
+
+def replace(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data)
+ NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+
+
+
+
+
+
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 43
+
+def replace!(
+ id: "",
+ a_module: nil
+)
+ path = '/endpoint_configurations/%{id}/webhook_validation'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:module] = a_module if a_module
+ result = @client.put(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EventDestinationsClient.html b/doc/NgrokAPI/Services/EventDestinationsClient.html
new file mode 100644
index 0000000..31bf309
--- /dev/null
+++ b/doc/NgrokAPI/Services/EventDestinationsClient.html
@@ -0,0 +1,1609 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventDestinationsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventDestinationsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EventDestinationsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/event_destinations_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/event_destinations'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'event_destinations'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new Event Destination.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Destination.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Destination.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an Event Destination by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an Event Destination by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventDestinationsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EventDestinationsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all Event Destinations on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an Event Destination.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an Event Destination.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EventDestinationsClient
+
+
+
+
+
+
+
+
+Returns a new instance of EventDestinationsClient.
+
+
+
+
+
+
+
+
+
+
+15
+16
+17
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 15
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 13
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Create a new Event Destination. It will not apply to anything until it is associated with an Event Stream, and that Event Stream is associated with an Endpoint Config.
+
+
+
+
+
+
+
+
+
+
+
+
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 31
+
+def create(
+ metadata: "",
+ description: "",
+ format: "",
+ target: nil,
+ verify_with_test_event: nil
+)
+ path = '/event_destinations'
+ replacements = {
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:format] = format if format
+ data[:target] = target if target
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Destination. If the Event Destination is still referenced by an Event Stream, this will throw an error until that Event Stream has removed that reference.
+
+
+
+
+
+
+
+
+
+
+
+
+59
+60
+61
+62
+63
+64
+65
+66
+67
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 59
+
+def delete(
+ id: ""
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Destination. If the Event Destination is still referenced by an Event Stream, this will throw an error until that Event Stream has removed that reference. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 79
+
+def delete!(
+ id: ""
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Get detailed information about an Event Destination by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 96
+
+def get(
+ id: ""
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Get detailed information about an Event Destination by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 116
+
+def get!(
+ id: ""
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all Event Destinations on this account.
+
+
+
+
+
+
+
+
+
+
+
+
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 137
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::EventDestination
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Update attributes of an Event Destination.
+
+
+
+
+
+
+
+
+
+
+
+
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 167
+
+def update(
+ id: "",
+ metadata: nil,
+ description: nil,
+ format: nil,
+ target: nil,
+ verify_with_test_event: nil
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:format] = format if format
+ data[:target] = target if target
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+Update attributes of an Event Destination. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+
+
+ # File 'lib/ngrokapi/services/event_destinations_client.rb', line 200
+
+def update!(
+ id: "",
+ metadata: nil,
+ description: nil,
+ format: nil,
+ target: nil,
+ verify_with_test_event: nil
+)
+ path = '/event_destinations/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:format] = format if format
+ data[:target] = target if target
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventDestination.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EventSourcesClient.html b/doc/NgrokAPI/Services/EventSourcesClient.html
new file mode 100644
index 0000000..53c5706
--- /dev/null
+++ b/doc/NgrokAPI/Services/EventSourcesClient.html
@@ -0,0 +1,1348 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventSourcesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventSourcesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EventSourcesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/event_sources_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/event_subscriptions/%{subscription_id}/sources'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(subscription_id: "", type: "", filter: "", fields: []) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Add an additional type for which this event subscription will trigger.
+
+
+
+
+
+ -
+
+
+ #delete(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Remove a type for which this event subscription will trigger.
+
+
+
+
+
+ -
+
+
+ #delete!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Remove a type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the details for a given type that triggers for the given event subscription.
+
+
+
+
+
+ -
+
+
+ #get!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the details for a given type that triggers for the given event subscription Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventSourcesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EventSourcesClient.
+
+
+
+
+
+ -
+
+
+ #update(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update the type for which this event subscription will trigger.
+
+
+
+
+
+ -
+
+
+ #update!(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update the type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EventSourcesClient
+
+
+
+
+
+
+
+
+Returns a new instance of EventSourcesClient.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 13
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+11
+12
+13
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 11
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(subscription_id: "", type: "", filter: "", fields: []) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Add an additional type for which this event subscription will trigger
+
+
+
+
+
+
+
+
+
+
+
+
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 25
+
+def create(
+ subscription_id: "",
+ type: "",
+ filter: "",
+ fields: []
+)
+ path = '/event_subscriptions/%{subscription_id}/sources'
+ replacements = {
+ subscription_id: subscription_id,
+ }
+ data = {}
+ data[:type] = type if type
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Remove a type for which this event subscription will trigger
+
+
+
+
+
+
+
+
+
+
+
+
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 49
+
+def delete(
+ subscription_id: "",
+ type: ""
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Remove a type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 70
+
+def delete!(
+ subscription_id: "",
+ type: ""
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Get the details for a given type that triggers for the given event subscription
+
+
+
+
+
+
+
+
+
+
+
+
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 90
+
+def get(
+ subscription_id: "",
+ type: ""
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Get the details for a given type that triggers for the given event subscription Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 113
+
+def get!(
+ subscription_id: "",
+ type: ""
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Update the type for which this event subscription will trigger
+
+
+
+
+
+
+
+
+
+
+
+
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 135
+
+def update(
+ subscription_id: "",
+ type: "",
+ filter: nil,
+ fields: nil
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ data = {}
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+Update the type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+
+
+ # File 'lib/ngrokapi/services/event_sources_client.rb', line 160
+
+def update!(
+ subscription_id: "",
+ type: "",
+ filter: nil,
+ fields: nil
+)
+ path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
+ replacements = {
+ subscription_id: subscription_id,
+ type: type,
+ }
+ data = {}
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventSource.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EventStreamsClient.html b/doc/NgrokAPI/Services/EventStreamsClient.html
new file mode 100644
index 0000000..02d2439
--- /dev/null
+++ b/doc/NgrokAPI/Services/EventStreamsClient.html
@@ -0,0 +1,1691 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventStreamsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventStreamsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EventStreamsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/event_streams_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/event_streams'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'event_streams'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(metadata: "", description: "", fields: [], event_type: "", destination_ids: [], sampling_rate: 0) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new Event Stream.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Stream.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Stream.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an Event Stream by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an Event Stream by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventStreamsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EventStreamsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all Event Streams available on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an Event Stream by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an Event Stream by ID.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EventStreamsClient
+
+
+
+
+
+
+
+
+Returns a new instance of EventStreamsClient.
+
+
+
+
+
+
+
+
+
+
+15
+16
+17
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 15
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 13
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(metadata: "", description: "", fields: [], event_type: "", destination_ids: [], sampling_rate: 0) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Create a new Event Stream. It will not apply to anything until you associate it with one or more Endpoint Configs.
+
+
+
+
+
+
+
+
+
+
+
+
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 32
+
+def create(
+ metadata: "",
+ description: "",
+ fields: [],
+ event_type: "",
+ destination_ids: [],
+ sampling_rate: 0
+)
+ path = '/event_streams'
+ replacements = {
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:fields] = fields if fields
+ data[:event_type] = event_type if event_type
+ data[:destination_ids] = destination_ids if destination_ids
+ data[:sampling_rate] = sampling_rate if sampling_rate
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Stream. Associated Event Destinations will be preserved.
+
+
+
+
+
+
+
+
+
+
+
+
+61
+62
+63
+64
+65
+66
+67
+68
+69
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 61
+
+def delete(
+ id: ""
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Stream. Associated Event Destinations will be preserved. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 79
+
+def delete!(
+ id: ""
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Get detailed information about an Event Stream by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 96
+
+def get(
+ id: ""
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Get detailed information about an Event Stream by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 116
+
+def get!(
+ id: ""
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all Event Streams available on this account.
+
+
+
+
+
+
+
+
+
+
+
+
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 137
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::EventStream
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Update attributes of an Event Stream by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 168
+
+def update(
+ id: "",
+ metadata: nil,
+ description: nil,
+ fields: nil,
+ destination_ids: nil,
+ sampling_rate: nil
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:fields] = fields if fields
+ data[:destination_ids] = destination_ids if destination_ids
+ data[:sampling_rate] = sampling_rate if sampling_rate
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+Update attributes of an Event Stream by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+
+
+ # File 'lib/ngrokapi/services/event_streams_client.rb', line 203
+
+def update!(
+ id: "",
+ metadata: nil,
+ description: nil,
+ fields: nil,
+ destination_ids: nil,
+ sampling_rate: nil
+)
+ path = '/event_streams/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:fields] = fields if fields
+ data[:destination_ids] = destination_ids if destination_ids
+ data[:sampling_rate] = sampling_rate if sampling_rate
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventStream.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/EventSubscriptionsClient.html b/doc/NgrokAPI/Services/EventSubscriptionsClient.html
new file mode 100644
index 0000000..1e4ca34
--- /dev/null
+++ b/doc/NgrokAPI/Services/EventSubscriptionsClient.html
@@ -0,0 +1,1603 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventSubscriptionsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::EventSubscriptionsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/event_subscriptions_client.rb
+
+
+
+
+Overview
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/event_subscriptions'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'event_subscriptions'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(metadata: "", description: "", sources: [], destination_ids: []) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create an Event Subscription.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Subscription.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an Event Subscription.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get an Event Subscription by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get an Event Subscription by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventSubscriptionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of EventSubscriptionsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List this Account's Event Subscriptions.
+
+
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an Event Subscription.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an Event Subscription.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ EventSubscriptionsClient
+
+
+
+
+
+
+
+
+Returns a new instance of EventSubscriptionsClient.
+
+
+
+
+
+
+
+
+
+
+15
+16
+17
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 15
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+13
+14
+15
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 13
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(metadata: "", description: "", sources: [], destination_ids: []) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Create an Event Subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 29
+
+def create(
+ metadata: "",
+ description: "",
+ sources: [],
+ destination_ids: []
+)
+ path = '/event_subscriptions'
+ replacements = {
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:sources] = sources if sources
+ data[:destination_ids] = destination_ids if destination_ids
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+54
+55
+56
+57
+58
+59
+60
+61
+62
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 54
+
+def delete(
+ id: ""
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an Event Subscription. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+72
+73
+74
+75
+76
+77
+78
+79
+80
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 72
+
+def delete!(
+ id: ""
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Get an Event Subscription by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 89
+
+def get(
+ id: ""
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Get an Event Subscription by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 109
+
+def get!(
+ id: ""
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List this Account's Event Subscriptions.
+
+
+
+
+
+
+
+
+
+
+
+
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 130
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::EventSubscription
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Update an Event Subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 160
+
+def update(
+ id: "",
+ metadata: nil,
+ description: nil,
+ sources: nil,
+ destination_ids: nil
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:sources] = sources if sources
+ data[:destination_ids] = destination_ids if destination_ids
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+Update an Event Subscription. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+
+
+ # File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 192
+
+def update!(
+ id: "",
+ metadata: nil,
+ description: nil,
+ sources: nil,
+ destination_ids: nil
+)
+ path = '/event_subscriptions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:metadata] = if
+ data[:description] = description if description
+ data[:sources] = sources if sources
+ data[:destination_ids] = destination_ids if destination_ids
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::EventSubscription.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/IPPoliciesClient.html b/doc/NgrokAPI/Services/IPPoliciesClient.html
new file mode 100644
index 0000000..421426d
--- /dev/null
+++ b/doc/NgrokAPI/Services/IPPoliciesClient.html
@@ -0,0 +1,1488 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPPoliciesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::IPPoliciesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ip_policies_client.rb
+
+
+
+
+Overview
+
+
+IP Policies are reusable groups of CIDR ranges with an allow or deny
+
+action. They can be attached to endpoints via the Endpoint Configuration IP
+Policy module. They can also be used with IP Restrictions to control source
+IP ranges that can start tunnel sessions and connect to the API and dashboard.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ip_policies'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ip_policies'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", action:) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new IP policy.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP policy.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP policy.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP policy by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP policy by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPPoliciesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of IPPoliciesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all IP policies on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP policy by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP policy by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ IPPoliciesClient
+
+
+
+
+
+
+
+
+Returns a new instance of IPPoliciesClient.
+
+
+
+
+
+
+
+
+
+
+20
+21
+22
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 20
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 18
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", action:) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Create a new IP policy. It will not apply to any traffic until you associate to a traffic source via an endpoint configuration or IP restriction.
+
+
+
+
+
+
+
+
+
+
+
+
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 34
+
+def create(
+ description: "",
+ metadata: "",
+ action:
+)
+ path = '/ip_policies'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:action] = action if action
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP policy. If the IP policy is referenced by another object for the purposes of traffic restriction it will be treated as if the IP policy remains but has zero rules.
+
+
+
+
+
+
+
+
+
+
+
+
+59
+60
+61
+62
+63
+64
+65
+66
+67
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 59
+
+def delete(
+ id: ""
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP policy. If the IP policy is referenced by another object for the purposes of traffic restriction it will be treated as if the IP policy remains but has zero rules. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+79
+80
+81
+82
+83
+84
+85
+86
+87
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 79
+
+def delete!(
+ id: ""
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Get detailed information about an IP policy by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 96
+
+def get(
+ id: ""
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Get detailed information about an IP policy by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 116
+
+def get!(
+ id: ""
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all IP policies on this account
+
+
+
+
+
+
+
+
+
+
+
+
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 137
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::IPPolicy
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Update attributes of an IP policy by ID
+
+
+
+
+
+
+
+
+
+
+
+
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 165
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+Update attributes of an IP policy by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+
+
+ # File 'lib/ngrokapi/services/ip_policies_client.rb', line 191
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ip_policies/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPPolicy.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/IPPolicyRulesClient.html b/doc/NgrokAPI/Services/IPPolicyRulesClient.html
new file mode 100644
index 0000000..fc29ea4
--- /dev/null
+++ b/doc/NgrokAPI/Services/IPPolicyRulesClient.html
@@ -0,0 +1,1550 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPPolicyRulesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::IPPolicyRulesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ip_policy_rules_client.rb
+
+
+
+
+Overview
+
+
+IP Policy Rules are the IPv4 or IPv6 CIDRs entries that
+
+make up an IP Policy.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ip_policy_rules'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ip_policy_rules'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", cidr:, ip_policy_id:) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new IP policy rule attached to an IP Policy.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP policy rule.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP policy rule.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP policy rule by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP policy rule by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPPolicyRulesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of IPPolicyRulesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all IP policy rules on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP policy rule by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP policy rule by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ IPPolicyRulesClient
+
+
+
+
+
+
+
+
+Returns a new instance of IPPolicyRulesClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", cidr:, ip_policy_id:) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Create a new IP policy rule attached to an IP Policy.
+
+
+
+
+
+
+
+
+
+
+
+
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 32
+
+def create(
+ description: "",
+ metadata: "",
+ cidr:,
+ ip_policy_id:
+)
+ path = '/ip_policy_rules'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:cidr] = cidr if cidr
+ data[:ip_policy_id] = ip_policy_id if ip_policy_id
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP policy rule.
+
+
+
+
+
+
+
+
+
+
+
+
+57
+58
+59
+60
+61
+62
+63
+64
+65
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 57
+
+def delete(
+ id: ""
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP policy rule. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+75
+76
+77
+78
+79
+80
+81
+82
+83
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 75
+
+def delete!(
+ id: ""
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Get detailed information about an IP policy rule by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 92
+
+def get(
+ id: ""
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Get detailed information about an IP policy rule by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 112
+
+def get!(
+ id: ""
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all IP policy rules on this account
+
+
+
+
+
+
+
+
+
+
+
+
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 133
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::IPPolicyRule
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Update attributes of an IP policy rule by ID
+
+
+
+
+
+
+
+
+
+
+
+
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 162
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ cidr: nil
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:cidr] = cidr if cidr
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+Update attributes of an IP policy rule by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+
+
+ # File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 191
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ cidr: nil
+)
+ path = '/ip_policy_rules/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:cidr] = cidr if cidr
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPPolicyRule.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/IPRestrictionsClient.html b/doc/NgrokAPI/Services/IPRestrictionsClient.html
new file mode 100644
index 0000000..8751ea9
--- /dev/null
+++ b/doc/NgrokAPI/Services/IPRestrictionsClient.html
@@ -0,0 +1,1620 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPRestrictionsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::IPRestrictionsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ip_restrictions_client.rb
+
+
+
+
+Overview
+
+
+An IP restriction is a restriction placed on the CIDRs that are allowed to
+
+initate traffic to a specific aspect of your ngrok account. An IP
+restriction has a type which defines the ingress it applies to. IP
+restrictions can be used to enforce the source IPs that can make API
+requests, log in to the dashboard, start ngrok agents, and connect to your
+public-facing endpoints.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ip_restrictions'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ip_restrictions'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", enforced: False, type:, ip_policy_ids:) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new IP restriction.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP restriction.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP restriction Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP restriction.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP restriction Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPRestrictionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of IPRestrictionsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all IP restrictions on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP restriction by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP restriction by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ IPRestrictionsClient
+
+
+
+
+
+
+
+
+Returns a new instance of IPRestrictionsClient.
+
+
+
+
+
+
+
+
+
+
+22
+23
+24
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 22
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+20
+21
+22
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 20
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", enforced: False, type:, ip_policy_ids:) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Create a new IP restriction
+
+
+
+
+
+
+
+
+
+
+
+
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 37
+
+def create(
+ description: "",
+ metadata: "",
+ enforced: False,
+ type:,
+ ip_policy_ids:
+)
+ path = '/ip_restrictions'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:enforced] = enforced if enforced
+ data[:type] = type if type
+ data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP restriction
+
+
+
+
+
+
+
+
+
+
+
+
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 64
+
+def delete(
+ id: ""
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP restriction Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+82
+83
+84
+85
+86
+87
+88
+89
+90
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 82
+
+def delete!(
+ id: ""
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Get detailed information about an IP restriction
+
+
+
+
+
+
+
+
+
+
+
+
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 99
+
+def get(
+ id: ""
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Get detailed information about an IP restriction Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 119
+
+def get!(
+ id: ""
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all IP restrictions on this account
+
+
+
+
+
+
+
+
+
+
+
+
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 140
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::IPRestriction
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Update attributes of an IP restriction by ID
+
+
+
+
+
+
+
+
+
+
+
+
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 170
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ enforced: nil,
+ ip_policy_ids: []
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:enforced] = enforced if enforced
+ data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+Update attributes of an IP restriction by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+
+
+ # File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 202
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ enforced: nil,
+ ip_policy_ids: []
+)
+ path = '/ip_restrictions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:enforced] = enforced if enforced
+ data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPRestriction.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/IPWhitelistClient.html b/doc/NgrokAPI/Services/IPWhitelistClient.html
new file mode 100644
index 0000000..f863fb1
--- /dev/null
+++ b/doc/NgrokAPI/Services/IPWhitelistClient.html
@@ -0,0 +1,1488 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPWhitelistClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::IPWhitelistClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ip_whitelist_client.rb
+
+
+
+
+Overview
+
+
+The IP Whitelist is deprecated and will be removed. Use an IP Restriction
+
+with an endpoints type instead.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ip_whitelist'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'whitelist'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", ip_net: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new IP whitelist entry that will restrict traffic to all tunnel endpoints on the account.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP whitelist entry.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an IP whitelist entry.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP whitelist entry by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an IP whitelist entry by ID.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPWhitelistClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of IPWhitelistClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all IP whitelist entries on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP whitelist entry by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an IP whitelist entry by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ IPWhitelistClient
+
+
+
+
+
+
+
+
+Returns a new instance of IPWhitelistClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", ip_net: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Create a new IP whitelist entry that will restrict traffic to all tunnel endpoints on the account.
+
+
+
+
+
+
+
+
+
+
+
+
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 32
+
+def create(
+ description: "",
+ metadata: "",
+ ip_net: ""
+)
+ path = '/ip_whitelist'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:ip_net] = ip_net if ip_net
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP whitelist entry.
+
+
+
+
+
+
+
+
+
+
+
+
+55
+56
+57
+58
+59
+60
+61
+62
+63
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 55
+
+def delete(
+ id: ""
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an IP whitelist entry. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+73
+74
+75
+76
+77
+78
+79
+80
+81
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 73
+
+def delete!(
+ id: ""
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Get detailed information about an IP whitelist entry by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 90
+
+def get(
+ id: ""
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Get detailed information about an IP whitelist entry by ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 110
+
+def get!(
+ id: ""
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all IP whitelist entries on this account
+
+
+
+
+
+
+
+
+
+
+
+
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 131
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::IPWhitelistEntry
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Update attributes of an IP whitelist entry by ID
+
+
+
+
+
+
+
+
+
+
+
+
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 159
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+Update attributes of an IP whitelist entry by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+
+
+ # File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 185
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ip_whitelist/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/ReservedAddrsClient.html b/doc/NgrokAPI/Services/ReservedAddrsClient.html
new file mode 100644
index 0000000..eb68285
--- /dev/null
+++ b/doc/NgrokAPI/Services/ReservedAddrsClient.html
@@ -0,0 +1,1793 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::ReservedAddrsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::ReservedAddrsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/reserved_addrs_client.rb
+
+
+
+
+Overview
+
+
+Reserved Addresses are TCP addresses that can be used to listen for traffic.
+
+TCP address hostnames and ports are assigned by ngrok, they cannot be
+chosen.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/reserved_addrs'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'reserved_addrs'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", region: "", endpoint_configuration_id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new reserved address.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a reserved address.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete a reserved address.
+
+
+
+
+
+ -
+
+
+ #delete_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Detach the endpoint configuration attached to a reserved address.
+
+
+
+
+
+ -
+
+
+ #delete_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Detach the endpoint configuration attached to a reserved address.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the details of a reserved address.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the details of a reserved address.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ ReservedAddrsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of ReservedAddrsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all reserved addresses on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update the attributes of a reserved address.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update the attributes of a reserved address.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ ReservedAddrsClient
+
+
+
+
+
+
+
+
+Returns a new instance of ReservedAddrsClient.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 19
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+17
+18
+19
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 17
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", region: "", endpoint_configuration_id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Create a new reserved address.
+
+
+
+
+
+
+
+
+
+
+
+
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 33
+
+def create(
+ description: "",
+ metadata: "",
+ region: "",
+ endpoint_configuration_id: ""
+)
+ path = '/reserved_addrs'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:region] = region if region
+ data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a reserved address.
+
+
+
+
+
+
+
+
+
+
+
+
+58
+59
+60
+61
+62
+63
+64
+65
+66
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 58
+
+def delete(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete a reserved address. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+76
+77
+78
+79
+80
+81
+82
+83
+84
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 76
+
+def delete!(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #delete_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Detach the endpoint configuration attached to a reserved address.
+
+ngrok.com/docs/api#api-reserved-addrs-delete-endpoint-config
+
+
+
+
+
+
+
+
+
+
+217
+218
+219
+220
+221
+222
+223
+224
+225
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 217
+
+def delete_endpoint_config(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}/endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Detach the endpoint configuration attached to a reserved address. Throws an exception if API error.
+
+ngrok.com/docs/api#api-reserved-addrs-delete-endpoint-config
+
+
+
+
+
+
+
+
+
+
+235
+236
+237
+238
+239
+240
+241
+242
+243
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 235
+
+def delete_endpoint_config!(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}/endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Get the details of a reserved address.
+
+
+
+
+
+
+
+
+
+
+
+
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 93
+
+def get(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Get the details of a reserved address. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 113
+
+def get!(
+ id: ""
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all reserved addresses on this account.
+
+
+
+
+
+
+
+
+
+
+
+
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 134
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::ReservedAddr
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Update the attributes of a reserved address.
+
+
+
+
+
+
+
+
+
+
+
+
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 163
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ endpoint_configuration_id: nil
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+Update the attributes of a reserved address. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+
+
+ # File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 192
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ endpoint_configuration_id: nil
+)
+ path = '/reserved_addrs/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::ReservedAddr.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/ReservedDomainsClient.html b/doc/NgrokAPI/Services/ReservedDomainsClient.html
index 8131463..d5f08d8 100644
--- a/doc/NgrokAPI/Services/ReservedDomainsClient.html
+++ b/doc/NgrokAPI/Services/ReservedDomainsClient.html
@@ -102,7 +102,12 @@
Overview
-A client for interacting with the reserved_domains API
+Reserved Domains are hostnames that you can listen for traffic on. Domains
+
+can be used to listen for http, https or tls traffic. You may use a domain
+that you own by creating a CNAME record specified in the returned resource.
+This CNAME record points traffic for that domain to ngrok's edge servers.
+
ngrok.com/docs/api#api-reserved-domains
@@ -121,6 +126,22 @@
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/reserved_domains'
+
- LIST_PROPERTY =
@@ -137,22 +158,6 @@
'reserved_domains'
- - PATH =
-
-
-
-
The API path for reserved domains
-
-
-
-
-
-
- '/reserved_domains'
-
@@ -207,7 +212,7 @@
-
- #create(name: '', region: '', description: '', metadata: '', http_endpoint_configuration_id: '', https_endpoint_configuration_id: '', certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #create(name:, region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -231,7 +236,7 @@
-
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -255,7 +260,7 @@
-
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -279,7 +284,7 @@
-
- #delete_certificate(id: nil) ⇒ nil
+ #delete_certificate(id: "") ⇒ NgrokAPI::Models::Empty
@@ -294,7 +299,7 @@
-
Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
@@ -303,7 +308,7 @@
-
- #delete_certificate!(id: nil) ⇒ nil
+ #delete_certificate!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -318,7 +323,7 @@
-
Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
@@ -327,7 +332,7 @@
-
- #delete_certificate_management_policy(id: nil) ⇒ nil
+ #delete_certificate_management_policy(id: "") ⇒ NgrokAPI::Models::Empty
@@ -342,7 +347,7 @@
-
Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
@@ -351,7 +356,7 @@
-
- #delete_certificate_management_policy!(id: nil) ⇒ nil
+ #delete_certificate_management_policy!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -366,7 +371,7 @@
-
Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
@@ -375,7 +380,7 @@
-
- #delete_http_endpoint_config(id: nil) ⇒ nil
+ #delete_http_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
@@ -390,7 +395,7 @@
-
Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
@@ -399,7 +404,7 @@
-
- #delete_http_endpoint_config!(id: nil) ⇒ nil
+ #delete_http_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -414,7 +419,7 @@
-
Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
@@ -423,7 +428,7 @@
-
- #delete_https_endpoint_config(id: nil) ⇒ nil
+ #delete_https_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
@@ -438,7 +443,7 @@
-
Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
@@ -447,7 +452,7 @@
-
- #delete_https_endpoint_config!(id: nil) ⇒ nil
+ #delete_https_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -462,7 +467,7 @@
-
Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
@@ -471,7 +476,7 @@
-
- #get(id: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedDomain
@@ -495,7 +500,7 @@
-
- #get!(id: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedDomain
@@ -569,7 +574,7 @@
-
- #update(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -593,7 +598,7 @@
-
- #update!(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -646,15 +651,15 @@
-17
-18
-19
+20
+21
+22
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 17
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 20
-def initialize(client:)
- @client = client
+def initialize(client:)
+ @client = client
end
@@ -694,12 +699,12 @@
-15
-16
-17
+18
+19
+20
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 15
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 18
def client
@client
@@ -719,7 +724,7 @@
- #create(name: '', region: '', description: '', metadata: '', http_endpoint_configuration_id: '', https_endpoint_configuration_id: '', certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #create(name:, region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -747,8 +752,6 @@
(string)
- (defaults to: '')
-
—
@@ -765,7 +768,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -783,7 +786,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -801,7 +804,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -819,7 +822,7 @@
(string)
- (defaults to: '')
+ (defaults to: nil)
—
@@ -837,7 +840,7 @@
(string)
- (defaults to: '')
+ (defaults to: nil)
—
@@ -870,7 +873,7 @@
certificate_management_policy
- (string)
+ (ReservedDomainCertPolicy)
(defaults to: nil)
@@ -897,7 +900,7 @@
—
-result from create request
+result from the API request
@@ -910,7 +913,6 @@
-37
38
39
40
@@ -932,33 +934,38 @@
56
57
58
-59
+59
+60
+61
+62
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 37
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 38
-def create(
- name: '',
- region: '',
- description: '',
- metadata: '',
- http_endpoint_configuration_id: '',
- https_endpoint_configuration_id: '',
- certificate_id: nil,
- certificate_management_policy: nil
-)
- data = {
- name: name,
- region: region,
- description: description,
- metadata: ,
- http_endpoint_configuration_id: http_endpoint_configuration_id,
- https_endpoint_configuration_id: https_endpoint_configuration_id,
- certificate_id: certificate_id,
- certificate_management_policy: certificate_management_policy,
- }
- result = @client.post(PATH, data: data)
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def create(
+ name:,
+ region: "",
+ description: "",
+ metadata: "",
+ http_endpoint_configuration_id: nil,
+ https_endpoint_configuration_id: nil,
+ certificate_id: nil,
+ certificate_management_policy: nil
+)
+ path = '/reserved_domains'
+ replacements = {
+ }
+ data = {}
+ data[:name] = name if name
+ data[:region] = region if region
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id
+ data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id
+ data[:certificate_id] = certificate_id if certificate_id
+ data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -968,7 +975,7 @@
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -996,7 +1003,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1014,13 +1021,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1033,15 +1040,27 @@
-69
-70
-71
+71
+72
+73
+74
+75
+76
+77
+78
+79
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 69
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 71
-def delete(id: nil)
- @client.delete("#{PATH}/#{id}")
+def delete(
+ id: ""
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1051,7 +1070,7 @@
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1060,7 +1079,7 @@
-Delete a reserved domain. Throw an exception if 404.
+Delete a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete
@@ -1079,7 +1098,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1097,13 +1116,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1116,15 +1135,27 @@
-80
-81
-82
+89
+90
+91
+92
+93
+94
+95
+96
+97
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 80
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 89
-def delete!(id: nil)
- @client.delete("#{PATH}/#{id}", danger: true)
+def delete!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1134,7 +1165,7 @@
- #delete_certificate(id: nil) ⇒ nil
+ #delete_certificate(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1143,7 +1174,7 @@
-Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-certificate
@@ -1162,7 +1193,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1180,13 +1211,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1199,15 +1230,27 @@
-205
-206
-207
+283
+284
+285
+286
+287
+288
+289
+290
+291
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 205
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 283
-def delete_certificate(id: nil)
- @client.delete("#{PATH}/#{id}/certificate")
+def delete_certificate(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/certificate'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1217,7 +1260,7 @@
- #delete_certificate!(id: nil) ⇒ nil
+ #delete_certificate!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1226,7 +1269,7 @@
-Detach the certificate attached from a reserved domain. Throw an exception if 404.
+Detach the certificate attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-certificate
@@ -1245,7 +1288,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1263,13 +1306,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1282,15 +1325,27 @@
-216
-217
-218
+301
+302
+303
+304
+305
+306
+307
+308
+309
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 216
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 301
-def delete_certificate!(id: nil)
- @client.delete("#{PATH}/#{id}/certificate", danger: true)
+def delete_certificate!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/certificate'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1300,7 +1355,7 @@
- #delete_certificate_management_policy(id: nil) ⇒ nil
+ #delete_certificate_management_policy(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1309,7 +1364,7 @@
-Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
@@ -1328,7 +1383,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1346,13 +1401,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1365,15 +1420,27 @@
-227
-228
-229
+248
+249
+250
+251
+252
+253
+254
+255
+256
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 227
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 248
-def delete_certificate_management_policy(id: nil)
- @client.delete("#{PATH}/#{id}/certificate_management_policy")
+def delete_certificate_management_policy(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/certificate_management_policy'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1383,7 +1450,7 @@
- #delete_certificate_management_policy!(id: nil) ⇒ nil
+ #delete_certificate_management_policy!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1392,7 +1459,7 @@
-Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
@@ -1411,7 +1478,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1429,13 +1496,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1448,15 +1515,27 @@
-238
-239
-240
+266
+267
+268
+269
+270
+271
+272
+273
+274
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 238
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 266
-def delete_certificate_management_policy!(id: nil)
- @client.delete("#{PATH}/#{id}/certificate_management_policy", danger: true)
+def delete_certificate_management_policy!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/certificate_management_policy'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1466,7 +1545,7 @@
- #delete_http_endpoint_config(id: nil) ⇒ nil
+ #delete_http_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1475,7 +1554,7 @@
-Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
@@ -1494,7 +1573,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1512,13 +1591,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1531,15 +1610,27 @@
-249
-250
-251
+318
+319
+320
+321
+322
+323
+324
+325
+326
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 249
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 318
-def delete_http_endpoint_config(id: nil)
- @client.delete("#{PATH}/#{id}/http_endpoint_configuration")
+def delete_http_endpoint_config(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/http_endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1549,7 +1640,7 @@
- #delete_http_endpoint_config!(id: nil) ⇒ nil
+ #delete_http_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1558,7 +1649,7 @@
-Detach the http endpoint configuration attached from a reserved domain. Throw an exception if 404.
+Detach the http endpoint configuration attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
@@ -1577,7 +1668,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1595,13 +1686,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1614,15 +1705,27 @@
-260
-261
-262
+336
+337
+338
+339
+340
+341
+342
+343
+344
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 260
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 336
-def delete_http_endpoint_config!(id: nil)
- @client.delete("#{PATH}/#{id}/http_endpoint_configuration", danger: true)
+def delete_http_endpoint_config!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/http_endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1632,7 +1735,7 @@
- #delete_https_endpoint_config(id: nil) ⇒ nil
+ #delete_https_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1641,7 +1744,7 @@
-Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
@@ -1660,7 +1763,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1678,13 +1781,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1697,15 +1800,27 @@
-271
-272
-273
+353
+354
+355
+356
+357
+358
+359
+360
+361
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 271
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 353
-def delete_https_endpoint_config(id: nil)
- @client.delete("#{PATH}/#{id}/https_endpoint_configuration")
+def delete_https_endpoint_config(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/https_endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -1715,7 +1830,7 @@
- #delete_https_endpoint_config!(id: nil) ⇒ nil
+ #delete_https_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -1724,7 +1839,7 @@
-Detach the https endpoint configuration attached from a reserved domain. Throw an exception if 404.
+Detach the https endpoint configuration attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
@@ -1743,7 +1858,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1761,13 +1876,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -1780,15 +1895,27 @@
-282
-283
-284
+371
+372
+373
+374
+375
+376
+377
+378
+379
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 282
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 371
-def delete_https_endpoint_config!(id: nil)
- @client.delete("#{PATH}/#{id}/https_endpoint_configuration", danger: true)
+def delete_https_endpoint_config!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}/https_endpoint_configuration'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -1798,7 +1925,7 @@
- #get(id: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedDomain
@@ -1826,7 +1953,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1850,7 +1977,7 @@
—
-result from get request
+result from the API request
@@ -1863,17 +1990,31 @@
-91
-92
-93
-94
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 91
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 106
-def get(id: nil)
- result = @client.get("#{PATH}/#{id}")
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def get(
+ id: ""
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -1883,7 +2024,7 @@
- #get!(id: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedDomain
@@ -1892,7 +2033,7 @@
-Get the details of a reserved domain. Throw an exception if 404.
+Get the details of a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-get
@@ -1911,7 +2052,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -1935,7 +2076,7 @@
—
-result from get request
+result from the API request
@@ -1948,17 +2089,31 @@
-103
-104
-105
-106
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 103
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 126
-def get!(id: nil)
- result = @client.get!("#{PATH}/#{id}")
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def get!(
+ id: ""
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -2006,7 +2161,7 @@
limit
- (integer)
+ (string)
(defaults to: nil)
@@ -2046,7 +2201,7 @@
—
-result from list request
+result from the API request
@@ -2059,27 +2214,45 @@
-117
-118
-119
-120
-121
-122
-123
-124
-125
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 117
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 147
-def list(before_id: nil, limit: nil, url: nil)
- result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH)
- NgrokAPI::Models::Listable.new(
- client: self,
- result: result,
- list_property: LIST_PROPERTY,
- klass: NgrokAPI::Models::ReservedDomain
- )
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::ReservedDomain
+ )
end
@@ -2089,7 +2262,7 @@
- #update(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -2117,7 +2290,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -2217,7 +2390,7 @@
certificate_management_policy
- (string)
+ (ReservedDomainCertPolicy)
(defaults to: nil)
@@ -2244,7 +2417,7 @@
—
-result from update request
+result from the API request
@@ -2257,49 +2430,55 @@
-142
-143
-144
-145
-146
-147
-148
-149
-150
-151
-152
-153
-154
-155
-156
-157
-158
-159
-160
-161
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 142
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 179
-def update(
- id: nil,
- certificate_id: nil,
- certificate_management_policy: nil,
- description: nil,
- http_endpoint_configuration_id: nil,
- https_endpoint_configuration_id: nil,
- metadata: nil
-)
- data = build_data(
- description: description,
- metadata: ,
- http_endpoint_configuration_id: http_endpoint_configuration_id,
- https_endpoint_configuration_id: https_endpoint_configuration_id,
- certificate_id: certificate_id,
- certificate_management_policy: certificate_management_policy
- )
- result = @client.patch("#{PATH}/#{id}", data: data)
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ http_endpoint_configuration_id: nil,
+ https_endpoint_configuration_id: nil,
+ certificate_id: nil,
+ certificate_management_policy: nil
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id
+ data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id
+ data[:certificate_id] = certificate_id if certificate_id
+ data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -2309,7 +2488,7 @@
- #update!(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain
+ #update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain
@@ -2318,7 +2497,7 @@
-Update the attributes of a reserved domain. Throw an exception if 404.
+Update the attributes of a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-update
@@ -2337,7 +2516,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -2437,7 +2616,7 @@
certificate_management_policy
- (string)
+ (ReservedDomainCertPolicy)
(defaults to: nil)
@@ -2464,7 +2643,7 @@
—
-result from update request
+result from the API request
@@ -2477,49 +2656,55 @@
-176
-177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
-193
-194
-195
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 176
+ # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 217
-def update!(
- id: nil,
- certificate_id: nil,
- certificate_management_policy: nil,
- description: nil,
- http_endpoint_configuration_id: nil,
- https_endpoint_configuration_id: nil,
- metadata: nil
-)
- data = build_data(
- description: description,
- metadata: ,
- http_endpoint_configuration_id: http_endpoint_configuration_id,
- https_endpoint_configuration_id: https_endpoint_configuration_id,
- certificate_id: certificate_id,
- certificate_management_policy: certificate_management_policy
- )
- result = @client.patch("#{PATH}/#{id}", danger: true, data: data)
- NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ http_endpoint_configuration_id: nil,
+ https_endpoint_configuration_id: nil,
+ certificate_id: nil,
+ certificate_management_policy: nil
+)
+ path = '/reserved_domains/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id
+ data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id
+ data[:certificate_id] = certificate_id if certificate_id
+ data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::ReservedDomain.new(client: self, result: result)
end
@@ -2531,7 +2716,7 @@
diff --git a/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html b/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html
new file mode 100644
index 0000000..6392ca3
--- /dev/null
+++ b/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html
@@ -0,0 +1,1532 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ssh_certificate_authorities_client.rb
+
+
+
+
+Overview
+
+
+An SSH Certificate Authority is a pair of an SSH Certificate and its private
+
+key that can be used to sign other SSH host and user certificates.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ssh_certificate_authorities'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ssh_certificate_authorities'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new SSH Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH Certficate Authority.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH Certficate Authority Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHCertificateAuthoritiesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of SSHCertificateAuthoritiesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all SSH Certificate Authorities on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH Certificate Authority.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ SSHCertificateAuthoritiesClient
+
+
+
+
+
+
+
+
+Returns a new instance of SSHCertificateAuthoritiesClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Create a new SSH Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 33
+
+def create(
+ description: "",
+ metadata: "",
+ private_key_type: "",
+ elliptic_curve: "",
+ key_size: 0
+)
+ path = '/ssh_certificate_authorities'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:private_key_type] = private_key_type if private_key_type
+ data[:elliptic_curve] = elliptic_curve if elliptic_curve
+ data[:key_size] = key_size if key_size
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an SSH Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+60
+61
+62
+63
+64
+65
+66
+67
+68
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 60
+
+def delete(
+ id: ""
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+78
+79
+80
+81
+82
+83
+84
+85
+86
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 78
+
+def delete!(
+ id: ""
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Get detailed information about an SSH Certficate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 95
+
+def get(
+ id: ""
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Get detailed information about an SSH Certficate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 115
+
+def get!(
+ id: ""
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all SSH Certificate Authorities on this account
+
+
+
+
+
+
+
+
+
+
+
+
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 136
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::SSHCertificateAuthority
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Update an SSH Certificate Authority
+
+
+
+
+
+
+
+
+
+
+
+
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 164
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+Update an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+
+
+ # File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 190
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ssh_certificate_authorities/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/SSHCredentialsClient.html b/doc/NgrokAPI/Services/SSHCredentialsClient.html
new file mode 100644
index 0000000..e002ed7
--- /dev/null
+++ b/doc/NgrokAPI/Services/SSHCredentialsClient.html
@@ -0,0 +1,1552 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHCredentialsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::SSHCredentialsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ssh_credentials_client.rb
+
+
+
+
+Overview
+
+
+SSH Credentials are SSH public keys that can be used to start SSH tunnels
+
+via the ngrok SSH tunnel gateway.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ssh_credentials'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ssh_credentials'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(description: "", metadata: "", acl: [], public_key:) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new ssh_credential from an uploaded public SSH key.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an ssh_credential by ID.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an ssh_credential by ID Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an ssh_credential.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an ssh_credential Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHCredentialsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of SSHCredentialsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all ssh credentials on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an ssh_credential by ID.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update attributes of an ssh_credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ SSHCredentialsClient
+
+
+
+
+
+
+
+
+Returns a new instance of SSHCredentialsClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(description: "", metadata: "", acl: [], public_key:) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Create a new ssh_credential from an uploaded public SSH key. This ssh credential can be used to start new tunnels via ngrok's SSH gateway.
+
+
+
+
+
+
+
+
+
+
+
+
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 33
+
+def create(
+ description: "",
+ metadata: "",
+ acl: [],
+ public_key:
+)
+ path = '/ssh_credentials'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ data[:public_key] = public_key if public_key
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an ssh_credential by ID
+
+
+
+
+
+
+
+
+
+
+
+
+58
+59
+60
+61
+62
+63
+64
+65
+66
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 58
+
+def delete(
+ id: ""
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an ssh_credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+76
+77
+78
+79
+80
+81
+82
+83
+84
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 76
+
+def delete!(
+ id: ""
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Get detailed information about an ssh_credential
+
+
+
+
+
+
+
+
+
+
+
+
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 93
+
+def get(
+ id: ""
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Get detailed information about an ssh_credential Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 113
+
+def get!(
+ id: ""
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all ssh credentials on this account
+
+
+
+
+
+
+
+
+
+
+
+
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 134
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::SSHCredential
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Update attributes of an ssh_credential by ID
+
+
+
+
+
+
+
+
+
+
+
+
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 163
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil,
+ acl: nil
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+Update attributes of an ssh_credential by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+
+
+ # File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 192
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil,
+ acl: nil
+)
+ path = '/ssh_credentials/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:acl] = acl if acl
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHCredential.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/SSHHostCertificatesClient.html b/doc/NgrokAPI/Services/SSHHostCertificatesClient.html
new file mode 100644
index 0000000..13eb62d
--- /dev/null
+++ b/doc/NgrokAPI/Services/SSHHostCertificatesClient.html
@@ -0,0 +1,1573 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHHostCertificatesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::SSHHostCertificatesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ssh_host_certificates_client.rb
+
+
+
+
+Overview
+
+
+SSH Host Certificates along with the corresponding private key allows an SSH
+
+server to assert its authenticity to connecting SSH clients who trust the
+SSH Certificate Authority that was used to sign the certificate.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ssh_host_certificates'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ssh_host_certificates'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new SSH Host Certificate.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH Host Certificate.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH Host Certificate Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH Host Certficate.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH Host Certficate Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHHostCertificatesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of SSHHostCertificatesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all SSH Host Certificates issued on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH Host Certificate.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH Host Certificate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ SSHHostCertificatesClient
+
+
+
+
+
+
+
+
+Returns a new instance of SSHHostCertificatesClient.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 19
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+17
+18
+19
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 17
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Create a new SSH Host Certificate
+
+
+
+
+
+
+
+
+
+
+
+
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 36
+
+def create(
+ ssh_certificate_authority_id:,
+ public_key:,
+ principals: [],
+ valid_after: "",
+ valid_until: "",
+ description: "",
+ metadata: ""
+)
+ path = '/ssh_host_certificates'
+ replacements = {
+ }
+ data = {}
+ data[:ssh_certificate_authority_id] = if
+ data[:public_key] = public_key if public_key
+ data[:principals] = principals if principals
+ data[:valid_after] = valid_after if valid_after
+ data[:valid_until] = valid_until if valid_until
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an SSH Host Certificate
+
+
+
+
+
+
+
+
+
+
+
+
+67
+68
+69
+70
+71
+72
+73
+74
+75
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 67
+
+def delete(
+ id: ""
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Delete an SSH Host Certificate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+85
+86
+87
+88
+89
+90
+91
+92
+93
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 85
+
+def delete!(
+ id: ""
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Get detailed information about an SSH Host Certficate
+
+
+
+
+
+
+
+
+
+
+
+
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 102
+
+def get(
+ id: ""
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Get detailed information about an SSH Host Certficate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 122
+
+def get!(
+ id: ""
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all SSH Host Certificates issued on this account
+
+
+
+
+
+
+
+
+
+
+
+
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 143
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::SSHHostCertificate
+ )
+end
+
+
+
+
+
+
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Update an SSH Host Certificate
+
+
+
+
+
+
+
+
+
+
+
+
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 171
+
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+Update an SSH Host Certificate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+
+
+ # File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 197
+
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/ssh_host_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/SSHUserCertificatesClient.html b/doc/NgrokAPI/Services/SSHUserCertificatesClient.html
new file mode 100644
index 0000000..23cb556
--- /dev/null
+++ b/doc/NgrokAPI/Services/SSHUserCertificatesClient.html
@@ -0,0 +1,1617 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHUserCertificatesClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::SSHUserCertificatesClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/ssh_user_certificates_client.rb
+
+
+
+
+Overview
+
+
+SSH User Certificates are presented by SSH clients when connecting to an SSH
+
+server to authenticate their connection. The SSH server must trust the SSH
+Certificate Authority used to sign the certificate.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/ssh_user_certificates'
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'ssh_user_certificates'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], critical_options: {}, extensions: {}, valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create a new SSH User Certificate.
+
+
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH User Certificate.
+
+
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Delete an SSH User Certificate Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH User Certficate.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get detailed information about an SSH User Certficate Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHUserCertificatesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of SSHUserCertificatesClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all SSH User Certificates issued on this account.
+
+
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH User Certificate.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Update an SSH User Certificate Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ SSHUserCertificatesClient
+
+
+
+
+
+
+
+
+Returns a new instance of SSHUserCertificatesClient.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/ssh_user_certificates_client.rb', line 19
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+17
+18
+19
+
+
+ # File 'lib/ngrokapi/services/ssh_user_certificates_client.rb', line 17
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], critical_options: {}, extensions: {}, valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+Create a new SSH User Certificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/NgrokAPI/Services/TlsCertificatesClient.html b/doc/NgrokAPI/Services/TLSCertificatesClient.html
similarity index 62%
rename from docs/NgrokAPI/Services/TlsCertificatesClient.html
rename to doc/NgrokAPI/Services/TLSCertificatesClient.html
index 3300974..538fc9b 100644
--- a/docs/NgrokAPI/Services/TlsCertificatesClient.html
+++ b/doc/NgrokAPI/Services/TLSCertificatesClient.html
@@ -4,7 +4,7 @@
- Class: NgrokAPI::Services::TlsCertificatesClient
+ Class: NgrokAPI::Services::TLSCertificatesClient
— Documentation by YARD 0.9.26
@@ -15,7 +15,7 @@
@@ -39,7 +39,7 @@
Index (T) »
NgrokAPI » Services
»
- TlsCertificatesClient
+ TLSCertificatesClient
@@ -59,7 +59,7 @@
- Class: NgrokAPI::Services::TlsCertificatesClient
+ Class: NgrokAPI::Services::TLSCertificatesClient
@@ -74,7 +74,7 @@
- Object
- - NgrokAPI::Services::TlsCertificatesClient
+ - NgrokAPI::Services::TLSCertificatesClient
show all
@@ -102,7 +102,13 @@
Overview
-A client for interacting with the tls_certificates API
+TLS Certificates are pairs of x509 certificates and their matching private
+
+key that can be used to terminate TLS traffic. TLS certificates are unused
+until they are attached to a Domain. TLS Certificates may also be
+provisioned by ngrok automatically for domains on which you have enabled
+automated certificate provisioning.
+
ngrok.com/docs/api#api-tls-certificates
@@ -121,6 +127,22 @@
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/tls_certificates'
+
- LIST_PROPERTY =
@@ -137,22 +159,6 @@
'tls_certificates'
- - PATH =
-
-
-
-
The API path for tls certificates
-
-
-
-
-
-
- '/tls_certificates'
-
@@ -207,7 +213,7 @@
-
- #create(certificate_pem: '', description: '', metadata: '', private_key_pem: '') ⇒ NgrokAPI::Models::TlsCertificate
+ #create(description: "", metadata: "", certificate_pem:, private_key_pem:) ⇒ NgrokAPI::Models::TLSCertificate
@@ -231,7 +237,7 @@
-
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -246,7 +252,7 @@
-
Delete a TLS certificate by ID.
+Delete a TLS certificate.
@@ -255,7 +261,7 @@
-
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -270,7 +276,7 @@
-
Delete a TLS certificate by ID.
+Delete a TLS certificate Throws an exception if API error.
@@ -279,7 +285,7 @@
-
- #get(id: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #get(id: "") ⇒ NgrokAPI::Models::TLSCertificate
@@ -294,7 +300,7 @@
-
Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate.
@@ -303,7 +309,7 @@
-
- #get!(id: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #get!(id: "") ⇒ NgrokAPI::Models::TLSCertificate
@@ -318,7 +324,7 @@
-
Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate Throws an exception if API error.
@@ -327,7 +333,7 @@
-
- #initialize(client:) ⇒ TlsCertificatesClient
+ #initialize(client:) ⇒ TLSCertificatesClient
@@ -344,7 +350,7 @@
-
A new instance of TlsCertificatesClient.
+A new instance of TLSCertificatesClient.
@@ -377,7 +383,7 @@
-
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate
@@ -401,7 +407,7 @@
-
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate
@@ -416,7 +422,7 @@
-
Update attributes of a TLS Certificate by ID.
+Update attributes of a TLS Certificate by ID Throws an exception if API error.
@@ -431,7 +437,7 @@
- #initialize(client:) ⇒ TlsCertificatesClient
+ #initialize(client:) ⇒ TLSCertificatesClient
@@ -440,7 +446,7 @@
-Returns a new instance of TlsCertificatesClient.
+Returns a new instance of TLSCertificatesClient.
@@ -454,15 +460,15 @@
-17
-18
-19
+21
+22
+23
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 17
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 21
-def initialize(client:)
- @client = client
+def initialize(client:)
+ @client = client
end
@@ -502,12 +508,12 @@
-15
-16
-17
+19
+20
+21
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 15
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 19
def client
@client
@@ -527,7 +533,7 @@
- #create(certificate_pem: '', description: '', metadata: '', private_key_pem: '') ⇒ NgrokAPI::Models::TlsCertificate
+ #create(description: "", metadata: "", certificate_pem:, private_key_pem:) ⇒ NgrokAPI::Models::TLSCertificate
@@ -536,7 +542,7 @@
-Upload a new TLS certificate.
+Upload a new TLS certificate
ngrok.com/docs/api#api-tls-certificates-create
@@ -555,7 +561,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -573,7 +579,7 @@
(string)
- (defaults to: '')
+ (defaults to: "")
—
@@ -591,8 +597,6 @@
(string)
- (defaults to: '')
-
—
@@ -609,8 +613,6 @@
(string)
- (defaults to: '')
-
—
@@ -627,13 +629,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from create request
+result from the API request
@@ -646,8 +648,6 @@
-33
-34
35
36
37
@@ -660,25 +660,31 @@
44
45
46
-47
+47
+48
+49
+50
+51
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 33
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 35
-def create(
- certificate_pem: '',
- description: '',
- metadata: '',
- private_key_pem: ''
-)
- data = {
- certificate_pem: certificate_pem,
- description: description,
- metadata: ,
- private_key_pem: private_key_pem,
- }
- result = @client.post(PATH, data: data)
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def create(
+ description: "",
+ metadata: "",
+ certificate_pem:,
+ private_key_pem:
+)
+ path = '/tls_certificates'
+ replacements = {
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ data[:certificate_pem] = certificate_pem if certificate_pem
+ data[:private_key_pem] = private_key_pem if private_key_pem
+ result = @client.post(path % replacements, data: data)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -688,7 +694,7 @@
- #delete(id: nil) ⇒ nil
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
@@ -697,7 +703,7 @@
-Delete a TLS certificate by ID.
+Delete a TLS certificate
ngrok.com/docs/api#api-tls-certificates-delete
@@ -716,7 +722,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -734,13 +740,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -753,15 +759,27 @@
-57
-58
-59
+60
+61
+62
+63
+64
+65
+66
+67
+68
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 57
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 60
-def delete(id: nil)
- @client.delete("#{PATH}/#{id}")
+def delete(
+ id: ""
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements)
end
@@ -771,7 +789,7 @@
- #delete!(id: nil) ⇒ nil
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
@@ -780,7 +798,7 @@
-Delete a TLS certificate by ID. Throw an exception if 404.
+Delete a TLS certificate Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-delete
@@ -799,7 +817,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -817,13 +835,13 @@
-
- (nil)
+ (NgrokAPI::Models::Empty)
—
-
result from delete request
+result from the API request
@@ -836,15 +854,27 @@
-68
-69
-70
+78
+79
+80
+81
+82
+83
+84
+85
+86
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 68
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 78
-def delete!(id: nil)
- @client.delete("#{PATH}/#{id}", danger: true)
+def delete!(
+ id: ""
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ @client.delete(path % replacements, danger: true)
end
@@ -854,7 +884,7 @@
- #get(id: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #get(id: "") ⇒ NgrokAPI::Models::TLSCertificate
@@ -863,7 +893,7 @@
-Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate
ngrok.com/docs/api#api-tls-certificates-get
@@ -882,7 +912,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -900,13 +930,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from get request
+result from the API request
@@ -919,17 +949,31 @@
-79
-80
-81
-82
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 79
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 95
-def get(id: nil)
- result = @client.get("#{PATH}/#{id}")
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def get(
+ id: ""
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -939,7 +983,7 @@
- #get!(id: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #get!(id: "") ⇒ NgrokAPI::Models::TLSCertificate
@@ -948,7 +992,7 @@
-Get detailed information about a TLS certificate by ID. Throw an exception if 404.
+Get detailed information about a TLS certificate Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-get
@@ -967,7 +1011,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
—
@@ -985,13 +1029,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from get request
+result from the API request
@@ -1004,17 +1048,31 @@
-91
-92
-93
-94
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 91
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 115
-def get!(id: nil)
- result = @client.get("#{PATH}/#{id}", danger: true)
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def get!(
+ id: ""
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -1033,7 +1091,7 @@
-List all TLS certificates on this account.
+List all TLS certificates on this account
ngrok.com/docs/api#api-tls-certificates-list
@@ -1062,7 +1120,7 @@
limit
- (integer)
+ (string)
(defaults to: nil)
@@ -1102,7 +1160,7 @@
—
-the result listable
+result from the API request
@@ -1115,27 +1173,45 @@
-105
-106
-107
-108
-109
-110
-111
-112
-113
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 105
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 136
-def list(before_id: nil, limit: nil, url: nil)
- result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH)
- NgrokAPI::Models::Listable.new(
- client: self,
- result: result,
- list_property: LIST_PROPERTY,
- klass: NgrokAPI::Models::TlsCertificate
- )
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::TLSCertificate
+ )
end
@@ -1145,7 +1221,7 @@
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate
@@ -1154,7 +1230,7 @@
-Update attributes of a TLS Certificate by ID.
+Update attributes of a TLS Certificate by ID
ngrok.com/docs/api#api-tls-certificates-update
@@ -1173,7 +1249,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -1222,13 +1298,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from update request
+result from the API request
@@ -1241,31 +1317,39 @@
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 126
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 164
-def update(
- id: nil,
- description: nil,
- metadata: nil
-)
- data = {}
- data[:description] = description if description
- data[:metadata] = if
- result = @client.patch("#{PATH}/#{id}", data: data)
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def update(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -1275,7 +1359,7 @@
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate
@@ -1284,7 +1368,7 @@
-Update attributes of a TLS Certificate by ID. Throw an exception if 404.
+Update attributes of a TLS Certificate by ID Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-update
@@ -1303,7 +1387,7 @@
(string)
- (defaults to: nil)
+ (defaults to: "")
@@ -1352,13 +1436,13 @@
-
- (NgrokAPI::Models::TlsCertificate)
+ (NgrokAPI::Models::TLSCertificate)
—
-
result from update request
+result from the API request
@@ -1371,31 +1455,39 @@
-147
-148
-149
-150
-151
-152
-153
-154
-155
-156
-157
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 147
+ # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 190
-def update!(
- id: nil,
- description: nil,
- metadata: nil
-)
- data = {}
- data[:description] = description if description
- data[:metadata] = if
- result = @client.patch("#{PATH}/#{id}", danger: true, data: data)
- NgrokAPI::Models::TlsCertificate.new(client: self, result: result)
+def update!(
+ id: "",
+ description: nil,
+ metadata: nil
+)
+ path = '/tls_certificates/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ data[:description] = description if description
+ data[:metadata] = if
+ result = @client.patch(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::TLSCertificate.new(client: self, result: result)
end
@@ -1407,7 +1499,7 @@
diff --git a/doc/NgrokAPI/Services/TunnelSessionsClient.html b/doc/NgrokAPI/Services/TunnelSessionsClient.html
new file mode 100644
index 0000000..1ee54ad
--- /dev/null
+++ b/doc/NgrokAPI/Services/TunnelSessionsClient.html
@@ -0,0 +1,1468 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::TunnelSessionsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::TunnelSessionsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::TunnelSessionsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/tunnel_sessions_client.rb
+
+
+
+
+Overview
+
+
+Tunnel Sessions represent instances of ngrok agents or SSH reverse tunnel
+
+sessions that are running and connected to the ngrok service. Each tunnel
+session can include one or more Tunnels.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'tunnel_sessions'
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/tunnel_sessions'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the detailed status of a tunnel session by ID.
+
+
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Get the detailed status of a tunnel session by ID Throws an exception if API error.
+
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ TunnelSessionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of TunnelSessionsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all online tunnel sessions running on this account.
+
+
+
+
+
+ -
+
+
+ #restart(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent to restart.
+
+
+
+
+
+ -
+
+
+ #restart!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent to restart.
+
+
+
+
+
+ -
+
+
+ #stop(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent that started this tunnel session to exit.
+
+
+
+
+
+ -
+
+
+ #stop!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent that started this tunnel session to exit.
+
+
+
+
+
+ -
+
+
+ #update(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent to update itself to the latest version.
+
+
+
+
+
+ -
+
+
+ #update!(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Issues a command instructing the ngrok agent to update itself to the latest version.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ TunnelSessionsClient
+
+
+
+
+
+
+
+
+Returns a new instance of TunnelSessionsClient.
+
+
+
+
+
+
+
+
+
+
+19
+20
+21
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 19
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+17
+18
+19
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 17
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+Get the detailed status of a tunnel session by ID
+
+
+
+
+
+
+
+
+
+
+
+
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 58
+
+def get(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data)
+ NgrokAPI::Models::TunnelSession.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+Get the detailed status of a tunnel session by ID Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 78
+
+def get!(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}'
+ replacements = {
+ id: id,
+ }
+ data = {}
+ result = @client.get(path % replacements, data: data, danger: true)
+ NgrokAPI::Models::TunnelSession.new(client: self, result: result)
+end
+
+
+
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all online tunnel sessions running on this account.
+
+
+
+
+
+
+
+
+
+
+
+
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 32
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::TunnelSession
+ )
+end
+
+
+
+
+
+
+
+
+ #restart(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID.
+
+
+
+
+
+
+
+
+
+
+
+
+100
+101
+102
+103
+104
+105
+106
+107
+108
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 100
+
+def restart(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}/restart'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #restart!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+121
+122
+123
+124
+125
+126
+127
+128
+129
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 121
+
+def restart!(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}/restart'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #stop(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent that started this tunnel session to exit.
+
+
+
+
+
+
+
+
+
+
+
+
+139
+140
+141
+142
+143
+144
+145
+146
+147
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 139
+
+def stop(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}/stop'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #stop!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent that started this tunnel session to exit. Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+158
+159
+160
+161
+162
+163
+164
+165
+166
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 158
+
+def stop!(
+ id: ""
+)
+ path = '/tunnel_sessions/%{id}/stop'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+ #update(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent to update itself to the latest version. After this call completes successfully, the ngrok agent will be in the update process. A caller should wait some amount of time to allow the update to complete (at least 10 seconds) before making a call to the Restart endpoint to request that the agent restart itself to start using the new code. This call will never update an ngrok agent to a new major version which could cause breaking compatibility issues. If you wish to update to a new major version, that must be done manually. Still, please be aware that updating your ngrok agent could break your integration. This call will fail in any of the following circumstances: there is no update available the ngrok agent's configuration disabled update checks the agent is currently in process of updating the agent has already successfully updated but has not yet been restarted
+
+
+
+
+
+
+
+
+
+
+
+
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 186
+
+def update(
+ id: "",
+ version: ""
+)
+ path = '/tunnel_sessions/%{id}/update'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements)
+end
+
+
+
+
+
+
+
+
+ #update!(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+Issues a command instructing the ngrok agent to update itself to the latest version. After this call completes successfully, the ngrok agent will be in the update process. A caller should wait some amount of time to allow the update to complete (at least 10 seconds) before making a call to the Restart endpoint to request that the agent restart itself to start using the new code. This call will never update an ngrok agent to a new major version which could cause breaking compatibility issues. If you wish to update to a new major version, that must be done manually. Still, please be aware that updating your ngrok agent could break your integration. This call will fail in any of the following circumstances: there is no update available the ngrok agent's configuration disabled update checks the agent is currently in process of updating the agent has already successfully updated but has not yet been restarted Throws an exception if API error.
+
+
+
+
+
+
+
+
+
+
+
+
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+
+
+ # File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 216
+
+def update!(
+ id: "",
+ version: ""
+)
+ path = '/tunnel_sessions/%{id}/update'
+ replacements = {
+ id: id,
+ }
+ @client.post(path % replacements, danger: true)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/NgrokAPI/Services/TunnelsClient.html b/doc/NgrokAPI/Services/TunnelsClient.html
new file mode 100644
index 0000000..6c54768
--- /dev/null
+++ b/doc/NgrokAPI/Services/TunnelsClient.html
@@ -0,0 +1,513 @@
+
+
+
+
+
+
+ Class: NgrokAPI::Services::TunnelsClient
+
+ — Documentation by YARD 0.9.26
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class: NgrokAPI::Services::TunnelsClient
+
+
+
+
+
+
+
+ - Inherits:
+ -
+ Object
+
+
+ - Object
+
+ - NgrokAPI::Services::TunnelsClient
+
+
+ show all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Defined in:
+ - lib/ngrokapi/services/tunnels_client.rb
+
+
+
+
+Overview
+
+
+Tunnels provide endpoints to access services exposed by a running ngrok
+
+agent tunnel session or an SSH reverse tunnel session.
+
+
+
+
+
+
+
+
+
+
+ Constant Summary
+ collapse
+
+
+
+
+ - LIST_PROPERTY =
+
+
+
+
The List Property from the resulting API for list calls
+
+
+
+
+
+
+ 'tunnels'
+
+ - PATH =
+
+
+
+
The API path for the requests
+
+
+
+
+
+
+ '/tunnels'
+
+
+
+
+
+
+
+ Instance Attribute Summary collapse
+
+
+ -
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ TunnelsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+
+
A new instance of TunnelsClient.
+
+
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
List all online tunnels currently running on the account.
+
+
+
+
+
+
+
+
+
+ Constructor Details
+
+
+
+
+ #initialize(client:) ⇒ TunnelsClient
+
+
+
+
+
+
+
+
+Returns a new instance of TunnelsClient.
+
+
+
+
+
+
+
+
+
+
+18
+19
+20
+
+
+ # File 'lib/ngrokapi/services/tunnels_client.rb', line 18
+
+def initialize(client:)
+ @client = client
+end
+
+
+
+
+
+
+
+
+ Instance Attribute Details
+
+
+
+
+
+
+ #client ⇒ Object (readonly)
+
+
+
+
+
+
+
+
+Returns the value of attribute client.
+
+
+
+
+
+
+
+
+
+
+16
+17
+18
+
+
+ # File 'lib/ngrokapi/services/tunnels_client.rb', line 16
+
+def client
+ @client
+end
+
+
+
+
+
+
+
+
+
+ Instance Method Details
+
+
+
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+List all online tunnels currently running on the account.
+
+
+
+
+
+
+
+
+
+
+
+
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'lib/ngrokapi/services/tunnels_client.rb', line 31
+
+def list(
+ before_id: nil,
+ limit: nil,
+ url: nil
+)
+ result = @client.list(
+ before_id: before_id,
+ limit: limit,
+ url: url,
+ path: PATH
+ )
+ NgrokAPI::Models::Listable.new(
+ client: self,
+ result: result,
+ list_property: LIST_PROPERTY,
+ klass: NgrokAPI::Models::Tunnel
+ )
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/_index.html b/doc/_index.html
index 58709cf..0f5f21e 100644
--- a/doc/_index.html
+++ b/doc/_index.html
@@ -81,14 +81,56 @@
-
- ApiKey
+ APIKey
(NgrokAPI::Models)
-
- ApiKeysClient
+ APIKeysClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ AWSAuth
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AWSCredentials
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AWSRole
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AbuseReport
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AbuseReportHostname
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ AbuseReportsClient
(NgrokAPI::Services)
@@ -102,6 +144,20 @@
- C
+ -
+ CertificateAuthoritiesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ CertificateAuthority
+
+ (NgrokAPI::Models)
+
+
+
-
Client
@@ -109,6 +165,20 @@
+ -
+ Credential
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ CredentialsClient
+
+ (NgrokAPI::Services)
+
+
+
@@ -117,6 +187,34 @@
- E
+ -
+ EndpointCircuitBreaker
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointCircuitBreakerModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointCompression
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointCompressionModuleClient
+
+ (NgrokAPI::Services)
+
+
+
-
EndpointConfiguration
@@ -131,6 +229,209 @@
+ -
+ EndpointIPPolicy
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointIPPolicyModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointIPPolicyMutate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointLogging
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointLoggingModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointLoggingMutate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointMutualTLS
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointMutualTLSModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointMutualTLSMutate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuth
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthFacebook
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthGitHub
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthGoogle
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthMicrosoft
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOAuthModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointOAuthProvider
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOIDC
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointOIDCModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointRequestHeaders
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointRequestHeadersModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointResponseHeaders
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointResponseHeadersModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointSAML
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointSAMLModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointSAMLMutate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointTLSTermination
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointTLSTerminationModuleClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EndpointWebhookValidation
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EndpointWebhookValidationModuleClient
+
+ (NgrokAPI::Services)
+
+
+
-
Error
@@ -145,6 +446,97 @@
+ -
+ EventDestination
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventDestinationsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EventSource
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventSourceReplace
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventSourcesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EventStream
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventStreamsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EventSubscription
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventSubscriptionsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ EventTarget
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventTargetCloudwatchLogs
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventTargetFirehose
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ EventTargetKinesis
+
+ (NgrokAPI::Models)
+
+
+
@@ -164,6 +556,70 @@
+
+ - I
+
+
+ -
+ IPPoliciesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ IPPolicy
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ IPPolicyRule
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ IPPolicyRulesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ IPRestriction
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ IPRestrictionsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ IPWhitelistClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ IPWhitelistEntry
+
+ (NgrokAPI::Models)
+
+
+
+
+
+
+
- L
@@ -194,6 +650,9 @@
+
+
+
- N
@@ -214,9 +673,6 @@
-
-
-
- P
@@ -236,6 +692,27 @@
- R
+ -
+ Ref
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedAddr
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedAddrsClient
+
+ (NgrokAPI::Services)
+
+
+
-
ReservedDomain
@@ -243,6 +720,34 @@
+ -
+ ReservedDomainCertJob
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedDomainCertNSTarget
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedDomainCertPolicy
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ ReservedDomainCertStatus
+
+ (NgrokAPI::Models)
+
+
+
-
ReservedDomainsClient
@@ -258,6 +763,62 @@
- S
+ -
+ SSHCertificateAuthoritiesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ SSHCertificateAuthority
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ SSHCredential
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ SSHCredentialsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ SSHHostCertificate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ SSHHostCertificatesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ SSHUserCertificate
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ SSHUserCertificatesClient
+
+ (NgrokAPI::Services)
+
+
+
-
Services
@@ -274,14 +835,49 @@
-
- TlsCertificate
+ TLSCertificate
(NgrokAPI::Models)
-
- TlsCertificatesClient
+ TLSCertificateSANs
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ TLSCertificatesClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ Tunnel
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ TunnelSession
+
+ (NgrokAPI::Models)
+
+
+
+ -
+ TunnelSessionsClient
+
+ (NgrokAPI::Services)
+
+
+
+ -
+ TunnelsClient
(NgrokAPI::Services)
@@ -299,7 +895,7 @@
diff --git a/doc/class_list.html b/doc/class_list.html
index 7662b29..f520d89 100644
--- a/doc/class_list.html
+++ b/doc/class_list.html
@@ -43,7 +43,7 @@
-- NgrokAPITop Level Namespace
- Client < ObjectNgrokAPI
- Error < StandardErrorNgrokAPI
- ErrorsNgrokAPI
- NotFoundError < ErrorNgrokAPI::Errors
- HttpClient < ObjectNgrokAPI
- ModelsNgrokAPI
- ApiKey < ObjectNgrokAPI::Models
- EndpointConfiguration < ObjectNgrokAPI::Models
- Listable < ObjectNgrokAPI::Models
- ReservedDomain < ObjectNgrokAPI::Models
- TlsCertificate < ObjectNgrokAPI::Models
- PagedIterator < ObjectNgrokAPI
- ServicesNgrokAPI
- ApiKeysClient < ObjectNgrokAPI::Services
- EndpointConfigurationsClient < ObjectNgrokAPI::Services
- ReservedDomainsClient < ObjectNgrokAPI::Services
- TlsCertificatesClient < ObjectNgrokAPI::Services
+- NgrokAPITop Level Namespace
- Client < ObjectNgrokAPI
- Error < StandardErrorNgrokAPI
- ErrorsNgrokAPI
- NotFoundError < ErrorNgrokAPI::Errors
- HttpClient < ObjectNgrokAPI
- ModelsNgrokAPI
- APIKey < ObjectNgrokAPI::Models
- AWSAuth < ObjectNgrokAPI::Models
- AWSCredentials < ObjectNgrokAPI::Models
- AWSRole < ObjectNgrokAPI::Models
- AbuseReport < ObjectNgrokAPI::Models
- AbuseReportHostname < ObjectNgrokAPI::Models
- CertificateAuthority < ObjectNgrokAPI::Models
- Credential < ObjectNgrokAPI::Models
- EndpointCircuitBreaker < ObjectNgrokAPI::Models
- EndpointCompression < ObjectNgrokAPI::Models
- EndpointConfiguration < ObjectNgrokAPI::Models
- EndpointIPPolicy < ObjectNgrokAPI::Models
- EndpointIPPolicyMutate < ObjectNgrokAPI::Models
- EndpointLogging < ObjectNgrokAPI::Models
- EndpointLoggingMutate < ObjectNgrokAPI::Models
- EndpointMutualTLS < ObjectNgrokAPI::Models
- EndpointMutualTLSMutate < ObjectNgrokAPI::Models
- EndpointOAuth < ObjectNgrokAPI::Models
- EndpointOAuthFacebook < ObjectNgrokAPI::Models
- EndpointOAuthGitHub < ObjectNgrokAPI::Models
- EndpointOAuthGoogle < ObjectNgrokAPI::Models
- EndpointOAuthMicrosoft < ObjectNgrokAPI::Models
- EndpointOAuthProvider < ObjectNgrokAPI::Models
- EndpointOIDC < ObjectNgrokAPI::Models
- EndpointRequestHeaders < ObjectNgrokAPI::Models
- EndpointResponseHeaders < ObjectNgrokAPI::Models
- EndpointSAML < ObjectNgrokAPI::Models
- EndpointSAMLMutate < ObjectNgrokAPI::Models
- EndpointTLSTermination < ObjectNgrokAPI::Models
- EndpointWebhookValidation < ObjectNgrokAPI::Models
- EventDestination < ObjectNgrokAPI::Models
- EventSource < ObjectNgrokAPI::Models
- EventSourceReplace < ObjectNgrokAPI::Models
- EventStream < ObjectNgrokAPI::Models
- EventSubscription < ObjectNgrokAPI::Models
- EventTarget < ObjectNgrokAPI::Models
- EventTargetCloudwatchLogs < ObjectNgrokAPI::Models
- EventTargetFirehose < ObjectNgrokAPI::Models
- EventTargetKinesis < ObjectNgrokAPI::Models
- IPPolicy < ObjectNgrokAPI::Models
- IPPolicyRule < ObjectNgrokAPI::Models
- IPRestriction < ObjectNgrokAPI::Models
- IPWhitelistEntry < ObjectNgrokAPI::Models
- Listable < ObjectNgrokAPI::Models
- Ref < ObjectNgrokAPI::Models
- ReservedAddr < ObjectNgrokAPI::Models
- ReservedDomain < ObjectNgrokAPI::Models
- ReservedDomainCertJob < ObjectNgrokAPI::Models
- ReservedDomainCertNSTarget < ObjectNgrokAPI::Models
- ReservedDomainCertPolicy < ObjectNgrokAPI::Models
- ReservedDomainCertStatus < ObjectNgrokAPI::Models
- SSHCertificateAuthority < ObjectNgrokAPI::Models
- SSHCredential < ObjectNgrokAPI::Models
- SSHHostCertificate < ObjectNgrokAPI::Models
- SSHUserCertificate < ObjectNgrokAPI::Models
- TLSCertificate < ObjectNgrokAPI::Models
- TLSCertificateSANs < ObjectNgrokAPI::Models
- Tunnel < ObjectNgrokAPI::Models
- TunnelSession < ObjectNgrokAPI::Models
- PagedIterator < ObjectNgrokAPI
- ServicesNgrokAPI
- APIKeysClient < ObjectNgrokAPI::Services
- AbuseReportsClient < ObjectNgrokAPI::Services
- CertificateAuthoritiesClient < ObjectNgrokAPI::Services
- CredentialsClient < ObjectNgrokAPI::Services
- EndpointCircuitBreakerModuleClient < ObjectNgrokAPI::Services
- EndpointCompressionModuleClient < ObjectNgrokAPI::Services
- EndpointConfigurationsClient < ObjectNgrokAPI::Services
- EndpointIPPolicyModuleClient < ObjectNgrokAPI::Services
- EndpointLoggingModuleClient < ObjectNgrokAPI::Services
- EndpointMutualTLSModuleClient < ObjectNgrokAPI::Services
- EndpointOAuthModuleClient < ObjectNgrokAPI::Services
- EndpointOIDCModuleClient < ObjectNgrokAPI::Services
- EndpointRequestHeadersModuleClient < ObjectNgrokAPI::Services
- EndpointResponseHeadersModuleClient < ObjectNgrokAPI::Services
- EndpointSAMLModuleClient < ObjectNgrokAPI::Services
- EndpointTLSTerminationModuleClient < ObjectNgrokAPI::Services
- EndpointWebhookValidationModuleClient < ObjectNgrokAPI::Services
- EventDestinationsClient < ObjectNgrokAPI::Services
- EventSourcesClient < ObjectNgrokAPI::Services
- EventStreamsClient < ObjectNgrokAPI::Services
- EventSubscriptionsClient < ObjectNgrokAPI::Services
- IPPoliciesClient < ObjectNgrokAPI::Services
- IPPolicyRulesClient < ObjectNgrokAPI::Services
- IPRestrictionsClient < ObjectNgrokAPI::Services
- IPWhitelistClient < ObjectNgrokAPI::Services
- ReservedAddrsClient < ObjectNgrokAPI::Services
- ReservedDomainsClient < ObjectNgrokAPI::Services
- SSHCertificateAuthoritiesClient < ObjectNgrokAPI::Services
- SSHCredentialsClient < ObjectNgrokAPI::Services
- SSHHostCertificatesClient < ObjectNgrokAPI::Services
- SSHUserCertificatesClient < ObjectNgrokAPI::Services
- TLSCertificatesClient < ObjectNgrokAPI::Services
- TunnelSessionsClient < ObjectNgrokAPI::Services
- TunnelsClient < ObjectNgrokAPI::Services
diff --git a/doc/file.README.html b/doc/file.README.html
index 7c6280b..250e81f 100644
--- a/doc/file.README.html
+++ b/doc/file.README.html
@@ -116,7 +116,7 @@
diff --git a/doc/index.html b/doc/index.html
index f813551..2e93085 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -116,7 +116,7 @@
diff --git a/doc/method_list.html b/doc/method_list.html
index df71183..34bae34 100644
--- a/doc/method_list.html
+++ b/doc/method_list.html
@@ -46,8 +46,40 @@
-
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::Tunnel
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::APIKey
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::AWSAuth
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::AWSRole
@@ -62,21 +94,269 @@
-
-
-
+
+ #==
+ NgrokAPI::Models::AbuseReport
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventSource
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventTarget
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::TunnelSession
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::AWSCredentials
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomain
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::TLSCertificate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointLogging
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventDestination
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointCompression
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventSourceReplace
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventTargetKinesis
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::AbuseReportHostname
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventTargetFirehose
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::TLSCertificateSANs
+
+
+
+
+ -
#==
NgrokAPI::Models::EndpointConfiguration
@@ -84,6 +364,238 @@
+
-
+
+ #==
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointLoggingMutate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomainCertJob
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointIPPolicyMutate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointMutualTLSMutate
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomainCertPolicy
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomainCertStatus
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::EventTargetCloudwatchLogs
+
+
+
+
+ -
+
+ #==
+ NgrokAPI::Models::ReservedDomainCertNSTarget
+
+
+
+
+ -
+
+ #abuse_reports
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #acl
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #acl
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
+
+ #action
+ NgrokAPI::Models::IPPolicy
+
+
+
+
+ -
+
+ #add
+ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+ -
+
+ #add
+ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+ -
+
+ #addr
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #agent_version
+ NgrokAPI::Models::TunnelSession
+
+
+
+
+ -
+
+ #allow_idp_initiated
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #allow_idp_initiated
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
-
#api_key
@@ -102,13 +614,117 @@
-
- #base_url
- NgrokAPI::HttpClient
+ #assertion_consumer_service_url
+ NgrokAPI::Models::EndpointSAML
-
+
+ #auth
+ NgrokAPI::Models::EventTargetKinesis
+
+
+
+
+ -
+
+ #auth
+ NgrokAPI::Models::EventTargetFirehose
+
+
+
+
+ -
+
+ #auth
+ NgrokAPI::Models::EventTargetCloudwatchLogs
+
+
+
+
+ -
+
+ #auth_check_interval
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+ -
+
+ #authority
+ NgrokAPI::Models::ReservedDomainCertPolicy
+
+
+
+
+ -
+
+ #authorized_groups
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #authorized_groups
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #aws_access_key_id
+ NgrokAPI::Models::AWSCredentials
+
+
+
+
+ -
+
+ #aws_secret_access_key
+ NgrokAPI::Models::AWSCredentials
+
+
+
+
+ -
+
+ #backend
+ NgrokAPI::Models::EndpointConfiguration
+
+
+
+
+ -
+
+ #base_url
+ NgrokAPI::HttpClient
+
+
+
+
+ -
+
+ #basic_auth
+ NgrokAPI::Models::EndpointConfiguration
+
+
+
+
+ -
+
+ #ca_pem
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
#certificate
NgrokAPI::Models::ReservedDomain
@@ -116,6 +732,46 @@
+
-
+
+ #certificate
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #certificate
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #certificate_authorities
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #certificate_authorities
+ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+ -
+
+ #certificate_authority_ids
+ NgrokAPI::Models::EndpointMutualTLSMutate
+
+
+
+
-
#certificate_management_policy
@@ -134,13 +790,53 @@
-
- #client
- NgrokAPI::Models::ApiKey
+ #certificate_pem
+ NgrokAPI::Models::TLSCertificate
-
+
+ #cidr
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #circuit_breaker
+ NgrokAPI::Models::EndpointConfiguration
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::Ref
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::Tunnel
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::APIKey
+
+
+
+
+ -
#client
NgrokAPI::PagedIterator
@@ -148,7 +844,23 @@
+
-
+
+ #client
+ NgrokAPI::Models::AWSAuth
+
+
+
+
-
+
+ #client
+ NgrokAPI::Models::AWSRole
+
+
+
+
+ -
#client
NgrokAPI::Models::Listable
@@ -156,6 +868,126 @@
+
-
+
+ #client
+ NgrokAPI::Models::IPPolicy
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::AbuseReport
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventSource
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventTarget
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::TunnelSession
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::AWSCredentials
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
-
#client
@@ -166,16 +998,176 @@
-
-
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::TunnelsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventDestination
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointCompression
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventSourceReplace
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventTargetKinesis
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::AbuseReportHostname
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventTargetFirehose
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::TLSCertificateSANs
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::IPWhitelistClient
@@ -190,21 +1182,301 @@
-
-
-
+
+ #client
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointLoggingMutate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedDomainCertJob
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::TunnelSessionsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointIPPolicyMutate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::ReservedDomainsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::TLSCertificatesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointMutualTLSMutate
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedDomainCertPolicy
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedDomainCertStatus
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EventDestinationsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::EventTargetCloudwatchLogs
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Models::ReservedDomainCertNSTarget
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+
+
+ -
#client
NgrokAPI::Services::EndpointConfigurationsClient
@@ -212,6 +1484,174 @@
+
-
+
+ #client
+ NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #client
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #client_id
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #client_secret
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #cloudwatch_logs
+ NgrokAPI::Models::EventTarget
+
+
+
+
-
#cname_target
@@ -222,13 +1662,133 @@
-
- #create
- NgrokAPI::Services::ApiKeysClient
+ #compression
+ NgrokAPI::Models::EndpointConfiguration
-
+
+ #cookie_prefix
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #cookie_prefix
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #cookie_prefix
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+ -
+
+ #cookie_prefix
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::AbuseReportsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
#create
NgrokAPI::Services::ReservedDomainsClient
@@ -236,10 +1796,50 @@
+
-
+
+ #create
+ NgrokAPI::Services::TLSCertificatesClient
+
+
+
+
-
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #create
+ NgrokAPI::Services::CertificateAuthoritiesClient
@@ -254,13 +1854,85 @@
-
- #created_at
- NgrokAPI::Models::ApiKey
+ #create
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
-
+
+ #created_at
+ NgrokAPI::Models::APIKey
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::IPPolicy
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::AbuseReport
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
#created_at
NgrokAPI::Models::ReservedDomain
@@ -268,15 +1940,63 @@
+
-
+
+ #created_at
+ NgrokAPI::Models::TLSCertificate
+
+
+
+
-
- #created_at
- NgrokAPI::Models::TlsCertificate
+ #created_at
+ NgrokAPI::Models::EventDestination
-
+
+ #created_at
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #created_at
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
#created_at
NgrokAPI::Models::EndpointConfiguration
@@ -284,7 +2004,55 @@
+
-
+
+ #created_at
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
-
+
+ #credential
+ NgrokAPI::Models::TunnelSession
+
+
+
+
+ -
+
+ #credentials
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #creds
+ NgrokAPI::Models::AWSAuth
+
+
+
+
+ -
+
+ #critical_options
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #debug
+ NgrokAPI::Models::EventTarget
+
+
+
+
+ -
#delete
NgrokAPI::HttpClient
@@ -292,10 +2060,66 @@
+
-
+
+ #delete
+ NgrokAPI::Models::APIKey
+
+
+
+
-
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::SSHCredential
@@ -310,21 +2134,93 @@
-
-
-
+
+ #delete
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
#delete
NgrokAPI::Models::EndpointConfiguration
@@ -332,6 +2228,62 @@
+
-
+
+ #delete
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
-
#delete
@@ -342,8 +2294,72 @@
-
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EventDestinationsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::CertificateAuthoritiesClient
@@ -358,13 +2374,165 @@
-
-
+
+ #delete
+ NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #delete
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
#delete!
NgrokAPI::Services::ReservedDomainsClient
@@ -372,15 +2540,79 @@
+
-
+
+ #delete!
+ NgrokAPI::Services::TLSCertificatesClient
+
+
+
+
-
-
+
+ #delete!
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+
+
+ -
#delete!
NgrokAPI::Services::EndpointConfigurationsClient
@@ -388,10 +2620,82 @@
+
-
+
+ #delete!
+ NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
-
- #delete_certificate
- NgrokAPI::Models::ReservedDomain
+ #delete!
+ NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #delete!
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
@@ -413,14 +2717,6 @@
-
-
- #delete_certificate_management_policy
- NgrokAPI::Models::ReservedDomain
-
-
-
-
- -
#delete_certificate_management_policy
NgrokAPI::Services::ReservedDomainsClient
@@ -428,7 +2724,7 @@
-
-
+
-
#delete_certificate_management_policy!
NgrokAPI::Services::ReservedDomainsClient
@@ -436,10 +2732,18 @@
+
-
+
+ #delete_endpoint_config
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
-
- #delete_http_endpoint_config
- NgrokAPI::Models::ReservedDomain
+ #delete_endpoint_config!
+ NgrokAPI::Services::ReservedAddrsClient
@@ -461,14 +2765,6 @@
-
-
- #delete_https_endpoint_config
- NgrokAPI::Models::ReservedDomain
-
-
-
-
- -
#delete_https_endpoint_config
NgrokAPI::Services::ReservedDomainsClient
@@ -476,7 +2772,7 @@
-
-
+
-
#delete_https_endpoint_config!
NgrokAPI::Services::ReservedDomainsClient
@@ -484,15 +2780,79 @@
+
-
+
+ #delivery_stream_arn
+ NgrokAPI::Models::EventTargetFirehose
+
+
+
+
-
- #description
- NgrokAPI::Models::ApiKey
+ #description
+ NgrokAPI::Models::APIKey
-
+
+ #description
+ NgrokAPI::Models::IPPolicy
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::Credential
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::SSHCredential
+
+
+
+
+ -
#description
NgrokAPI::Models::ReservedDomain
@@ -500,15 +2860,63 @@
+
-
+
+ #description
+ NgrokAPI::Models::TLSCertificate
+
+
+
+
-
- #description
- NgrokAPI::Models::TlsCertificate
+ #description
+ NgrokAPI::Models::EventDestination
-
+
+ #description
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #description
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
#description
NgrokAPI::Models::EndpointConfiguration
@@ -516,7 +2924,39 @@
+
-
+
+ #description
+ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
-
+
+ #destination_ids
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #destinations
+ NgrokAPI::Models::EventSubscription
+
+
+
+
+ -
+
+ #dns_names
+ NgrokAPI::Models::TLSCertificateSANs
+
+
+
+
+ -
#domain
NgrokAPI::Models::ReservedDomain
@@ -524,6 +2964,206 @@
+
-
+
+ #email_addresses
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #email_addresses
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #email_addresses
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #email_addresses
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #email_domains
+ NgrokAPI::Models::EndpointOAuthGoogle
+
+
+
+
+ -
+
+ #email_domains
+ NgrokAPI::Models::EndpointOAuthGitHub
+
+
+
+
+ -
+
+ #email_domains
+ NgrokAPI::Models::EndpointOAuthFacebook
+
+
+
+
+ -
+
+ #email_domains
+ NgrokAPI::Models::EndpointOAuthMicrosoft
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointOIDC
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointOAuth
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointLogging
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointIPPolicy
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointMutualTLS
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointCompression
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointLoggingMutate
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointRequestHeaders
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointTLSTermination
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointIPPolicyMutate
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointResponseHeaders
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointMutualTLSMutate
+
+
+
+
+ -
+
+ #enabled
+ NgrokAPI::Models::EndpointWebhookValidation
+
+
+
+
+ -
+
+ #endpoint_configuration
+ NgrokAPI::Models::ReservedAddr
+
+
+
+
-
#endpoint_configurations
@@ -532,6 +3172,198 @@
+
-
+
+ #enforced
+ NgrokAPI::Models::IPRestriction
+
+
+
+
+ -
+
+ #entity_id
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #error_code
+ NgrokAPI::Models::ReservedDomainCertJob
+
+
+
+
+ -
+
+ #error_threshold_percentage
+ NgrokAPI::Models::EndpointCircuitBreaker
+
+
+
+
+ -
+
+ #event_destinations
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #event_sources
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #event_stream_ids
+ NgrokAPI::Models::EndpointLoggingMutate
+
+
+
+
+ -
+
+ #event_streams
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #event_streams
+ NgrokAPI::Models::EndpointLogging
+
+
+
+
+ -
+
+ #event_subscriptions
+ NgrokAPI::Client
+
+
+
+
+ -
+
+ #event_type
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #extended_key_usages
+ NgrokAPI::Models::TLSCertificate
+
+
+
+
+ -
+
+ #extended_key_usages
+ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+ -
+
+ #extensions
+ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+ -
+
+ #facebook
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #fields
+ NgrokAPI::Models::EventSource
+
+
+
+
+ -
+
+ #fields
+ NgrokAPI::Models::EventStream
+
+
+
+
+ -
+
+ #fields
+ NgrokAPI::Models::EventSourceReplace
+
+
+
+
+ -
+
+ #filter
+ NgrokAPI::Models::EventSource
+
+
+
+
+ -
+
+ #filter
+ NgrokAPI::Models::EventSourceReplace
+
+
+
+
+ -
+
+ #firehose
+ NgrokAPI::Models::EventTarget
+
+
+
+
+ -
+
+ #force_authn
+ NgrokAPI::Models::EndpointSAML
+
+
+
+
+ -
+
+ #force_authn
+ NgrokAPI::Models::EndpointSAMLMutate
+
+
+
+
+ -
+
+ #format
+ NgrokAPI::Models::EventDestination
+
+
+
+
-
#get
@@ -542,13 +3374,101 @@
-
-
+
+ #get
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::AbuseReportsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::TunnelSessionsClient
+
+
+
+
+ -
#get
NgrokAPI::Services::ReservedDomainsClient
@@ -556,15 +3476,79 @@
+
-
+
+ #get
+ NgrokAPI::Services::TLSCertificatesClient
+
+
+
+
-
-
+
+ #get
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::CertificateAuthoritiesClient
+
+
+
+
+ -
#get
NgrokAPI::Services::EndpointConfigurationsClient
@@ -572,10 +3556,178 @@
+
-
+
+ #get
+ NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
-
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #get
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::APIKeysClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::CredentialsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::IPPoliciesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::IPWhitelistClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::AbuseReportsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EventSourcesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EventStreamsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::ReservedAddrsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::IPPolicyRulesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::IPRestrictionsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::SSHCredentialsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::TunnelSessionsClient
@@ -590,8 +3742,72 @@
-
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EventDestinationsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EventSubscriptionsClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointOIDCModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointSAMLModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::SSHHostCertificatesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::SSHUserCertificatesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointOAuthModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::CertificateAuthoritiesClient
@@ -604,6 +3820,86 @@
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointLoggingModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointIPPolicyModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointMutualTLSModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointCompressionModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::SSHCertificateAuthoritiesClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointCircuitBreakerModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointRequestHeadersModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointTLSTerminationModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointResponseHeadersModuleClient
+
+
+
+
+ -
+
+ #get!
+ NgrokAPI::Services::EndpointWebhookValidationModuleClient
+
+
+
+
-
#get_next
@@ -612,6 +3908,38 @@
+
-
+
+ #github
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #google
+ NgrokAPI::Models::EndpointOAuthProvider
+
+
+
+
+ -
+
+ #hostname
+ NgrokAPI::Models::AbuseReportHostname
+
+
+
+
+ -
+
+ #hostnames
+ NgrokAPI::Models::AbuseReport
+
+
+
+
-
#http_endpoint_configuration
@@ -630,13 +3958,101 @@
-
-
A client for interacting with the api_keys API
+API Keys are used to authenticate to the (ngrok.com/docs/api#authentication)ngrok
+ +API. You may use the API itself
+to provision and manage API Keys but you'll need to provision your first API
+key from the (https://dashboard.ngrok.com/api/keys)API Keys page on your
+ngrok.com dashboard.
+
ngrok.com/docs/api#api-api-keys
@@ -121,6 +127,22 @@-
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/api_keys'
+
- LIST_PROPERTY =
@@ -137,22 +159,6 @@
-'keys'- PATH = -
--- -- --The API path for API keys
- - - - @@ -207,7 +213,7 @@'/api_keys'- - #create(description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey + #create(description: "", metadata: "") ⇒ NgrokAPI::Models::APIKey @@ -231,7 +237,7 @@
- - #delete(id: nil) ⇒ nil + #delete(id: "") ⇒ NgrokAPI::Models::Empty @@ -255,7 +261,7 @@
- - #delete!(id: nil) ⇒ nil + #delete!(id: "") ⇒ NgrokAPI::Models::Empty @@ -270,7 +276,7 @@
@@ -279,7 +285,7 @@-Delete an API key by ID.
+Delete an API key by ID Throws an exception if API error.
- - #get(id: nil) ⇒ NgrokAPI::Models::ApiKey + #get(id: "") ⇒ NgrokAPI::Models::APIKey @@ -303,7 +309,7 @@
- - #get!(id: nil) ⇒ NgrokAPI::Models::ApiKey + #get!(id: "") ⇒ NgrokAPI::Models::APIKey @@ -327,7 +333,7 @@
- - #initialize(client:) ⇒ ApiKeysClient + #initialize(client:) ⇒ APIKeysClient @@ -344,7 +350,7 @@
@@ -377,7 +383,7 @@-A new instance of ApiKeysClient.
+A new instance of APIKeysClient.
- - #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey @@ -401,7 +407,7 @@
- - #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey @@ -431,7 +437,7 @@
- #initialize(client:) ⇒ ApiKeysClient + #initialize(client:) ⇒ APIKeysClient @@ -440,7 +446,7 @@
-@@ -454,15 +460,15 @@Returns a new instance of ApiKeysClient.
+Returns a new instance of APIKeysClient.
-17 -18 -19
+22 +23 +24- @@ -502,12 +508,12 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 17 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 22 -def initialize(client:) - @client = client +def initialize(client:) + @client = client end
-15 -16 -17
+20 +21 +22- # File 'lib/ngrokapi/services/api_keys_client.rb', line 15 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 20 def client @client @@ -527,7 +533,7 @@
- #create(description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey + #create(description: "", metadata: "") ⇒ NgrokAPI::Models::APIKey @@ -555,7 +561,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -573,7 +579,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -591,13 +597,13 @@
- - (NgrokAPI::Models::ApiKey) + (NgrokAPI::Models::APIKey) —
@@ -610,17 +616,35 @@-result from create request
+result from the API request
-31 -32 -33 -34
+35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47- @@ -630,7 +654,7 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 31 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 35 -def create(description: nil, metadata: nil) - result = @client.post(PATH, data: build_data(description: description, metadata: )) - NgrokAPI::Models::ApiKey.new(client: self, result: result) +def create( + description: "", + metadata: "" +) + path = '/api_keys' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::APIKey.new(client: self, result: result) end
- #delete(id: nil) ⇒ nil + #delete(id: "") ⇒ NgrokAPI::Models::Empty @@ -639,7 +663,7 @@
-Delete an API key by ID.
+Delete an API key by ID
ngrok.com/docs/api#api-api-keys-delete
@@ -658,7 +682,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -676,13 +700,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -695,15 +719,27 @@-result from delete request
+result from the API request
-44 -45 -46
+56 +57 +58 +59 +60 +61 +62 +63 +64- @@ -713,7 +749,7 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 44 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 56 -def delete(id: nil) - @client.delete("#{PATH}/#{id}") +def delete( + id: "" +) + path = '/api_keys/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) end
- #delete!(id: nil) ⇒ nil + #delete!(id: "") ⇒ NgrokAPI::Models::Empty @@ -722,7 +758,7 @@
-Delete an API key by ID. Throw an exception if 404.
+Delete an API key by ID Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-delete
@@ -741,7 +777,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -759,13 +795,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -778,15 +814,27 @@-result from delete request
+result from the API request
-55 -56 -57
+74 +75 +76 +77 +78 +79 +80 +81 +82- @@ -796,7 +844,7 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 55 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 74 -def delete!(id: nil) - @client.delete("#{PATH}/#{id}", danger: true) +def delete!( + id: "" +) + path = '/api_keys/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) end
- #get(id: nil) ⇒ NgrokAPI::Models::ApiKey + #get(id: "") ⇒ NgrokAPI::Models::APIKey @@ -824,7 +872,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -842,13 +890,13 @@
- - (NgrokAPI::Models::ApiKey) + (NgrokAPI::Models::APIKey) —
@@ -861,17 +909,31 @@-result from get request
+result from the API request
-66 -67 -68 -69
+91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101- @@ -881,7 +943,7 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 66 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 91 -def get(id: nil) - result = @client.get("#{PATH}/#{id}") - NgrokAPI::Models::ApiKey.new(client: self, result: result) +def get( + id: "" +) + path = '/api_keys/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::APIKey.new(client: self, result: result) end
- #get!(id: nil) ⇒ NgrokAPI::Models::ApiKey + #get!(id: "") ⇒ NgrokAPI::Models::APIKey @@ -890,7 +952,7 @@
-Get the details of an API key by ID. Throw an exception if 404.
+Get the details of an API key by ID. Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-get
@@ -909,7 +971,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -927,13 +989,13 @@- - (NgrokAPI::Models::ApiKey) + (NgrokAPI::Models::APIKey) —
@@ -946,17 +1008,31 @@-result from get request
+result from the API request
-78 -79 -80 -81
+111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121- @@ -975,7 +1051,7 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 78 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 111 -def get!(id: nil) - result = @client.get("#{PATH}/#{id}", danger: true) - NgrokAPI::Models::ApiKey.new(client: self, result: result) +def get!( + id: "" +) + path = '/api_keys/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::APIKey.new(client: self, result: result) end
-List all API keys owned by this account.
+List all API keys owned by this account
ngrok.com/docs/api#api-api-keys-list
@@ -1004,7 +1080,7 @@ limit - (integer) + (string) (defaults to: nil) @@ -1044,7 +1120,7 @@ —-@@ -1057,27 +1133,45 @@the result listable
+result from the API request
-92 -93 -94 -95 -96 -97 -98 -99 -100
+132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149- @@ -1087,7 +1181,7 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 92 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 132 -def list(before_id: nil, limit: nil, url: nil) - result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH) - NgrokAPI::Models::Listable.new( - client: self, - result: result, - list_property: LIST_PROPERTY, - klass: NgrokAPI::Models::ApiKey - ) +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::APIKey + ) end
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey @@ -1115,7 +1209,7 @@ (string) - (defaults to: nil) + (defaults to: "") @@ -1164,13 +1258,13 @@
- - (NgrokAPI::Models::ApiKey) + (NgrokAPI::Models::APIKey) —
@@ -1183,17 +1277,39 @@-result from update request
+result from the API request
-113 -114 -115 -116
+160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174- @@ -1203,7 +1319,7 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 113 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 160 -def update(id: nil, description: nil, metadata: nil) - result = @client.patch("#{PATH}/#{id}", data: build_data(description: description, metadata: )) - NgrokAPI::Models::ApiKey.new(client: self, result: result) +def update( + id: "", + description: nil, + metadata: nil +) + path = '/api_keys/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::APIKey.new(client: self, result: result) end
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::ApiKey + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::APIKey @@ -1212,7 +1328,7 @@
-diff --git a/doc/NgrokAPI/Services/AbuseReportsClient.html b/doc/NgrokAPI/Services/AbuseReportsClient.html new file mode 100644 index 0000000..3c78ab7 --- /dev/null +++ b/doc/NgrokAPI/Services/AbuseReportsClient.html @@ -0,0 +1,723 @@ + + + + + +Update attributes of an API key by ID.
+Update attributes of an API key by ID. Throws an exception if API error.
ngrok.com/docs/api#api-api-keys-update
@@ -1231,7 +1347,7 @@ (string) - (defaults to: nil) + (defaults to: "") @@ -1280,13 +1396,13 @@- - (NgrokAPI::Models::ApiKey) + (NgrokAPI::Models::APIKey) —
@@ -1299,19 +1415,39 @@-result from update request
+result from the API request
-127 -128 -129 -130 -131
+186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200- @@ -1323,7 +1459,7 @@# File 'lib/ngrokapi/services/api_keys_client.rb', line 127 +
# File 'lib/ngrokapi/services/api_keys_client.rb', line 186 -def update!(id: nil, description: nil, metadata: nil) - data = build_data(description: description, metadata: ) - result = @client.patch("#{PATH}/#{id}", danger: true, data: data) - NgrokAPI::Models::ApiKey.new(client: self, result: result) +def update!( + id: "", + description: nil, + metadata: nil +) + path = '/api_keys/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::APIKey.new(client: self, result: result) end
+ Class: NgrokAPI::Services::AbuseReportsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html b/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html new file mode 100644 index 0000000..c88da70 --- /dev/null +++ b/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html @@ -0,0 +1,1489 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::AbuseReportsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::AbuseReportsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/abuse_reports_client.rb +
Overview
++ + ++ ++Abuse Reports allow you to submit take-down requests for URLs hosted by
+ +
+ + + + +ngrok that violate ngrok's terms of service. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/abuse_reports'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(urls:, metadata: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Creates a new abuse report which will be reviewed by our system and abuse response team.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get the detailed status of abuse report by ID.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::AbuseReport
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get the detailed status of abuse report by ID.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ AbuseReportsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of AbuseReportsClient.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ AbuseReportsClient + + + + + +
+++ ++Returns a new instance of AbuseReportsClient.
+ + ++
++ ++ ++ + +16 +17 +18
++ +# File 'lib/ngrokapi/services/abuse_reports_client.rb', line 16 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +14 +15 +16
++ +# File 'lib/ngrokapi/services/abuse_reports_client.rb', line 14 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(urls:, metadata: "") ⇒ NgrokAPI::Models::AbuseReport + + + + + +
+++ ++Creates a new abuse report which will be reviewed by our system and abuse response team. This API is only available to authorized accounts. Contact abuse@ngrok.com to request access
+ + + + ++
++ ++ ++ + +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42
++ +# File 'lib/ngrokapi/services/abuse_reports_client.rb', line 30 + +def create( + urls:, + metadata: "" +) + path = '/abuse_reports' + replacements = { + } + data = {} + data[:urls] = urls if urls + data[:metadata] = if + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::AbuseReport.new(client: self, result: result) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::AbuseReport + + + + + +
+++ ++Get the detailed status of abuse report by ID.
+ + + + ++
++ ++ ++ + +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61
++ +# File 'lib/ngrokapi/services/abuse_reports_client.rb', line 51 + +def get( + id: "" +) + path = '/abuse_reports/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::AbuseReport.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::AbuseReport + + + + + +
+++ ++Get the detailed status of abuse report by ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81
++ +# File 'lib/ngrokapi/services/abuse_reports_client.rb', line 71 + +def get!( + id: "" +) + path = '/abuse_reports/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::AbuseReport.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::CertificateAuthoritiesClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/CredentialsClient.html b/doc/NgrokAPI/Services/CredentialsClient.html new file mode 100644 index 0000000..455ee34 --- /dev/null +++ b/doc/NgrokAPI/Services/CredentialsClient.html @@ -0,0 +1,1534 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::CertificateAuthoritiesClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::CertificateAuthoritiesClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/certificate_authorities_client.rb +
Overview
++ + ++ ++Certificate Authorities are x509 certificates that are used to sign other
+ +
+ + + + +x509 certificates. Attach a Certificate Authority to the Mutual TLS module +to verify that the TLS certificate presented by a client has been signed by +this CA. Certificate Authorities are used only for mTLS validation only and +thus a private key is not included in the resource. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/certificate_authorities'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'certificate_authorities'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", ca_pem:) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Upload a new Certificate Authority.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a Certificate Authority.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a Certificate Authority Throws an exception if API error.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about a certficate authority.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about a certficate authority Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ CertificateAuthoritiesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of CertificateAuthoritiesClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all Certificate Authority on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of a Certificate Authority by ID.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of a Certificate Authority by ID Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ CertificateAuthoritiesClient + + + + + +
+++ ++Returns a new instance of CertificateAuthoritiesClient.
+ + ++
++ ++ ++ + +21 +22 +23
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 21 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +19 +20 +21
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 19 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", ca_pem:) ⇒ NgrokAPI::Models::CertificateAuthority + + + + + +
+++ ++Upload a new Certificate Authority
+ + + + ++
++ ++ ++ + +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 34 + +def create( + description: "", + metadata: "", + ca_pem: +) + path = '/certificate_authorities' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:ca_pem] = ca_pem if ca_pem + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::CertificateAuthority.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete a Certificate Authority
+ + + + ++
++ ++ ++ + +57 +58 +59 +60 +61 +62 +63 +64 +65
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 57 + +def delete( + id: "" +) + path = '/certificate_authorities/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete a Certificate Authority Throws an exception if API error.
+ + + + ++
++ ++ ++ + +75 +76 +77 +78 +79 +80 +81 +82 +83
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 75 + +def delete!( + id: "" +) + path = '/certificate_authorities/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::CertificateAuthority + + + + + +
+++ ++Get detailed information about a certficate authority
+ + + + ++
++ ++ ++ + +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 92 + +def get( + id: "" +) + path = '/certificate_authorities/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::CertificateAuthority.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::CertificateAuthority + + + + + +
+++ ++Get detailed information about a certficate authority Throws an exception if API error.
+ + + + ++
++ ++ ++ + +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 112 + +def get!( + id: "" +) + path = '/certificate_authorities/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::CertificateAuthority.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all Certificate Authority on this account
+ + + + ++
++ ++ ++ + +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 133 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::CertificateAuthority + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority + + + + + +
+++ ++Update attributes of a Certificate Authority by ID
+ + + + ++
++ ++ ++ + +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 161 + +def update( + id: "", + description: nil, + metadata: nil +) + path = '/certificate_authorities/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::CertificateAuthority.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::CertificateAuthority + + + + + +
+++ ++Update attributes of a Certificate Authority by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201
++ +# File 'lib/ngrokapi/services/certificate_authorities_client.rb', line 187 + +def update!( + id: "", + description: nil, + metadata: nil +) + path = '/certificate_authorities/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::CertificateAuthority.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::CredentialsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html b/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html new file mode 100644 index 0000000..6cc5c4c --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::CredentialsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::CredentialsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/credentials_client.rb +
Overview
++ + ++ ++Tunnel Credentials are ngrok agent authtokens. They authorize the ngrok
+ +
+ + + + +agent to connect the ngrok service as your account. They are installed with +the ngrok authtoken command or by specifying it in the ngrok.yml +configuration file with the authtoken property. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/credentials'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'credentials'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", acl: []) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new tunnel authtoken credential.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a tunnel authtoken credential by ID.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about a tunnel authtoken credential.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about a tunnel authtoken credential Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ CredentialsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of CredentialsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all tunnel authtoken credentials on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an tunnel authtoken credential by ID.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an tunnel authtoken credential by ID Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ CredentialsClient + + + + + +
+++ ++Returns a new instance of CredentialsClient.
+ + ++
++ ++ ++ + +20 +21 +22
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 20 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +18 +19 +20
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 18 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", acl: []) ⇒ NgrokAPI::Models::Credential + + + + + +
+++ ++Create a new tunnel authtoken credential. This authtoken credential can be used to start a new tunnel session. The response to this API call is the only time the generated token is available. If you need it for future use, you must save it securely yourself.
+ + + + ++
++ ++ ++ + +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 36 + +def create( + description: "", + metadata: "", + acl: [] +) + path = '/credentials' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:acl] = acl if acl + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::Credential.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete a tunnel authtoken credential by ID
+ + + + ++
++ ++ ++ + +59 +60 +61 +62 +63 +64 +65 +66 +67
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 59 + +def delete( + id: "" +) + path = '/credentials/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete a tunnel authtoken credential by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +77 +78 +79 +80 +81 +82 +83 +84 +85
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 77 + +def delete!( + id: "" +) + path = '/credentials/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::Credential + + + + + +
+++ ++Get detailed information about a tunnel authtoken credential
+ + + + ++
++ ++ ++ + +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 94 + +def get( + id: "" +) + path = '/credentials/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::Credential.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::Credential + + + + + +
+++ ++Get detailed information about a tunnel authtoken credential Throws an exception if API error.
+ + + + ++
++ ++ ++ + +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 114 + +def get!( + id: "" +) + path = '/credentials/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::Credential.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all tunnel authtoken credentials on this account
+ + + + ++
++ ++ ++ + +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 135 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::Credential + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential + + + + + +
+++ ++Update attributes of an tunnel authtoken credential by ID
+ + + + ++
++ ++ ++ + +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 164 + +def update( + id: "", + description: nil, + metadata: nil, + acl: nil +) + path = '/credentials/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:acl] = acl if acl + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::Credential.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::Credential + + + + + +
+++ ++Update attributes of an tunnel authtoken credential by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208 +209
++ +# File 'lib/ngrokapi/services/credentials_client.rb', line 193 + +def update!( + id: "", + description: nil, + metadata: nil, + acl: nil +) + path = '/credentials/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:acl] = acl if acl + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::Credential.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointCircuitBreakerModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html b/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html new file mode 100644 index 0000000..1781e2d --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointCircuitBreakerModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointCircuitBreakerModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +
Overview
+ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/circuit_breaker'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointCircuitBreakerModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointCircuitBreakerModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointCircuitBreakerModuleClient + + + + + +
+++ ++Returns a new instance of EndpointCircuitBreakerModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/circuit_breaker' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/circuit_breaker' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker + + + + + +
++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/circuit_breaker' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointCircuitBreaker + + + + + +
++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/circuit_breaker' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/circuit_breaker' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCircuitBreaker + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/circuit_breaker' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointCircuitBreaker.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointCompressionModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointConfigurationsClient.html b/doc/NgrokAPI/Services/EndpointConfigurationsClient.html index e1f4631..60ad299 100644 --- a/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +++ b/doc/NgrokAPI/Services/EndpointConfigurationsClient.html @@ -102,7 +102,11 @@+ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointCompressionModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointCompressionModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_compression_module_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/compression'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointCompression + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointCompression + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointCompressionModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointCompressionModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointCompressionModuleClient + + + + + +
+++ ++Returns a new instance of EndpointCompressionModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/compression' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/compression' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointCompression + + + + + +
++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/compression' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointCompression.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointCompression + + + + + +
++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/compression' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointCompression.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/compression' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointCompression.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointCompression + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_compression_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/compression' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointCompression.new(client: self, result: result) +end
+Overview
-A client for interacting with the endpoint_configuration API
+Endpoint Configurations are a reusable group of modules that encapsulate how
+ +traffic to a domain or address is handled. Endpoint configurations are only +applied to Domains and TCP Addresses they have been attached to. +ngrok.com/docs/api#api-endpoint-configurations
@@ -121,6 +125,22 @@-
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations'
+
- LIST_PROPERTY =
@@ -137,22 +157,6 @@
-'endpoint_configurations'- PATH = -
--- -- --The API path for endpoint configurations
- - - - @@ -207,7 +211,7 @@'/endpoint_configurations'- - #create(description: '', metadata: '', type: '', circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #create(type: "", description: "", metadata: "", basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration @@ -231,7 +235,7 @@
- - #delete(id: nil) ⇒ nil + #delete(id: "") ⇒ NgrokAPI::Models::Empty @@ -255,7 +259,7 @@
- - #delete!(id: nil) ⇒ nil + #delete!(id: "") ⇒ NgrokAPI::Models::Empty @@ -279,7 +283,7 @@
- - #get(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #get(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration @@ -294,7 +298,7 @@
@@ -303,7 +307,7 @@-Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration.
- - #get!(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #get!(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration @@ -318,7 +322,7 @@
@@ -377,7 +381,7 @@-Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration Throws an exception if API error.
- - #update(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #update(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration @@ -401,7 +405,7 @@
- - #update!(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #update!(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration @@ -454,15 +458,15 @@
-17 -18 -19
+19 +20 +21- @@ -502,12 +506,12 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 17 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 19 -def initialize(client:) - @client = client +def initialize(client:) + @client = client end
-15 -16 -17
+17 +18 +19- # File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 15 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 17 def client @client @@ -527,7 +531,7 @@
- #create(description: '', metadata: '', type: '', circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #create(type: "", description: "", metadata: "", basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration @@ -547,6 +551,24 @@
Parameters:
-
+
-
+
+ type
+
+
+ (string)
+
+
+ (defaults to: "")
+
+
+ —
+ ++ +
they type of traffic this endpoint configuration can be applied to. one of: “http“, “https“, “tcp“
+
+
- description @@ -555,7 +577,7 @@ (string) - (defaults to: '') + (defaults to: "") — @@ -573,7 +595,7 @@ (string) - (defaults to: '') + (defaults to: "") — @@ -583,30 +605,12 @@ -
-
-
- type
-
-
- (string)
-
-
- (defaults to: '')
-
-
- —
- -- -
they type of traffic this endpoint configuration can be applied to. one of: “http“, “https“, “tcp“
-
-
-
circuit_breaker
- (string)
+ (EndpointCircuitBreaker)
(defaults to: nil)
@@ -614,7 +618,7 @@
—
-
circuit breaker module configuration
+circuit breaker module configuration or “null“
@@ -624,7 +628,7 @@
compression
- (string)
+ (EndpointCompression)
(defaults to: nil)
@@ -632,7 +636,7 @@
—
-@@ -642,7 +646,7 @@ request_headers - (string) + (EndpointRequestHeaders) (defaults to: nil) @@ -650,7 +654,7 @@ —compression module configuration
+compression module configuration or “null“
-@@ -660,7 +664,7 @@ response_headers - (string) + (EndpointResponseHeaders) (defaults to: nil) @@ -668,7 +672,7 @@ —request headers module configuration
+request headers module configuration or “null“
-@@ -678,7 +682,7 @@ ip_policy - (string) + (EndpointIPPolicyMutate) (defaults to: nil) @@ -686,7 +690,7 @@ —response headers module configuration
+response headers module configuration or “null“
-@@ -696,7 +700,7 @@ mutual_tls - (string) + (EndpointMutualTLSMutate) (defaults to: nil) @@ -704,7 +708,7 @@ —ip policy module configuration
+ip policy module configuration or “null“
-@@ -714,7 +718,7 @@ tls_termination - (string) + (EndpointTLSTermination) (defaults to: nil) @@ -722,7 +726,7 @@ —mutual TLS module configuration
+mutual TLS module configuration or “null“
-@@ -732,7 +736,7 @@ webhook_validation - (string) + (EndpointWebhookValidation) (defaults to: nil) @@ -740,7 +744,7 @@ —TLS termination module configuration
+TLS termination module configuration or “null“
-@@ -750,7 +754,7 @@ oauth - (string) + (EndpointOAuth) (defaults to: nil) @@ -758,7 +762,7 @@ —webhook validation module configuration
+webhook validation module configuration or “null“
-@@ -768,7 +772,7 @@ logging - (string) + (EndpointLoggingMutate) (defaults to: nil) @@ -776,7 +780,7 @@ —oauth module configuration
+oauth module configuration or “null“
-@@ -786,7 +790,7 @@ saml - (string) + (EndpointSAMLMutate) (defaults to: nil) @@ -794,7 +798,7 @@ —logging module configuration
+logging module configuration or “null“
-@@ -804,7 +808,7 @@ oidc - (string) + (EndpointOIDC) (defaults to: nil) @@ -812,7 +816,7 @@ —saml module configuration
+saml module configuration or “null“
-@@ -831,7 +835,7 @@ —oidc module configuration
+oidc module configuration or “null“
-@@ -880,47 +884,55 @@ 77 78 79 -80 +80 +81 +82 +83 +84result from create request
+result from the API request
@@ -930,7 +942,7 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 44 -def create( - description: '', - metadata: '', - type: '', - circuit_breaker: nil, - compression: nil, - request_headers: nil, - response_headers: nil, - ip_policy: nil, - mutual_tls: nil, - tls_termination: nil, - webhook_validation: nil, - oauth: nil, - logging: nil, - saml: nil, - oidc: nil -) - data = { - type: type, - description: description, - metadata: , - circuit_breaker: circuit_breaker, - compression: compression, - request_headers: request_headers, - response_headers: response_headers, - ip_policy: ip_policy, - mutual_tls: mutual_tls, - tls_termination: tls_termination, - webhook_validation: webhook_validation, - oauth: oauth, - logging: logging, - saml: saml, - oidc: oidc, - } - result = @client.post(PATH, data: data) - NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) +def create( + type: "", + description: "", + metadata: "", + basic_auth: nil, + circuit_breaker: nil, + compression: nil, + request_headers: nil, + response_headers: nil, + ip_policy: nil, + mutual_tls: nil, + tls_termination: nil, + webhook_validation: nil, + oauth: nil, + logging: nil, + saml: nil, + oidc: nil, + backend: nil +) + path = '/endpoint_configurations' + replacements = { + } + data = {} + data[:type] = type if type + data[:description] = description if description + data[:metadata] = if + data[:circuit_breaker] = circuit_breaker if circuit_breaker + data[:compression] = compression if compression + data[:request_headers] = request_headers if request_headers + data[:response_headers] = response_headers if response_headers + data[:ip_policy] = ip_policy if ip_policy + data[:mutual_tls] = mutual_tls if mutual_tls + data[:tls_termination] = tls_termination if tls_termination + data[:webhook_validation] = webhook_validation if webhook_validation + data[:oauth] = oauth if oauth + data[:logging] = logging if logging + data[:saml] = saml if saml + data[:oidc] = oidc if oidc + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) end
- #delete(id: nil) ⇒ nil + #delete(id: "") ⇒ NgrokAPI::Models::Empty @@ -958,7 +970,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -976,13 +988,13 @@
- - (nil) + (NgrokAPI::Models::Empty) —
@@ -995,15 +1007,27 @@-result from delete request
+result from the API request
-92 -93 -94
+94 +95 +96 +97 +98 +99 +100 +101 +102- @@ -1013,7 +1037,7 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 92 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 94 -def delete(id: nil) - @client.delete("#{PATH}/#{id}") +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) end
- #delete!(id: nil) ⇒ nil + #delete!(id: "") ⇒ NgrokAPI::Models::Empty @@ -1022,7 +1046,7 @@
-Delete an endpoint configuration. Throw an exception if 404. This operation will fail if the endpoint configuration is still referenced by any reserved domain or reserved address.
+Delete an endpoint configuration. This operation will fail if the endpoint configuration is still referenced by any reserved domain or reserved address. Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-delete
@@ -1041,7 +1065,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1059,13 +1083,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1078,15 +1102,27 @@-result from delete request
+result from the API request
-105 -106 -107
+113 +114 +115 +116 +117 +118 +119 +120 +121- @@ -1096,7 +1132,7 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 105 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 113 -def delete!(id: nil) - @client.delete("#{PATH}/#{id}", danger: true) +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) end
- #get(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #get(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration @@ -1105,7 +1141,7 @@
-Returns detailed information about an endpoint configuration by ID.
+Returns detailed information about an endpoint configuration
ngrok.com/docs/api#api-endpoint-configurations-get
@@ -1124,7 +1160,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1148,7 +1184,7 @@ —-@@ -1161,17 +1197,31 @@result from get request
+result from the API request
-116 -117 -118 -119
+130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140- @@ -1181,7 +1231,7 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 116 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 130 -def get(id: nil) - result = @client.get("#{PATH}/#{id}") - NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) +def get( + id: "" +) + path = '/endpoint_configurations/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) end
- #get!(id: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #get!(id: "") ⇒ NgrokAPI::Models::EndpointConfiguration @@ -1190,7 +1240,7 @@
-Returns detailed information about an endpoint configuration by ID. Throw an execption if 404.
+Returns detailed information about an endpoint configuration Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-get
@@ -1209,7 +1259,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1233,7 +1283,7 @@ —-@@ -1246,17 +1296,31 @@result from get request
+result from the API request
-128 -129 -130 -131
+150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160- @@ -1275,7 +1339,7 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 128 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 150 -def get!(id: nil) - result = @client.get("#{PATH}/#{id}", danger: true) - NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) end
-Returns a list of all endpoint configurations on this account.
+Returns a list of all endpoint configurations on this account
ngrok.com/docs/api#api-endpoint-configurations-list
@@ -1304,7 +1368,7 @@ limit - (integer) + (string) (defaults to: nil) @@ -1344,7 +1408,7 @@ —-@@ -1357,27 +1421,45 @@the result listable
+result from the API request
-142 -143 -144 -145 -146 -147 -148 -149 -150
+171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188- @@ -1387,7 +1469,7 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 142 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 171 -def list(before_id: nil, limit: nil, url: nil) - result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH) - NgrokAPI::Models::Listable.new( - client: self, - result: result, - list_property: LIST_PROPERTY, - klass: NgrokAPI::Models::EndpointConfiguration - ) +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::EndpointConfiguration + ) end
- #update(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #update(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration @@ -1415,7 +1497,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1466,7 +1548,7 @@ circuit_breaker - (string) + (EndpointCircuitBreaker) (defaults to: nil) @@ -1474,7 +1556,7 @@ —
-@@ -1484,7 +1566,7 @@ compression - (string) + (EndpointCompression) (defaults to: nil) @@ -1492,7 +1574,7 @@ —circuit breaker module configuration
+circuit breaker module configuration or “null“
-@@ -1502,7 +1584,7 @@ request_headers - (string) + (EndpointRequestHeaders) (defaults to: nil) @@ -1510,7 +1592,7 @@ —compression module configuration
+compression module configuration or “null“
-@@ -1520,7 +1602,7 @@ response_headers - (string) + (EndpointResponseHeaders) (defaults to: nil) @@ -1528,7 +1610,7 @@ —request headers module configuration
+request headers module configuration or “null“
-@@ -1538,7 +1620,7 @@ ip_policy - (string) + (EndpointIPPolicyMutate) (defaults to: nil) @@ -1546,7 +1628,7 @@ —response headers module configuration
+response headers module configuration or “null“
-@@ -1556,7 +1638,7 @@ mutual_tls - (string) + (EndpointMutualTLSMutate) (defaults to: nil) @@ -1564,7 +1646,7 @@ —ip policy module configuration
+ip policy module configuration or “null“
-@@ -1574,7 +1656,7 @@ tls_termination - (string) + (EndpointTLSTermination) (defaults to: nil) @@ -1582,7 +1664,7 @@ —mutual TLS module configuration
+mutual TLS module configuration or “null“
-@@ -1592,7 +1674,7 @@ webhook_validation - (string) + (EndpointWebhookValidation) (defaults to: nil) @@ -1600,7 +1682,7 @@ —TLS termination module configuration
+TLS termination module configuration or “null“
-@@ -1610,7 +1692,7 @@ oauth - (string) + (EndpointOAuth) (defaults to: nil) @@ -1618,7 +1700,7 @@ —webhook validation module configuration
+webhook validation module configuration or “null“
-@@ -1628,7 +1710,7 @@ logging - (string) + (EndpointLoggingMutate) (defaults to: nil) @@ -1636,7 +1718,7 @@ —oauth module configuration
+oauth module configuration or “null“
-@@ -1646,7 +1728,7 @@ saml - (string) + (EndpointSAMLMutate) (defaults to: nil) @@ -1654,7 +1736,7 @@ —logging module configuration
+logging module configuration or “null“
-@@ -1664,7 +1746,7 @@ oidc - (string) + (EndpointOIDC) (defaults to: nil) @@ -1672,7 +1754,7 @@ —saml module configuration
+saml module configuration or “null“
-@@ -1691,7 +1773,7 @@ —oidc module configuration
+oidc module configuration or “null“
-@@ -1704,81 +1786,91 @@result from update request
+result from the API request
-177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212
+214 +215 +216 +217 +218 +219 +220 +221 +222 +223 +224 +225 +226 +227 +228 +229 +230 +231 +232 +233 +234 +235 +236 +237 +238 +239 +240 +241 +242 +243 +244 +245 +246 +247 +248 +249 +250 +251 +252 +253 +254- @@ -1788,7 +1880,7 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 177 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 214 -def update( - id: nil, - description: nil, - metadata: nil, - circuit_breaker: nil, - compression: nil, - request_headers: nil, - response_headers: nil, - ip_policy: nil, - mutual_tls: nil, - tls_termination: nil, - webhook_validation: nil, - oauth: nil, - logging: nil, - saml: nil, - oidc: nil -) - data = build_data( - description: description, - metadata: , - circuit_breaker: circuit_breaker, - compression: compression, - request_headers: request_headers, - response_headers: response_headers, - ip_policy: ip_policy, - mutual_tls: mutual_tls, - tls_termination: tls_termination, - webhook_validation: webhook_validation, - oauth: oauth, - logging: logging, - saml: saml, - oidc: oidc - ) - result = @client.patch("#{PATH}/#{id}", data: data) - NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) +def update( + id: "", + description: nil, + metadata: nil, + basic_auth: nil, + circuit_breaker: nil, + compression: nil, + request_headers: nil, + response_headers: nil, + ip_policy: nil, + mutual_tls: nil, + tls_termination: nil, + webhook_validation: nil, + oauth: nil, + logging: nil, + saml: nil, + oidc: nil, + backend: nil +) + path = '/endpoint_configurations/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:circuit_breaker] = circuit_breaker if circuit_breaker + data[:compression] = compression if compression + data[:request_headers] = request_headers if request_headers + data[:response_headers] = response_headers if response_headers + data[:ip_policy] = ip_policy if ip_policy + data[:mutual_tls] = mutual_tls if mutual_tls + data[:tls_termination] = tls_termination if tls_termination + data[:webhook_validation] = webhook_validation if webhook_validation + data[:oauth] = oauth if oauth + data[:logging] = logging if logging + data[:saml] = saml if saml + data[:oidc] = oidc if oidc + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) end
- #update!(id: nil, description: nil, metadata: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil) ⇒ NgrokAPI::Models::EndpointConfiguration + #update!(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil) ⇒ NgrokAPI::Models::EndpointConfiguration @@ -1797,7 +1889,7 @@
-diff --git a/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html b/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html new file mode 100644 index 0000000..0db28bd --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html @@ -0,0 +1,1071 @@ + + + + + +Updates an endpoint configuration. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. Throw an exception if 404.
+Updates an endpoint configuration. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. Throws an exception if API error.
ngrok.com/docs/api#api-endpoint-configurations-update
@@ -1816,7 +1908,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1867,7 +1959,7 @@ circuit_breaker - (string) + (EndpointCircuitBreaker) (defaults to: nil) @@ -1875,7 +1967,7 @@ —-@@ -1885,7 +1977,7 @@ compression - (string) + (EndpointCompression) (defaults to: nil) @@ -1893,7 +1985,7 @@ —circuit breaker module configuration
+circuit breaker module configuration or “null“
-@@ -1903,7 +1995,7 @@ request_headers - (string) + (EndpointRequestHeaders) (defaults to: nil) @@ -1911,7 +2003,7 @@ —compression module configuration
+compression module configuration or “null“
-@@ -1921,7 +2013,7 @@ response_headers - (string) + (EndpointResponseHeaders) (defaults to: nil) @@ -1929,7 +2021,7 @@ —request headers module configuration
+request headers module configuration or “null“
-@@ -1939,7 +2031,7 @@ ip_policy - (string) + (EndpointIPPolicyMutate) (defaults to: nil) @@ -1947,7 +2039,7 @@ —response headers module configuration
+response headers module configuration or “null“
-@@ -1957,7 +2049,7 @@ mutual_tls - (string) + (EndpointMutualTLSMutate) (defaults to: nil) @@ -1965,7 +2057,7 @@ —ip policy module configuration
+ip policy module configuration or “null“
-@@ -1975,7 +2067,7 @@ tls_termination - (string) + (EndpointTLSTermination) (defaults to: nil) @@ -1983,7 +2075,7 @@ —mutual TLS module configuration
+mutual TLS module configuration or “null“
-@@ -1993,7 +2085,7 @@ webhook_validation - (string) + (EndpointWebhookValidation) (defaults to: nil) @@ -2001,7 +2093,7 @@ —TLS termination module configuration
+TLS termination module configuration or “null“
-@@ -2011,7 +2103,7 @@ oauth - (string) + (EndpointOAuth) (defaults to: nil) @@ -2019,7 +2111,7 @@ —webhook validation module configuration
+webhook validation module configuration or “null“
-@@ -2029,7 +2121,7 @@ logging - (string) + (EndpointLoggingMutate) (defaults to: nil) @@ -2037,7 +2129,7 @@ —oauth module configuration
+oauth module configuration or “null“
-@@ -2047,7 +2139,7 @@ saml - (string) + (EndpointSAMLMutate) (defaults to: nil) @@ -2055,7 +2147,7 @@ —logging module configuration
+logging module configuration or “null“
-@@ -2065,7 +2157,7 @@ oidc - (string) + (EndpointOIDC) (defaults to: nil) @@ -2073,7 +2165,7 @@ —saml module configuration
+saml module configuration or “null“
-@@ -2092,7 +2184,7 @@ —oidc module configuration
+oidc module configuration or “null“
-@@ -2105,81 +2197,91 @@result from update request
+result from the API request
-238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -249 -250 -251 -252 -253 -254 -255 -256 -257 -258 -259 -260 -261 -262 -263 -264 -265 -266 -267 -268 -269 -270 -271 -272 -273
+281 +282 +283 +284 +285 +286 +287 +288 +289 +290 +291 +292 +293 +294 +295 +296 +297 +298 +299 +300 +301 +302 +303 +304 +305 +306 +307 +308 +309 +310 +311 +312 +313 +314 +315 +316 +317 +318 +319 +320 +321- @@ -2191,7 +2293,7 @@# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 238 +
# File 'lib/ngrokapi/services/endpoint_configurations_client.rb', line 281 -def update!( - id: nil, - description: nil, - metadata: nil, - circuit_breaker: nil, - compression: nil, - request_headers: nil, - response_headers: nil, - ip_policy: nil, - mutual_tls: nil, - tls_termination: nil, - webhook_validation: nil, - oauth: nil, - logging: nil, - saml: nil, - oidc: nil -) - data = build_data( - description: description, - metadata: , - circuit_breaker: circuit_breaker, - compression: compression, - request_headers: request_headers, - response_headers: response_headers, - ip_policy: ip_policy, - mutual_tls: mutual_tls, - tls_termination: tls_termination, - webhook_validation: webhook_validation, - oauth: oauth, - logging: logging, - saml: saml, - oidc: oidc - ) - result = @client.patch("#{PATH}/#{id}", danger: true, data: data) - NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) +def update!( + id: "", + description: nil, + metadata: nil, + basic_auth: nil, + circuit_breaker: nil, + compression: nil, + request_headers: nil, + response_headers: nil, + ip_policy: nil, + mutual_tls: nil, + tls_termination: nil, + webhook_validation: nil, + oauth: nil, + logging: nil, + saml: nil, + oidc: nil, + backend: nil +) + path = '/endpoint_configurations/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:circuit_breaker] = circuit_breaker if circuit_breaker + data[:compression] = compression if compression + data[:request_headers] = request_headers if request_headers + data[:response_headers] = response_headers if response_headers + data[:ip_policy] = ip_policy if ip_policy + data[:mutual_tls] = mutual_tls if mutual_tls + data[:tls_termination] = tls_termination if tls_termination + data[:webhook_validation] = webhook_validation if webhook_validation + data[:oauth] = oauth if oauth + data[:logging] = logging if logging + data[:saml] = saml if saml + data[:oidc] = oidc if oidc + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointConfiguration.new(client: self, result: result) end
+ Class: NgrokAPI::Services::EndpointIPPolicyModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html b/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html new file mode 100644 index 0000000..cffac98 --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointIPPolicyModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointIPPolicyModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/ip_policy'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointIPPolicyModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointIPPolicyModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointIPPolicyModuleClient + + + + + +
+++ ++Returns a new instance of EndpointIPPolicyModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/ip_policy' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/ip_policy' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy + + + + + +
+ +++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/ip_policy' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy + + + + + +
+ +++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/ip_policy' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/ip_policy' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointIPPolicy + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_ip_policy_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/ip_policy' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointIPPolicy.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointLoggingModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html b/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html new file mode 100644 index 0000000..2f65fa5 --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointLoggingModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointLoggingModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_logging_module_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/logging'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointLogging + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointLogging + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointLoggingModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointLoggingModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointLoggingModuleClient + + + + + +
+++ ++Returns a new instance of EndpointLoggingModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/logging' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/logging' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointLogging + + + + + +
+ +++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/logging' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointLogging.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointLogging + + + + + +
+ +++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/logging' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointLogging.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/logging' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointLogging.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointLogging + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_logging_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/logging' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointLogging.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointMutualTLSModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html b/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html new file mode 100644 index 0000000..d433864 --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointMutualTLSModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointMutualTLSModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/mutual_tls'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointMutualTLSModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointMutualTLSModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointMutualTLSModuleClient + + + + + +
+++ ++Returns a new instance of EndpointMutualTLSModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/mutual_tls' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/mutual_tls' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS + + + + + +
++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/mutual_tls' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointMutualTLS + + + + + +
++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/mutual_tls' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/mutual_tls' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointMutualTLS + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/mutual_tls' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointMutualTLS.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointOAuthModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html b/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html new file mode 100644 index 0000000..7b242bf --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointOAuthModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointOAuthModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_o_auth_module_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/oauth'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointOAuth + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointOAuth + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointOAuthModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOAuthModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointOAuthModuleClient + + + + + +
+++ ++Returns a new instance of EndpointOAuthModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+ +++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/oauth' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+ +++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/oauth' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointOAuth + + + + + +
+ +++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/oauth' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointOAuth.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointOAuth + + + + + +
+ +++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/oauth' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointOAuth.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/oauth' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointOAuth.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOAuth + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_o_auth_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/oauth' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointOAuth.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointOIDCModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html b/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html new file mode 100644 index 0000000..ab460b4 --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointOIDCModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointOIDCModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_oidc_module_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/oidc'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointOIDC + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointOIDC + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointOIDCModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointOIDCModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointOIDCModuleClient + + + + + +
+++ ++Returns a new instance of EndpointOIDCModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+ +++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/oidc' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+ +++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/oidc' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointOIDC + + + + + +
+ +++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/oidc' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointOIDC.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointOIDC + + + + + +
+ +++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/oidc' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointOIDC.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC + + + + + +
+ +++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/oidc' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointOIDC.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointOIDC + + + + + +
+ +++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_oidc_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/oidc' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointOIDC.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointRequestHeadersModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html b/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html new file mode 100644 index 0000000..5e4bece --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointRequestHeadersModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointRequestHeadersModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_request_headers_module_client.rb +
Overview
+ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/request_headers'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointRequestHeadersModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointRequestHeadersModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointRequestHeadersModuleClient + + + + + +
+++ ++Returns a new instance of EndpointRequestHeadersModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/request_headers' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/request_headers' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders + + + + + +
++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/request_headers' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointRequestHeaders + + + + + +
++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/request_headers' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/request_headers' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointRequestHeaders + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_request_headers_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/request_headers' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointRequestHeaders.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointResponseHeadersModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html b/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html new file mode 100644 index 0000000..4c8db30 --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointResponseHeadersModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointResponseHeadersModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_response_headers_module_client.rb +
Overview
+ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/response_headers'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointResponseHeadersModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointResponseHeadersModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointResponseHeadersModuleClient + + + + + +
+++ ++Returns a new instance of EndpointResponseHeadersModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/response_headers' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/response_headers' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders + + + + + +
++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/response_headers' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointResponseHeaders + + + + + +
++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/response_headers' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/response_headers' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointResponseHeaders + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_response_headers_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/response_headers' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointResponseHeaders.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointSAMLModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html b/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html new file mode 100644 index 0000000..7f904f8 --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointSAMLModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointSAMLModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_saml_module_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/saml'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointSAML + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointSAML + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointSAMLModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointSAMLModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointSAMLModuleClient + + + + + +
+++ ++Returns a new instance of EndpointSAMLModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+ +++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/saml' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+ +++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/saml' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointSAML + + + + + +
+ +++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/saml' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointSAML.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointSAML + + + + + +
+ +++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/saml' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointSAML.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML + + + + + +
+ +++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/saml' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointSAML.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointSAML + + + + + +
+ +++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_saml_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/saml' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointSAML.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointTLSTerminationModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html b/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html new file mode 100644 index 0000000..719f591 --- /dev/null +++ b/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html @@ -0,0 +1,1071 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointTLSTerminationModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointTLSTerminationModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +
Overview
+ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/tls_termination'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointTLSTerminationModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointTLSTerminationModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointTLSTerminationModuleClient + + + + + +
+++ ++Returns a new instance of EndpointTLSTerminationModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/tls_termination' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/tls_termination' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination + + + + + +
++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/tls_termination' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointTLSTermination + + + + + +
++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/tls_termination' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/tls_termination' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_tls_termination_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/tls_termination' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointTLSTermination.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EndpointWebhookValidationModuleClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EventDestinationsClient.html b/doc/NgrokAPI/Services/EventDestinationsClient.html new file mode 100644 index 0000000..31bf309 --- /dev/null +++ b/doc/NgrokAPI/Services/EventDestinationsClient.html @@ -0,0 +1,1609 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EndpointWebhookValidationModuleClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EndpointWebhookValidationModuleClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +
Overview
+ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/endpoint_configurations/%{id}/webhook_validation'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
- + + + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + + + + + + + + + + + + + + +
- + + + #get(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation + + + + + + + + + + + + + + + + + + +
- + + + #get!(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation + + + + + + + + + + + + + + + + + + +
-
+
+
+ #initialize(client:) ⇒ EndpointWebhookValidationModuleClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EndpointWebhookValidationModuleClient.
+
+
+
+ - + + + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation + + + + + + + + + + + + + + + + + + +
- + + + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation + + + + + + + + + + + + + + + + + + +
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EndpointWebhookValidationModuleClient + + + + + +
+++ ++Returns a new instance of EndpointWebhookValidationModuleClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104
++ +# File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 96 + +def delete( + id: "" +) + path = '/endpoint_configurations/%{id}/webhook_validation' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
++
++ ++ ++ + +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 111 + +def delete!( + id: "" +) + path = '/endpoint_configurations/%{id}/webhook_validation' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation + + + + + +
++
++ ++ ++ + +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 62 + +def get( + id: "" +) + path = '/endpoint_configurations/%{id}/webhook_validation' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EndpointWebhookValidation + + + + + +
++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
++ +# File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 79 + +def get!( + id: "" +) + path = '/endpoint_configurations/%{id}/webhook_validation' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result) +end
+++ ++ + #replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation + + + + + +
++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35
++ +# File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 23 + +def replace( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/webhook_validation' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data) + NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result) +end
+++ ++ + #replace!(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointWebhookValidation + + + + + +
++
++ ++ ++ + +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb', line 43 + +def replace!( + id: "", + a_module: nil +) + path = '/endpoint_configurations/%{id}/webhook_validation' + replacements = { + id: id, + } + data = {} + data[:module] = a_module if a_module + result = @client.put(path % replacements, data: data, danger: true) + NgrokAPI::Models::EndpointWebhookValidation.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EventDestinationsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EventSourcesClient.html b/doc/NgrokAPI/Services/EventSourcesClient.html new file mode 100644 index 0000000..53c5706 --- /dev/null +++ b/doc/NgrokAPI/Services/EventSourcesClient.html @@ -0,0 +1,1348 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EventDestinationsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EventDestinationsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/event_destinations_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/event_destinations'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'event_destinations'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new Event Destination.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Destination.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Destination.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an Event Destination by ID.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an Event Destination by ID.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventDestinationsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventDestinationsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all Event Destinations on this account.
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an Event Destination.
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an Event Destination.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EventDestinationsClient + + + + + +
+++ ++Returns a new instance of EventDestinationsClient.
+ + ++
++ ++ ++ + +15 +16 +17
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 15 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 13 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination + + + + + +
+++ ++Create a new Event Destination. It will not apply to anything until it is associated with an Event Stream, and that Event Stream is associated with an Endpoint Config.
+ + + + ++
++ ++ ++ + +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 31 + +def create( + metadata: "", + description: "", + format: "", + target: nil, + verify_with_test_event: nil +) + path = '/event_destinations' + replacements = { + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:format] = format if format + data[:target] = target if target + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::EventDestination.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an Event Destination. If the Event Destination is still referenced by an Event Stream, this will throw an error until that Event Stream has removed that reference.
+ + + + ++
++ ++ ++ + +59 +60 +61 +62 +63 +64 +65 +66 +67
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 59 + +def delete( + id: "" +) + path = '/event_destinations/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an Event Destination. If the Event Destination is still referenced by an Event Stream, this will throw an error until that Event Stream has removed that reference. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 79 + +def delete!( + id: "" +) + path = '/event_destinations/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EventDestination + + + + + +
+++ ++Get detailed information about an Event Destination by ID.
+ + + + ++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 96 + +def get( + id: "" +) + path = '/event_destinations/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EventDestination.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EventDestination + + + + + +
+++ ++Get detailed information about an Event Destination by ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 116 + +def get!( + id: "" +) + path = '/event_destinations/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EventDestination.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all Event Destinations on this account.
+ + + + ++
++ ++ ++ + +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 137 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::EventDestination + ) +end
+++ ++ + #update(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination + + + + + +
+++ ++Update attributes of an Event Destination.
+ + + + ++
++ ++ ++ + +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 167 + +def update( + id: "", + metadata: nil, + description: nil, + format: nil, + target: nil, + verify_with_test_event: nil +) + path = '/event_destinations/%{id}' + replacements = { + id: id, + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:format] = format if format + data[:target] = target if target + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::EventDestination.new(client: self, result: result) +end
+++ ++ + #update!(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination + + + + + +
+++ ++Update attributes of an Event Destination. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +200 +201 +202 +203 +204 +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218 +219
++ +# File 'lib/ngrokapi/services/event_destinations_client.rb', line 200 + +def update!( + id: "", + metadata: nil, + description: nil, + format: nil, + target: nil, + verify_with_test_event: nil +) + path = '/event_destinations/%{id}' + replacements = { + id: id, + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:format] = format if format + data[:target] = target if target + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::EventDestination.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EventSourcesClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EventStreamsClient.html b/doc/NgrokAPI/Services/EventStreamsClient.html new file mode 100644 index 0000000..02d2439 --- /dev/null +++ b/doc/NgrokAPI/Services/EventStreamsClient.html @@ -0,0 +1,1691 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EventSourcesClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EventSourcesClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/event_sources_client.rb +
Overview
++ + ++ + + + +++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/event_subscriptions/%{subscription_id}/sources'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(subscription_id: "", type: "", filter: "", fields: []) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Add an additional type for which this event subscription will trigger.
+
+
+
+ -
+
+
+ #delete(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Remove a type for which this event subscription will trigger.
+
+
+
+ -
+
+
+ #delete!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Remove a type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+ -
+
+
+ #get(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get the details for a given type that triggers for the given event subscription.
+
+
+
+ -
+
+
+ #get!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get the details for a given type that triggers for the given event subscription Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventSourcesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventSourcesClient.
+
+
+
+ -
+
+
+ #update(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update the type for which this event subscription will trigger.
+
+
+
+ -
+
+
+ #update!(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update the type for which this event subscription will trigger Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EventSourcesClient + + + + + +
+++ ++Returns a new instance of EventSourcesClient.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 13 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +11 +12 +13
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 11 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(subscription_id: "", type: "", filter: "", fields: []) ⇒ NgrokAPI::Models::EventSource + + + + + +
+++ ++Add an additional type for which this event subscription will trigger
+ + + + ++
++ ++ ++ + +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 25 + +def create( + subscription_id: "", + type: "", + filter: "", + fields: [] +) + path = '/event_subscriptions/%{subscription_id}/sources' + replacements = { + subscription_id: subscription_id, + } + data = {} + data[:type] = type if type + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::EventSource.new(client: self, result: result) +end
+++ ++ + #delete(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Remove a type for which this event subscription will trigger
+ + + + ++
++ ++ ++ + +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 49 + +def delete( + subscription_id: "", + type: "" +) + path = '/event_subscriptions/%{subscription_id}/sources/%{type}' + replacements = { + subscription_id: subscription_id, + type: type, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Remove a type for which this event subscription will trigger Throws an exception if API error.
+ + + + ++
++ ++ ++ + +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 70 + +def delete!( + subscription_id: "", + type: "" +) + path = '/event_subscriptions/%{subscription_id}/sources/%{type}' + replacements = { + subscription_id: subscription_id, + type: type, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource + + + + + +
+++ ++Get the details for a given type that triggers for the given event subscription
+ + + + ++
++ ++ ++ + +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 90 + +def get( + subscription_id: "", + type: "" +) + path = '/event_subscriptions/%{subscription_id}/sources/%{type}' + replacements = { + subscription_id: subscription_id, + type: type, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EventSource.new(client: self, result: result) +end
+++ ++ + #get!(subscription_id: "", type: "") ⇒ NgrokAPI::Models::EventSource + + + + + +
+++ ++Get the details for a given type that triggers for the given event subscription Throws an exception if API error.
+ + + + ++
++ ++ ++ + +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 113 + +def get!( + subscription_id: "", + type: "" +) + path = '/event_subscriptions/%{subscription_id}/sources/%{type}' + replacements = { + subscription_id: subscription_id, + type: type, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EventSource.new(client: self, result: result) +end
+++ ++ + #update(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource + + + + + +
+++ ++Update the type for which this event subscription will trigger
+ + + + ++
++ ++ ++ + +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 135 + +def update( + subscription_id: "", + type: "", + filter: nil, + fields: nil +) + path = '/event_subscriptions/%{subscription_id}/sources/%{type}' + replacements = { + subscription_id: subscription_id, + type: type, + } + data = {} + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::EventSource.new(client: self, result: result) +end
+++ ++ + #update!(subscription_id: "", type: "", filter: nil, fields: nil) ⇒ NgrokAPI::Models::EventSource + + + + + +
+++ ++Update the type for which this event subscription will trigger Throws an exception if API error.
+ + + + ++
++ ++ ++ + +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174
++ +# File 'lib/ngrokapi/services/event_sources_client.rb', line 160 + +def update!( + subscription_id: "", + type: "", + filter: nil, + fields: nil +) + path = '/event_subscriptions/%{subscription_id}/sources/%{type}' + replacements = { + subscription_id: subscription_id, + type: type, + } + data = {} + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::EventSource.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EventStreamsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/EventSubscriptionsClient.html b/doc/NgrokAPI/Services/EventSubscriptionsClient.html new file mode 100644 index 0000000..1e4ca34 --- /dev/null +++ b/doc/NgrokAPI/Services/EventSubscriptionsClient.html @@ -0,0 +1,1603 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EventStreamsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EventStreamsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/event_streams_client.rb +
Overview
++ + ++ + + + +++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/event_streams'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'event_streams'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(metadata: "", description: "", fields: [], event_type: "", destination_ids: [], sampling_rate: 0) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new Event Stream.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Stream.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Stream.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an Event Stream by ID.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an Event Stream by ID.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventStreamsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventStreamsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all Event Streams available on this account.
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an Event Stream by ID.
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an Event Stream by ID.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EventStreamsClient + + + + + +
+++ ++Returns a new instance of EventStreamsClient.
+ + ++
++ ++ ++ + +15 +16 +17
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 15 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 13 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(metadata: "", description: "", fields: [], event_type: "", destination_ids: [], sampling_rate: 0) ⇒ NgrokAPI::Models::EventStream + + + + + +
+++ ++Create a new Event Stream. It will not apply to anything until you associate it with one or more Endpoint Configs.
+ + + + ++
++ ++ ++ + +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 32 + +def create( + metadata: "", + description: "", + fields: [], + event_type: "", + destination_ids: [], + sampling_rate: 0 +) + path = '/event_streams' + replacements = { + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:fields] = fields if fields + data[:event_type] = event_type if event_type + data[:destination_ids] = destination_ids if destination_ids + data[:sampling_rate] = sampling_rate if sampling_rate + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::EventStream.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an Event Stream. Associated Event Destinations will be preserved.
+ + + + ++
++ ++ ++ + +61 +62 +63 +64 +65 +66 +67 +68 +69
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 61 + +def delete( + id: "" +) + path = '/event_streams/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an Event Stream. Associated Event Destinations will be preserved. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 79 + +def delete!( + id: "" +) + path = '/event_streams/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EventStream + + + + + +
+++ ++Get detailed information about an Event Stream by ID.
+ + + + ++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 96 + +def get( + id: "" +) + path = '/event_streams/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EventStream.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EventStream + + + + + +
+++ ++Get detailed information about an Event Stream by ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 116 + +def get!( + id: "" +) + path = '/event_streams/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EventStream.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all Event Streams available on this account.
+ + + + ++
++ ++ ++ + +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 137 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::EventStream + ) +end
+++ ++ + #update(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream + + + + + +
+++ ++Update attributes of an Event Stream by ID.
+ + + + ++
++ ++ ++ + +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 168 + +def update( + id: "", + metadata: nil, + description: nil, + fields: nil, + destination_ids: nil, + sampling_rate: nil +) + path = '/event_streams/%{id}' + replacements = { + id: id, + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:fields] = fields if fields + data[:destination_ids] = destination_ids if destination_ids + data[:sampling_rate] = sampling_rate if sampling_rate + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::EventStream.new(client: self, result: result) +end
+++ ++ + #update!(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil) ⇒ NgrokAPI::Models::EventStream + + + + + +
+++ ++Update attributes of an Event Stream by ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +203 +204 +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218 +219 +220 +221 +222 +223
++ +# File 'lib/ngrokapi/services/event_streams_client.rb', line 203 + +def update!( + id: "", + metadata: nil, + description: nil, + fields: nil, + destination_ids: nil, + sampling_rate: nil +) + path = '/event_streams/%{id}' + replacements = { + id: id, + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:fields] = fields if fields + data[:destination_ids] = destination_ids if destination_ids + data[:sampling_rate] = sampling_rate if sampling_rate + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::EventStream.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::EventSubscriptionsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/IPPoliciesClient.html b/doc/NgrokAPI/Services/IPPoliciesClient.html new file mode 100644 index 0000000..421426d --- /dev/null +++ b/doc/NgrokAPI/Services/IPPoliciesClient.html @@ -0,0 +1,1488 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::EventSubscriptionsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::EventSubscriptionsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/event_subscriptions_client.rb +
Overview
+ ++ + ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/event_subscriptions'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'event_subscriptions'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(metadata: "", description: "", sources: [], destination_ids: []) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create an Event Subscription.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Subscription.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an Event Subscription.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get an Event Subscription by ID.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get an Event Subscription by ID.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ EventSubscriptionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of EventSubscriptionsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List this Account's Event Subscriptions.
+
+
+
+ -
+
+
+ #update(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an Event Subscription.
+
+
+
+ -
+
+
+ #update!(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an Event Subscription.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ EventSubscriptionsClient + + + + + +
+++ ++Returns a new instance of EventSubscriptionsClient.
+ + ++
++ ++ ++ + +15 +16 +17
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 15 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +13 +14 +15
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 13 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(metadata: "", description: "", sources: [], destination_ids: []) ⇒ NgrokAPI::Models::EventSubscription + + + + + +
+++ ++Create an Event Subscription.
+ + + + ++
++ ++ ++ + +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 29 + +def create( + metadata: "", + description: "", + sources: [], + destination_ids: [] +) + path = '/event_subscriptions' + replacements = { + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:sources] = sources if sources + data[:destination_ids] = destination_ids if destination_ids + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::EventSubscription.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an Event Subscription.
+ + + + ++
++ ++ ++ + +54 +55 +56 +57 +58 +59 +60 +61 +62
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 54 + +def delete( + id: "" +) + path = '/event_subscriptions/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an Event Subscription. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +72 +73 +74 +75 +76 +77 +78 +79 +80
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 72 + +def delete!( + id: "" +) + path = '/event_subscriptions/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::EventSubscription + + + + + +
+++ ++Get an Event Subscription by ID.
+ + + + ++
++ ++ ++ + +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 89 + +def get( + id: "" +) + path = '/event_subscriptions/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::EventSubscription.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::EventSubscription + + + + + +
+++ ++Get an Event Subscription by ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 109 + +def get!( + id: "" +) + path = '/event_subscriptions/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::EventSubscription.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List this Account's Event Subscriptions.
+ + + + ++
++ ++ ++ + +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 130 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::EventSubscription + ) +end
+++ ++ + #update(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription + + + + + +
+++ ++Update an Event Subscription.
+ + + + ++
++ ++ ++ + +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 160 + +def update( + id: "", + metadata: nil, + description: nil, + sources: nil, + destination_ids: nil +) + path = '/event_subscriptions/%{id}' + replacements = { + id: id, + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:sources] = sources if sources + data[:destination_ids] = destination_ids if destination_ids + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::EventSubscription.new(client: self, result: result) +end
+++ ++ + #update!(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil) ⇒ NgrokAPI::Models::EventSubscription + + + + + +
+++ ++Update an Event Subscription. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208 +209 +210
++ +# File 'lib/ngrokapi/services/event_subscriptions_client.rb', line 192 + +def update!( + id: "", + metadata: nil, + description: nil, + sources: nil, + destination_ids: nil +) + path = '/event_subscriptions/%{id}' + replacements = { + id: id, + } + data = {} + data[:metadata] = if + data[:description] = description if description + data[:sources] = sources if sources + data[:destination_ids] = destination_ids if destination_ids + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::EventSubscription.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::IPPoliciesClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/IPPolicyRulesClient.html b/doc/NgrokAPI/Services/IPPolicyRulesClient.html new file mode 100644 index 0000000..fc29ea4 --- /dev/null +++ b/doc/NgrokAPI/Services/IPPolicyRulesClient.html @@ -0,0 +1,1550 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::IPPoliciesClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::IPPoliciesClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/ip_policies_client.rb +
Overview
++ + ++ ++IP Policies are reusable groups of CIDR ranges with an allow or deny
+ +
+ + + + +action. They can be attached to endpoints via the Endpoint Configuration IP +Policy module. They can also be used with IP Restrictions to control source +IP ranges that can start tunnel sessions and connect to the API and dashboard. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/ip_policies'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'ip_policies'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", action:) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new IP policy.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP policy.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP policy.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an IP policy by ID.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an IP policy by ID.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPPoliciesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of IPPoliciesClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all IP policies on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP policy by ID.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP policy by ID Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ IPPoliciesClient + + + + + +
+++ ++Returns a new instance of IPPoliciesClient.
+ + ++
++ ++ ++ + +20 +21 +22
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 20 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +18 +19 +20
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 18 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", action:) ⇒ NgrokAPI::Models::IPPolicy + + + + + +
+++ ++Create a new IP policy. It will not apply to any traffic until you associate to a traffic source via an endpoint configuration or IP restriction.
+ + + + ++
++ ++ ++ + +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 34 + +def create( + description: "", + metadata: "", + action: +) + path = '/ip_policies' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:action] = action if action + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::IPPolicy.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an IP policy. If the IP policy is referenced by another object for the purposes of traffic restriction it will be treated as if the IP policy remains but has zero rules.
+ + + + ++
++ ++ ++ + +59 +60 +61 +62 +63 +64 +65 +66 +67
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 59 + +def delete( + id: "" +) + path = '/ip_policies/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an IP policy. If the IP policy is referenced by another object for the purposes of traffic restriction it will be treated as if the IP policy remains but has zero rules. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +79 +80 +81 +82 +83 +84 +85 +86 +87
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 79 + +def delete!( + id: "" +) + path = '/ip_policies/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::IPPolicy + + + + + +
+++ ++Get detailed information about an IP policy by ID.
+ + + + ++
++ ++ ++ + +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 96 + +def get( + id: "" +) + path = '/ip_policies/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::IPPolicy.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::IPPolicy + + + + + +
+++ ++Get detailed information about an IP policy by ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 116 + +def get!( + id: "" +) + path = '/ip_policies/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::IPPolicy.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all IP policies on this account
+ + + + ++
++ ++ ++ + +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 137 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::IPPolicy + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy + + + + + +
+++ ++Update attributes of an IP policy by ID
+ + + + ++
++ ++ ++ + +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 165 + +def update( + id: "", + description: nil, + metadata: nil +) + path = '/ip_policies/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::IPPolicy.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPPolicy + + + + + +
+++ ++Update attributes of an IP policy by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205
++ +# File 'lib/ngrokapi/services/ip_policies_client.rb', line 191 + +def update!( + id: "", + description: nil, + metadata: nil +) + path = '/ip_policies/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::IPPolicy.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::IPPolicyRulesClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/IPRestrictionsClient.html b/doc/NgrokAPI/Services/IPRestrictionsClient.html new file mode 100644 index 0000000..8751ea9 --- /dev/null +++ b/doc/NgrokAPI/Services/IPRestrictionsClient.html @@ -0,0 +1,1620 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::IPPolicyRulesClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::IPPolicyRulesClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/ip_policy_rules_client.rb +
Overview
++ + ++ ++IP Policy Rules are the IPv4 or IPv6 CIDRs entries that
+ +
+ + + + +make up an IP Policy. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/ip_policy_rules'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'ip_policy_rules'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", cidr:, ip_policy_id:) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new IP policy rule attached to an IP Policy.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP policy rule.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP policy rule.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an IP policy rule by ID.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an IP policy rule by ID.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPPolicyRulesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of IPPolicyRulesClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all IP policy rules on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP policy rule by ID.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP policy rule by ID Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ IPPolicyRulesClient + + + + + +
+++ ++Returns a new instance of IPPolicyRulesClient.
+ + ++
++ ++ ++ + +18 +19 +20
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 18 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +16 +17 +18
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 16 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", cidr:, ip_policy_id:) ⇒ NgrokAPI::Models::IPPolicyRule + + + + + +
+++ ++Create a new IP policy rule attached to an IP Policy.
+ + + + ++
++ ++ ++ + +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 32 + +def create( + description: "", + metadata: "", + cidr:, + ip_policy_id: +) + path = '/ip_policy_rules' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:cidr] = cidr if cidr + data[:ip_policy_id] = ip_policy_id if ip_policy_id + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::IPPolicyRule.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an IP policy rule.
+ + + + ++
++ ++ ++ + +57 +58 +59 +60 +61 +62 +63 +64 +65
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 57 + +def delete( + id: "" +) + path = '/ip_policy_rules/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an IP policy rule. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +75 +76 +77 +78 +79 +80 +81 +82 +83
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 75 + +def delete!( + id: "" +) + path = '/ip_policy_rules/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::IPPolicyRule + + + + + +
+++ ++Get detailed information about an IP policy rule by ID.
+ + + + ++
++ ++ ++ + +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 92 + +def get( + id: "" +) + path = '/ip_policy_rules/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::IPPolicyRule.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::IPPolicyRule + + + + + +
+++ ++Get detailed information about an IP policy rule by ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 112 + +def get!( + id: "" +) + path = '/ip_policy_rules/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::IPPolicyRule.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all IP policy rules on this account
+ + + + ++
++ ++ ++ + +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 133 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::IPPolicyRule + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule + + + + + +
+++ ++Update attributes of an IP policy rule by ID
+ + + + ++
++ ++ ++ + +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 162 + +def update( + id: "", + description: nil, + metadata: nil, + cidr: nil +) + path = '/ip_policy_rules/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:cidr] = cidr if cidr + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::IPPolicyRule.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil, cidr: nil) ⇒ NgrokAPI::Models::IPPolicyRule + + + + + +
+++ ++Update attributes of an IP policy rule by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207
++ +# File 'lib/ngrokapi/services/ip_policy_rules_client.rb', line 191 + +def update!( + id: "", + description: nil, + metadata: nil, + cidr: nil +) + path = '/ip_policy_rules/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:cidr] = cidr if cidr + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::IPPolicyRule.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::IPRestrictionsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/IPWhitelistClient.html b/doc/NgrokAPI/Services/IPWhitelistClient.html new file mode 100644 index 0000000..f863fb1 --- /dev/null +++ b/doc/NgrokAPI/Services/IPWhitelistClient.html @@ -0,0 +1,1488 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::IPRestrictionsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::IPRestrictionsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/ip_restrictions_client.rb +
Overview
++ + ++ ++An IP restriction is a restriction placed on the CIDRs that are allowed to
+ +
+ + + + +initate traffic to a specific aspect of your ngrok account. An IP +restriction has a type which defines the ingress it applies to. IP +restrictions can be used to enforce the source IPs that can make API +requests, log in to the dashboard, start ngrok agents, and connect to your +public-facing endpoints. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/ip_restrictions'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'ip_restrictions'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", enforced: False, type:, ip_policy_ids:) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new IP restriction.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP restriction.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP restriction Throws an exception if API error.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an IP restriction.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an IP restriction Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPRestrictionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of IPRestrictionsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all IP restrictions on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP restriction by ID.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP restriction by ID Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ IPRestrictionsClient + + + + + +
+++ ++Returns a new instance of IPRestrictionsClient.
+ + ++
++ ++ ++ + +22 +23 +24
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 22 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +20 +21 +22
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 20 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", enforced: False, type:, ip_policy_ids:) ⇒ NgrokAPI::Models::IPRestriction + + + + + +
+++ ++Create a new IP restriction
+ + + + ++
++ ++ ++ + +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 37 + +def create( + description: "", + metadata: "", + enforced: False, + type:, + ip_policy_ids: +) + path = '/ip_restrictions' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:enforced] = enforced if enforced + data[:type] = type if type + data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::IPRestriction.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an IP restriction
+ + + + ++
++ ++ ++ + +64 +65 +66 +67 +68 +69 +70 +71 +72
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 64 + +def delete( + id: "" +) + path = '/ip_restrictions/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an IP restriction Throws an exception if API error.
+ + + + ++
++ ++ ++ + +82 +83 +84 +85 +86 +87 +88 +89 +90
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 82 + +def delete!( + id: "" +) + path = '/ip_restrictions/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::IPRestriction + + + + + +
+++ ++Get detailed information about an IP restriction
+ + + + ++
++ ++ ++ + +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 99 + +def get( + id: "" +) + path = '/ip_restrictions/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::IPRestriction.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::IPRestriction + + + + + +
+++ ++Get detailed information about an IP restriction Throws an exception if API error.
+ + + + ++
++ ++ ++ + +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 119 + +def get!( + id: "" +) + path = '/ip_restrictions/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::IPRestriction.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all IP restrictions on this account
+ + + + ++
++ ++ ++ + +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 140 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::IPRestriction + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction + + + + + +
+++ ++Update attributes of an IP restriction by ID
+ + + + ++
++ ++ ++ + +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 170 + +def update( + id: "", + description: nil, + metadata: nil, + enforced: nil, + ip_policy_ids: [] +) + path = '/ip_restrictions/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:enforced] = enforced if enforced + data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::IPRestriction.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: []) ⇒ NgrokAPI::Models::IPRestriction + + + + + +
+++ ++Update attributes of an IP restriction by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +202 +203 +204 +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218 +219 +220
++ +# File 'lib/ngrokapi/services/ip_restrictions_client.rb', line 202 + +def update!( + id: "", + description: nil, + metadata: nil, + enforced: nil, + ip_policy_ids: [] +) + path = '/ip_restrictions/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:enforced] = enforced if enforced + data[:ip_policy_ids] = ip_policy_ids if ip_policy_ids + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::IPRestriction.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::IPWhitelistClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/ReservedAddrsClient.html b/doc/NgrokAPI/Services/ReservedAddrsClient.html new file mode 100644 index 0000000..eb68285 --- /dev/null +++ b/doc/NgrokAPI/Services/ReservedAddrsClient.html @@ -0,0 +1,1793 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::IPWhitelistClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::IPWhitelistClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/ip_whitelist_client.rb +
Overview
++ + ++ ++The IP Whitelist is deprecated and will be removed. Use an IP Restriction
+ +
+ + + + +with an endpoints type instead. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/ip_whitelist'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'whitelist'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", ip_net: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new IP whitelist entry that will restrict traffic to all tunnel endpoints on the account.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP whitelist entry.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an IP whitelist entry.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an IP whitelist entry by ID.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an IP whitelist entry by ID.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ IPWhitelistClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of IPWhitelistClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all IP whitelist entries on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP whitelist entry by ID.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an IP whitelist entry by ID Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ IPWhitelistClient + + + + + +
+++ ++Returns a new instance of IPWhitelistClient.
+ + ++
++ ++ ++ + +18 +19 +20
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 18 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +16 +17 +18
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 16 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", ip_net: "") ⇒ NgrokAPI::Models::IPWhitelistEntry + + + + + +
+++ ++Create a new IP whitelist entry that will restrict traffic to all tunnel endpoints on the account.
+ + + + ++
++ ++ ++ + +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 32 + +def create( + description: "", + metadata: "", + ip_net: "" +) + path = '/ip_whitelist' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:ip_net] = ip_net if ip_net + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an IP whitelist entry.
+ + + + ++
++ ++ ++ + +55 +56 +57 +58 +59 +60 +61 +62 +63
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 55 + +def delete( + id: "" +) + path = '/ip_whitelist/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an IP whitelist entry. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +73 +74 +75 +76 +77 +78 +79 +80 +81
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 73 + +def delete!( + id: "" +) + path = '/ip_whitelist/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry + + + + + +
+++ ++Get detailed information about an IP whitelist entry by ID.
+ + + + ++
++ ++ ++ + +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 90 + +def get( + id: "" +) + path = '/ip_whitelist/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::IPWhitelistEntry + + + + + +
+++ ++Get detailed information about an IP whitelist entry by ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 110 + +def get!( + id: "" +) + path = '/ip_whitelist/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all IP whitelist entries on this account
+ + + + ++
++ ++ ++ + +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 131 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::IPWhitelistEntry + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry + + + + + +
+++ ++Update attributes of an IP whitelist entry by ID
+ + + + ++
++ ++ ++ + +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 159 + +def update( + id: "", + description: nil, + metadata: nil +) + path = '/ip_whitelist/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::IPWhitelistEntry + + + + + +
+++ ++Update attributes of an IP whitelist entry by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199
++ +# File 'lib/ngrokapi/services/ip_whitelist_client.rb', line 185 + +def update!( + id: "", + description: nil, + metadata: nil +) + path = '/ip_whitelist/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::IPWhitelistEntry.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::ReservedAddrsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/ReservedDomainsClient.html b/doc/NgrokAPI/Services/ReservedDomainsClient.html index 8131463..d5f08d8 100644 --- a/doc/NgrokAPI/Services/ReservedDomainsClient.html +++ b/doc/NgrokAPI/Services/ReservedDomainsClient.html @@ -102,7 +102,12 @@+ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::ReservedAddrsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::ReservedAddrsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/reserved_addrs_client.rb +
Overview
++ + ++ ++Reserved Addresses are TCP addresses that can be used to listen for traffic.
+ +
+ + + + +TCP address hostnames and ports are assigned by ngrok, they cannot be +chosen. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/reserved_addrs'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'reserved_addrs'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", region: "", endpoint_configuration_id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new reserved address.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a reserved address.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete a reserved address.
+
+
+
+ -
+
+
+ #delete_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Detach the endpoint configuration attached to a reserved address.
+
+
+
+ -
+
+
+ #delete_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Detach the endpoint configuration attached to a reserved address.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get the details of a reserved address.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get the details of a reserved address.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ ReservedAddrsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of ReservedAddrsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all reserved addresses on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update the attributes of a reserved address.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update the attributes of a reserved address.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ ReservedAddrsClient + + + + + +
+++ ++Returns a new instance of ReservedAddrsClient.
+ + ++
++ ++ ++ + +19 +20 +21
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 19 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +17 +18 +19
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 17 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", region: "", endpoint_configuration_id: "") ⇒ NgrokAPI::Models::ReservedAddr + + + + + +
+++ ++Create a new reserved address.
+ + + + ++
++ ++ ++ + +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 33 + +def create( + description: "", + metadata: "", + region: "", + endpoint_configuration_id: "" +) + path = '/reserved_addrs' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:region] = region if region + data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::ReservedAddr.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete a reserved address.
+ + + + ++
++ ++ ++ + +58 +59 +60 +61 +62 +63 +64 +65 +66
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 58 + +def delete( + id: "" +) + path = '/reserved_addrs/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete a reserved address. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +76 +77 +78 +79 +80 +81 +82 +83 +84
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 76 + +def delete!( + id: "" +) + path = '/reserved_addrs/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #delete_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Detach the endpoint configuration attached to a reserved address.
+ +ngrok.com/docs/api#api-reserved-addrs-delete-endpoint-config
+ + ++
++ ++ ++ + +217 +218 +219 +220 +221 +222 +223 +224 +225
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 217 + +def delete_endpoint_config( + id: "" +) + path = '/reserved_addrs/%{id}/endpoint_configuration' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Detach the endpoint configuration attached to a reserved address. Throws an exception if API error.
+ +ngrok.com/docs/api#api-reserved-addrs-delete-endpoint-config
+ + ++
++ ++ ++ + +235 +236 +237 +238 +239 +240 +241 +242 +243
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 235 + +def delete_endpoint_config!( + id: "" +) + path = '/reserved_addrs/%{id}/endpoint_configuration' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::ReservedAddr + + + + + +
+++ ++Get the details of a reserved address.
+ + + + ++
++ ++ ++ + +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 93 + +def get( + id: "" +) + path = '/reserved_addrs/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::ReservedAddr.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::ReservedAddr + + + + + +
+++ ++Get the details of a reserved address. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 113 + +def get!( + id: "" +) + path = '/reserved_addrs/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::ReservedAddr.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all reserved addresses on this account.
+ + + + ++
++ ++ ++ + +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 134 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::ReservedAddr + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr + + + + + +
+++ ++Update the attributes of a reserved address.
+ + + + ++
++ ++ ++ + +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 163 + +def update( + id: "", + description: nil, + metadata: nil, + endpoint_configuration_id: nil +) + path = '/reserved_addrs/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::ReservedAddr.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil) ⇒ NgrokAPI::Models::ReservedAddr + + + + + +
+++ ++Update the attributes of a reserved address. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208
++ +# File 'lib/ngrokapi/services/reserved_addrs_client.rb', line 192 + +def update!( + id: "", + description: nil, + metadata: nil, + endpoint_configuration_id: nil +) + path = '/reserved_addrs/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:endpoint_configuration_id] = endpoint_configuration_id if endpoint_configuration_id + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::ReservedAddr.new(client: self, result: result) +end
+Overview
-A client for interacting with the reserved_domains API
+Reserved Domains are hostnames that you can listen for traffic on. Domains
+ +can be used to listen for http, https or tls traffic. You may use a domain +that you own by creating a CNAME record specified in the returned resource. +This CNAME record points traffic for that domain to ngrok's edge servers. +ngrok.com/docs/api#api-reserved-domains
@@ -121,6 +126,22 @@-
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/reserved_domains'
+
- LIST_PROPERTY =
@@ -137,22 +158,6 @@
-'reserved_domains'- PATH = -
--- -- --The API path for reserved domains
- - - - @@ -207,7 +212,7 @@'/reserved_domains'- - #create(name: '', region: '', description: '', metadata: '', http_endpoint_configuration_id: '', https_endpoint_configuration_id: '', certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain + #create(name:, region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain @@ -231,7 +236,7 @@
- - #delete(id: nil) ⇒ nil + #delete(id: "") ⇒ NgrokAPI::Models::Empty @@ -255,7 +260,7 @@
- - #delete!(id: nil) ⇒ nil + #delete!(id: "") ⇒ NgrokAPI::Models::Empty @@ -279,7 +284,7 @@
- - #delete_certificate(id: nil) ⇒ nil + #delete_certificate(id: "") ⇒ NgrokAPI::Models::Empty @@ -294,7 +299,7 @@
@@ -303,7 +308,7 @@-Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
- - #delete_certificate!(id: nil) ⇒ nil + #delete_certificate!(id: "") ⇒ NgrokAPI::Models::Empty @@ -318,7 +323,7 @@
@@ -327,7 +332,7 @@-Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
- - #delete_certificate_management_policy(id: nil) ⇒ nil + #delete_certificate_management_policy(id: "") ⇒ NgrokAPI::Models::Empty @@ -342,7 +347,7 @@
@@ -351,7 +356,7 @@-Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
- - #delete_certificate_management_policy!(id: nil) ⇒ nil + #delete_certificate_management_policy!(id: "") ⇒ NgrokAPI::Models::Empty @@ -366,7 +371,7 @@
@@ -375,7 +380,7 @@-Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
- - #delete_http_endpoint_config(id: nil) ⇒ nil + #delete_http_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty @@ -390,7 +395,7 @@
@@ -399,7 +404,7 @@-Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
- - #delete_http_endpoint_config!(id: nil) ⇒ nil + #delete_http_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty @@ -414,7 +419,7 @@
@@ -423,7 +428,7 @@-Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
- - #delete_https_endpoint_config(id: nil) ⇒ nil + #delete_https_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty @@ -438,7 +443,7 @@
@@ -447,7 +452,7 @@-Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
- - #delete_https_endpoint_config!(id: nil) ⇒ nil + #delete_https_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty @@ -462,7 +467,7 @@
@@ -471,7 +476,7 @@-Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
- - #get(id: nil) ⇒ NgrokAPI::Models::ReservedDomain + #get(id: "") ⇒ NgrokAPI::Models::ReservedDomain @@ -495,7 +500,7 @@
- - #get!(id: nil) ⇒ NgrokAPI::Models::ReservedDomain + #get!(id: "") ⇒ NgrokAPI::Models::ReservedDomain @@ -569,7 +574,7 @@
- - #update(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain + #update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain @@ -593,7 +598,7 @@
- - #update!(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain + #update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain @@ -646,15 +651,15 @@
-17 -18 -19
+20 +21 +22- @@ -694,12 +699,12 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 17 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 20 -def initialize(client:) - @client = client +def initialize(client:) + @client = client end
-15 -16 -17
+18 +19 +20- # File 'lib/ngrokapi/services/reserved_domains_client.rb', line 15 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 18 def client @client @@ -719,7 +724,7 @@
- #create(name: '', region: '', description: '', metadata: '', http_endpoint_configuration_id: '', https_endpoint_configuration_id: '', certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain + #create(name:, region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain @@ -747,8 +752,6 @@ (string) - (defaults to: '') - —
@@ -765,7 +768,7 @@ (string) - (defaults to: '') + (defaults to: "") — @@ -783,7 +786,7 @@ (string) - (defaults to: '') + (defaults to: "") — @@ -801,7 +804,7 @@ (string) - (defaults to: '') + (defaults to: "") — @@ -819,7 +822,7 @@ (string) - (defaults to: '') + (defaults to: nil) — @@ -837,7 +840,7 @@ (string) - (defaults to: '') + (defaults to: nil) — @@ -870,7 +873,7 @@ certificate_management_policy - (string) + (ReservedDomainCertPolicy) (defaults to: nil) @@ -897,7 +900,7 @@ —-@@ -910,7 +913,6 @@result from create request
+result from the API request
-37 38 39 40 @@ -932,33 +934,38 @@ 56 57 58 -59
+59 +60 +61 +62- @@ -968,7 +975,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 37 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 38 -def create( - name: '', - region: '', - description: '', - metadata: '', - http_endpoint_configuration_id: '', - https_endpoint_configuration_id: '', - certificate_id: nil, - certificate_management_policy: nil -) - data = { - name: name, - region: region, - description: description, - metadata: , - http_endpoint_configuration_id: http_endpoint_configuration_id, - https_endpoint_configuration_id: https_endpoint_configuration_id, - certificate_id: certificate_id, - certificate_management_policy: certificate_management_policy, - } - result = @client.post(PATH, data: data) - NgrokAPI::Models::ReservedDomain.new(client: self, result: result) +def create( + name:, + region: "", + description: "", + metadata: "", + http_endpoint_configuration_id: nil, + https_endpoint_configuration_id: nil, + certificate_id: nil, + certificate_management_policy: nil +) + path = '/reserved_domains' + replacements = { + } + data = {} + data[:name] = name if name + data[:region] = region if region + data[:description] = description if description + data[:metadata] = if + data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id + data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id + data[:certificate_id] = certificate_id if certificate_id + data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::ReservedDomain.new(client: self, result: result) end
- #delete(id: nil) ⇒ nil + #delete(id: "") ⇒ NgrokAPI::Models::Empty @@ -996,7 +1003,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1014,13 +1021,13 @@
- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1033,15 +1040,27 @@-result from delete request
+result from the API request
-69 -70 -71
+71 +72 +73 +74 +75 +76 +77 +78 +79- @@ -1051,7 +1070,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 69 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 71 -def delete(id: nil) - @client.delete("#{PATH}/#{id}") +def delete( + id: "" +) + path = '/reserved_domains/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) end
- #delete!(id: nil) ⇒ nil + #delete!(id: "") ⇒ NgrokAPI::Models::Empty @@ -1060,7 +1079,7 @@
-Delete a reserved domain. Throw an exception if 404.
+Delete a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete
@@ -1079,7 +1098,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1097,13 +1116,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1116,15 +1135,27 @@-result from delete request
+result from the API request
-80 -81 -82
+89 +90 +91 +92 +93 +94 +95 +96 +97- @@ -1134,7 +1165,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 80 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 89 -def delete!(id: nil) - @client.delete("#{PATH}/#{id}", danger: true) +def delete!( + id: "" +) + path = '/reserved_domains/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) end
- #delete_certificate(id: nil) ⇒ nil + #delete_certificate(id: "") ⇒ NgrokAPI::Models::Empty @@ -1143,7 +1174,7 @@
-Detach the certificate attached from a reserved domain.
+Detach the certificate attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-certificate
@@ -1162,7 +1193,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1180,13 +1211,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1199,15 +1230,27 @@-result from delete request
+result from the API request
-205 -206 -207
+283 +284 +285 +286 +287 +288 +289 +290 +291- @@ -1217,7 +1260,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 205 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 283 -def delete_certificate(id: nil) - @client.delete("#{PATH}/#{id}/certificate") +def delete_certificate( + id: "" +) + path = '/reserved_domains/%{id}/certificate' + replacements = { + id: id, + } + @client.delete(path % replacements) end
- #delete_certificate!(id: nil) ⇒ nil + #delete_certificate!(id: "") ⇒ NgrokAPI::Models::Empty @@ -1226,7 +1269,7 @@
-Detach the certificate attached from a reserved domain. Throw an exception if 404.
+Detach the certificate attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-certificate
@@ -1245,7 +1288,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1263,13 +1306,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1282,15 +1325,27 @@-result from delete request
+result from the API request
-216 -217 -218
+301 +302 +303 +304 +305 +306 +307 +308 +309- @@ -1300,7 +1355,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 216 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 301 -def delete_certificate!(id: nil) - @client.delete("#{PATH}/#{id}/certificate", danger: true) +def delete_certificate!( + id: "" +) + path = '/reserved_domains/%{id}/certificate' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) end
- #delete_certificate_management_policy(id: nil) ⇒ nil + #delete_certificate_management_policy(id: "") ⇒ NgrokAPI::Models::Empty @@ -1309,7 +1364,7 @@
-Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
@@ -1328,7 +1383,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1346,13 +1401,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1365,15 +1420,27 @@-result from delete request
+result from the API request
-227 -228 -229
+248 +249 +250 +251 +252 +253 +254 +255 +256- @@ -1383,7 +1450,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 227 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 248 -def delete_certificate_management_policy(id: nil) - @client.delete("#{PATH}/#{id}/certificate_management_policy") +def delete_certificate_management_policy( + id: "" +) + path = '/reserved_domains/%{id}/certificate_management_policy' + replacements = { + id: id, + } + @client.delete(path % replacements) end
- #delete_certificate_management_policy!(id: nil) ⇒ nil + #delete_certificate_management_policy!(id: "") ⇒ NgrokAPI::Models::Empty @@ -1392,7 +1459,7 @@
-Detach the certificate management policy attached from a reserved domain.
+Detach the certificate management policy attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
@@ -1411,7 +1478,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1429,13 +1496,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1448,15 +1515,27 @@-result from delete request
+result from the API request
-238 -239 -240
+266 +267 +268 +269 +270 +271 +272 +273 +274- @@ -1466,7 +1545,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 238 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 266 -def delete_certificate_management_policy!(id: nil) - @client.delete("#{PATH}/#{id}/certificate_management_policy", danger: true) +def delete_certificate_management_policy!( + id: "" +) + path = '/reserved_domains/%{id}/certificate_management_policy' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) end
- #delete_http_endpoint_config(id: nil) ⇒ nil + #delete_http_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty @@ -1475,7 +1554,7 @@
-Detach the http endpoint configuration attached from a reserved domain.
+Detach the http endpoint configuration attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
@@ -1494,7 +1573,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1512,13 +1591,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1531,15 +1610,27 @@-result from delete request
+result from the API request
-249 -250 -251
+318 +319 +320 +321 +322 +323 +324 +325 +326- @@ -1549,7 +1640,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 249 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 318 -def delete_http_endpoint_config(id: nil) - @client.delete("#{PATH}/#{id}/http_endpoint_configuration") +def delete_http_endpoint_config( + id: "" +) + path = '/reserved_domains/%{id}/http_endpoint_configuration' + replacements = { + id: id, + } + @client.delete(path % replacements) end
- #delete_http_endpoint_config!(id: nil) ⇒ nil + #delete_http_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty @@ -1558,7 +1649,7 @@
-Detach the http endpoint configuration attached from a reserved domain. Throw an exception if 404.
+Detach the http endpoint configuration attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
@@ -1577,7 +1668,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1595,13 +1686,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1614,15 +1705,27 @@-result from delete request
+result from the API request
-260 -261 -262
+336 +337 +338 +339 +340 +341 +342 +343 +344- @@ -1632,7 +1735,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 260 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 336 -def delete_http_endpoint_config!(id: nil) - @client.delete("#{PATH}/#{id}/http_endpoint_configuration", danger: true) +def delete_http_endpoint_config!( + id: "" +) + path = '/reserved_domains/%{id}/http_endpoint_configuration' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) end
- #delete_https_endpoint_config(id: nil) ⇒ nil + #delete_https_endpoint_config(id: "") ⇒ NgrokAPI::Models::Empty @@ -1641,7 +1744,7 @@
-Detach the https endpoint configuration attached from a reserved domain.
+Detach the https endpoint configuration attached to a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
@@ -1660,7 +1763,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1678,13 +1781,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1697,15 +1800,27 @@-result from delete request
+result from the API request
-271 -272 -273
+353 +354 +355 +356 +357 +358 +359 +360 +361- @@ -1715,7 +1830,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 271 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 353 -def delete_https_endpoint_config(id: nil) - @client.delete("#{PATH}/#{id}/https_endpoint_configuration") +def delete_https_endpoint_config( + id: "" +) + path = '/reserved_domains/%{id}/https_endpoint_configuration' + replacements = { + id: id, + } + @client.delete(path % replacements) end
- #delete_https_endpoint_config!(id: nil) ⇒ nil + #delete_https_endpoint_config!(id: "") ⇒ NgrokAPI::Models::Empty @@ -1724,7 +1839,7 @@
-Detach the https endpoint configuration attached from a reserved domain. Throw an exception if 404.
+Detach the https endpoint configuration attached to a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
@@ -1743,7 +1858,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1761,13 +1876,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -1780,15 +1895,27 @@-result from delete request
+result from the API request
-282 -283 -284
+371 +372 +373 +374 +375 +376 +377 +378 +379- @@ -1798,7 +1925,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 282 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 371 -def delete_https_endpoint_config!(id: nil) - @client.delete("#{PATH}/#{id}/https_endpoint_configuration", danger: true) +def delete_https_endpoint_config!( + id: "" +) + path = '/reserved_domains/%{id}/https_endpoint_configuration' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) end
- #get(id: nil) ⇒ NgrokAPI::Models::ReservedDomain + #get(id: "") ⇒ NgrokAPI::Models::ReservedDomain @@ -1826,7 +1953,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1850,7 +1977,7 @@ —
-@@ -1863,17 +1990,31 @@result from get request
+result from the API request
-91 -92 -93 -94
+106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116- @@ -1883,7 +2024,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 91 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 106 -def get(id: nil) - result = @client.get("#{PATH}/#{id}") - NgrokAPI::Models::ReservedDomain.new(client: self, result: result) +def get( + id: "" +) + path = '/reserved_domains/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::ReservedDomain.new(client: self, result: result) end
- #get!(id: nil) ⇒ NgrokAPI::Models::ReservedDomain + #get!(id: "") ⇒ NgrokAPI::Models::ReservedDomain @@ -1892,7 +2033,7 @@
-Get the details of a reserved domain. Throw an exception if 404.
+Get the details of a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-get
@@ -1911,7 +2052,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -1935,7 +2076,7 @@ —-@@ -1948,17 +2089,31 @@result from get request
+result from the API request
-103 -104 -105 -106
+126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136- @@ -2006,7 +2161,7 @@ limit - (integer) + (string) (defaults to: nil) @@ -2046,7 +2201,7 @@ —# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 103 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 126 -def get!(id: nil) - result = @client.get!("#{PATH}/#{id}") - NgrokAPI::Models::ReservedDomain.new(client: self, result: result) +def get!( + id: "" +) + path = '/reserved_domains/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::ReservedDomain.new(client: self, result: result) end
-@@ -2059,27 +2214,45 @@result from list request
+result from the API request
-117 -118 -119 -120 -121 -122 -123 -124 -125
+147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164- @@ -2089,7 +2262,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 117 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 147 -def list(before_id: nil, limit: nil, url: nil) - result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH) - NgrokAPI::Models::Listable.new( - client: self, - result: result, - list_property: LIST_PROPERTY, - klass: NgrokAPI::Models::ReservedDomain - ) +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::ReservedDomain + ) end
- #update(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain + #update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain @@ -2117,7 +2290,7 @@ (string) - (defaults to: nil) + (defaults to: "") @@ -2217,7 +2390,7 @@ certificate_management_policy - (string) + (ReservedDomainCertPolicy) (defaults to: nil) @@ -2244,7 +2417,7 @@ —
-@@ -2257,49 +2430,55 @@result from update request
+result from the API request
-142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161
+179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201- @@ -2309,7 +2488,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 142 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 179 -def update( - id: nil, - certificate_id: nil, - certificate_management_policy: nil, - description: nil, - http_endpoint_configuration_id: nil, - https_endpoint_configuration_id: nil, - metadata: nil -) - data = build_data( - description: description, - metadata: , - http_endpoint_configuration_id: http_endpoint_configuration_id, - https_endpoint_configuration_id: https_endpoint_configuration_id, - certificate_id: certificate_id, - certificate_management_policy: certificate_management_policy - ) - result = @client.patch("#{PATH}/#{id}", data: data) - NgrokAPI::Models::ReservedDomain.new(client: self, result: result) +def update( + id: "", + description: nil, + metadata: nil, + http_endpoint_configuration_id: nil, + https_endpoint_configuration_id: nil, + certificate_id: nil, + certificate_management_policy: nil +) + path = '/reserved_domains/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id + data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id + data[:certificate_id] = certificate_id if certificate_id + data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::ReservedDomain.new(client: self, result: result) end
- #update!(id: nil, certificate_id: nil, certificate_management_policy: nil, description: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, metadata: nil) ⇒ NgrokAPI::Models::ReservedDomain + #update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil) ⇒ NgrokAPI::Models::ReservedDomain @@ -2318,7 +2497,7 @@
-diff --git a/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html b/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html new file mode 100644 index 0000000..6392ca3 --- /dev/null +++ b/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html @@ -0,0 +1,1532 @@ + + + + + +Update the attributes of a reserved domain. Throw an exception if 404.
+Update the attributes of a reserved domain. Throws an exception if API error.
ngrok.com/docs/api#api-reserved-domains-update
@@ -2337,7 +2516,7 @@ (string) - (defaults to: nil) + (defaults to: "") @@ -2437,7 +2616,7 @@ certificate_management_policy - (string) + (ReservedDomainCertPolicy) (defaults to: nil) @@ -2464,7 +2643,7 @@ —-@@ -2477,49 +2656,55 @@result from update request
+result from the API request
-176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195
+217 +218 +219 +220 +221 +222 +223 +224 +225 +226 +227 +228 +229 +230 +231 +232 +233 +234 +235 +236 +237 +238 +239- @@ -2531,7 +2716,7 @@# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 176 +
# File 'lib/ngrokapi/services/reserved_domains_client.rb', line 217 -def update!( - id: nil, - certificate_id: nil, - certificate_management_policy: nil, - description: nil, - http_endpoint_configuration_id: nil, - https_endpoint_configuration_id: nil, - metadata: nil -) - data = build_data( - description: description, - metadata: , - http_endpoint_configuration_id: http_endpoint_configuration_id, - https_endpoint_configuration_id: https_endpoint_configuration_id, - certificate_id: certificate_id, - certificate_management_policy: certificate_management_policy - ) - result = @client.patch("#{PATH}/#{id}", danger: true, data: data) - NgrokAPI::Models::ReservedDomain.new(client: self, result: result) +def update!( + id: "", + description: nil, + metadata: nil, + http_endpoint_configuration_id: nil, + https_endpoint_configuration_id: nil, + certificate_id: nil, + certificate_management_policy: nil +) + path = '/reserved_domains/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:http_endpoint_configuration_id] = http_endpoint_configuration_id if http_endpoint_configuration_id + data[:https_endpoint_configuration_id] = https_endpoint_configuration_id if https_endpoint_configuration_id + data[:certificate_id] = certificate_id if certificate_id + data[:certificate_management_policy] = certificate_management_policy if certificate_management_policy + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::ReservedDomain.new(client: self, result: result) end
+ Class: NgrokAPI::Services::SSHCertificateAuthoritiesClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/SSHCredentialsClient.html b/doc/NgrokAPI/Services/SSHCredentialsClient.html new file mode 100644 index 0000000..e002ed7 --- /dev/null +++ b/doc/NgrokAPI/Services/SSHCredentialsClient.html @@ -0,0 +1,1552 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::SSHCertificateAuthoritiesClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::SSHCertificateAuthoritiesClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/ssh_certificate_authorities_client.rb +
Overview
++ + ++ ++An SSH Certificate Authority is a pair of an SSH Certificate and its private
+ +
+ + + + +key that can be used to sign other SSH host and user certificates. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/ssh_certificate_authorities'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'ssh_certificate_authorities'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new SSH Certificate Authority.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH Certificate Authority.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH Certificate Authority Throws an exception if API error.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an SSH Certficate Authority.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an SSH Certficate Authority Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHCertificateAuthoritiesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of SSHCertificateAuthoritiesClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all SSH Certificate Authorities on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH Certificate Authority.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH Certificate Authority Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ SSHCertificateAuthoritiesClient + + + + + +
+++ ++Returns a new instance of SSHCertificateAuthoritiesClient.
+ + ++
++ ++ ++ + +18 +19 +20
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 18 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +16 +17 +18
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 16 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0) ⇒ NgrokAPI::Models::SSHCertificateAuthority + + + + + +
+++ ++Create a new SSH Certificate Authority
+ + + + ++
++ ++ ++ + +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 33 + +def create( + description: "", + metadata: "", + private_key_type: "", + elliptic_curve: "", + key_size: 0 +) + path = '/ssh_certificate_authorities' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:private_key_type] = private_key_type if private_key_type + data[:elliptic_curve] = elliptic_curve if elliptic_curve + data[:key_size] = key_size if key_size + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an SSH Certificate Authority
+ + + + ++
++ ++ ++ + +60 +61 +62 +63 +64 +65 +66 +67 +68
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 60 + +def delete( + id: "" +) + path = '/ssh_certificate_authorities/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an SSH Certificate Authority Throws an exception if API error.
+ + + + ++
++ ++ ++ + +78 +79 +80 +81 +82 +83 +84 +85 +86
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 78 + +def delete!( + id: "" +) + path = '/ssh_certificate_authorities/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority + + + + + +
+++ ++Get detailed information about an SSH Certficate Authority
+ + + + ++
++ ++ ++ + +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 95 + +def get( + id: "" +) + path = '/ssh_certificate_authorities/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority + + + + + +
+++ ++Get detailed information about an SSH Certficate Authority Throws an exception if API error.
+ + + + ++
++ ++ ++ + +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 115 + +def get!( + id: "" +) + path = '/ssh_certificate_authorities/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all SSH Certificate Authorities on this account
+ + + + ++
++ ++ ++ + +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 136 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::SSHCertificateAuthority + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority + + + + + +
+++ ++Update an SSH Certificate Authority
+ + + + ++
++ ++ ++ + +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 164 + +def update( + id: "", + description: nil, + metadata: nil +) + path = '/ssh_certificate_authorities/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority + + + + + +
+++ ++Update an SSH Certificate Authority Throws an exception if API error.
+ + + + ++
++ ++ ++ + +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204
++ +# File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 190 + +def update!( + id: "", + description: nil, + metadata: nil +) + path = '/ssh_certificate_authorities/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::SSHCertificateAuthority.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::SSHCredentialsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/SSHHostCertificatesClient.html b/doc/NgrokAPI/Services/SSHHostCertificatesClient.html new file mode 100644 index 0000000..13eb62d --- /dev/null +++ b/doc/NgrokAPI/Services/SSHHostCertificatesClient.html @@ -0,0 +1,1573 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::SSHCredentialsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::SSHCredentialsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/ssh_credentials_client.rb +
Overview
++ + ++ ++SSH Credentials are SSH public keys that can be used to start SSH tunnels
+ +
+ + + + +via the ngrok SSH tunnel gateway. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/ssh_credentials'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'ssh_credentials'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(description: "", metadata: "", acl: [], public_key:) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new ssh_credential from an uploaded public SSH key.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an ssh_credential by ID.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an ssh_credential by ID Throws an exception if API error.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an ssh_credential.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an ssh_credential Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHCredentialsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of SSHCredentialsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all ssh credentials on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an ssh_credential by ID.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update attributes of an ssh_credential by ID Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ SSHCredentialsClient + + + + + +
+++ ++Returns a new instance of SSHCredentialsClient.
+ + ++
++ ++ ++ + +18 +19 +20
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 18 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +16 +17 +18
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 16 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(description: "", metadata: "", acl: [], public_key:) ⇒ NgrokAPI::Models::SSHCredential + + + + + +
+++ ++Create a new ssh_credential from an uploaded public SSH key. This ssh credential can be used to start new tunnels via ngrok's SSH gateway.
+ + + + ++
++ ++ ++ + +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 33 + +def create( + description: "", + metadata: "", + acl: [], + public_key: +) + path = '/ssh_credentials' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:acl] = acl if acl + data[:public_key] = public_key if public_key + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::SSHCredential.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an ssh_credential by ID
+ + + + ++
++ ++ ++ + +58 +59 +60 +61 +62 +63 +64 +65 +66
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 58 + +def delete( + id: "" +) + path = '/ssh_credentials/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an ssh_credential by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +76 +77 +78 +79 +80 +81 +82 +83 +84
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 76 + +def delete!( + id: "" +) + path = '/ssh_credentials/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::SSHCredential + + + + + +
+++ ++Get detailed information about an ssh_credential
+ + + + ++
++ ++ ++ + +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 93 + +def get( + id: "" +) + path = '/ssh_credentials/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::SSHCredential.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::SSHCredential + + + + + +
+++ ++Get detailed information about an ssh_credential Throws an exception if API error.
+ + + + ++
++ ++ ++ + +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 113 + +def get!( + id: "" +) + path = '/ssh_credentials/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::SSHCredential.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all ssh credentials on this account
+ + + + ++
++ ++ ++ + +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 134 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::SSHCredential + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential + + + + + +
+++ ++Update attributes of an ssh_credential by ID
+ + + + ++
++ ++ ++ + +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 163 + +def update( + id: "", + description: nil, + metadata: nil, + acl: nil +) + path = '/ssh_credentials/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:acl] = acl if acl + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::SSHCredential.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil, acl: nil) ⇒ NgrokAPI::Models::SSHCredential + + + + + +
+++ ++Update attributes of an ssh_credential by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208
++ +# File 'lib/ngrokapi/services/ssh_credentials_client.rb', line 192 + +def update!( + id: "", + description: nil, + metadata: nil, + acl: nil +) + path = '/ssh_credentials/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:acl] = acl if acl + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::SSHCredential.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::SSHHostCertificatesClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/SSHUserCertificatesClient.html b/doc/NgrokAPI/Services/SSHUserCertificatesClient.html new file mode 100644 index 0000000..23cb556 --- /dev/null +++ b/doc/NgrokAPI/Services/SSHUserCertificatesClient.html @@ -0,0 +1,1617 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::SSHHostCertificatesClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::SSHHostCertificatesClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/ssh_host_certificates_client.rb +
Overview
++ + ++ ++SSH Host Certificates along with the corresponding private key allows an SSH
+ +
+ + + + +server to assert its authenticity to connecting SSH clients who trust the +SSH Certificate Authority that was used to sign the certificate. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/ssh_host_certificates'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'ssh_host_certificates'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new SSH Host Certificate.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH Host Certificate.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH Host Certificate Throws an exception if API error.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an SSH Host Certficate.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an SSH Host Certficate Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHHostCertificatesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of SSHHostCertificatesClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all SSH Host Certificates issued on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH Host Certificate.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH Host Certificate Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ SSHHostCertificatesClient + + + + + +
+++ ++Returns a new instance of SSHHostCertificatesClient.
+ + ++
++ ++ ++ + +19 +20 +21
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 19 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +17 +18 +19
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 17 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #create(ssh_certificate_authority_id:, public_key:, principals: [], valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHHostCertificate + + + + + +
+++ ++Create a new SSH Host Certificate
+ + + + ++
++ ++ ++ + +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 36 + +def create( + ssh_certificate_authority_id:, + public_key:, + principals: [], + valid_after: "", + valid_until: "", + description: "", + metadata: "" +) + path = '/ssh_host_certificates' + replacements = { + } + data = {} + data[:ssh_certificate_authority_id] = if + data[:public_key] = public_key if public_key + data[:principals] = principals if principals + data[:valid_after] = valid_after if valid_after + data[:valid_until] = valid_until if valid_until + data[:description] = description if description + data[:metadata] = if + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result) +end
+++ ++ + #delete(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an SSH Host Certificate
+ + + + ++
++ ++ ++ + +67 +68 +69 +70 +71 +72 +73 +74 +75
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 67 + +def delete( + id: "" +) + path = '/ssh_host_certificates/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) +end
+++ ++ + #delete!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Delete an SSH Host Certificate Throws an exception if API error.
+ + + + ++
++ ++ ++ + +85 +86 +87 +88 +89 +90 +91 +92 +93
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 85 + +def delete!( + id: "" +) + path = '/ssh_host_certificates/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) +end
+++ ++ + #get(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate + + + + + +
+++ ++Get detailed information about an SSH Host Certficate
+ + + + ++
++ ++ ++ + +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 102 + +def get( + id: "" +) + path = '/ssh_host_certificates/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::SSHHostCertificate + + + + + +
+++ ++Get detailed information about an SSH Host Certficate Throws an exception if API error.
+ + + + ++
++ ++ ++ + +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 122 + +def get!( + id: "" +) + path = '/ssh_host_certificates/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all SSH Host Certificates issued on this account
+ + + + ++
++ ++ ++ + +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 143 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::SSHHostCertificate + ) +end
+++ ++ + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate + + + + + +
+++ ++Update an SSH Host Certificate
+ + + + ++
++ ++ ++ + +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 171 + +def update( + id: "", + description: nil, + metadata: nil +) + path = '/ssh_host_certificates/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result) +end
+++ ++ + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHHostCertificate + + + + + +
+++ ++Update an SSH Host Certificate Throws an exception if API error.
+ + + + ++
++ ++ ++ + +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208 +209 +210 +211
++ +# File 'lib/ngrokapi/services/ssh_host_certificates_client.rb', line 197 + +def update!( + id: "", + description: nil, + metadata: nil +) + path = '/ssh_host_certificates/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::SSHHostCertificate.new(client: self, result: result) +end
++ Class: NgrokAPI::Services::SSHUserCertificatesClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + ++-+ + ++ ++ + + + + + ++ +@@ -59,7 +59,7 @@Class: NgrokAPI::Services::SSHUserCertificatesClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::SSHUserCertificatesClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/ssh_user_certificates_client.rb +
Overview
++ + ++ ++SSH User Certificates are presented by SSH clients when connecting to an SSH
+ +
+ + + + +server to authenticate their connection. The SSH server must trust the SSH +Certificate Authority used to sign the certificate. ++ Constant Summary + collapse +
+ +-
+
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/ssh_user_certificates'
+
+ - LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'ssh_user_certificates'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #create(ssh_certificate_authority_id:, public_key:, principals: [], critical_options: {}, extensions: {}, valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Create a new SSH User Certificate.
+
+
+
+ -
+
+
+ #delete(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH User Certificate.
+
+
+
+ -
+
+
+ #delete!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Delete an SSH User Certificate Throws an exception if API error.
+
+
+
+ -
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an SSH User Certficate.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get detailed information about an SSH User Certficate Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ SSHUserCertificatesClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of SSHUserCertificatesClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all SSH User Certificates issued on this account.
+
+
+
+ -
+
+
+ #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH User Certificate.
+
+
+
+ -
+
+
+ #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHUserCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Update an SSH User Certificate Throws an exception if API error.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ SSHUserCertificatesClient + + + + + +
+++ ++Returns a new instance of SSHUserCertificatesClient.
+ + ++
++ ++ ++ + +19 +20 +21
++ +# File 'lib/ngrokapi/services/ssh_user_certificates_client.rb', line 19 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +17 +18 +19
++ +# File 'lib/ngrokapi/services/ssh_user_certificates_client.rb', line 17 + +def client + @client +end
+++ + \ No newline at end of file diff --git a/docs/NgrokAPI/Services/TlsCertificatesClient.html b/doc/NgrokAPI/Services/TLSCertificatesClient.html similarity index 62% rename from docs/NgrokAPI/Services/TlsCertificatesClient.html rename to doc/NgrokAPI/Services/TLSCertificatesClient.html index 3300974..538fc9b 100644 --- a/docs/NgrokAPI/Services/TlsCertificatesClient.html +++ b/doc/NgrokAPI/Services/TLSCertificatesClient.html @@ -4,7 +4,7 @@Instance Method Details
+ + +++ + + ++ + #create(ssh_certificate_authority_id:, public_key:, principals: [], critical_options: {}, extensions: {}, valid_after: "", valid_until: "", description: "", metadata: "") ⇒ NgrokAPI::Models::SSHUserCertificate + + + + + +
++ + ++ ++Create a new SSH User Certificate
+ + + + +- Class: NgrokAPI::Services::TlsCertificatesClient + Class: NgrokAPI::Services::TLSCertificatesClient — Documentation by YARD 0.9.26 @@ -15,7 +15,7 @@ @@ -39,7 +39,7 @@ Index (T) » NgrokAPI » Services » - TlsCertificatesClient + TLSCertificatesClient Class: NgrokAPI::Services::TlsCertificatesClient +
Class: NgrokAPI::Services::TLSCertificatesClient @@ -74,7 +74,7 @@
- Object -
- NgrokAPI::Services::TlsCertificatesClient +
- NgrokAPI::Services::TLSCertificatesClient
Overview
-A client for interacting with the tls_certificates API
+TLS Certificates are pairs of x509 certificates and their matching private
+ +key that can be used to terminate TLS traffic. TLS certificates are unused +until they are attached to a Domain. TLS Certificates may also be +provisioned by ngrok automatically for domains on which you have enabled +automated certificate provisioning. +ngrok.com/docs/api#api-tls-certificates
@@ -121,6 +127,22 @@-
+
- PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/tls_certificates'
+
- LIST_PROPERTY =
@@ -137,22 +159,6 @@
-'tls_certificates'- PATH = -
--- -- --The API path for tls certificates
- - - - @@ -207,7 +213,7 @@'/tls_certificates'- - #create(certificate_pem: '', description: '', metadata: '', private_key_pem: '') ⇒ NgrokAPI::Models::TlsCertificate + #create(description: "", metadata: "", certificate_pem:, private_key_pem:) ⇒ NgrokAPI::Models::TLSCertificate @@ -231,7 +237,7 @@
- - #delete(id: nil) ⇒ nil + #delete(id: "") ⇒ NgrokAPI::Models::Empty @@ -246,7 +252,7 @@
@@ -255,7 +261,7 @@-Delete a TLS certificate by ID.
+Delete a TLS certificate.
- - #delete!(id: nil) ⇒ nil + #delete!(id: "") ⇒ NgrokAPI::Models::Empty @@ -270,7 +276,7 @@
@@ -279,7 +285,7 @@-Delete a TLS certificate by ID.
+Delete a TLS certificate Throws an exception if API error.
- - #get(id: nil) ⇒ NgrokAPI::Models::TlsCertificate + #get(id: "") ⇒ NgrokAPI::Models::TLSCertificate @@ -294,7 +300,7 @@
@@ -303,7 +309,7 @@-Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate.
- - #get!(id: nil) ⇒ NgrokAPI::Models::TlsCertificate + #get!(id: "") ⇒ NgrokAPI::Models::TLSCertificate @@ -318,7 +324,7 @@
@@ -327,7 +333,7 @@-Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate Throws an exception if API error.
- - #initialize(client:) ⇒ TlsCertificatesClient + #initialize(client:) ⇒ TLSCertificatesClient @@ -344,7 +350,7 @@
@@ -377,7 +383,7 @@-A new instance of TlsCertificatesClient.
+A new instance of TLSCertificatesClient.
- - #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate @@ -401,7 +407,7 @@
- - #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate @@ -416,7 +422,7 @@
@@ -431,7 +437,7 @@-Update attributes of a TLS Certificate by ID.
+Update attributes of a TLS Certificate by ID Throws an exception if API error.
- #initialize(client:) ⇒ TlsCertificatesClient + #initialize(client:) ⇒ TLSCertificatesClient @@ -440,7 +446,7 @@
-@@ -454,15 +460,15 @@Returns a new instance of TlsCertificatesClient.
+Returns a new instance of TLSCertificatesClient.
-17 -18 -19
+21 +22 +23- @@ -502,12 +508,12 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 17 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 21 -def initialize(client:) - @client = client +def initialize(client:) + @client = client end
-15 -16 -17
+19 +20 +21- # File 'lib/ngrokapi/services/tls_certificates_client.rb', line 15 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 19 def client @client @@ -527,7 +533,7 @@
- #create(certificate_pem: '', description: '', metadata: '', private_key_pem: '') ⇒ NgrokAPI::Models::TlsCertificate + #create(description: "", metadata: "", certificate_pem:, private_key_pem:) ⇒ NgrokAPI::Models::TLSCertificate @@ -536,7 +542,7 @@
-Upload a new TLS certificate.
+Upload a new TLS certificate
ngrok.com/docs/api#api-tls-certificates-create
@@ -555,7 +561,7 @@ (string) - (defaults to: '') + (defaults to: "") — @@ -573,7 +579,7 @@ (string) - (defaults to: '') + (defaults to: "") — @@ -591,8 +597,6 @@ (string) - (defaults to: '') - —@@ -609,8 +613,6 @@ (string) - (defaults to: '') - —@@ -627,13 +629,13 @@- - (NgrokAPI::Models::TlsCertificate) + (NgrokAPI::Models::TLSCertificate) —
@@ -646,8 +648,6 @@-result from create request
+result from the API request
-33 -34 35 36 37 @@ -660,25 +660,31 @@ 44 45 46 -47
+47 +48 +49 +50 +51- @@ -688,7 +694,7 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 33 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 35 -def create( - certificate_pem: '', - description: '', - metadata: '', - private_key_pem: '' -) - data = { - certificate_pem: certificate_pem, - description: description, - metadata: , - private_key_pem: private_key_pem, - } - result = @client.post(PATH, data: data) - NgrokAPI::Models::TlsCertificate.new(client: self, result: result) +def create( + description: "", + metadata: "", + certificate_pem:, + private_key_pem: +) + path = '/tls_certificates' + replacements = { + } + data = {} + data[:description] = description if description + data[:metadata] = if + data[:certificate_pem] = certificate_pem if certificate_pem + data[:private_key_pem] = private_key_pem if private_key_pem + result = @client.post(path % replacements, data: data) + NgrokAPI::Models::TLSCertificate.new(client: self, result: result) end
- #delete(id: nil) ⇒ nil + #delete(id: "") ⇒ NgrokAPI::Models::Empty @@ -697,7 +703,7 @@
-Delete a TLS certificate by ID.
+Delete a TLS certificate
ngrok.com/docs/api#api-tls-certificates-delete
@@ -716,7 +722,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -734,13 +740,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -753,15 +759,27 @@-result from delete request
+result from the API request
-57 -58 -59
+60 +61 +62 +63 +64 +65 +66 +67 +68- @@ -771,7 +789,7 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 57 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 60 -def delete(id: nil) - @client.delete("#{PATH}/#{id}") +def delete( + id: "" +) + path = '/tls_certificates/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements) end
- #delete!(id: nil) ⇒ nil + #delete!(id: "") ⇒ NgrokAPI::Models::Empty @@ -780,7 +798,7 @@
-Delete a TLS certificate by ID. Throw an exception if 404.
+Delete a TLS certificate Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-delete
@@ -799,7 +817,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -817,13 +835,13 @@- - (nil) + (NgrokAPI::Models::Empty) —
@@ -836,15 +854,27 @@-result from delete request
+result from the API request
-68 -69 -70
+78 +79 +80 +81 +82 +83 +84 +85 +86- @@ -854,7 +884,7 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 68 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 78 -def delete!(id: nil) - @client.delete("#{PATH}/#{id}", danger: true) +def delete!( + id: "" +) + path = '/tls_certificates/%{id}' + replacements = { + id: id, + } + @client.delete(path % replacements, danger: true) end
- #get(id: nil) ⇒ NgrokAPI::Models::TlsCertificate + #get(id: "") ⇒ NgrokAPI::Models::TLSCertificate @@ -863,7 +893,7 @@
-Get detailed information about a TLS certificate by ID.
+Get detailed information about a TLS certificate
ngrok.com/docs/api#api-tls-certificates-get
@@ -882,7 +912,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -900,13 +930,13 @@- - (NgrokAPI::Models::TlsCertificate) + (NgrokAPI::Models::TLSCertificate) —
@@ -919,17 +949,31 @@-result from get request
+result from the API request
-79 -80 -81 -82
+95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105- @@ -939,7 +983,7 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 79 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 95 -def get(id: nil) - result = @client.get("#{PATH}/#{id}") - NgrokAPI::Models::TlsCertificate.new(client: self, result: result) +def get( + id: "" +) + path = '/tls_certificates/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::TLSCertificate.new(client: self, result: result) end
- #get!(id: nil) ⇒ NgrokAPI::Models::TlsCertificate + #get!(id: "") ⇒ NgrokAPI::Models::TLSCertificate @@ -948,7 +992,7 @@
-Get detailed information about a TLS certificate by ID. Throw an exception if 404.
+Get detailed information about a TLS certificate Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-get
@@ -967,7 +1011,7 @@ (string) - (defaults to: nil) + (defaults to: "") — @@ -985,13 +1029,13 @@- - (NgrokAPI::Models::TlsCertificate) + (NgrokAPI::Models::TLSCertificate) —
@@ -1004,17 +1048,31 @@-result from get request
+result from the API request
-91 -92 -93 -94
+115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125- @@ -1033,7 +1091,7 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 91 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 115 -def get!(id: nil) - result = @client.get("#{PATH}/#{id}", danger: true) - NgrokAPI::Models::TlsCertificate.new(client: self, result: result) +def get!( + id: "" +) + path = '/tls_certificates/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::TLSCertificate.new(client: self, result: result) end
-List all TLS certificates on this account.
+List all TLS certificates on this account
ngrok.com/docs/api#api-tls-certificates-list
@@ -1062,7 +1120,7 @@ limit - (integer) + (string) (defaults to: nil) @@ -1102,7 +1160,7 @@ —-@@ -1115,27 +1173,45 @@the result listable
+result from the API request
-105 -106 -107 -108 -109 -110 -111 -112 -113
+136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153- @@ -1145,7 +1221,7 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 105 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 136 -def list(before_id: nil, limit: nil, url: nil) - result = @client.list(before_id: before_id, limit: limit, url: url, path: PATH) - NgrokAPI::Models::Listable.new( - client: self, - result: result, - list_property: LIST_PROPERTY, - klass: NgrokAPI::Models::TlsCertificate - ) +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::TLSCertificate + ) end
- #update(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate + #update(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate @@ -1154,7 +1230,7 @@
-Update attributes of a TLS Certificate by ID.
+Update attributes of a TLS Certificate by ID
ngrok.com/docs/api#api-tls-certificates-update
@@ -1173,7 +1249,7 @@ (string) - (defaults to: nil) + (defaults to: "") @@ -1222,13 +1298,13 @@- - (NgrokAPI::Models::TlsCertificate) + (NgrokAPI::Models::TLSCertificate) —
@@ -1241,31 +1317,39 @@-result from update request
+result from the API request
-126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136
+164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178- @@ -1275,7 +1359,7 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 126 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 164 -def update( - id: nil, - description: nil, - metadata: nil -) - data = {} - data[:description] = description if description - data[:metadata] = if - result = @client.patch("#{PATH}/#{id}", data: data) - NgrokAPI::Models::TlsCertificate.new(client: self, result: result) +def update( + id: "", + description: nil, + metadata: nil +) + path = '/tls_certificates/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data) + NgrokAPI::Models::TLSCertificate.new(client: self, result: result) end
- #update!(id: nil, description: nil, metadata: nil) ⇒ NgrokAPI::Models::TlsCertificate + #update!(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::TLSCertificate @@ -1284,7 +1368,7 @@
-diff --git a/doc/NgrokAPI/Services/TunnelSessionsClient.html b/doc/NgrokAPI/Services/TunnelSessionsClient.html new file mode 100644 index 0000000..1ee54ad --- /dev/null +++ b/doc/NgrokAPI/Services/TunnelSessionsClient.html @@ -0,0 +1,1468 @@ + + + + + +Update attributes of a TLS Certificate by ID. Throw an exception if 404.
+Update attributes of a TLS Certificate by ID Throws an exception if API error.
ngrok.com/docs/api#api-tls-certificates-update
@@ -1303,7 +1387,7 @@ (string) - (defaults to: nil) + (defaults to: "") @@ -1352,13 +1436,13 @@- - (NgrokAPI::Models::TlsCertificate) + (NgrokAPI::Models::TLSCertificate) —
@@ -1371,31 +1455,39 @@-result from update request
+result from the API request
-147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157
+190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204- @@ -1407,7 +1499,7 @@# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 147 +
# File 'lib/ngrokapi/services/tls_certificates_client.rb', line 190 -def update!( - id: nil, - description: nil, - metadata: nil -) - data = {} - data[:description] = description if description - data[:metadata] = if - result = @client.patch("#{PATH}/#{id}", danger: true, data: data) - NgrokAPI::Models::TlsCertificate.new(client: self, result: result) +def update!( + id: "", + description: nil, + metadata: nil +) + path = '/tls_certificates/%{id}' + replacements = { + id: id, + } + data = {} + data[:description] = description if description + data[:metadata] = if + result = @client.patch(path % replacements, data: data, danger: true) + NgrokAPI::Models::TLSCertificate.new(client: self, result: result) end
+ Class: NgrokAPI::Services::TunnelSessionsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/NgrokAPI/Services/TunnelsClient.html b/doc/NgrokAPI/Services/TunnelsClient.html new file mode 100644 index 0000000..6c54768 --- /dev/null +++ b/doc/NgrokAPI/Services/TunnelsClient.html @@ -0,0 +1,513 @@ + + + + + ++ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::TunnelSessionsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::TunnelSessionsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/tunnel_sessions_client.rb +
Overview
++ + ++ ++Tunnel Sessions represent instances of ngrok agents or SSH reverse tunnel
+ +
+ + + + +sessions that are running and connected to the ngrok service. Each tunnel +session can include one or more Tunnels. ++ Constant Summary + collapse +
+ +-
+
+
- LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'tunnel_sessions'
+
+ - PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/tunnel_sessions'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #get(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get the detailed status of a tunnel session by ID.
+
+
+
+ -
+
+
+ #get!(id: "") ⇒ NgrokAPI::Models::TunnelSession
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Get the detailed status of a tunnel session by ID Throws an exception if API error.
+
+
+
+ -
+
+
+ #initialize(client:) ⇒ TunnelSessionsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of TunnelSessionsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all online tunnel sessions running on this account.
+
+
+
+ -
+
+
+ #restart(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Issues a command instructing the ngrok agent to restart.
+
+
+
+ -
+
+
+ #restart!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Issues a command instructing the ngrok agent to restart.
+
+
+
+ -
+
+
+ #stop(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Issues a command instructing the ngrok agent that started this tunnel session to exit.
+
+
+
+ -
+
+
+ #stop!(id: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Issues a command instructing the ngrok agent that started this tunnel session to exit.
+
+
+
+ -
+
+
+ #update(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Issues a command instructing the ngrok agent to update itself to the latest version.
+
+
+
+ -
+
+
+ #update!(id: "", version: "") ⇒ NgrokAPI::Models::Empty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
Issues a command instructing the ngrok agent to update itself to the latest version.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ TunnelSessionsClient + + + + + +
+++ ++Returns a new instance of TunnelSessionsClient.
+ + ++
++ ++ ++ + +19 +20 +21
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 19 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +17 +18 +19
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 17 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #get(id: "") ⇒ NgrokAPI::Models::TunnelSession + + + + + +
+++ ++Get the detailed status of a tunnel session by ID
+ + + + ++
++ ++ ++ + +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 58 + +def get( + id: "" +) + path = '/tunnel_sessions/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data) + NgrokAPI::Models::TunnelSession.new(client: self, result: result) +end
+++ ++ + #get!(id: "") ⇒ NgrokAPI::Models::TunnelSession + + + + + +
+++ ++Get the detailed status of a tunnel session by ID Throws an exception if API error.
+ + + + ++
++ ++ ++ + +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 78 + +def get!( + id: "" +) + path = '/tunnel_sessions/%{id}' + replacements = { + id: id, + } + data = {} + result = @client.get(path % replacements, data: data, danger: true) + NgrokAPI::Models::TunnelSession.new(client: self, result: result) +end
+++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all online tunnel sessions running on this account.
+ + + + ++
++ ++ ++ + +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 32 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::TunnelSession + ) +end
+++ ++ + #restart(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID.
+ + + + ++
++ ++ ++ + +100 +101 +102 +103 +104 +105 +106 +107 +108
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 100 + +def restart( + id: "" +) + path = '/tunnel_sessions/%{id}/restart' + replacements = { + id: id, + } + @client.post(path % replacements) +end
+++ ++ + #restart!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +121 +122 +123 +124 +125 +126 +127 +128 +129
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 121 + +def restart!( + id: "" +) + path = '/tunnel_sessions/%{id}/restart' + replacements = { + id: id, + } + @client.post(path % replacements, danger: true) +end
+++ ++ + #stop(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Issues a command instructing the ngrok agent that started this tunnel session to exit.
+ + + + ++
++ ++ ++ + +139 +140 +141 +142 +143 +144 +145 +146 +147
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 139 + +def stop( + id: "" +) + path = '/tunnel_sessions/%{id}/stop' + replacements = { + id: id, + } + @client.post(path % replacements) +end
+++ ++ + #stop!(id: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Issues a command instructing the ngrok agent that started this tunnel session to exit. Throws an exception if API error.
+ + + + ++
++ ++ ++ + +158 +159 +160 +161 +162 +163 +164 +165 +166
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 158 + +def stop!( + id: "" +) + path = '/tunnel_sessions/%{id}/stop' + replacements = { + id: id, + } + @client.post(path % replacements, danger: true) +end
+++ ++ + #update(id: "", version: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Issues a command instructing the ngrok agent to update itself to the latest version. After this call completes successfully, the ngrok agent will be in the update process. A caller should wait some amount of time to allow the update to complete (at least 10 seconds) before making a call to the Restart endpoint to request that the agent restart itself to start using the new code. This call will never update an ngrok agent to a new major version which could cause breaking compatibility issues. If you wish to update to a new major version, that must be done manually. Still, please be aware that updating your ngrok agent could break your integration. This call will fail in any of the following circumstances: there is no update available the ngrok agent's configuration disabled update checks the agent is currently in process of updating the agent has already successfully updated but has not yet been restarted
+ + + + ++
++ ++ ++ + +186 +187 +188 +189 +190 +191 +192 +193 +194 +195
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 186 + +def update( + id: "", + version: "" +) + path = '/tunnel_sessions/%{id}/update' + replacements = { + id: id, + } + @client.post(path % replacements) +end
+++ ++ + #update!(id: "", version: "") ⇒ NgrokAPI::Models::Empty + + + + + +
+++ ++Issues a command instructing the ngrok agent to update itself to the latest version. After this call completes successfully, the ngrok agent will be in the update process. A caller should wait some amount of time to allow the update to complete (at least 10 seconds) before making a call to the Restart endpoint to request that the agent restart itself to start using the new code. This call will never update an ngrok agent to a new major version which could cause breaking compatibility issues. If you wish to update to a new major version, that must be done manually. Still, please be aware that updating your ngrok agent could break your integration. This call will fail in any of the following circumstances: there is no update available the ngrok agent's configuration disabled update checks the agent is currently in process of updating the agent has already successfully updated but has not yet been restarted Throws an exception if API error.
+ + + + ++
++ ++ ++ + +216 +217 +218 +219 +220 +221 +222 +223 +224 +225
++ +# File 'lib/ngrokapi/services/tunnel_sessions_client.rb', line 216 + +def update!( + id: "", + version: "" +) + path = '/tunnel_sessions/%{id}/update' + replacements = { + id: id, + } + @client.post(path % replacements, danger: true) +end
++ Class: NgrokAPI::Services::TunnelsClient + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/_index.html b/doc/_index.html index 58709cf..0f5f21e 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -81,14 +81,56 @@+ + ++ ++ + + + + + ++ ++ + + +Class: NgrokAPI::Services::TunnelsClient + + + +
++ ++ +-
+
- Inherits: +
-
+ Object
+
+
-
+
- Object + +
- NgrokAPI::Services::TunnelsClient + +
+
-
+
- Defined in: +
- lib/ngrokapi/services/tunnels_client.rb +
Overview
++ + ++ ++Tunnels provide endpoints to access services exposed by a running ngrok
+ +
+ + + + +agent tunnel session or an SSH reverse tunnel session. ++ Constant Summary + collapse +
+ +-
+
+
- LIST_PROPERTY =
+ ++ ++ ++
The List Property from the resulting API for list calls
+ + +
+ 'tunnels'
+
+ - PATH =
+ ++ ++ ++
The API path for the requests
+ + +
+ '/tunnels'
+
+
Instance Attribute Summary collapse
+-
+
+
-
+
+
+ #client ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+ ++ +
Returns the value of attribute client.
+
+
+
+
+ Instance Method Summary + collapse +
+ +-
+
+
-
+
+
+ #initialize(client:) ⇒ TunnelsClient
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
+ ++ +
A new instance of TunnelsClient.
+
+
+
+ -
+
+
+ #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ++ +
List all online tunnels currently running on the account.
+
+
+
+
++ +Constructor Details
+ +++ ++ + #initialize(client:) ⇒ TunnelsClient + + + + + +
+++ ++Returns a new instance of TunnelsClient.
+ + ++
++ ++ ++ + +18 +19 +20
++ +# File 'lib/ngrokapi/services/tunnels_client.rb', line 18 + +def initialize(client:) + @client = client +end
+++ + +Instance Attribute Details
+ + + +++ ++ + #client ⇒ Object (readonly) + + + + + +
+++ ++Returns the value of attribute client.
+ + ++
++ ++ ++ + +16 +17 +18
++ +# File 'lib/ngrokapi/services/tunnels_client.rb', line 16 + +def client + @client +end
+++ +Instance Method Details
+ + +++ ++ + #list(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable + + + + + +
+++ ++List all online tunnels currently running on the account.
+ + + + ++
++ ++ ++ + +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48
++ +# File 'lib/ngrokapi/services/tunnels_client.rb', line 31 + +def list( + before_id: nil, + limit: nil, + url: nil +) + result = @client.list( + before_id: before_id, + limit: limit, + url: url, + path: PATH + ) + NgrokAPI::Models::Listable.new( + client: self, + result: result, + list_property: LIST_PROPERTY, + klass: NgrokAPI::Models::Tunnel + ) +end
+- - ApiKey + APIKey (NgrokAPI::Models)
- - ApiKeysClient + APIKeysClient + + (NgrokAPI::Services) + + + +
- + AWSAuth + + (NgrokAPI::Models) + + + +
- + AWSCredentials + + (NgrokAPI::Models) + + + +
- + AWSRole + + (NgrokAPI::Models) + + + +
- + AbuseReport + + (NgrokAPI::Models) + + + +
- + AbuseReportHostname + + (NgrokAPI::Models) + + + +
- + AbuseReportsClient (NgrokAPI::Services) @@ -102,6 +144,20 @@
- C
- + CertificateAuthoritiesClient + + (NgrokAPI::Services) + + + +
- + CertificateAuthority + + (NgrokAPI::Models) + + +
- Client @@ -109,6 +165,20 @@ +
- + Credential + + (NgrokAPI::Models) + + + +
- + CredentialsClient + + (NgrokAPI::Services) + + +
-
+
- E
-
+
- + EndpointCircuitBreaker + + (NgrokAPI::Models) + + + +
- + EndpointCircuitBreakerModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointCompression + + (NgrokAPI::Models) + + + +
- + EndpointCompressionModuleClient + + (NgrokAPI::Services) + + +
- EndpointConfiguration @@ -131,6 +229,209 @@ +
- + EndpointIPPolicy + + (NgrokAPI::Models) + + + +
- + EndpointIPPolicyModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointIPPolicyMutate + + (NgrokAPI::Models) + + + +
- + EndpointLogging + + (NgrokAPI::Models) + + + +
- + EndpointLoggingModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointLoggingMutate + + (NgrokAPI::Models) + + + +
- + EndpointMutualTLS + + (NgrokAPI::Models) + + + +
- + EndpointMutualTLSModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointMutualTLSMutate + + (NgrokAPI::Models) + + + +
- + EndpointOAuth + + (NgrokAPI::Models) + + + +
- + EndpointOAuthFacebook + + (NgrokAPI::Models) + + + +
- + EndpointOAuthGitHub + + (NgrokAPI::Models) + + + +
- + EndpointOAuthGoogle + + (NgrokAPI::Models) + + + +
- + EndpointOAuthMicrosoft + + (NgrokAPI::Models) + + + +
- + EndpointOAuthModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointOAuthProvider + + (NgrokAPI::Models) + + + +
- + EndpointOIDC + + (NgrokAPI::Models) + + + +
- + EndpointOIDCModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointRequestHeaders + + (NgrokAPI::Models) + + + +
- + EndpointRequestHeadersModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointResponseHeaders + + (NgrokAPI::Models) + + + +
- + EndpointResponseHeadersModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointSAML + + (NgrokAPI::Models) + + + +
- + EndpointSAMLModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointSAMLMutate + + (NgrokAPI::Models) + + + +
- + EndpointTLSTermination + + (NgrokAPI::Models) + + + +
- + EndpointTLSTerminationModuleClient + + (NgrokAPI::Services) + + + +
- + EndpointWebhookValidation + + (NgrokAPI::Models) + + + +
- + EndpointWebhookValidationModuleClient + + (NgrokAPI::Services) + + +
- Error @@ -145,6 +446,97 @@ +
- + EventDestination + + (NgrokAPI::Models) + + + +
- + EventDestinationsClient + + (NgrokAPI::Services) + + + +
- + EventSource + + (NgrokAPI::Models) + + + +
- + EventSourceReplace + + (NgrokAPI::Models) + + + +
- + EventSourcesClient + + (NgrokAPI::Services) + + + +
- + EventStream + + (NgrokAPI::Models) + + + +
- + EventStreamsClient + + (NgrokAPI::Services) + + + +
- + EventSubscription + + (NgrokAPI::Models) + + + +
- + EventSubscriptionsClient + + (NgrokAPI::Services) + + + +
- + EventTarget + + (NgrokAPI::Models) + + + +
- + EventTargetCloudwatchLogs + + (NgrokAPI::Models) + + + +
- + EventTargetFirehose + + (NgrokAPI::Models) + + + +
- + EventTargetKinesis + + (NgrokAPI::Models) + + +
-
+
- I +
- + IPPoliciesClient + + (NgrokAPI::Services) + + + +
- + IPPolicy + + (NgrokAPI::Models) + + + +
- + IPPolicyRule + + (NgrokAPI::Models) + + + +
- + IPPolicyRulesClient + + (NgrokAPI::Services) + + + +
- + IPRestriction + + (NgrokAPI::Models) + + + +
- + IPRestrictionsClient + + (NgrokAPI::Services) + + + +
- + IPWhitelistClient + + (NgrokAPI::Services) + + + +
- + IPWhitelistEntry + + (NgrokAPI::Models) + + + +
-
+
+
- L
- N
- P
- R
- + Ref + + (NgrokAPI::Models) + + + +
- + ReservedAddr + + (NgrokAPI::Models) + + + +
- + ReservedAddrsClient + + (NgrokAPI::Services) + + +
- ReservedDomain @@ -243,6 +720,34 @@ +
- + ReservedDomainCertJob + + (NgrokAPI::Models) + + + +
- + ReservedDomainCertNSTarget + + (NgrokAPI::Models) + + + +
- + ReservedDomainCertPolicy + + (NgrokAPI::Models) + + + +
- + ReservedDomainCertStatus + + (NgrokAPI::Models) + + +
- ReservedDomainsClient @@ -258,6 +763,62 @@
- S
- + SSHCertificateAuthoritiesClient + + (NgrokAPI::Services) + + + +
- + SSHCertificateAuthority + + (NgrokAPI::Models) + + + +
- + SSHCredential + + (NgrokAPI::Models) + + + +
- + SSHCredentialsClient + + (NgrokAPI::Services) + + + +
- + SSHHostCertificate + + (NgrokAPI::Models) + + + +
- + SSHHostCertificatesClient + + (NgrokAPI::Services) + + + +
- + SSHUserCertificate + + (NgrokAPI::Models) + + + +
- + SSHUserCertificatesClient + + (NgrokAPI::Services) + + +
-
Services
@@ -274,14 +835,49 @@
- - TlsCertificate + TLSCertificate (NgrokAPI::Models)
- - TlsCertificatesClient + TLSCertificateSANs + + (NgrokAPI::Models) + + + +
- + TLSCertificatesClient + + (NgrokAPI::Services) + + + +
- + Tunnel + + (NgrokAPI::Models) + + + +
- + TunnelSession + + (NgrokAPI::Models) + + + +
- + TunnelSessionsClient + + (NgrokAPI::Services) + + + +
-
+ TunnelsClient
(NgrokAPI::Services)
@@ -299,7 +895,7 @@
diff --git a/doc/class_list.html b/doc/class_list.html
index 7662b29..f520d89 100644
--- a/doc/class_list.html
+++ b/doc/class_list.html
@@ -43,7 +43,7 @@
- -
- NgrokAPITop Level Namespace
- Client < ObjectNgrokAPI
- Error < StandardErrorNgrokAPI
- ErrorsNgrokAPI
- NotFoundError < ErrorNgrokAPI::Errors
- HttpClient < ObjectNgrokAPI
- ModelsNgrokAPI
- ApiKey < ObjectNgrokAPI::Models
- EndpointConfiguration < ObjectNgrokAPI::Models
- Listable < ObjectNgrokAPI::Models
- ReservedDomain < ObjectNgrokAPI::Models
- TlsCertificate < ObjectNgrokAPI::Models
- PagedIterator < ObjectNgrokAPI
- ServicesNgrokAPI
- ApiKeysClient < ObjectNgrokAPI::Services
- EndpointConfigurationsClient < ObjectNgrokAPI::Services
- ReservedDomainsClient < ObjectNgrokAPI::Services
- TlsCertificatesClient < ObjectNgrokAPI::Services
+ - NgrokAPITop Level Namespace
- Client < ObjectNgrokAPI
- Error < StandardErrorNgrokAPI
- ErrorsNgrokAPI
- NotFoundError < ErrorNgrokAPI::Errors
- HttpClient < ObjectNgrokAPI
- ModelsNgrokAPI
- APIKey < ObjectNgrokAPI::Models
- AWSAuth < ObjectNgrokAPI::Models
- AWSCredentials < ObjectNgrokAPI::Models
- AWSRole < ObjectNgrokAPI::Models
- AbuseReport < ObjectNgrokAPI::Models
- AbuseReportHostname < ObjectNgrokAPI::Models
- CertificateAuthority < ObjectNgrokAPI::Models
- Credential < ObjectNgrokAPI::Models
- EndpointCircuitBreaker < ObjectNgrokAPI::Models
- EndpointCompression < ObjectNgrokAPI::Models
- EndpointConfiguration < ObjectNgrokAPI::Models
- EndpointIPPolicy < ObjectNgrokAPI::Models
- EndpointIPPolicyMutate < ObjectNgrokAPI::Models
- EndpointLogging < ObjectNgrokAPI::Models
- EndpointLoggingMutate < ObjectNgrokAPI::Models
- EndpointMutualTLS < ObjectNgrokAPI::Models
- EndpointMutualTLSMutate < ObjectNgrokAPI::Models
- EndpointOAuth < ObjectNgrokAPI::Models
- EndpointOAuthFacebook < ObjectNgrokAPI::Models
- EndpointOAuthGitHub < ObjectNgrokAPI::Models
- EndpointOAuthGoogle < ObjectNgrokAPI::Models
- EndpointOAuthMicrosoft < ObjectNgrokAPI::Models
- EndpointOAuthProvider < ObjectNgrokAPI::Models
- EndpointOIDC < ObjectNgrokAPI::Models
- EndpointRequestHeaders < ObjectNgrokAPI::Models
- EndpointResponseHeaders < ObjectNgrokAPI::Models
- EndpointSAML < ObjectNgrokAPI::Models
- EndpointSAMLMutate < ObjectNgrokAPI::Models
- EndpointTLSTermination < ObjectNgrokAPI::Models
- EndpointWebhookValidation < ObjectNgrokAPI::Models
- EventDestination < ObjectNgrokAPI::Models
- EventSource < ObjectNgrokAPI::Models
- EventSourceReplace < ObjectNgrokAPI::Models
- EventStream < ObjectNgrokAPI::Models
- EventSubscription < ObjectNgrokAPI::Models
- EventTarget < ObjectNgrokAPI::Models
- EventTargetCloudwatchLogs < ObjectNgrokAPI::Models
- EventTargetFirehose < ObjectNgrokAPI::Models
- EventTargetKinesis < ObjectNgrokAPI::Models
- IPPolicy < ObjectNgrokAPI::Models
- IPPolicyRule < ObjectNgrokAPI::Models
- IPRestriction < ObjectNgrokAPI::Models
- IPWhitelistEntry < ObjectNgrokAPI::Models
- Listable < ObjectNgrokAPI::Models
- Ref < ObjectNgrokAPI::Models
- ReservedAddr < ObjectNgrokAPI::Models
- ReservedDomain < ObjectNgrokAPI::Models
- ReservedDomainCertJob < ObjectNgrokAPI::Models
- ReservedDomainCertNSTarget < ObjectNgrokAPI::Models
- ReservedDomainCertPolicy < ObjectNgrokAPI::Models
- ReservedDomainCertStatus < ObjectNgrokAPI::Models
- SSHCertificateAuthority < ObjectNgrokAPI::Models
- SSHCredential < ObjectNgrokAPI::Models
- SSHHostCertificate < ObjectNgrokAPI::Models
- SSHUserCertificate < ObjectNgrokAPI::Models
- TLSCertificate < ObjectNgrokAPI::Models
- TLSCertificateSANs < ObjectNgrokAPI::Models
- Tunnel < ObjectNgrokAPI::Models
- TunnelSession < ObjectNgrokAPI::Models
- PagedIterator < ObjectNgrokAPI
- ServicesNgrokAPI
- APIKeysClient < ObjectNgrokAPI::Services
- AbuseReportsClient < ObjectNgrokAPI::Services
- CertificateAuthoritiesClient < ObjectNgrokAPI::Services
- CredentialsClient < ObjectNgrokAPI::Services
- EndpointCircuitBreakerModuleClient < ObjectNgrokAPI::Services
- EndpointCompressionModuleClient < ObjectNgrokAPI::Services
- EndpointConfigurationsClient < ObjectNgrokAPI::Services
- EndpointIPPolicyModuleClient < ObjectNgrokAPI::Services
- EndpointLoggingModuleClient < ObjectNgrokAPI::Services
- EndpointMutualTLSModuleClient < ObjectNgrokAPI::Services
- EndpointOAuthModuleClient < ObjectNgrokAPI::Services
- EndpointOIDCModuleClient < ObjectNgrokAPI::Services
- EndpointRequestHeadersModuleClient < ObjectNgrokAPI::Services
- EndpointResponseHeadersModuleClient < ObjectNgrokAPI::Services
- EndpointSAMLModuleClient < ObjectNgrokAPI::Services
- EndpointTLSTerminationModuleClient < ObjectNgrokAPI::Services
- EndpointWebhookValidationModuleClient < ObjectNgrokAPI::Services
- EventDestinationsClient < ObjectNgrokAPI::Services
- EventSourcesClient < ObjectNgrokAPI::Services
- EventStreamsClient < ObjectNgrokAPI::Services
- EventSubscriptionsClient < ObjectNgrokAPI::Services
- IPPoliciesClient < ObjectNgrokAPI::Services
- IPPolicyRulesClient < ObjectNgrokAPI::Services
- IPRestrictionsClient < ObjectNgrokAPI::Services
- IPWhitelistClient < ObjectNgrokAPI::Services
- ReservedAddrsClient < ObjectNgrokAPI::Services
- ReservedDomainsClient < ObjectNgrokAPI::Services
- SSHCertificateAuthoritiesClient < ObjectNgrokAPI::Services
- SSHCredentialsClient < ObjectNgrokAPI::Services
- SSHHostCertificatesClient < ObjectNgrokAPI::Services
- SSHUserCertificatesClient < ObjectNgrokAPI::Services
- TLSCertificatesClient < ObjectNgrokAPI::Services
- TunnelSessionsClient < ObjectNgrokAPI::Services
- TunnelsClient < ObjectNgrokAPI::Services
- + + + +
-
+ + #== + NgrokAPI::Models::Tunnel ++
+
+
+
-
+ + #== + NgrokAPI::Models::APIKey ++
+
+
+
-
+ + #== + NgrokAPI::Models::AWSAuth ++
+
+
+
-
+ + #== + NgrokAPI::Models::AWSRole
@@ -62,21 +94,269 @@
-
+ + #== + NgrokAPI::Models::AbuseReport ++
+
+
+
-
+ + #== + NgrokAPI::Models::EventSource ++
+
+
+
-
+ + #== + NgrokAPI::Models::EventStream ++
+
+
+
-
+ + #== + NgrokAPI::Models::EventTarget ++
+
+
+
-
+ + #== + NgrokAPI::Models::EndpointOIDC ++
+
+
+
-
+ + #== + NgrokAPI::Models::EndpointSAML ++
+
+
+
-
+ + #== + NgrokAPI::Models::ReservedAddr ++
+
+
+
-
+ + #== + NgrokAPI::Models::IPPolicyRule ++
+
+
+
-
+ + #== + NgrokAPI::Models::IPRestriction ++
+
+
+
-
+ + #== + NgrokAPI::Models::SSHCredential ++
+
+
+
-
+ + #== + NgrokAPI::Models::TunnelSession ++
+
+
+
-
+ + #== + NgrokAPI::Models::AWSCredentials ++
+
+
+
-
+ + #== + NgrokAPI::Models::EndpointOAuth ++
+
+
+
-
+ + #== + NgrokAPI::Models::ReservedDomain ++
+
+
+
-
+ + #== + NgrokAPI::Models::TLSCertificate ++
+
+
+
-
+ + #== + NgrokAPI::Models::EndpointLogging ++
+
+
+
-
+ + #== + NgrokAPI::Models::EventDestination ++
+
+
+
-
+ + #== + NgrokAPI::Models::EndpointIPPolicy ++
+
+
+
-
+ + #== + NgrokAPI::Models::EventSubscription ++
+
+
+
-
+ + #== + NgrokAPI::Models::IPWhitelistEntry ++
+
+
+
-
+ + #== + NgrokAPI::Models::EndpointMutualTLS ++
+
+
+
-
+ + #== + NgrokAPI::Models::EndpointCompression ++
+
+
+
-
+ + #== + NgrokAPI::Models::EndpointSAMLMutate ++
+
+
+
-
+ + #== + NgrokAPI::Models::EventSourceReplace ++
+
+
+
-
+ + #== + NgrokAPI::Models::EventTargetKinesis ++
+
+
+
-
+ + #== + NgrokAPI::Models::SSHHostCertificate ++
+
+
+
-
+ + #== + NgrokAPI::Models::SSHUserCertificate ++
+
+
+
-
+ + #== + NgrokAPI::Models::AbuseReportHostname ++
+
+
+
-
+ + #== + NgrokAPI::Models::CertificateAuthority ++
+
+
+
-
+ + #== + NgrokAPI::Models::EventTargetFirehose ++
+
+
+
-
+ + #== + NgrokAPI::Models::TLSCertificateSANs ++
+
+
+
-
#== NgrokAPI::Models::EndpointConfiguration @@ -84,6 +364,238 @@ +
- +
+ + ++ #== + NgrokAPI::Models::EndpointOAuthGoogle ++- +
+ + ++ #== + NgrokAPI::Models::EndpointLoggingMutate ++- +
+ + ++ #== + NgrokAPI::Models::EndpointOAuthGitHub ++- +
+ + ++ #== + NgrokAPI::Models::EndpointCircuitBreaker ++- +
+ + ++ #== + NgrokAPI::Models::EndpointOAuthFacebook ++- +
+ + ++ #== + NgrokAPI::Models::EndpointOAuthProvider ++- +
+ + ++ #== + NgrokAPI::Models::EndpointRequestHeaders ++- +
+ + ++ #== + NgrokAPI::Models::EndpointTLSTermination ++- +
+ + ++ #== + NgrokAPI::Models::ReservedDomainCertJob ++- +
+ + ++ #== + NgrokAPI::Models::EndpointIPPolicyMutate ++- +
+ + ++ #== + NgrokAPI::Models::EndpointOAuthMicrosoft ++- +
+ + ++ #== + NgrokAPI::Models::EndpointResponseHeaders ++- +
+ + ++ #== + NgrokAPI::Models::SSHCertificateAuthority ++- +
+ + ++ #== + NgrokAPI::Models::EndpointMutualTLSMutate ++- +
+ + ++ #== + NgrokAPI::Models::EndpointWebhookValidation ++- +
+ + ++ #== + NgrokAPI::Models::ReservedDomainCertPolicy ++- +
+ + ++ #== + NgrokAPI::Models::ReservedDomainCertStatus ++- +
+ + ++ #== + NgrokAPI::Models::EventTargetCloudwatchLogs ++- +
+ + ++ #== + NgrokAPI::Models::ReservedDomainCertNSTarget ++- +
+ + ++ #abuse_reports + NgrokAPI::Client ++- +
+ + ++ #acl + NgrokAPI::Models::Credential ++- +
+ + ++ #acl + NgrokAPI::Models::SSHCredential ++- +
+ + ++ #action + NgrokAPI::Models::IPPolicy ++- +
+ + ++ #add + NgrokAPI::Models::EndpointRequestHeaders ++- +
+ + ++ #add + NgrokAPI::Models::EndpointResponseHeaders ++- +
+ + ++ #addr + NgrokAPI::Models::ReservedAddr ++- +
+ + ++ #agent_version + NgrokAPI::Models::TunnelSession ++- +
+ + ++ #allow_idp_initiated + NgrokAPI::Models::EndpointSAML ++- +
+ ++ #allow_idp_initiated + NgrokAPI::Models::EndpointSAMLMutate ++#api_key @@ -102,13 +614,117 @@- #base_url - NgrokAPI::HttpClient + #assertion_consumer_service_url + NgrokAPI::Models::EndpointSAML- +
+ + ++ #auth + NgrokAPI::Models::EventTargetKinesis ++- +
+ + ++ #auth + NgrokAPI::Models::EventTargetFirehose ++- +
+ + ++ #auth + NgrokAPI::Models::EventTargetCloudwatchLogs ++- +
+ + ++ #auth_check_interval + NgrokAPI::Models::EndpointOAuth ++- +
+ + ++ #authority + NgrokAPI::Models::ReservedDomainCertPolicy ++- +
+ + ++ #authorized_groups + NgrokAPI::Models::EndpointSAML ++- +
+ + ++ #authorized_groups + NgrokAPI::Models::EndpointSAMLMutate ++- +
+ + ++ #aws_access_key_id + NgrokAPI::Models::AWSCredentials ++- +
+ + ++ #aws_secret_access_key + NgrokAPI::Models::AWSCredentials ++- +
+ + ++ #backend + NgrokAPI::Models::EndpointConfiguration ++- +
+ + ++ #base_url + NgrokAPI::HttpClient ++- +
+ + ++ #basic_auth + NgrokAPI::Models::EndpointConfiguration ++- +
+ + ++ #ca_pem + NgrokAPI::Models::CertificateAuthority ++#certificate NgrokAPI::Models::ReservedDomain @@ -116,6 +732,46 @@ +- +
+ + ++ #certificate + NgrokAPI::Models::SSHHostCertificate ++- +
+ + ++ #certificate + NgrokAPI::Models::SSHUserCertificate ++- +
+ + ++ #certificate_authorities + NgrokAPI::Client ++- +
+ + ++ #certificate_authorities + NgrokAPI::Models::EndpointMutualTLS ++- +
+ ++ #certificate_authority_ids + NgrokAPI::Models::EndpointMutualTLSMutate ++#certificate_management_policy @@ -134,13 +790,53 @@- #client - NgrokAPI::Models::ApiKey + #certificate_pem + NgrokAPI::Models::TLSCertificate- +
+ + ++ #cidr + NgrokAPI::Models::IPPolicyRule ++- +
+ + ++ #circuit_breaker + NgrokAPI::Models::EndpointConfiguration ++- +
+ + ++ #client + NgrokAPI::Models::Ref ++- +
+ + ++ #client + NgrokAPI::Models::Tunnel ++- +
+ + ++ #client + NgrokAPI::Models::APIKey ++#client NgrokAPI::PagedIterator @@ -148,7 +844,23 @@ +- +
+ ++ #client + NgrokAPI::Models::AWSAuth ++- +
+ + ++ #client + NgrokAPI::Models::AWSRole ++#client NgrokAPI::Models::Listable @@ -156,6 +868,126 @@ +- +
+ + ++ #client + NgrokAPI::Models::IPPolicy ++- +
+ + ++ #client + NgrokAPI::Models::Credential ++- +
+ + ++ #client + NgrokAPI::Models::AbuseReport ++- +
+ + ++ #client + NgrokAPI::Models::EventSource ++- +
+ + ++ #client + NgrokAPI::Models::EventStream ++- +
+ + ++ #client + NgrokAPI::Models::EventTarget ++- +
+ + ++ #client + NgrokAPI::Models::EndpointOIDC ++- +
+ + ++ #client + NgrokAPI::Models::EndpointSAML ++- +
+ + ++ #client + NgrokAPI::Models::ReservedAddr ++- +
+ + ++ #client + NgrokAPI::Models::IPPolicyRule ++- +
+ + ++ #client + NgrokAPI::Models::IPRestriction ++- +
+ + ++ #client + NgrokAPI::Models::SSHCredential ++- +
+ + ++ #client + NgrokAPI::Models::TunnelSession ++- +
+ + ++ #client + NgrokAPI::Models::AWSCredentials ++- +
+ ++ #client + NgrokAPI::Models::EndpointOAuth ++#client @@ -166,16 +998,176 @@- +
+ + +- +
+ + ++ #client + NgrokAPI::Services::TunnelsClient ++- +
+ + ++ #client + NgrokAPI::Models::EventDestination ++- +
+ + ++ #client + NgrokAPI::Services::APIKeysClient ++- +
+ + ++ #client + NgrokAPI::Models::EndpointIPPolicy ++- +
+ + ++ #client + NgrokAPI::Models::EventSubscription ++- +
+ + ++ #client + NgrokAPI::Models::IPWhitelistEntry ++- +
+ + ++ #client + NgrokAPI::Models::EndpointMutualTLS ++- +
+ + ++ #client + NgrokAPI::Models::EndpointCompression ++- +
+ + ++ #client + NgrokAPI::Models::EndpointSAMLMutate ++- +
+ + ++ #client + NgrokAPI::Models::EventSourceReplace ++- +
+ + ++ #client + NgrokAPI::Models::EventTargetKinesis ++- +
+ + ++ #client + NgrokAPI::Models::SSHHostCertificate ++- +
+ + ++ #client + NgrokAPI::Models::SSHUserCertificate ++- +
+ + ++ #client + NgrokAPI::Services::CredentialsClient ++- +
+ + ++ #client + NgrokAPI::Services::IPPoliciesClient ++- +
+ + ++ #client + NgrokAPI::Models::AbuseReportHostname ++- +
+ + ++ #client + NgrokAPI::Models::CertificateAuthority ++- +
+ + ++ #client + NgrokAPI::Models::EventTargetFirehose ++- +
+ + ++ #client + NgrokAPI::Models::TLSCertificateSANs ++- +
@@ -190,21 +1182,301 @@+ #client + NgrokAPI::Services::IPWhitelistClient- +
+ + ++ #client + NgrokAPI::Services::EventSourcesClient ++- +
+ + ++ #client + NgrokAPI::Services::EventStreamsClient ++- +
+ + ++ #client + NgrokAPI::Models::EndpointLoggingMutate ++- +
+ + ++ #client + NgrokAPI::Models::EndpointOAuthGitHub ++- +
+ + ++ #client + NgrokAPI::Services::ReservedAddrsClient ++- +
+ + ++ #client + NgrokAPI::Models::EndpointCircuitBreaker ++- +
+ + ++ #client + NgrokAPI::Models::EndpointOAuthFacebook ++- +
+ + ++ #client + NgrokAPI::Models::EndpointOAuthProvider ++- +
+ + ++ #client + NgrokAPI::Models::EndpointRequestHeaders ++- +
+ + ++ #client + NgrokAPI::Models::EndpointTLSTermination ++- +
+ + ++ #client + NgrokAPI::Models::ReservedDomainCertJob ++- +
+ + ++ #client + NgrokAPI::Services::IPPolicyRulesClient ++- +
+ + ++ #client + NgrokAPI::Services::IPRestrictionsClient ++- +
+ + ++ #client + NgrokAPI::Services::SSHCredentialsClient ++- +
+ + ++ #client + NgrokAPI::Services::TunnelSessionsClient ++- +
+ + ++ #client + NgrokAPI::Models::EndpointIPPolicyMutate ++- +
+ + ++ #client + NgrokAPI::Models::EndpointOAuthMicrosoft ++- +
+ + ++ #client + NgrokAPI::Models::EndpointResponseHeaders ++- +
+ + ++ #client + NgrokAPI::Models::SSHCertificateAuthority ++- +
+ + ++ #client + NgrokAPI::Services::ReservedDomainsClient ++- +
+ + ++ #client + NgrokAPI::Services::TLSCertificatesClient ++- +
+ + ++ #client + NgrokAPI::Models::EndpointMutualTLSMutate ++- +
+ + ++ #client + NgrokAPI::Models::EndpointWebhookValidation ++- +
+ + ++ #client + NgrokAPI::Models::ReservedDomainCertPolicy ++- +
+ + ++ #client + NgrokAPI::Models::ReservedDomainCertStatus ++- +
+ + ++ #client + NgrokAPI::Services::EventDestinationsClient ++- +
+ + ++ #client + NgrokAPI::Models::EventTargetCloudwatchLogs ++- +
+ + ++ #client + NgrokAPI::Services::EventSubscriptionsClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointOIDCModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointSAMLModuleClient ++- +
+ + ++ #client + NgrokAPI::Models::ReservedDomainCertNSTarget ++- +
+ + ++ #client + NgrokAPI::Services::SSHHostCertificatesClient ++- +
+ + ++ #client + NgrokAPI::Services::SSHUserCertificatesClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointOAuthModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::CertificateAuthoritiesClient ++#client NgrokAPI::Services::EndpointConfigurationsClient @@ -212,6 +1484,174 @@ +- +
+ + ++ #client + NgrokAPI::Services::EndpointLoggingModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointIPPolicyModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointMutualTLSModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointCompressionModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::SSHCertificateAuthoritiesClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointCircuitBreakerModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointRequestHeadersModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointTLSTerminationModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointResponseHeadersModuleClient ++- +
+ + ++ #client + NgrokAPI::Services::EndpointWebhookValidationModuleClient ++- +
+ + ++ #client_id + NgrokAPI::Models::EndpointOIDC ++- +
+ + ++ #client_id + NgrokAPI::Models::EndpointOAuthGoogle ++- +
+ + ++ #client_id + NgrokAPI::Models::EndpointOAuthGitHub ++- +
+ + ++ #client_id + NgrokAPI::Models::EndpointOAuthFacebook ++- +
+ + ++ #client_id + NgrokAPI::Models::EndpointOAuthMicrosoft ++- +
+ + ++ #client_secret + NgrokAPI::Models::EndpointOIDC ++- +
+ + ++ #client_secret + NgrokAPI::Models::EndpointOAuthGoogle ++- +
+ + ++ #client_secret + NgrokAPI::Models::EndpointOAuthGitHub ++- +
+ + ++ #client_secret + NgrokAPI::Models::EndpointOAuthFacebook ++- +
+ + ++ #client_secret + NgrokAPI::Models::EndpointOAuthMicrosoft ++- +
+ ++ #cloudwatch_logs + NgrokAPI::Models::EventTarget ++#cname_target @@ -222,13 +1662,133 @@- #create - NgrokAPI::Services::ApiKeysClient + #compression + NgrokAPI::Models::EndpointConfiguration- +
+ + ++ #cookie_prefix + NgrokAPI::Models::EndpointOIDC ++- +
+ + ++ #cookie_prefix + NgrokAPI::Models::EndpointSAML ++- +
+ + ++ #cookie_prefix + NgrokAPI::Models::EndpointOAuth ++- +
+ + ++ #cookie_prefix + NgrokAPI::Models::EndpointSAMLMutate ++- +
+ + ++ #create + NgrokAPI::Services::APIKeysClient ++- +
+ + ++ #create + NgrokAPI::Services::CredentialsClient ++- +
+ + ++ #create + NgrokAPI::Services::IPPoliciesClient ++- +
+ + ++ #create + NgrokAPI::Services::IPWhitelistClient ++- +
+ + ++ #create + NgrokAPI::Services::AbuseReportsClient ++- +
+ + ++ #create + NgrokAPI::Services::EventSourcesClient ++- +
+ + ++ #create + NgrokAPI::Services::EventStreamsClient ++- +
+ + ++ #create + NgrokAPI::Services::ReservedAddrsClient ++- +
+ + ++ #create + NgrokAPI::Services::IPPolicyRulesClient ++- +
+ + ++ #create + NgrokAPI::Services::IPRestrictionsClient ++- +
+ + ++ #create + NgrokAPI::Services::SSHCredentialsClient ++#create NgrokAPI::Services::ReservedDomainsClient @@ -236,10 +1796,50 @@ +- +
+ ++ #create + NgrokAPI::Services::TLSCertificatesClient ++- +
+ + +- +
+ + ++ #create + NgrokAPI::Services::EventSubscriptionsClient ++- +
+ + ++ #create + NgrokAPI::Services::SSHHostCertificatesClient ++- +
+ + ++ #create + NgrokAPI::Services::SSHUserCertificatesClient ++- +
@@ -254,13 +1854,85 @@+ #create + NgrokAPI::Services::CertificateAuthoritiesClient- #created_at - NgrokAPI::Models::ApiKey + #create + NgrokAPI::Services::SSHCertificateAuthoritiesClient- +
+ + ++ #created_at + NgrokAPI::Models::APIKey ++- +
+ + ++ #created_at + NgrokAPI::Models::IPPolicy ++- +
+ + ++ #created_at + NgrokAPI::Models::Credential ++- +
+ + ++ #created_at + NgrokAPI::Models::AbuseReport ++- +
+ + ++ #created_at + NgrokAPI::Models::EventStream ++- +
+ + ++ #created_at + NgrokAPI::Models::ReservedAddr ++- +
+ + ++ #created_at + NgrokAPI::Models::IPPolicyRule ++- +
+ + ++ #created_at + NgrokAPI::Models::IPRestriction ++- +
+ + ++ #created_at + NgrokAPI::Models::SSHCredential ++#created_at NgrokAPI::Models::ReservedDomain @@ -268,15 +1940,63 @@ +- +
+ ++ #created_at + NgrokAPI::Models::TLSCertificate ++- #created_at - NgrokAPI::Models::TlsCertificate + #created_at + NgrokAPI::Models::EventDestination- +
+ + ++ #created_at + NgrokAPI::Models::EventSubscription ++- +
+ + ++ #created_at + NgrokAPI::Models::IPWhitelistEntry ++- +
+ + ++ #created_at + NgrokAPI::Models::SSHHostCertificate ++- +
+ + ++ #created_at + NgrokAPI::Models::SSHUserCertificate ++- +
+ + ++ #created_at + NgrokAPI::Models::CertificateAuthority ++#created_at NgrokAPI::Models::EndpointConfiguration @@ -284,7 +2004,55 @@ +- +
+ ++ #created_at + NgrokAPI::Models::SSHCertificateAuthority ++- +
+ + ++ #credential + NgrokAPI::Models::TunnelSession ++- +
+ + ++ #credentials + NgrokAPI::Client ++- +
+ + ++ #creds + NgrokAPI::Models::AWSAuth ++- +
+ + ++ #critical_options + NgrokAPI::Models::SSHUserCertificate ++- +
+ + ++ #debug + NgrokAPI::Models::EventTarget ++#delete NgrokAPI::HttpClient @@ -292,10 +2060,66 @@ +- +
+ ++ #delete + NgrokAPI::Models::APIKey ++- +
+ + +- +
+ + ++ #delete + NgrokAPI::Models::Credential ++- +
+ + ++ #delete + NgrokAPI::Models::EventStream ++- +
+ + ++ #delete + NgrokAPI::Models::ReservedAddr ++- +
+ + ++ #delete + NgrokAPI::Models::IPPolicyRule ++- +
+ + ++ #delete + NgrokAPI::Models::IPRestriction ++- +
@@ -310,21 +2134,93 @@+ #delete + NgrokAPI::Models::SSHCredential- +
+ + ++ #delete + NgrokAPI::Services::APIKeysClient ++- +
+ + ++ #delete + NgrokAPI::Models::EventSubscription ++- +
+ + ++ #delete + NgrokAPI::Models::IPWhitelistEntry ++- +
+ + ++ #delete + NgrokAPI::Models::SSHHostCertificate ++- +
+ + ++ #delete + NgrokAPI::Models::SSHUserCertificate ++- +
+ + ++ #delete + NgrokAPI::Services::CredentialsClient ++- +
+ + ++ #delete + NgrokAPI::Services::IPPoliciesClient ++- +
+ + ++ #delete + NgrokAPI::Models::CertificateAuthority ++- +
+ + ++ #delete + NgrokAPI::Services::IPWhitelistClient ++#delete NgrokAPI::Models::EndpointConfiguration @@ -332,6 +2228,62 @@ +- +
+ + ++ #delete + NgrokAPI::Services::EventSourcesClient ++- +
+ + ++ #delete + NgrokAPI::Services::EventStreamsClient ++- +
+ + ++ #delete + NgrokAPI::Services::ReservedAddrsClient ++- +
+ + ++ #delete + NgrokAPI::Services::IPPolicyRulesClient ++- +
+ + ++ #delete + NgrokAPI::Services::IPRestrictionsClient ++- +
+ + ++ #delete + NgrokAPI::Services::SSHCredentialsClient ++- +
+ ++ #delete + NgrokAPI::Models::SSHCertificateAuthority ++#delete @@ -342,8 +2294,72 @@- +
+ + +- +
+ + ++ #delete + NgrokAPI::Services::EventDestinationsClient ++- +
+ + ++ #delete + NgrokAPI::Services::EventSubscriptionsClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointOIDCModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointSAMLModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::SSHHostCertificatesClient ++- +
+ + ++ #delete + NgrokAPI::Services::SSHUserCertificatesClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointOAuthModuleClient ++- +
@@ -358,13 +2374,165 @@+ #delete + NgrokAPI::Services::CertificateAuthoritiesClient- +
+ + ++ #delete + NgrokAPI::Services::EndpointIPPolicyModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointMutualTLSModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointCompressionModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::SSHCertificateAuthoritiesClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointCircuitBreakerModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointRequestHeadersModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointTLSTerminationModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointResponseHeadersModuleClient ++- +
+ + ++ #delete + NgrokAPI::Services::EndpointWebhookValidationModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::APIKeysClient ++- +
+ + ++ #delete! + NgrokAPI::Services::CredentialsClient ++- +
+ + ++ #delete! + NgrokAPI::Services::IPPoliciesClient ++- +
+ + ++ #delete! + NgrokAPI::Services::IPWhitelistClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EventSourcesClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EventStreamsClient ++- +
+ + ++ #delete! + NgrokAPI::Services::ReservedAddrsClient ++- +
+ + ++ #delete! + NgrokAPI::Services::IPPolicyRulesClient ++- +
+ + ++ #delete! + NgrokAPI::Services::IPRestrictionsClient ++- +
+ + ++ #delete! + NgrokAPI::Services::SSHCredentialsClient ++#delete! NgrokAPI::Services::ReservedDomainsClient @@ -372,15 +2540,79 @@ +- +
+ ++ #delete! + NgrokAPI::Services::TLSCertificatesClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EventSubscriptionsClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointOIDCModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointSAMLModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::SSHHostCertificatesClient ++- +
+ + ++ #delete! + NgrokAPI::Services::SSHUserCertificatesClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointOAuthModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::CertificateAuthoritiesClient ++#delete! NgrokAPI::Services::EndpointConfigurationsClient @@ -388,10 +2620,82 @@ +- +
+ ++ #delete! + NgrokAPI::Services::EndpointLoggingModuleClient ++ + + +- #delete_certificate - NgrokAPI::Models::ReservedDomain + #delete! + NgrokAPI::Services::EndpointIPPolicyModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointMutualTLSModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointCompressionModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::SSHCertificateAuthoritiesClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointCircuitBreakerModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointRequestHeadersModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointTLSTerminationModuleClient ++- +
+ + ++ #delete! + NgrokAPI::Services::EndpointResponseHeadersModuleClient ++- +
@@ -413,14 +2717,6 @@+ #delete! + NgrokAPI::Services::EndpointWebhookValidationModuleClient- -
- - -- #delete_certificate_management_policy - NgrokAPI::Models::ReservedDomain --#delete_certificate_management_policy NgrokAPI::Services::ReservedDomainsClient @@ -428,7 +2724,7 @@ -- +
#delete_certificate_management_policy! NgrokAPI::Services::ReservedDomainsClient @@ -436,10 +2732,18 @@ +- +
+ ++ #delete_endpoint_config + NgrokAPI::Services::ReservedAddrsClient ++ @@ -461,14 +2765,6 @@- #delete_http_endpoint_config - NgrokAPI::Models::ReservedDomain + #delete_endpoint_config! + NgrokAPI::Services::ReservedAddrsClient- -
- - -- #delete_https_endpoint_config - NgrokAPI::Models::ReservedDomain --#delete_https_endpoint_config NgrokAPI::Services::ReservedDomainsClient @@ -476,7 +2772,7 @@ -- +
#delete_https_endpoint_config! NgrokAPI::Services::ReservedDomainsClient @@ -484,15 +2780,79 @@ +- +
+ ++ #delivery_stream_arn + NgrokAPI::Models::EventTargetFirehose ++- #description - NgrokAPI::Models::ApiKey + #description + NgrokAPI::Models::APIKey- +
+ + ++ #description + NgrokAPI::Models::IPPolicy ++- +
+ + ++ #description + NgrokAPI::Models::Credential ++- +
+ + ++ #description + NgrokAPI::Models::EventStream ++- +
+ + ++ #description + NgrokAPI::Models::ReservedAddr ++- +
+ + ++ #description + NgrokAPI::Models::IPPolicyRule ++- +
+ + ++ #description + NgrokAPI::Models::IPRestriction ++- +
+ + ++ #description + NgrokAPI::Models::SSHCredential ++#description NgrokAPI::Models::ReservedDomain @@ -500,15 +2860,63 @@ +- +
+ ++ #description + NgrokAPI::Models::TLSCertificate ++- #description - NgrokAPI::Models::TlsCertificate + #description + NgrokAPI::Models::EventDestination- +
+ + ++ #description + NgrokAPI::Models::EventSubscription ++- +
+ + ++ #description + NgrokAPI::Models::IPWhitelistEntry ++- +
+ + ++ #description + NgrokAPI::Models::SSHHostCertificate ++- +
+ + ++ #description + NgrokAPI::Models::SSHUserCertificate ++- +
+ + ++ #description + NgrokAPI::Models::CertificateAuthority ++#description NgrokAPI::Models::EndpointConfiguration @@ -516,7 +2924,39 @@ +- +
+ ++ #description + NgrokAPI::Models::SSHCertificateAuthority ++- +
+ + ++ #destination_ids + NgrokAPI::Models::EventStream ++- +
+ + ++ #destinations + NgrokAPI::Models::EventSubscription ++- +
+ + ++ #dns_names + NgrokAPI::Models::TLSCertificateSANs ++#domain NgrokAPI::Models::ReservedDomain @@ -524,6 +2964,206 @@ +- +
+ + ++ #email_addresses + NgrokAPI::Models::EndpointOAuthGoogle ++- +
+ + ++ #email_addresses + NgrokAPI::Models::EndpointOAuthGitHub ++- +
+ + ++ #email_addresses + NgrokAPI::Models::EndpointOAuthFacebook ++- +
+ + ++ #email_addresses + NgrokAPI::Models::EndpointOAuthMicrosoft ++- +
+ + ++ #email_domains + NgrokAPI::Models::EndpointOAuthGoogle ++- +
+ + ++ #email_domains + NgrokAPI::Models::EndpointOAuthGitHub ++- +
+ + ++ #email_domains + NgrokAPI::Models::EndpointOAuthFacebook ++- +
+ + ++ #email_domains + NgrokAPI::Models::EndpointOAuthMicrosoft ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointOIDC ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointSAML ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointOAuth ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointLogging ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointIPPolicy ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointMutualTLS ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointCompression ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointSAMLMutate ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointLoggingMutate ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointCircuitBreaker ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointRequestHeaders ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointTLSTermination ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointIPPolicyMutate ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointResponseHeaders ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointMutualTLSMutate ++- +
+ + ++ #enabled + NgrokAPI::Models::EndpointWebhookValidation ++- +
+ ++ #endpoint_configuration + NgrokAPI::Models::ReservedAddr ++#endpoint_configurations @@ -532,6 +3172,198 @@ +- +
+ + ++ #enforced + NgrokAPI::Models::IPRestriction ++- +
+ + ++ #entity_id + NgrokAPI::Models::EndpointSAML ++- +
+ + ++ #error_code + NgrokAPI::Models::ReservedDomainCertJob ++- +
+ + ++ #error_threshold_percentage + NgrokAPI::Models::EndpointCircuitBreaker ++- +
+ + ++ #event_destinations + NgrokAPI::Client ++- +
+ + ++ #event_sources + NgrokAPI::Client ++- +
+ + ++ #event_stream_ids + NgrokAPI::Models::EndpointLoggingMutate ++- +
+ + ++ #event_streams + NgrokAPI::Client ++- +
+ + ++ #event_streams + NgrokAPI::Models::EndpointLogging ++- +
+ + ++ #event_subscriptions + NgrokAPI::Client ++- +
+ + ++ #event_type + NgrokAPI::Models::EventStream ++- +
+ + ++ #extended_key_usages + NgrokAPI::Models::TLSCertificate ++- +
+ + ++ #extended_key_usages + NgrokAPI::Models::CertificateAuthority ++- +
+ + ++ #extensions + NgrokAPI::Models::SSHUserCertificate ++- +
+ + ++ #facebook + NgrokAPI::Models::EndpointOAuthProvider ++- +
+ + ++ #fields + NgrokAPI::Models::EventSource ++- +
+ + ++ #fields + NgrokAPI::Models::EventStream ++- +
+ + ++ #fields + NgrokAPI::Models::EventSourceReplace ++- +
+ + ++ #filter + NgrokAPI::Models::EventSource ++- +
+ + ++ #filter + NgrokAPI::Models::EventSourceReplace ++- +
+ + ++ #firehose + NgrokAPI::Models::EventTarget ++- +
+ + ++ #force_authn + NgrokAPI::Models::EndpointSAML ++- +
+ + ++ #force_authn + NgrokAPI::Models::EndpointSAMLMutate ++- +
+ ++ #format + NgrokAPI::Models::EventDestination ++#get @@ -542,13 +3374,101 @@- +
+ + ++ #get + NgrokAPI::Services::CredentialsClient ++- +
+ + ++ #get + NgrokAPI::Services::IPPoliciesClient ++- +
+ + ++ #get + NgrokAPI::Services::IPWhitelistClient ++- +
+ + ++ #get + NgrokAPI::Services::AbuseReportsClient ++- +
+ + ++ #get + NgrokAPI::Services::EventSourcesClient ++- +
+ + ++ #get + NgrokAPI::Services::EventStreamsClient ++- +
+ + ++ #get + NgrokAPI::Services::ReservedAddrsClient ++- +
+ + ++ #get + NgrokAPI::Services::IPPolicyRulesClient ++- +
+ + ++ #get + NgrokAPI::Services::IPRestrictionsClient ++- +
+ + ++ #get + NgrokAPI::Services::SSHCredentialsClient ++- +
+ + ++ #get + NgrokAPI::Services::TunnelSessionsClient ++#get NgrokAPI::Services::ReservedDomainsClient @@ -556,15 +3476,79 @@ +- +
+ ++ #get + NgrokAPI::Services::TLSCertificatesClient ++- +
+ + ++ #get + NgrokAPI::Services::EventSubscriptionsClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointOIDCModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointSAMLModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::SSHHostCertificatesClient ++- +
+ + ++ #get + NgrokAPI::Services::SSHUserCertificatesClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointOAuthModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::CertificateAuthoritiesClient ++#get NgrokAPI::Services::EndpointConfigurationsClient @@ -572,10 +3556,178 @@ +- +
+ ++ #get + NgrokAPI::Services::EndpointLoggingModuleClient ++- +
+ + +- +
+ + ++ #get + NgrokAPI::Services::EndpointMutualTLSModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointCompressionModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::SSHCertificateAuthoritiesClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointCircuitBreakerModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointRequestHeadersModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointTLSTerminationModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointResponseHeadersModuleClient ++- +
+ + ++ #get + NgrokAPI::Services::EndpointWebhookValidationModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::APIKeysClient ++- +
+ + ++ #get! + NgrokAPI::Services::CredentialsClient ++- +
+ + ++ #get! + NgrokAPI::Services::IPPoliciesClient ++- +
+ + ++ #get! + NgrokAPI::Services::IPWhitelistClient ++- +
+ + ++ #get! + NgrokAPI::Services::AbuseReportsClient ++- +
+ + ++ #get! + NgrokAPI::Services::EventSourcesClient ++- +
+ + ++ #get! + NgrokAPI::Services::EventStreamsClient ++- +
+ + ++ #get! + NgrokAPI::Services::ReservedAddrsClient ++- +
+ + ++ #get! + NgrokAPI::Services::IPPolicyRulesClient ++- +
+ + ++ #get! + NgrokAPI::Services::IPRestrictionsClient ++- +
+ + ++ #get! + NgrokAPI::Services::SSHCredentialsClient ++- +
@@ -590,8 +3742,72 @@+ #get! + NgrokAPI::Services::TunnelSessionsClient- +
+ + +- +
+ + ++ #get! + NgrokAPI::Services::EventDestinationsClient ++- +
+ + ++ #get! + NgrokAPI::Services::EventSubscriptionsClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointOIDCModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointSAMLModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::SSHHostCertificatesClient ++- +
+ + ++ #get! + NgrokAPI::Services::SSHUserCertificatesClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointOAuthModuleClient ++- +
@@ -604,6 +3820,86 @@ ++ #get! + NgrokAPI::Services::CertificateAuthoritiesClient- +
+ + ++ #get! + NgrokAPI::Services::EndpointLoggingModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointIPPolicyModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointMutualTLSModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointCompressionModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::SSHCertificateAuthoritiesClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointCircuitBreakerModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointRequestHeadersModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointTLSTerminationModuleClient ++- +
+ + ++ #get! + NgrokAPI::Services::EndpointResponseHeadersModuleClient ++- +
+ ++ #get! + NgrokAPI::Services::EndpointWebhookValidationModuleClient ++#get_next @@ -612,6 +3908,38 @@ +- +
+ + ++ #github + NgrokAPI::Models::EndpointOAuthProvider ++- +
+ + ++ #google + NgrokAPI::Models::EndpointOAuthProvider ++- +
+ + ++ #hostname + NgrokAPI::Models::AbuseReportHostname ++- +
+ ++ #hostnames + NgrokAPI::Models::AbuseReport ++#http_endpoint_configuration @@ -630,13 +3958,101 @@- - +
-
@@ -194,6 +650,9 @@
+ + -
@@ -214,9 +673,6 @@
- - -
@@ -236,6 +692,27 @@
-
+
-
+