Interface Space.AccessSettingsOrBuilder (0.59.0)

public static interface Space.AccessSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessPermissionSettings()

public abstract Space.AccessPermissionSettings getAccessPermissionSettings()

Optional. Access permission settings for the space.

To set the target audience when creating a space, specify the accessSettings.audience field in your request.

.google.chat.v1.Space.AccessPermissionSettings access_permission_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.AccessPermissionSettings

The accessPermissionSettings.

getAccessPermissionSettingsOrBuilder()

public abstract Space.AccessPermissionSettingsOrBuilder getAccessPermissionSettingsOrBuilder()

Optional. Access permission settings for the space.

To set the target audience when creating a space, specify the accessSettings.audience field in your request.

.google.chat.v1.Space.AccessPermissionSettings access_permission_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.AccessPermissionSettingsOrBuilder

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.

Reading the target audience supports:

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.

Reading the target audience supports:

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

Returns
Type Description
ByteString

The bytes for audience.

hasAccessPermissionSettings()

public abstract boolean hasAccessPermissionSettings()

Optional. Access permission settings for the space.

To set the target audience when creating a space, specify the accessSettings.audience field in your request.

.google.chat.v1.Space.AccessPermissionSettings access_permission_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the accessPermissionSettings field is set.