[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud IoT Core V1 Client - Class GatewayConfig (1.7.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.5 (latest)](/php/docs/reference/cloud-iot/latest/V1.GatewayConfig)\n- [1.7.4](/php/docs/reference/cloud-iot/1.7.4/V1.GatewayConfig)\n- [1.6.4](/php/docs/reference/cloud-iot/1.6.4/V1.GatewayConfig)\n- [1.5.12](/php/docs/reference/cloud-iot/1.5.12/V1.GatewayConfig) \nReference documentation and code samples for the Google Cloud IoT Core V1 Client class GatewayConfig.\n\nGateway-related configuration and state.\n\nGenerated from protobuf message `google.cloud.iot.v1.GatewayConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iot \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getGatewayType\n\nIndicates whether the device is a gateway.\n\n### setGatewayType\n\nIndicates whether the device is a gateway.\n\n### getGatewayAuthMethod\n\nIndicates how to authorize and/or authenticate devices to access the\ngateway.\n\n### setGatewayAuthMethod\n\nIndicates how to authorize and/or authenticate devices to access the\ngateway.\n\n### getLastAccessedGatewayId\n\n\\[Output only\\] The ID of the gateway the device accessed most recently.\n\n### setLastAccessedGatewayId\n\n\\[Output only\\] The ID of the gateway the device accessed most recently.\n\n### getLastAccessedGatewayTime\n\n\\[Output only\\] The most recent time at which the device accessed the gateway\nspecified in `last_accessed_gateway`.\n\n### hasLastAccessedGatewayTime\n\n### clearLastAccessedGatewayTime\n\n### setLastAccessedGatewayTime\n\n\\[Output only\\] The most recent time at which the device accessed the gateway\nspecified in `last_accessed_gateway`."]]