Interface Space.AccessSettingsOrBuilder (0.18.0)

public static interface Space.AccessSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessState()

public abstract Space.AccessSettings.AccessState getAccessState()

Output only. Indicates the access state of the space.

.google.chat.v1.Space.AccessSettings.AccessState access_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Space.AccessSettings.AccessState

The accessState.

getAccessStateValue()

public abstract int getAccessStateValue()

Output only. Indicates the access state of the space.

.google.chat.v1.Space.AccessSettings.AccessState access_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for accessState.

getAudience()

public abstract String getAudience()

Optional. The resource name of the target audience who can discover the space, join the space, and preview the messages in the space. If unset, only users or Google Groups who have been individually invited or added to the space can access it. For details, see Make a space discoverable to a target audience.

Format: audiences/{audience}

To use the default target audience for the Google Workspace organization, set to audiences/default.

This field is not populated when using the chat.bot scope with app authentication.

string audience = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The audience.

getAudienceBytes()

public abstract ByteString getAudienceBytes()

Optional. The resource name of the target audience who can discover the space, join the space, and preview the messages in the space. If unset, only users or Google Groups who have been individually invited or added to the space can access it. For details, see Make a space discoverable to a target audience.

Format: audiences/{audience}

To use the default target audience for the Google Workspace organization, set to audiences/default.

This field is not populated when using the chat.bot scope with app authentication.

string audience = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for audience.