Enum WidgetConfig.ConnectorAuthState.AuthState (0.99.0)

public enum WidgetConfig.ConnectorAuthState.AuthState extends Enum<WidgetConfig.ConnectorAuthState.AuthState> implements ProtocolMessageEnum

The authorization state of the data connector.

Protobuf enum google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState.AuthState

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIONS_DISABLED

The user can still make search requests but actions need to be enabled.

ACTIONS_DISABLED = 3;

ACTIONS_DISABLED_VALUE

The user can still make search requests but actions need to be enabled.

ACTIONS_DISABLED = 3;

AUTHORIZED

The user has authorized the data connector.

AUTHORIZED = 1;

AUTHORIZED_VALUE

The user has authorized the data connector.

AUTHORIZED = 1;

AUTH_STATE_UNSPECIFIED

Default value. Also returned for synthetic placeholder CollectionComponent entries surfaced by LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS (SaaS / Business only) — those entries represent connectors the caller may attach but has not yet attached.

AUTH_STATE_UNSPECIFIED = 0;

AUTH_STATE_UNSPECIFIED_VALUE

Default value. Also returned for synthetic placeholder CollectionComponent entries surfaced by LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS (SaaS / Business only) — those entries represent connectors the caller may attach but has not yet attached.

AUTH_STATE_UNSPECIFIED = 0;

EXPIRED

The user authorization for the data connector has expired.

EXPIRED = 2;

EXPIRED_VALUE

The user authorization for the data connector has expired.

EXPIRED = 2;

NO_AUTH

The data connector does not require any authorization. Also used for placeholder entries whose underlying connector does not require user OAuth.

NO_AUTH = 4;

NO_AUTH_VALUE

The data connector does not require any authorization. Also used for placeholder entries whose underlying connector does not require user OAuth.

NO_AUTH = 4;

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()