gapic-common - Class Gapic::GenericLRO::Operation::GenericError (v0.24.0)

Reference documentation and code samples for the gapic-common class Gapic::GenericLRO::Operation::GenericError.

Represents a generic error that a generic LRO can report

Inherits

  • Object

Methods

#code

def code() -> String
Returns
  • (String) — An error code

#code=

def code=(value)

Sets the attribute code

#initialize

def initialize(code, message) -> GenericError
Parameters
  • code (String) — An error code
  • message (String) — An error message
Returns

#message

def message() -> String
Returns
  • (String) — An error message

#message=

def message=(value)

Sets the attribute message