Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2AdminTemp

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

Overview

AdminTemp is a prelimiary set of administration tasks. It's called "Temp" because we do not yet know the best way to represent admin tasks; it's possible that this will be entirely replaced in later versions of this API. If this message proves to be sufficient, it will be renamed in the alpha or beta release of this API. This message (suitably marshalled into a protobuf.Any) can be used as the inline_assignment field in a lease; the lease assignment field should simply be "admin" in these cases. This message is heavily based on Swarming administration tasks from the LUCI project (http://github.com/luci/ luci-py/appengine/swarming).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2AdminTemp

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2AdminTemp.



2484
2485
2486
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2484

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

Instance Attribute Details

#argString

The argument to the admin action; see Command for semantics. Corresponds to the JSON property arg

Returns:

  • (String)


2477
2478
2479
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2477

def arg
  @arg
end

#commandString

The admin action; see Command for legal values. Corresponds to the JSON property command

Returns:

  • (String)


2482
2483
2484
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2482

def command
  @command
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2489
2490
2491
2492
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2489

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