The device is authenticated through both device credentials and gateway
association. The device must be bound to the gateway and must provide its
own credentials.
AssociationOnly
The device is authenticated through the gateway association only. Device
credentials are ignored even if provided.
DeviceAuthTokenOnly
The device is authenticated through its own credentials. Gateway
association is not checked.
Unspecified
No authentication/authorization method specified. No devices are allowed to
access the gateway.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eGatewayAuthMethod\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e namespace, detailing how Cloud IoT Core authenticates devices accessing a gateway.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.2.0, with previous versions dating back to 1.0.0 also available, each version contains the documentation for the \u003ccode\u003eGatewayAuthMethod\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are four distinct authentication methods: \u003ccode\u003eAssociationAndDeviceAuthToken\u003c/code\u003e, \u003ccode\u003eAssociationOnly\u003c/code\u003e, \u003ccode\u003eDeviceAuthTokenOnly\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each defining different criteria for device authentication and authorization.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAssociationAndDeviceAuthToken\u003c/code\u003e requires both device credentials and gateway association, while \u003ccode\u003eAssociationOnly\u003c/code\u003e only requires gateway association and \u003ccode\u003eDeviceAuthTokenOnly\u003c/code\u003e checks only the device credentials.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnspecified\u003c/code\u003e method means there is no authentication/authorization method, preventing any device from accessing the gateway.\u003c/p\u003e\n"]]],[],null,[]]