Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class ClientInfo.
Information about the client which invoked the device session.
Generated from protobuf message google.cloud.devicestreaming.v1.ClientInfo
Namespace
Google \ Cloud \ DeviceStreaming \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ client |
string
Required. Client name, such as gcloud. The maximum length is 64 characters. |
↳ version |
string
Optional. Client version. The maximum length is 64 characters. |
getClient
Required. Client name, such as gcloud. The maximum length is 64 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setClient
Required. Client name, such as gcloud. The maximum length is 64 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
Optional. Client version. The maximum length is 64 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
Optional. Client version. The maximum length is 64 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|