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 describes the \u003ccode\u003eGatewayAuthMethod\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e namespace, which is used to define how Cloud IoT Core handles device authentication to access a gateway.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.2.0 is the latest available version, with versions ranging back to 1.0.0 also being accessible.\u003c/p\u003e\n"],["\u003cp\u003eThere are four authentication/authorization methods: \u003ccode\u003eAssociationAndDeviceAuthToken\u003c/code\u003e, \u003ccode\u003eAssociationOnly\u003c/code\u003e, \u003ccode\u003eDeviceAuthTokenOnly\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAssociationAndDeviceAuthToken\u003c/code\u003e method requires both device credentials and gateway association for authentication, whereas \u003ccode\u003eAssociationOnly\u003c/code\u003e solely relies on gateway association.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeviceAuthTokenOnly\u003c/code\u003e authenticates devices through their own credentials without checking gateway association, and \u003ccode\u003eUnspecified\u003c/code\u003e denies access to all devices.\u003c/p\u003e\n"]]],[],null,[]]