Class: Google::Apis::BeyondcorpV1alpha::Tunnelv1ProtoTunnelerError
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::Tunnelv1ProtoTunnelerError
- 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
TunnelerError is an error proto for errors returned by the connection manager.
Instance Attribute Summary collapse
-
#err ⇒ String
Original raw error Corresponds to the JSON property
err. -
#retryable ⇒ Boolean
(also: #retryable?)
retryable isn't used for now, but we may want to reuse it in the future.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Tunnelv1ProtoTunnelerError
constructor
A new instance of Tunnelv1ProtoTunnelerError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Tunnelv1ProtoTunnelerError
Returns a new instance of Tunnelv1ProtoTunnelerError.
3622 3623 3624 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3622 def initialize(**args) update!(**args) end |
Instance Attribute Details
#err ⇒ String
Original raw error
Corresponds to the JSON property err
3614 3615 3616 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3614 def err @err end |
#retryable ⇒ Boolean Also known as: retryable?
retryable isn't used for now, but we may want to reuse it in the future.
Corresponds to the JSON property retryable
3619 3620 3621 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3619 def retryable @retryable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3627 3628 3629 3630 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3627 def update!(**args) @err = args[:err] if args.key?(:err) @retryable = args[:retryable] if args.key?(:retryable) end |