Reference documentation and code samples for the Google Cloud IoT Core V1 Client class HttpConfig.
The configuration of the HTTP bridge for a device registry.
Generated from protobuf message google.cloud.iot.v1.HttpConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ http_enabled_state |
int
If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry. |
getHttpEnabledState
If enabled, allows devices to use DeviceService via the HTTP protocol.
Otherwise, any requests to DeviceService will fail for this registry.
Returns | |
---|---|
Type | Description |
int |
setHttpEnabledState
If enabled, allows devices to use DeviceService via the HTTP protocol.
Otherwise, any requests to DeviceService will fail for this registry.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |