Class: Google::Apis::BatchV1::AgentTaskUserAccount

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#gidFixnum

gid id an unique identifier of the POSIX account group corresponding to the user account. Corresponds to the JSON property gid

Returns:

  • (Fixnum)


588
589
590
# File 'lib/google/apis/batch_v1/classes.rb', line 588

def gid
  @gid
end

#uidFixnum

uid is an unique identifier of the POSIX account corresponding to the user account. Corresponds to the JSON property uid

Returns:

  • (Fixnum)


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