Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2AdminTemp
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2AdminTemp
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1/classes.rb,
generated/google/apis/remotebuildexecution_v1/representations.rb,
generated/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
-
#arg ⇒ String
The argument to the admin action; see
Command
for semantics. -
#command ⇒ String
The admin action; see
Command
for legal values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2AdminTemp
constructor
A new instance of GoogleDevtoolsRemoteworkersV1test2AdminTemp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2AdminTemp
Returns a new instance of GoogleDevtoolsRemoteworkersV1test2AdminTemp
3049 3050 3051 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arg ⇒ String
The argument to the admin action; see Command
for semantics.
Corresponds to the JSON property arg
3042 3043 3044 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3042 def arg @arg end |
#command ⇒ String
The admin action; see Command
for legal values.
Corresponds to the JSON property command
3047 3048 3049 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3047 def command @command end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3054 3055 3056 3057 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3054 def update!(**args) @arg = args[:arg] if args.key?(:arg) @command = args[:command] if args.key?(:command) end |