Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class RequestMetadata.
RequestMetadata is the metadata message for the request.
Generated from protobuf message google.cloud.visionai.v1.RequestMetadata
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ stream
string
Stream name.
↳ event
string
Evevt name.
↳ series
string
Series name.
↳ lease_id
string
Lease id.
↳ owner
string
Owner name.
↳ lease_term
Google\Protobuf\Duration
Lease term specifies how long the client wants the session to be maintained by the server after the client leaves. If the lease term is not set, the server will release the session immediately and the client cannot reconnect to the same session later.
getStream
Stream name.
string
setStream
Stream name.
var
string
$this
getEvent
Evevt name.
string
setEvent
Evevt name.
var
string
$this
getSeries
Series name.
string
setSeries
Series name.
var
string
$this
getLeaseId
Lease id.
string
setLeaseId
Lease id.
var
string
$this
getOwner
Owner name.
string
setOwner
Owner name.
var
string
$this
getLeaseTerm
Lease term specifies how long the client wants the session to be maintained by the server after the client leaves. If the lease term is not set, the server will release the session immediately and the client cannot reconnect to the same session later.
hasLeaseTerm
clearLeaseTerm
setLeaseTerm
Lease term specifies how long the client wants the session to be maintained by the server after the client leaves. If the lease term is not set, the server will release the session immediately and the client cannot reconnect to the same session later.
$this

