class Job extends Collection (View source)

Properties

protected $collection_key
protected $allocationPolicyType
protected $allocationPolicyDataType
string $createTime
string[] $labels
protected $logsPolicyType
protected $logsPolicyDataType
string $name
protected $notificationsType
protected $notificationsDataType
string $priority
protected $statusType
protected $statusDataType
protected $taskGroupsType
protected $taskGroupsDataType
string $uid
string $updateTime

Methods

setAllocationPolicy(AllocationPolicy $allocationPolicy)

No description

setCreateTime($createTime)

No description

string
getCreateTime()

No description

setLabels($labels)

No description

string[]
getLabels()

No description

setLogsPolicy(LogsPolicy $logsPolicy)

No description

getLogsPolicy()

No description

setName($name)

No description

string
getName()

No description

setNotifications($notifications)

No description

getNotifications()

No description

setPriority($priority)

No description

string
getPriority()

No description

setStatus(JobStatus $status)

No description

getStatus()

No description

setTaskGroups($taskGroups)

No description

getTaskGroups()

No description

setUid($uid)

No description

string
getUid()

No description

setUpdateTime($updateTime)

No description

string
getUpdateTime()

No description

Details

setAllocationPolicy(AllocationPolicy $allocationPolicy)

No description

Parameters

AllocationPolicy $allocationPolicy

AllocationPolicy getAllocationPolicy()

No description

Return Value

AllocationPolicy

setCreateTime($createTime)

No description

Parameters

$createTime

string getCreateTime()

No description

Return Value

string

setLabels($labels)

No description

Parameters

$labels

string[] getLabels()

No description

Return Value

string[]

setLogsPolicy(LogsPolicy $logsPolicy)

No description

Parameters

LogsPolicy $logsPolicy

LogsPolicy getLogsPolicy()

No description

Return Value

LogsPolicy

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setNotifications($notifications)

No description

Parameters

$notifications

JobNotification[] getNotifications()

No description

Return Value

JobNotification[]

setPriority($priority)

No description

Parameters

$priority

string getPriority()

No description

Return Value

string

setStatus(JobStatus $status)

No description

Parameters

JobStatus $status

JobStatus getStatus()

No description

Return Value

JobStatus

setTaskGroups($taskGroups)

No description

Parameters

$taskGroups

TaskGroup[] getTaskGroups()

No description

Return Value

TaskGroup[]

setUid($uid)

No description

Parameters

$uid

string getUid()

No description

Return Value

string

setUpdateTime($updateTime)

No description

Parameters

$updateTime

string getUpdateTime()

No description

Return Value

string