Reference documentation and code samples for the Google Cloud IoT Core V1 Client class GatewayConfig.
Gateway-related configuration and state.
Generated from protobuf message google.cloud.iot.v1.GatewayConfig
Namespace
Google \ Cloud \ Iot \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gateway_type
int
Indicates whether the device is a gateway.
↳ gateway_auth_method
int
Indicates how to authorize and/or authenticate devices to access the gateway.
↳ last_accessed_gateway_id
string
[Output only] The ID of the gateway the device accessed most recently.
↳ last_accessed_gateway_time
Google\Protobuf\Timestamp
[Output only] The most recent time at which the device accessed the gateway specified in last_accessed_gateway
.
getGatewayType
Indicates whether the device is a gateway.
int
setGatewayType
Indicates whether the device is a gateway.
var
int
$this
getGatewayAuthMethod
Indicates how to authorize and/or authenticate devices to access the gateway.
int
setGatewayAuthMethod
Indicates how to authorize and/or authenticate devices to access the gateway.
var
int
$this
getLastAccessedGatewayId
[Output only] The ID of the gateway the device accessed most recently.
string
setLastAccessedGatewayId
[Output only] The ID of the gateway the device accessed most recently.
var
string
$this
getLastAccessedGatewayTime
[Output only] The most recent time at which the device accessed the gateway
specified in last_accessed_gateway
.
hasLastAccessedGatewayTime
clearLastAccessedGatewayTime
setLastAccessedGatewayTime
[Output only] The most recent time at which the device accessed the gateway
specified in last_accessed_gateway
.
$this