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.



1617
1618
1619
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1617

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

Instance Attribute Details

#codeString

The status code. Corresponds to the JSON property code

Returns:

  • (String)


1610
1611
1612
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1610

def code
  @code
end

#messageString

The error message. Corresponds to the JSON property message

Returns:

  • (String)


1615
1616
1617
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1615

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1622
1623
1624
1625
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1622

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