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

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



1648
1649
1650
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1648

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

Instance Attribute Details

#codeString

The status code. Corresponds to the JSON property code

Returns:

  • (String)


1641
1642
1643
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1641

def code
  @code
end

#messageString

The error message. Corresponds to the JSON property message

Returns:

  • (String)


1646
1647
1648
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1646

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1653
1654
1655
1656
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1653

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