Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class Pool.
Pool resource defines the configuration of Live Stream pools for a specific location. Currently we support only one pool resource per project per location. After the creation of the first input, a default pool is created automatically at "projects/{project}/locations/{location}/pools/default".
Generated from protobuf message google.cloud.video.livestream.v1.Pool
Namespace
Google \ Cloud \ Video \ LiveStream \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The resource name of the pool, in the form of: |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The creation time. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The update time. |
↳ labels |
array|Google\Protobuf\Internal\MapField
User-defined key/value metadata. |
↳ network_config |
Google\Cloud\Video\LiveStream\V1\Pool\NetworkConfig
Network configuration for the pool. |
getName
The resource name of the pool, in the form of:
projects/{project}/locations/{location}/pools/{poolId}
.
Returns | |
---|---|
Type | Description |
string |
setName
The resource name of the pool, in the form of:
projects/{project}/locations/{location}/pools/{poolId}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. The creation time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. The update time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The update time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
User-defined key/value metadata.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
User-defined key/value metadata.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getNetworkConfig
Network configuration for the pool.
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\LiveStream\V1\Pool\NetworkConfig|null |
hasNetworkConfig
clearNetworkConfig
setNetworkConfig
Network configuration for the pool.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\LiveStream\V1\Pool\NetworkConfig
|
Returns | |
---|---|
Type | Description |
$this |