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"]],[["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-04-17 UTC."],[[["This document describes the `GatewayAuthMethod` enum within the `Google.Cloud.Iot.V1` namespace, which is used to define how Cloud IoT Core handles device authentication to access a gateway."],["Version 2.2.0 is the latest available version, with versions ranging back to 1.0.0 also being accessible."],["There are four authentication/authorization methods: `AssociationAndDeviceAuthToken`, `AssociationOnly`, `DeviceAuthTokenOnly`, and `Unspecified`."],["The `AssociationAndDeviceAuthToken` method requires both device credentials and gateway association for authentication, whereas `AssociationOnly` solely relies on gateway association."],["`DeviceAuthTokenOnly` authenticates devices through their own credentials without checking gateway association, and `Unspecified` denies access to all devices."]]],[]]