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\u003eThe content details the \u003ccode\u003eGatewayAuthMethod\u003c/code\u003e enum, which specifies how Cloud IoT Core authorizes devices to access a gateway.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is 2.2.0, with prior versions including 2.1.0, 2.0.0, 1.2.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThere are four fields within the \u003ccode\u003eGatewayAuthMethod\u003c/code\u003e enum, including \u003ccode\u003eAssociationAndDeviceAuthToken\u003c/code\u003e, \u003ccode\u003eAssociationOnly\u003c/code\u003e, \u003ccode\u003eDeviceAuthTokenOnly\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each defining a different method of authentication.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGatewayAuthMethod\u003c/code\u003e enum is located in the \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Iot.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]