Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb

Overview

The internal status of the command result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandStatus

Returns a new instance of GoogleDevtoolsRemotebuildbotCommandStatus.



2332
2333
2334
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2332

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

Instance Attribute Details

#codeString

The status code. Corresponds to the JSON property code

Returns:

  • (String)


2325
2326
2327
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2325

def code
  @code
end

#messageString

The error message. Corresponds to the JSON property message

Returns:

  • (String)


2330
2331
2332
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2330

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2337
2338
2339
2340
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2337

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