Documentation

S3Upload extends Message
in package

Generated from protobuf message <code>livekit.S3Upload</code>

Table of Contents

Properties

$access_key  : mixed
Generated from protobuf field <code>string access_key = 1 [(.logger.redact) = true];</code>
$assume_role_arn  : mixed
ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
$assume_role_external_id  : mixed
ExternalID to use when assuming role for upload
$bucket  : mixed
Generated from protobuf field <code>string bucket = 5;</code>
$content_disposition  : mixed
Content-Disposition header
$endpoint  : mixed
Generated from protobuf field <code>string endpoint = 4;</code>
$force_path_style  : mixed
Generated from protobuf field <code>bool force_path_style = 6;</code>
$proxy  : mixed
Generated from protobuf field <code>.livekit.ProxyConfig proxy = 10;</code>
$region  : mixed
Generated from protobuf field <code>string region = 3;</code>
$secret  : mixed
Generated from protobuf field <code>string secret = 2 [(.logger.redact) = true];</code>
$session_token  : mixed
Generated from protobuf field <code>string session_token = 11 [(.logger.redact) = true];</code>
$tagging  : mixed
Generated from protobuf field <code>string tagging = 8;</code>
$metadata  : mixed
Generated from protobuf field <code>map<string, string> metadata = 7;</code>

Methods

__construct()  : mixed
Constructor.
clearProxy()  : mixed
getAccessKey()  : string
Generated from protobuf field <code>string access_key = 1 [(.logger.redact) = true];</code>
getAssumeRoleArn()  : string
ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
getAssumeRoleExternalId()  : string
ExternalID to use when assuming role for upload
getBucket()  : string
Generated from protobuf field <code>string bucket = 5;</code>
getContentDisposition()  : string
Content-Disposition header
getEndpoint()  : string
Generated from protobuf field <code>string endpoint = 4;</code>
getForcePathStyle()  : bool
Generated from protobuf field <code>bool force_path_style = 6;</code>
getMetadata()  : MapField
Generated from protobuf field <code>map<string, string> metadata = 7;</code>
getProxy()  : ProxyConfig|null
Generated from protobuf field <code>.livekit.ProxyConfig proxy = 10;</code>
getRegion()  : string
Generated from protobuf field <code>string region = 3;</code>
getSecret()  : string
Generated from protobuf field <code>string secret = 2 [(.logger.redact) = true];</code>
getSessionToken()  : string
Generated from protobuf field <code>string session_token = 11 [(.logger.redact) = true];</code>
getTagging()  : string
Generated from protobuf field <code>string tagging = 8;</code>
hasProxy()  : mixed
setAccessKey()  : $this
Generated from protobuf field <code>string access_key = 1 [(.logger.redact) = true];</code>
setAssumeRoleArn()  : $this
ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
setAssumeRoleExternalId()  : $this
ExternalID to use when assuming role for upload
setBucket()  : $this
Generated from protobuf field <code>string bucket = 5;</code>
setContentDisposition()  : $this
Content-Disposition header
setEndpoint()  : $this
Generated from protobuf field <code>string endpoint = 4;</code>
setForcePathStyle()  : $this
Generated from protobuf field <code>bool force_path_style = 6;</code>
setMetadata()  : $this
Generated from protobuf field <code>map<string, string> metadata = 7;</code>
setProxy()  : $this
Generated from protobuf field <code>.livekit.ProxyConfig proxy = 10;</code>
setRegion()  : $this
Generated from protobuf field <code>string region = 3;</code>
setSecret()  : $this
Generated from protobuf field <code>string secret = 2 [(.logger.redact) = true];</code>
setSessionToken()  : $this
Generated from protobuf field <code>string session_token = 11 [(.logger.redact) = true];</code>
setTagging()  : $this
Generated from protobuf field <code>string tagging = 8;</code>

Properties

$access_key

Generated from protobuf field <code>string access_key = 1 [(.logger.redact) = true];</code>

protected mixed $access_key = ''

$assume_role_arn

ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled

protected mixed $assume_role_arn = ''

Generated from protobuf field string assume_role_arn = 12 [(.logger.redact) = true];

$assume_role_external_id

ExternalID to use when assuming role for upload

protected mixed $assume_role_external_id = ''

Generated from protobuf field string assume_role_external_id = 13;

$bucket

Generated from protobuf field <code>string bucket = 5;</code>

protected mixed $bucket = ''

$content_disposition

Content-Disposition header

protected mixed $content_disposition = ''

Generated from protobuf field string content_disposition = 9;

$endpoint

Generated from protobuf field <code>string endpoint = 4;</code>

protected mixed $endpoint = ''

$force_path_style

Generated from protobuf field <code>bool force_path_style = 6;</code>

protected mixed $force_path_style = false

$proxy

Generated from protobuf field <code>.livekit.ProxyConfig proxy = 10;</code>

protected mixed $proxy = null

$region

Generated from protobuf field <code>string region = 3;</code>

protected mixed $region = ''

$secret

Generated from protobuf field <code>string secret = 2 [(.logger.redact) = true];</code>

protected mixed $secret = ''

$session_token

Generated from protobuf field <code>string session_token = 11 [(.logger.redact) = true];</code>

protected mixed $session_token = ''

$tagging

Generated from protobuf field <code>string tagging = 8;</code>

protected mixed $tagging = ''

$metadata

Generated from protobuf field <code>map<string, string> metadata = 7;</code>

private mixed $metadata

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 $access_key
@type string $secret
@type string $session_token
@type string $assume_role_arn
      ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
@type string $assume_role_external_id
      ExternalID to use when assuming role for upload
@type string $region
@type string $endpoint
@type string $bucket
@type bool $force_path_style
@type array|\Google\Protobuf\Internal\MapField $metadata
@type string $tagging
@type string $content_disposition
      Content-Disposition header
@type \Livekit\ProxyConfig $proxy

}

clearProxy()

public clearProxy() : mixed

getAccessKey()

Generated from protobuf field <code>string access_key = 1 [(.logger.redact) = true];</code>

public getAccessKey() : string
Return values
string

getAssumeRoleArn()

ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled

public getAssumeRoleArn() : string

Generated from protobuf field string assume_role_arn = 12 [(.logger.redact) = true];

Return values
string

getAssumeRoleExternalId()

ExternalID to use when assuming role for upload

public getAssumeRoleExternalId() : string

Generated from protobuf field string assume_role_external_id = 13;

Return values
string

getBucket()

Generated from protobuf field <code>string bucket = 5;</code>

public getBucket() : string
Return values
string

getContentDisposition()

Content-Disposition header

public getContentDisposition() : string

Generated from protobuf field string content_disposition = 9;

Return values
string

getEndpoint()

Generated from protobuf field <code>string endpoint = 4;</code>

public getEndpoint() : string
Return values
string

getForcePathStyle()

Generated from protobuf field <code>bool force_path_style = 6;</code>

public getForcePathStyle() : bool
Return values
bool

getMetadata()

Generated from protobuf field <code>map<string, string> metadata = 7;</code>

public getMetadata() : MapField
Return values
MapField

getProxy()

Generated from protobuf field <code>.livekit.ProxyConfig proxy = 10;</code>

public getProxy() : ProxyConfig|null
Return values
ProxyConfig|null

getRegion()

Generated from protobuf field <code>string region = 3;</code>

public getRegion() : string
Return values
string

getSecret()

Generated from protobuf field <code>string secret = 2 [(.logger.redact) = true];</code>

public getSecret() : string
Return values
string

getSessionToken()

Generated from protobuf field <code>string session_token = 11 [(.logger.redact) = true];</code>

public getSessionToken() : string
Return values
string

getTagging()

Generated from protobuf field <code>string tagging = 8;</code>

public getTagging() : string
Return values
string

setAccessKey()

Generated from protobuf field <code>string access_key = 1 [(.logger.redact) = true];</code>

public setAccessKey(string $var) : $this
Parameters
$var : string
Return values
$this

setAssumeRoleArn()

ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled

public setAssumeRoleArn(string $var) : $this

Generated from protobuf field string assume_role_arn = 12 [(.logger.redact) = true];

Parameters
$var : string
Return values
$this

setAssumeRoleExternalId()

ExternalID to use when assuming role for upload

public setAssumeRoleExternalId(string $var) : $this

Generated from protobuf field string assume_role_external_id = 13;

Parameters
$var : string
Return values
$this

setBucket()

Generated from protobuf field <code>string bucket = 5;</code>

public setBucket(string $var) : $this
Parameters
$var : string
Return values
$this

setContentDisposition()

Content-Disposition header

public setContentDisposition(string $var) : $this

Generated from protobuf field string content_disposition = 9;

Parameters
$var : string
Return values
$this

setEndpoint()

Generated from protobuf field <code>string endpoint = 4;</code>

public setEndpoint(string $var) : $this
Parameters
$var : string
Return values
$this

setForcePathStyle()

Generated from protobuf field <code>bool force_path_style = 6;</code>

public setForcePathStyle(bool $var) : $this
Parameters
$var : bool
Return values
$this

setMetadata()

Generated from protobuf field <code>map<string, string> metadata = 7;</code>

public setMetadata(array<string|int, mixed>|MapField $var) : $this
Parameters
$var : array<string|int, mixed>|MapField
Return values
$this

setProxy()

Generated from protobuf field <code>.livekit.ProxyConfig proxy = 10;</code>

public setProxy(ProxyConfig $var) : $this
Parameters
$var : ProxyConfig
Return values
$this

setRegion()

Generated from protobuf field <code>string region = 3;</code>

public setRegion(string $var) : $this
Parameters
$var : string
Return values
$this

setSecret()

Generated from protobuf field <code>string secret = 2 [(.logger.redact) = true];</code>

public setSecret(string $var) : $this
Parameters
$var : string
Return values
$this

setSessionToken()

Generated from protobuf field <code>string session_token = 11 [(.logger.redact) = true];</code>

public setSessionToken(string $var) : $this
Parameters
$var : string
Return values
$this

setTagging()

Generated from protobuf field <code>string tagging = 8;</code>

public setTagging(string $var) : $this
Parameters
$var : string
Return values
$this

        
On this page

Search results