Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotCommandStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/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.



1515
1516
1517
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1515

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

Instance Attribute Details

#codeString

The status code. Corresponds to the JSON property code

Returns:

  • (String)


1508
1509
1510
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1508

def code
  @code
end

#messageString

The error message. Corresponds to the JSON property message

Returns:

  • (String)


1513
1514
1515
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1513

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1520
1521
1522
1523
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1520

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