CreateAgentV2Response
extends Message
in package
Generated from protobuf message <code>livekit.CreateAgentV2Response</code>
Table of Contents
Properties
- $agent_id : mixed
- Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
- $status : mixed
- Generated from protobuf field <code>string status = 2;</code>
- $server_regions : mixed
- Generated from protobuf field <code>repeated string server_regions = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- getAgentId() : string
- Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
- getServerRegions() : RepeatedField<string|int, string>
- Generated from protobuf field <code>repeated string server_regions = 3;</code>
- getStatus() : string
- Generated from protobuf field <code>string status = 2;</code>
- setAgentId() : $this
- Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
- setServerRegions() : $this
- Generated from protobuf field <code>repeated string server_regions = 3;</code>
- setStatus() : $this
- Generated from protobuf field <code>string status = 2;</code>
Properties
$agent_id
Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
protected
mixed
$agent_id
= ''
$status
Generated from protobuf field <code>string status = 2;</code>
protected
mixed
$status
= ''
$server_regions
Generated from protobuf field <code>repeated string server_regions = 3;</code>
private
mixed
$server_regions
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 $agent_id @type string $status @type string[] $server_regions}
getAgentId()
Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
public
getAgentId() : string
Return values
stringgetServerRegions()
Generated from protobuf field <code>repeated string server_regions = 3;</code>
public
getServerRegions() : RepeatedField<string|int, string>
Return values
RepeatedField<string|int, string>getStatus()
Generated from protobuf field <code>string status = 2;</code>
public
getStatus() : string
Return values
stringsetAgentId()
Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
public
setAgentId(string $var) : $this
Parameters
- $var : string
Return values
$thissetServerRegions()
Generated from protobuf field <code>repeated string server_regions = 3;</code>
public
setServerRegions(array<string|int, string> $var) : $this
Parameters
- $var : array<string|int, string>
Return values
$thissetStatus()
Generated from protobuf field <code>string status = 2;</code>
public
setStatus(string $var) : $this
Parameters
- $var : string