public enum GatewayAuthMethod
Reference documentation and code samples for the Cloud IoT v1 API enum GatewayAuthMethod.
The gateway authorization/authentication method. This setting determines how Cloud IoT Core authorizes/authenticate devices to access the gateway.
Namespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Fields |
|
---|---|
Name | Description |
AssociationAndDeviceAuthToken |
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. |