Google Cloud IoT Core V1 Client - Class HttpConfig (1.6.4)

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

Namespace

Google \ Cloud \ Iot \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setHttpEnabledState

If enabled, allows devices to use DeviceService via the HTTP protocol.

Otherwise, any requests to DeviceService will fail for this registry.

Parameter
NameDescription
var int
Returns
TypeDescription
$this