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-03-21 UTC."],[[["This document outlines the `GatewayAuthMethod` enum within the `Google.Cloud.Iot.V1` namespace, detailing how Cloud IoT Core authenticates devices accessing a gateway."],["The 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 `GatewayAuthMethod`."],["There are four distinct authentication methods: `AssociationAndDeviceAuthToken`, `AssociationOnly`, `DeviceAuthTokenOnly`, and `Unspecified`, each defining different criteria for device authentication and authorization."],["`AssociationAndDeviceAuthToken` requires both device credentials and gateway association, while `AssociationOnly` only requires gateway association and `DeviceAuthTokenOnly` checks only the device credentials."],["`Unspecified` method means there is no authentication/authorization method, preventing any device from accessing the gateway."]]],[]]