AgentDeployment
extends Message
in package
Generated from protobuf message <code>livekit.AgentDeployment</code>
Table of Contents
Properties
- $agent_id : mixed
- Generated from protobuf field <code>string agent_id = 2;</code>
- $cpu_limit : mixed
- Generated from protobuf field <code>string cpu_limit = 12;</code>
- $cpu_req : mixed
- Generated from protobuf field <code>string cpu_req = 7;</code>
- $cur_cpu : mixed
- Generated from protobuf field <code>string cur_cpu = 8;</code>
- $cur_mem : mixed
- Generated from protobuf field <code>string cur_mem = 9;</code>
- $max_replicas : mixed
- Generated from protobuf field <code>int32 max_replicas = 6;</code>
- $mem_limit : mixed
- Generated from protobuf field <code>string mem_limit = 11;</code>
- $mem_req : mixed
- Generated from protobuf field <code>string mem_req = 10;</code>
- $min_replicas : mixed
- Generated from protobuf field <code>int32 min_replicas = 5;</code>
- $region : mixed
- Generated from protobuf field <code>string region = 1;</code>
- $replicas : mixed
- Generated from protobuf field <code>int32 replicas = 4;</code>
- $server_region : mixed
- Generated from protobuf field <code>string server_region = 13;</code>
- $status : mixed
- Generated from protobuf field <code>string status = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- getAgentId() : string
- Generated from protobuf field <code>string agent_id = 2;</code>
- getCpuLimit() : string
- Generated from protobuf field <code>string cpu_limit = 12;</code>
- getCpuReq() : string
- Generated from protobuf field <code>string cpu_req = 7;</code>
- getCurCpu() : string
- Generated from protobuf field <code>string cur_cpu = 8;</code>
- getCurMem() : string
- Generated from protobuf field <code>string cur_mem = 9;</code>
- getMaxReplicas() : int
- Generated from protobuf field <code>int32 max_replicas = 6;</code>
- getMemLimit() : string
- Generated from protobuf field <code>string mem_limit = 11;</code>
- getMemReq() : string
- Generated from protobuf field <code>string mem_req = 10;</code>
- getMinReplicas() : int
- Generated from protobuf field <code>int32 min_replicas = 5;</code>
- getRegion() : string
- Generated from protobuf field <code>string region = 1;</code>
- getReplicas() : int
- Generated from protobuf field <code>int32 replicas = 4;</code>
- getServerRegion() : string
- Generated from protobuf field <code>string server_region = 13;</code>
- getStatus() : string
- Generated from protobuf field <code>string status = 3;</code>
- setAgentId() : $this
- Generated from protobuf field <code>string agent_id = 2;</code>
- setCpuLimit() : $this
- Generated from protobuf field <code>string cpu_limit = 12;</code>
- setCpuReq() : $this
- Generated from protobuf field <code>string cpu_req = 7;</code>
- setCurCpu() : $this
- Generated from protobuf field <code>string cur_cpu = 8;</code>
- setCurMem() : $this
- Generated from protobuf field <code>string cur_mem = 9;</code>
- setMaxReplicas() : $this
- Generated from protobuf field <code>int32 max_replicas = 6;</code>
- setMemLimit() : $this
- Generated from protobuf field <code>string mem_limit = 11;</code>
- setMemReq() : $this
- Generated from protobuf field <code>string mem_req = 10;</code>
- setMinReplicas() : $this
- Generated from protobuf field <code>int32 min_replicas = 5;</code>
- setRegion() : $this
- Generated from protobuf field <code>string region = 1;</code>
- setReplicas() : $this
- Generated from protobuf field <code>int32 replicas = 4;</code>
- setServerRegion() : $this
- Generated from protobuf field <code>string server_region = 13;</code>
- setStatus() : $this
- Generated from protobuf field <code>string status = 3;</code>
Properties
$agent_id
Generated from protobuf field <code>string agent_id = 2;</code>
protected
mixed
$agent_id
= ''
$cpu_limit
Generated from protobuf field <code>string cpu_limit = 12;</code>
protected
mixed
$cpu_limit
= ''
$cpu_req
Generated from protobuf field <code>string cpu_req = 7;</code>
protected
mixed
$cpu_req
= ''
$cur_cpu
Generated from protobuf field <code>string cur_cpu = 8;</code>
protected
mixed
$cur_cpu
= ''
$cur_mem
Generated from protobuf field <code>string cur_mem = 9;</code>
protected
mixed
$cur_mem
= ''
$max_replicas
Generated from protobuf field <code>int32 max_replicas = 6;</code>
protected
mixed
$max_replicas
= 0
$mem_limit
Generated from protobuf field <code>string mem_limit = 11;</code>
protected
mixed
$mem_limit
= ''
$mem_req
Generated from protobuf field <code>string mem_req = 10;</code>
protected
mixed
$mem_req
= ''
$min_replicas
Generated from protobuf field <code>int32 min_replicas = 5;</code>
protected
mixed
$min_replicas
= 0
$region
Generated from protobuf field <code>string region = 1;</code>
protected
mixed
$region
= ''
$replicas
Generated from protobuf field <code>int32 replicas = 4;</code>
protected
mixed
$replicas
= 0
$server_region
Generated from protobuf field <code>string server_region = 13;</code>
protected
mixed
$server_region
= ''
$status
Generated from protobuf field <code>string status = 3;</code>
protected
mixed
$status
= ''
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type string $region @type string $agent_id @type string $status @type int $replicas @type int $min_replicas @type int $max_replicas @type string $cpu_req @type string $cur_cpu @type string $cur_mem @type string $mem_req @type string $mem_limit @type string $cpu_limit @type string $server_region}
getAgentId()
Generated from protobuf field <code>string agent_id = 2;</code>
public
getAgentId() : string
Return values
stringgetCpuLimit()
Generated from protobuf field <code>string cpu_limit = 12;</code>
public
getCpuLimit() : string
Return values
stringgetCpuReq()
Generated from protobuf field <code>string cpu_req = 7;</code>
public
getCpuReq() : string
Return values
stringgetCurCpu()
Generated from protobuf field <code>string cur_cpu = 8;</code>
public
getCurCpu() : string
Return values
stringgetCurMem()
Generated from protobuf field <code>string cur_mem = 9;</code>
public
getCurMem() : string
Return values
stringgetMaxReplicas()
Generated from protobuf field <code>int32 max_replicas = 6;</code>
public
getMaxReplicas() : int
Return values
intgetMemLimit()
Generated from protobuf field <code>string mem_limit = 11;</code>
public
getMemLimit() : string
Return values
stringgetMemReq()
Generated from protobuf field <code>string mem_req = 10;</code>
public
getMemReq() : string
Return values
stringgetMinReplicas()
Generated from protobuf field <code>int32 min_replicas = 5;</code>
public
getMinReplicas() : int
Return values
intgetRegion()
Generated from protobuf field <code>string region = 1;</code>
public
getRegion() : string
Return values
stringgetReplicas()
Generated from protobuf field <code>int32 replicas = 4;</code>
public
getReplicas() : int
Return values
intgetServerRegion()
Generated from protobuf field <code>string server_region = 13;</code>
public
getServerRegion() : string
Return values
stringgetStatus()
Generated from protobuf field <code>string status = 3;</code>
public
getStatus() : string
Return values
stringsetAgentId()
Generated from protobuf field <code>string agent_id = 2;</code>
public
setAgentId(string $var) : $this
Parameters
- $var : string
Return values
$thissetCpuLimit()
Generated from protobuf field <code>string cpu_limit = 12;</code>
public
setCpuLimit(string $var) : $this
Parameters
- $var : string
Return values
$thissetCpuReq()
Generated from protobuf field <code>string cpu_req = 7;</code>
public
setCpuReq(string $var) : $this
Parameters
- $var : string
Return values
$thissetCurCpu()
Generated from protobuf field <code>string cur_cpu = 8;</code>
public
setCurCpu(string $var) : $this
Parameters
- $var : string
Return values
$thissetCurMem()
Generated from protobuf field <code>string cur_mem = 9;</code>
public
setCurMem(string $var) : $this
Parameters
- $var : string
Return values
$thissetMaxReplicas()
Generated from protobuf field <code>int32 max_replicas = 6;</code>
public
setMaxReplicas(int $var) : $this
Parameters
- $var : int
Return values
$thissetMemLimit()
Generated from protobuf field <code>string mem_limit = 11;</code>
public
setMemLimit(string $var) : $this
Parameters
- $var : string
Return values
$thissetMemReq()
Generated from protobuf field <code>string mem_req = 10;</code>
public
setMemReq(string $var) : $this
Parameters
- $var : string
Return values
$thissetMinReplicas()
Generated from protobuf field <code>int32 min_replicas = 5;</code>
public
setMinReplicas(int $var) : $this
Parameters
- $var : int
Return values
$thissetRegion()
Generated from protobuf field <code>string region = 1;</code>
public
setRegion(string $var) : $this
Parameters
- $var : string
Return values
$thissetReplicas()
Generated from protobuf field <code>int32 replicas = 4;</code>
public
setReplicas(int $var) : $this
Parameters
- $var : int
Return values
$thissetServerRegion()
Generated from protobuf field <code>string server_region = 13;</code>
public
setServerRegion(string $var) : $this
Parameters
- $var : string
Return values
$thissetStatus()
Generated from protobuf field <code>string status = 3;</code>
public
setStatus(string $var) : $this
Parameters
- $var : string