class Google::Apis::FirebaseV1beta1::StatusProto

Wire-format for a Status object

Attributes

canonical_code[RW]

The canonical error code (see codes.proto) that most closely corresponds to this status. May be missing. Corresponds to the JSON property `canonicalCode` @return [Fixnum]

code[RW]

Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto Corresponds to the JSON property `code` @return [Fixnum]

message[RW]

Detail message Corresponds to the JSON property `message` @return [String]

message_set[RW]

This is proto2's version of MessageSet. Corresponds to the JSON property `messageSet` @return [Google::Apis::FirebaseV1beta1::MessageSet]

space[RW]

The following are usually only present when code != 0 Space to which this status belongs Corresponds to the JSON property `space` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebase_v1beta1/classes.rb, line 1077
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firebase_v1beta1/classes.rb, line 1082
def update!(**args)
  @canonical_code = args[:canonical_code] if args.key?(:canonical_code)
  @code = args[:code] if args.key?(:code)
  @message = args[:message] if args.key?(:message)
  @message_set = args[:message_set] if args.key?(:message_set)
  @space = args[:space] if args.key?(:space)
end