BigQuery Storage V1 API - Class Google::Cloud::Bigquery::Storage::V1::StorageError (v0.15.1)

Reference documentation and code samples for the BigQuery Storage V1 API class Google::Cloud::Bigquery::Storage::V1::StorageError.

Structured custom BigQuery Storage error message. The error can be attached as error details in the returned rpc Status. In particular, the use of error codes allows more structured error handling, and reduces the need to evaluate unstructured error text strings.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#code

def code() -> ::Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode
Returns

#code=

def code=(value) -> ::Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode
Parameter
Returns

#entity

def entity() -> ::String
Returns
  • (::String) — Name of the failed entity.

#entity=

def entity=(value) -> ::String
Parameter
  • value (::String) — Name of the failed entity.
Returns
  • (::String) — Name of the failed entity.

#error_message

def error_message() -> ::String
Returns
  • (::String) — Message that describes the error.

#error_message=

def error_message=(value) -> ::String
Parameter
  • value (::String) — Message that describes the error.
Returns
  • (::String) — Message that describes the error.