Google Cloud Vision Ai V1 Client - Class Channel (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Channel.
Message describing the Channel object.
Generated from protobuf message google.cloud.visionai.v1.Channel
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Name of the resource. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The create timestamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The update timestamp. |
↳ labels |
array|Google\Protobuf\Internal\MapField
Labels as key value pairs. |
↳ annotations |
array|Google\Protobuf\Internal\MapField
Annotations to allow clients to store small amounts of arbitrary data. |
↳ stream |
string
Required. Stream that is associated with this series. |
↳ event |
string
Required. Event that is associated with this series. |
getName
Name of the resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Name of the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The create timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The create timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The update timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The update timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Labels as key value pairs.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setLabels
Labels as key value pairs.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAnnotations
Annotations to allow clients to store small amounts of arbitrary data.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setAnnotations
Annotations to allow clients to store small amounts of arbitrary data.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStream
Required. Stream that is associated with this series.
| Returns | |
|---|---|
| Type | Description |
string |
|
setStream
Required. Stream that is associated with this series.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEvent
Required. Event that is associated with this series.
| Returns | |
|---|---|
| Type | Description |
string |
|
setEvent
Required. Event that is associated with this series.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|