Interface WidgetConfig.ConnectorAuthStateOrBuilder (0.99.0)

public static interface WidgetConfig.ConnectorAuthStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthState()

public abstract WidgetConfig.ConnectorAuthState.AuthState getAuthState()

Output only. The authorization state of the data connector.

.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState.AuthState auth_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.ConnectorAuthState.AuthState

The authState.

getAuthStateValue()

public abstract int getAuthStateValue()

Output only. The authorization state of the data connector.

.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState.AuthState auth_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for authState.

getAuthorizationUri()

public abstract String getAuthorizationUri()

Output only. The authorization uri for the data connector.

For synthetic placeholder CollectionComponent entries (returned by LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS on SaaS / Business engines), this field is left empty. The widget should call WidgetService.WidgetBuildAuthorizationUrl on the user's "Connect" click to obtain a freshly-built authorization URL.

string authorization_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The authorizationUri.

getAuthorizationUriBytes()

public abstract ByteString getAuthorizationUriBytes()

Output only. The authorization uri for the data connector.

For synthetic placeholder CollectionComponent entries (returned by LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS on SaaS / Business engines), this field is left empty. The widget should call WidgetService.WidgetBuildAuthorizationUrl on the user's "Connect" click to obtain a freshly-built authorization URL.

string authorization_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for authorizationUri.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The authorization state update timestamp.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The authorization state update timestamp.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The authorization state update timestamp.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.