Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandStatus
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandStatus
- 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
-
#code ⇒ String
The status code.
-
#message ⇒ String
The error message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandStatus
constructor
A new instance of GoogleDevtoolsRemotebuildbotCommandStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#code ⇒ String
The status code.
Corresponds to the JSON property code
2325 2326 2327 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2325 def code @code end |
#message ⇒ String
The error message.
Corresponds to the JSON property message
2330 2331 2332 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2330 def @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 |