Class: Google::Apis::BeyondcorpV1::Tunnelv1ProtoTunnelerError

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/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.



2746
2747
2748
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2746

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

Instance Attribute Details

#errString

Original raw error Corresponds to the JSON property err

Returns:

  • (String)


2738
2739
2740
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2738

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)


2743
2744
2745
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2743

def retryable
  @retryable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2751
2752
2753
2754
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2751

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