Enum GatewayAuthMethod (2.54.0)

public enum GatewayAuthMethod extends Enum<GatewayAuthMethod> implements ProtocolMessageEnum

The gateway authorization/authentication method. This setting determines how Cloud IoT Core authorizes/authenticate devices to access the gateway.

Protobuf enum google.cloud.iot.v1.GatewayAuthMethod

Implements

ProtocolMessageEnum

Static Fields

Name Description
ASSOCIATION_AND_DEVICE_AUTH_TOKEN

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.

ASSOCIATION_AND_DEVICE_AUTH_TOKEN = 3;

ASSOCIATION_AND_DEVICE_AUTH_TOKEN_VALUE

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.

ASSOCIATION_AND_DEVICE_AUTH_TOKEN = 3;

ASSOCIATION_ONLY

The device is authenticated through the gateway association only. Device credentials are ignored even if provided.

ASSOCIATION_ONLY = 1;

ASSOCIATION_ONLY_VALUE

The device is authenticated through the gateway association only. Device credentials are ignored even if provided.

ASSOCIATION_ONLY = 1;

DEVICE_AUTH_TOKEN_ONLY

The device is authenticated through its own credentials. Gateway association is not checked.

DEVICE_AUTH_TOKEN_ONLY = 2;

DEVICE_AUTH_TOKEN_ONLY_VALUE

The device is authenticated through its own credentials. Gateway association is not checked.

DEVICE_AUTH_TOKEN_ONLY = 2;

GATEWAY_AUTH_METHOD_UNSPECIFIED

No authentication/authorization method specified. No devices are allowed to access the gateway.

GATEWAY_AUTH_METHOD_UNSPECIFIED = 0;

GATEWAY_AUTH_METHOD_UNSPECIFIED_VALUE

No authentication/authorization method specified. No devices are allowed to access the gateway.

GATEWAY_AUTH_METHOD_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()