Class: Google::Apis::BeyondcorpV1alpha::Tunnelv1ProtoTunnelerError

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Tunnelv1ProtoTunnelerError

Returns a new instance of Tunnelv1ProtoTunnelerError.



3727
3728
3729
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3727

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#errString

Original raw error Corresponds to the JSON property err

Returns:

  • (String)


3719
3720
3721
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3719

def err
  @err
end

#retryableBoolean 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

Returns:

  • (Boolean)


3724
3725
3726
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3724

def retryable
  @retryable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3732
3733
3734
3735
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3732

def update!(**args)
  @err = args[:err] if args.key?(:err)
  @retryable = args[:retryable] if args.key?(:retryable)
end