Class: Google::Apis::BeyondcorpV1alpha::Tunnelv1ProtoTunnelerInfo
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::Tunnelv1ProtoTunnelerInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
TunnelerInfo contains metadata about tunneler launched by connection manager.
Instance Attribute Summary collapse
-
#backoff_retry_count ⇒ Fixnum
backoff_retry_count stores the number of times the tunneler has been retried by tunManager for current backoff sequence.
-
#id ⇒ String
id is the unique id of a tunneler.
-
#latest_err ⇒ Google::Apis::BeyondcorpV1alpha::Tunnelv1ProtoTunnelerError
TunnelerError is an error proto for errors returned by the connection manager.
-
#latest_retry_time ⇒ String
latest_retry_time stores the time when the tunneler was last restarted.
-
#total_retry_count ⇒ Fixnum
total_retry_count stores the total number of times the tunneler has been retried by tunManager.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Tunnelv1ProtoTunnelerInfo
constructor
A new instance of Tunnelv1ProtoTunnelerInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Tunnelv1ProtoTunnelerInfo
Returns a new instance of Tunnelv1ProtoTunnelerInfo.
3738 3739 3740 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backoff_retry_count ⇒ Fixnum
backoff_retry_count stores the number of times the tunneler has been retried
by tunManager for current backoff sequence. Gets reset to 0 if time difference
between 2 consecutive retries exceeds backoffRetryResetTime.
Corresponds to the JSON property backoffRetryCount
3715 3716 3717 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3715 def backoff_retry_count @backoff_retry_count end |
#id ⇒ String
id is the unique id of a tunneler.
Corresponds to the JSON property id
3720 3721 3722 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3720 def id @id end |
#latest_err ⇒ Google::Apis::BeyondcorpV1alpha::Tunnelv1ProtoTunnelerError
TunnelerError is an error proto for errors returned by the connection manager.
Corresponds to the JSON property latestErr
3725 3726 3727 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3725 def latest_err @latest_err end |
#latest_retry_time ⇒ String
latest_retry_time stores the time when the tunneler was last restarted.
Corresponds to the JSON property latestRetryTime
3730 3731 3732 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3730 def latest_retry_time @latest_retry_time end |
#total_retry_count ⇒ Fixnum
total_retry_count stores the total number of times the tunneler has been
retried by tunManager.
Corresponds to the JSON property totalRetryCount
3736 3737 3738 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3736 def total_retry_count @total_retry_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3743 3744 3745 3746 3747 3748 3749 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3743 def update!(**args) @backoff_retry_count = args[:backoff_retry_count] if args.key?(:backoff_retry_count) @id = args[:id] if args.key?(:id) @latest_err = args[:latest_err] if args.key?(:latest_err) @latest_retry_time = args[:latest_retry_time] if args.key?(:latest_retry_time) @total_retry_count = args[:total_retry_count] if args.key?(:total_retry_count) end |