Class: Google::Apis::BatchV1::AgentTaskUserAccount
- Inherits:
-
Object
- Object
- Google::Apis::BatchV1::AgentTaskUserAccount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/batch_v1/classes.rb,
lib/google/apis/batch_v1/representations.rb,
lib/google/apis/batch_v1/representations.rb
Overview
AgentTaskUserAccount contains the information of a POSIX account on the guest os which is used to execute the runnables.
Instance Attribute Summary collapse
-
#gid ⇒ Fixnum
gid id an unique identifier of the POSIX account group corresponding to the user account.
-
#uid ⇒ Fixnum
uid is an unique identifier of the POSIX account corresponding to the user account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentTaskUserAccount
constructor
A new instance of AgentTaskUserAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentTaskUserAccount
Returns a new instance of AgentTaskUserAccount.
596 597 598 |
# File 'lib/google/apis/batch_v1/classes.rb', line 596 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gid ⇒ Fixnum
gid id an unique identifier of the POSIX account group corresponding to the
user account.
Corresponds to the JSON property gid
588 589 590 |
# File 'lib/google/apis/batch_v1/classes.rb', line 588 def gid @gid end |
#uid ⇒ Fixnum
uid is an unique identifier of the POSIX account corresponding to the user
account.
Corresponds to the JSON property uid
594 595 596 |
# File 'lib/google/apis/batch_v1/classes.rb', line 594 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
601 602 603 604 |
# File 'lib/google/apis/batch_v1/classes.rb', line 601 def update!(**args) @gid = args[:gid] if args.key?(:gid) @uid = args[:uid] if args.key?(:uid) end |