1. Packages
  2. Googleworkspace Provider
  3. API Docs
  4. GroupSettings
googleworkspace 0.7.0 published on Wednesday, Jan 15, 2025 by hashicorp

googleworkspace.GroupSettings

Explore with Pulumi AI

Group Settings resource manages Google Workspace Groups Setting. Group Settings requires the https://www.googleapis.com/auth/apps.groups.settings client scope.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as googleworkspace from "@pulumi/googleworkspace";

const sales = new googleworkspace.Group("sales", {email: "sales@example.com"});
const sales_settings = new googleworkspace.GroupSettings("sales-settings", {
    email: sales.email,
    allowExternalMembers: false,
    whoCanJoin: "INVITED_CAN_JOIN",
    whoCanViewMembership: "ALL_MANAGERS_CAN_VIEW",
    whoCanPostMessage: "ALL_MEMBERS_CAN_POST",
});
Copy
import pulumi
import pulumi_googleworkspace as googleworkspace

sales = googleworkspace.Group("sales", email="sales@example.com")
sales_settings = googleworkspace.GroupSettings("sales-settings",
    email=sales.email,
    allow_external_members=False,
    who_can_join="INVITED_CAN_JOIN",
    who_can_view_membership="ALL_MANAGERS_CAN_VIEW",
    who_can_post_message="ALL_MEMBERS_CAN_POST")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/googleworkspace/googleworkspace"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sales, err := googleworkspace.NewGroup(ctx, "sales", &googleworkspace.GroupArgs{
			Email: pulumi.String("sales@example.com"),
		})
		if err != nil {
			return err
		}
		_, err = googleworkspace.NewGroupSettings(ctx, "sales-settings", &googleworkspace.GroupSettingsArgs{
			Email:                sales.Email,
			AllowExternalMembers: pulumi.Bool(false),
			WhoCanJoin:           pulumi.String("INVITED_CAN_JOIN"),
			WhoCanViewMembership: pulumi.String("ALL_MANAGERS_CAN_VIEW"),
			WhoCanPostMessage:    pulumi.String("ALL_MEMBERS_CAN_POST"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Googleworkspace = Pulumi.Googleworkspace;

return await Deployment.RunAsync(() => 
{
    var sales = new Googleworkspace.Group("sales", new()
    {
        Email = "sales@example.com",
    });

    var sales_settings = new Googleworkspace.GroupSettings("sales-settings", new()
    {
        Email = sales.Email,
        AllowExternalMembers = false,
        WhoCanJoin = "INVITED_CAN_JOIN",
        WhoCanViewMembership = "ALL_MANAGERS_CAN_VIEW",
        WhoCanPostMessage = "ALL_MEMBERS_CAN_POST",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.googleworkspace.Group;
import com.pulumi.googleworkspace.GroupArgs;
import com.pulumi.googleworkspace.GroupSettings;
import com.pulumi.googleworkspace.GroupSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var sales = new Group("sales", GroupArgs.builder()
            .email("sales@example.com")
            .build());

        var sales_settings = new GroupSettings("sales-settings", GroupSettingsArgs.builder()
            .email(sales.email())
            .allowExternalMembers(false)
            .whoCanJoin("INVITED_CAN_JOIN")
            .whoCanViewMembership("ALL_MANAGERS_CAN_VIEW")
            .whoCanPostMessage("ALL_MEMBERS_CAN_POST")
            .build());

    }
}
Copy
resources:
  sales:
    type: googleworkspace:Group
    properties:
      email: sales@example.com
  sales-settings:
    type: googleworkspace:GroupSettings
    properties:
      email: ${sales.email}
      allowExternalMembers: false
      whoCanJoin: INVITED_CAN_JOIN
      whoCanViewMembership: ALL_MANAGERS_CAN_VIEW
      whoCanPostMessage: ALL_MEMBERS_CAN_POST
Copy

Create GroupSettings Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new GroupSettings(name: string, args: GroupSettingsArgs, opts?: CustomResourceOptions);
@overload
def GroupSettings(resource_name: str,
                  args: GroupSettingsArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def GroupSettings(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  email: Optional[str] = None,
                  reply_to: Optional[str] = None,
                  who_can_view_membership: Optional[str] = None,
                  primary_language: Optional[str] = None,
                  custom_reply_to: Optional[str] = None,
                  default_message_deny_notification_text: Optional[str] = None,
                  allow_web_posting: Optional[bool] = None,
                  enable_collaborative_inbox: Optional[bool] = None,
                  include_custom_footer: Optional[bool] = None,
                  include_in_global_address_list: Optional[bool] = None,
                  is_archived: Optional[bool] = None,
                  members_can_post_as_the_group: Optional[bool] = None,
                  message_moderation_level: Optional[str] = None,
                  custom_footer_text: Optional[str] = None,
                  archive_only: Optional[bool] = None,
                  who_can_leave_group: Optional[str] = None,
                  spam_moderation_level: Optional[str] = None,
                  timeouts: Optional[GroupSettingsTimeoutsArgs] = None,
                  who_can_assist_content: Optional[str] = None,
                  who_can_contact_owner: Optional[str] = None,
                  who_can_discover_group: Optional[str] = None,
                  who_can_join: Optional[str] = None,
                  send_message_deny_notification: Optional[bool] = None,
                  who_can_moderate_content: Optional[str] = None,
                  who_can_moderate_members: Optional[str] = None,
                  who_can_post_message: Optional[str] = None,
                  who_can_view_group: Optional[str] = None,
                  allow_external_members: Optional[bool] = None)
func NewGroupSettings(ctx *Context, name string, args GroupSettingsArgs, opts ...ResourceOption) (*GroupSettings, error)
public GroupSettings(string name, GroupSettingsArgs args, CustomResourceOptions? opts = null)
public GroupSettings(String name, GroupSettingsArgs args)
public GroupSettings(String name, GroupSettingsArgs args, CustomResourceOptions options)
type: googleworkspace:GroupSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. GroupSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. GroupSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. GroupSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GroupSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GroupSettingsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var groupSettingsResource = new Googleworkspace.GroupSettings("groupSettingsResource", new()
{
    Email = "string",
    ReplyTo = "string",
    WhoCanViewMembership = "string",
    PrimaryLanguage = "string",
    CustomReplyTo = "string",
    DefaultMessageDenyNotificationText = "string",
    AllowWebPosting = false,
    EnableCollaborativeInbox = false,
    IncludeCustomFooter = false,
    IncludeInGlobalAddressList = false,
    IsArchived = false,
    MembersCanPostAsTheGroup = false,
    MessageModerationLevel = "string",
    CustomFooterText = "string",
    ArchiveOnly = false,
    WhoCanLeaveGroup = "string",
    SpamModerationLevel = "string",
    Timeouts = new Googleworkspace.Inputs.GroupSettingsTimeoutsArgs
    {
        Create = "string",
        Update = "string",
    },
    WhoCanAssistContent = "string",
    WhoCanContactOwner = "string",
    WhoCanDiscoverGroup = "string",
    WhoCanJoin = "string",
    SendMessageDenyNotification = false,
    WhoCanModerateContent = "string",
    WhoCanModerateMembers = "string",
    WhoCanPostMessage = "string",
    WhoCanViewGroup = "string",
    AllowExternalMembers = false,
});
Copy
example, err := googleworkspace.NewGroupSettings(ctx, "groupSettingsResource", &googleworkspace.GroupSettingsArgs{
Email: pulumi.String("string"),
ReplyTo: pulumi.String("string"),
WhoCanViewMembership: pulumi.String("string"),
PrimaryLanguage: pulumi.String("string"),
CustomReplyTo: pulumi.String("string"),
DefaultMessageDenyNotificationText: pulumi.String("string"),
AllowWebPosting: pulumi.Bool(false),
EnableCollaborativeInbox: pulumi.Bool(false),
IncludeCustomFooter: pulumi.Bool(false),
IncludeInGlobalAddressList: pulumi.Bool(false),
IsArchived: pulumi.Bool(false),
MembersCanPostAsTheGroup: pulumi.Bool(false),
MessageModerationLevel: pulumi.String("string"),
CustomFooterText: pulumi.String("string"),
ArchiveOnly: pulumi.Bool(false),
WhoCanLeaveGroup: pulumi.String("string"),
SpamModerationLevel: pulumi.String("string"),
Timeouts: &.GroupSettingsTimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
WhoCanAssistContent: pulumi.String("string"),
WhoCanContactOwner: pulumi.String("string"),
WhoCanDiscoverGroup: pulumi.String("string"),
WhoCanJoin: pulumi.String("string"),
SendMessageDenyNotification: pulumi.Bool(false),
WhoCanModerateContent: pulumi.String("string"),
WhoCanModerateMembers: pulumi.String("string"),
WhoCanPostMessage: pulumi.String("string"),
WhoCanViewGroup: pulumi.String("string"),
AllowExternalMembers: pulumi.Bool(false),
})
Copy
var groupSettingsResource = new GroupSettings("groupSettingsResource", GroupSettingsArgs.builder()
    .email("string")
    .replyTo("string")
    .whoCanViewMembership("string")
    .primaryLanguage("string")
    .customReplyTo("string")
    .defaultMessageDenyNotificationText("string")
    .allowWebPosting(false)
    .enableCollaborativeInbox(false)
    .includeCustomFooter(false)
    .includeInGlobalAddressList(false)
    .isArchived(false)
    .membersCanPostAsTheGroup(false)
    .messageModerationLevel("string")
    .customFooterText("string")
    .archiveOnly(false)
    .whoCanLeaveGroup("string")
    .spamModerationLevel("string")
    .timeouts(GroupSettingsTimeoutsArgs.builder()
        .create("string")
        .update("string")
        .build())
    .whoCanAssistContent("string")
    .whoCanContactOwner("string")
    .whoCanDiscoverGroup("string")
    .whoCanJoin("string")
    .sendMessageDenyNotification(false)
    .whoCanModerateContent("string")
    .whoCanModerateMembers("string")
    .whoCanPostMessage("string")
    .whoCanViewGroup("string")
    .allowExternalMembers(false)
    .build());
Copy
group_settings_resource = googleworkspace.GroupSettings("groupSettingsResource",
    email="string",
    reply_to="string",
    who_can_view_membership="string",
    primary_language="string",
    custom_reply_to="string",
    default_message_deny_notification_text="string",
    allow_web_posting=False,
    enable_collaborative_inbox=False,
    include_custom_footer=False,
    include_in_global_address_list=False,
    is_archived=False,
    members_can_post_as_the_group=False,
    message_moderation_level="string",
    custom_footer_text="string",
    archive_only=False,
    who_can_leave_group="string",
    spam_moderation_level="string",
    timeouts={
        "create": "string",
        "update": "string",
    },
    who_can_assist_content="string",
    who_can_contact_owner="string",
    who_can_discover_group="string",
    who_can_join="string",
    send_message_deny_notification=False,
    who_can_moderate_content="string",
    who_can_moderate_members="string",
    who_can_post_message="string",
    who_can_view_group="string",
    allow_external_members=False)
Copy
const groupSettingsResource = new googleworkspace.GroupSettings("groupSettingsResource", {
    email: "string",
    replyTo: "string",
    whoCanViewMembership: "string",
    primaryLanguage: "string",
    customReplyTo: "string",
    defaultMessageDenyNotificationText: "string",
    allowWebPosting: false,
    enableCollaborativeInbox: false,
    includeCustomFooter: false,
    includeInGlobalAddressList: false,
    isArchived: false,
    membersCanPostAsTheGroup: false,
    messageModerationLevel: "string",
    customFooterText: "string",
    archiveOnly: false,
    whoCanLeaveGroup: "string",
    spamModerationLevel: "string",
    timeouts: {
        create: "string",
        update: "string",
    },
    whoCanAssistContent: "string",
    whoCanContactOwner: "string",
    whoCanDiscoverGroup: "string",
    whoCanJoin: "string",
    sendMessageDenyNotification: false,
    whoCanModerateContent: "string",
    whoCanModerateMembers: "string",
    whoCanPostMessage: "string",
    whoCanViewGroup: "string",
    allowExternalMembers: false,
});
Copy
type: googleworkspace:GroupSettings
properties:
    allowExternalMembers: false
    allowWebPosting: false
    archiveOnly: false
    customFooterText: string
    customReplyTo: string
    defaultMessageDenyNotificationText: string
    email: string
    enableCollaborativeInbox: false
    includeCustomFooter: false
    includeInGlobalAddressList: false
    isArchived: false
    membersCanPostAsTheGroup: false
    messageModerationLevel: string
    primaryLanguage: string
    replyTo: string
    sendMessageDenyNotification: false
    spamModerationLevel: string
    timeouts:
        create: string
        update: string
    whoCanAssistContent: string
    whoCanContactOwner: string
    whoCanDiscoverGroup: string
    whoCanJoin: string
    whoCanLeaveGroup: string
    whoCanModerateContent: string
    whoCanModerateMembers: string
    whoCanPostMessage: string
    whoCanViewGroup: string
    whoCanViewMembership: string
Copy

GroupSettings Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The GroupSettings resource accepts the following input properties:

Email This property is required. string
The group's email address.
AllowExternalMembers bool
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
AllowWebPosting bool
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
ArchiveOnly bool
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
CustomFooterText string
Set the content of custom footer text. The maximum number of characters is 1,000.
CustomReplyTo string
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
DefaultMessageDenyNotificationText string
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
EnableCollaborativeInbox bool
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
IncludeCustomFooter bool
Defaults to false. Whether to include custom footer.
IncludeInGlobalAddressList bool
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
IsArchived bool
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
MembersCanPostAsTheGroup bool
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
MessageModerationLevel string
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
PrimaryLanguage string
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
ReplyTo string
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
SendMessageDenyNotification bool
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
SpamModerationLevel string
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
Timeouts GroupSettingsTimeouts
WhoCanAssistContent string
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
WhoCanContactOwner string
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
WhoCanDiscoverGroup string
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
WhoCanJoin string
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
WhoCanLeaveGroup string
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
WhoCanModerateContent string
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
WhoCanModerateMembers string
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
WhoCanPostMessage string
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
WhoCanViewGroup string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
WhoCanViewMembership string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
Email This property is required. string
The group's email address.
AllowExternalMembers bool
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
AllowWebPosting bool
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
ArchiveOnly bool
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
CustomFooterText string
Set the content of custom footer text. The maximum number of characters is 1,000.
CustomReplyTo string
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
DefaultMessageDenyNotificationText string
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
EnableCollaborativeInbox bool
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
IncludeCustomFooter bool
Defaults to false. Whether to include custom footer.
IncludeInGlobalAddressList bool
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
IsArchived bool
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
MembersCanPostAsTheGroup bool
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
MessageModerationLevel string
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
PrimaryLanguage string
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
ReplyTo string
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
SendMessageDenyNotification bool
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
SpamModerationLevel string
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
Timeouts GroupSettingsTimeoutsArgs
WhoCanAssistContent string
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
WhoCanContactOwner string
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
WhoCanDiscoverGroup string
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
WhoCanJoin string
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
WhoCanLeaveGroup string
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
WhoCanModerateContent string
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
WhoCanModerateMembers string
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
WhoCanPostMessage string
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
WhoCanViewGroup string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
WhoCanViewMembership string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
email This property is required. String
The group's email address.
allowExternalMembers Boolean
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
allowWebPosting Boolean
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
archiveOnly Boolean
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
customFooterText String
Set the content of custom footer text. The maximum number of characters is 1,000.
customReplyTo String
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
defaultMessageDenyNotificationText String
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
enableCollaborativeInbox Boolean
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
includeCustomFooter Boolean
Defaults to false. Whether to include custom footer.
includeInGlobalAddressList Boolean
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
isArchived Boolean
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
membersCanPostAsTheGroup Boolean
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
messageModerationLevel String
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
primaryLanguage String
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
replyTo String
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
sendMessageDenyNotification Boolean
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
spamModerationLevel String
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
timeouts GroupSettingsTimeouts
whoCanAssistContent String
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
whoCanContactOwner String
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
whoCanDiscoverGroup String
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
whoCanJoin String
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
whoCanLeaveGroup String
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
whoCanModerateContent String
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanModerateMembers String
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanPostMessage String
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
whoCanViewGroup String
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
whoCanViewMembership String
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
email This property is required. string
The group's email address.
allowExternalMembers boolean
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
allowWebPosting boolean
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
archiveOnly boolean
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
customFooterText string
Set the content of custom footer text. The maximum number of characters is 1,000.
customReplyTo string
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
defaultMessageDenyNotificationText string
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
enableCollaborativeInbox boolean
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
includeCustomFooter boolean
Defaults to false. Whether to include custom footer.
includeInGlobalAddressList boolean
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
isArchived boolean
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
membersCanPostAsTheGroup boolean
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
messageModerationLevel string
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
primaryLanguage string
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
replyTo string
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
sendMessageDenyNotification boolean
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
spamModerationLevel string
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
timeouts GroupSettingsTimeouts
whoCanAssistContent string
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
whoCanContactOwner string
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
whoCanDiscoverGroup string
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
whoCanJoin string
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
whoCanLeaveGroup string
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
whoCanModerateContent string
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanModerateMembers string
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanPostMessage string
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
whoCanViewGroup string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
whoCanViewMembership string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
email This property is required. str
The group's email address.
allow_external_members bool
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
allow_web_posting bool
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
archive_only bool
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
custom_footer_text str
Set the content of custom footer text. The maximum number of characters is 1,000.
custom_reply_to str
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
default_message_deny_notification_text str
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
enable_collaborative_inbox bool
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
include_custom_footer bool
Defaults to false. Whether to include custom footer.
include_in_global_address_list bool
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
is_archived bool
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
members_can_post_as_the_group bool
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
message_moderation_level str
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
primary_language str
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
reply_to str
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
send_message_deny_notification bool
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
spam_moderation_level str
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
timeouts GroupSettingsTimeoutsArgs
who_can_assist_content str
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
who_can_contact_owner str
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
who_can_discover_group str
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
who_can_join str
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
who_can_leave_group str
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
who_can_moderate_content str
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
who_can_moderate_members str
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
who_can_post_message str
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
who_can_view_group str
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
who_can_view_membership str
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
email This property is required. String
The group's email address.
allowExternalMembers Boolean
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
allowWebPosting Boolean
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
archiveOnly Boolean
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
customFooterText String
Set the content of custom footer text. The maximum number of characters is 1,000.
customReplyTo String
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
defaultMessageDenyNotificationText String
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
enableCollaborativeInbox Boolean
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
includeCustomFooter Boolean
Defaults to false. Whether to include custom footer.
includeInGlobalAddressList Boolean
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
isArchived Boolean
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
membersCanPostAsTheGroup Boolean
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
messageModerationLevel String
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
primaryLanguage String
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
replyTo String
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
sendMessageDenyNotification Boolean
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
spamModerationLevel String
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
timeouts Property Map
whoCanAssistContent String
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
whoCanContactOwner String
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
whoCanDiscoverGroup String
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
whoCanJoin String
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
whoCanLeaveGroup String
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
whoCanModerateContent String
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanModerateMembers String
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanPostMessage String
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
whoCanViewGroup String
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
whoCanViewMembership String
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.

Outputs

All input properties are implicitly available as output properties. Additionally, the GroupSettings resource produces the following output properties:

CustomRolesEnabledForSettingsToBeMerged bool
Specifies whether the group has a custom role that's included in one of the settings being merged.
Description string
Description of the group. The maximum group description is no more than 300 characters.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the group, which has a maximum size of 75 characters.
CustomRolesEnabledForSettingsToBeMerged bool
Specifies whether the group has a custom role that's included in one of the settings being merged.
Description string
Description of the group. The maximum group description is no more than 300 characters.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the group, which has a maximum size of 75 characters.
customRolesEnabledForSettingsToBeMerged Boolean
Specifies whether the group has a custom role that's included in one of the settings being merged.
description String
Description of the group. The maximum group description is no more than 300 characters.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the group, which has a maximum size of 75 characters.
customRolesEnabledForSettingsToBeMerged boolean
Specifies whether the group has a custom role that's included in one of the settings being merged.
description string
Description of the group. The maximum group description is no more than 300 characters.
id string
The provider-assigned unique ID for this managed resource.
name string
Name of the group, which has a maximum size of 75 characters.
custom_roles_enabled_for_settings_to_be_merged bool
Specifies whether the group has a custom role that's included in one of the settings being merged.
description str
Description of the group. The maximum group description is no more than 300 characters.
id str
The provider-assigned unique ID for this managed resource.
name str
Name of the group, which has a maximum size of 75 characters.
customRolesEnabledForSettingsToBeMerged Boolean
Specifies whether the group has a custom role that's included in one of the settings being merged.
description String
Description of the group. The maximum group description is no more than 300 characters.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the group, which has a maximum size of 75 characters.

Look up Existing GroupSettings Resource

Get an existing GroupSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: GroupSettingsState, opts?: CustomResourceOptions): GroupSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_external_members: Optional[bool] = None,
        allow_web_posting: Optional[bool] = None,
        archive_only: Optional[bool] = None,
        custom_footer_text: Optional[str] = None,
        custom_reply_to: Optional[str] = None,
        custom_roles_enabled_for_settings_to_be_merged: Optional[bool] = None,
        default_message_deny_notification_text: Optional[str] = None,
        description: Optional[str] = None,
        email: Optional[str] = None,
        enable_collaborative_inbox: Optional[bool] = None,
        include_custom_footer: Optional[bool] = None,
        include_in_global_address_list: Optional[bool] = None,
        is_archived: Optional[bool] = None,
        members_can_post_as_the_group: Optional[bool] = None,
        message_moderation_level: Optional[str] = None,
        name: Optional[str] = None,
        primary_language: Optional[str] = None,
        reply_to: Optional[str] = None,
        send_message_deny_notification: Optional[bool] = None,
        spam_moderation_level: Optional[str] = None,
        timeouts: Optional[GroupSettingsTimeoutsArgs] = None,
        who_can_assist_content: Optional[str] = None,
        who_can_contact_owner: Optional[str] = None,
        who_can_discover_group: Optional[str] = None,
        who_can_join: Optional[str] = None,
        who_can_leave_group: Optional[str] = None,
        who_can_moderate_content: Optional[str] = None,
        who_can_moderate_members: Optional[str] = None,
        who_can_post_message: Optional[str] = None,
        who_can_view_group: Optional[str] = None,
        who_can_view_membership: Optional[str] = None) -> GroupSettings
func GetGroupSettings(ctx *Context, name string, id IDInput, state *GroupSettingsState, opts ...ResourceOption) (*GroupSettings, error)
public static GroupSettings Get(string name, Input<string> id, GroupSettingsState? state, CustomResourceOptions? opts = null)
public static GroupSettings get(String name, Output<String> id, GroupSettingsState state, CustomResourceOptions options)
resources:  _:    type: googleworkspace:GroupSettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AllowExternalMembers bool
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
AllowWebPosting bool
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
ArchiveOnly bool
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
CustomFooterText string
Set the content of custom footer text. The maximum number of characters is 1,000.
CustomReplyTo string
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
CustomRolesEnabledForSettingsToBeMerged bool
Specifies whether the group has a custom role that's included in one of the settings being merged.
DefaultMessageDenyNotificationText string
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
Description string
Description of the group. The maximum group description is no more than 300 characters.
Email string
The group's email address.
EnableCollaborativeInbox bool
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
IncludeCustomFooter bool
Defaults to false. Whether to include custom footer.
IncludeInGlobalAddressList bool
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
IsArchived bool
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
MembersCanPostAsTheGroup bool
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
MessageModerationLevel string
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
Name string
Name of the group, which has a maximum size of 75 characters.
PrimaryLanguage string
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
ReplyTo string
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
SendMessageDenyNotification bool
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
SpamModerationLevel string
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
Timeouts GroupSettingsTimeouts
WhoCanAssistContent string
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
WhoCanContactOwner string
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
WhoCanDiscoverGroup string
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
WhoCanJoin string
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
WhoCanLeaveGroup string
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
WhoCanModerateContent string
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
WhoCanModerateMembers string
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
WhoCanPostMessage string
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
WhoCanViewGroup string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
WhoCanViewMembership string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
AllowExternalMembers bool
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
AllowWebPosting bool
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
ArchiveOnly bool
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
CustomFooterText string
Set the content of custom footer text. The maximum number of characters is 1,000.
CustomReplyTo string
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
CustomRolesEnabledForSettingsToBeMerged bool
Specifies whether the group has a custom role that's included in one of the settings being merged.
DefaultMessageDenyNotificationText string
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
Description string
Description of the group. The maximum group description is no more than 300 characters.
Email string
The group's email address.
EnableCollaborativeInbox bool
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
IncludeCustomFooter bool
Defaults to false. Whether to include custom footer.
IncludeInGlobalAddressList bool
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
IsArchived bool
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
MembersCanPostAsTheGroup bool
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
MessageModerationLevel string
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
Name string
Name of the group, which has a maximum size of 75 characters.
PrimaryLanguage string
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
ReplyTo string
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
SendMessageDenyNotification bool
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
SpamModerationLevel string
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
Timeouts GroupSettingsTimeoutsArgs
WhoCanAssistContent string
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
WhoCanContactOwner string
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
WhoCanDiscoverGroup string
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
WhoCanJoin string
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
WhoCanLeaveGroup string
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
WhoCanModerateContent string
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
WhoCanModerateMembers string
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
WhoCanPostMessage string
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
WhoCanViewGroup string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
WhoCanViewMembership string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
allowExternalMembers Boolean
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
allowWebPosting Boolean
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
archiveOnly Boolean
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
customFooterText String
Set the content of custom footer text. The maximum number of characters is 1,000.
customReplyTo String
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
customRolesEnabledForSettingsToBeMerged Boolean
Specifies whether the group has a custom role that's included in one of the settings being merged.
defaultMessageDenyNotificationText String
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
description String
Description of the group. The maximum group description is no more than 300 characters.
email String
The group's email address.
enableCollaborativeInbox Boolean
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
includeCustomFooter Boolean
Defaults to false. Whether to include custom footer.
includeInGlobalAddressList Boolean
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
isArchived Boolean
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
membersCanPostAsTheGroup Boolean
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
messageModerationLevel String
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
name String
Name of the group, which has a maximum size of 75 characters.
primaryLanguage String
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
replyTo String
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
sendMessageDenyNotification Boolean
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
spamModerationLevel String
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
timeouts GroupSettingsTimeouts
whoCanAssistContent String
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
whoCanContactOwner String
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
whoCanDiscoverGroup String
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
whoCanJoin String
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
whoCanLeaveGroup String
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
whoCanModerateContent String
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanModerateMembers String
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanPostMessage String
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
whoCanViewGroup String
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
whoCanViewMembership String
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
allowExternalMembers boolean
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
allowWebPosting boolean
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
archiveOnly boolean
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
customFooterText string
Set the content of custom footer text. The maximum number of characters is 1,000.
customReplyTo string
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
customRolesEnabledForSettingsToBeMerged boolean
Specifies whether the group has a custom role that's included in one of the settings being merged.
defaultMessageDenyNotificationText string
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
description string
Description of the group. The maximum group description is no more than 300 characters.
email string
The group's email address.
enableCollaborativeInbox boolean
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
includeCustomFooter boolean
Defaults to false. Whether to include custom footer.
includeInGlobalAddressList boolean
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
isArchived boolean
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
membersCanPostAsTheGroup boolean
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
messageModerationLevel string
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
name string
Name of the group, which has a maximum size of 75 characters.
primaryLanguage string
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
replyTo string
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
sendMessageDenyNotification boolean
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
spamModerationLevel string
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
timeouts GroupSettingsTimeouts
whoCanAssistContent string
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
whoCanContactOwner string
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
whoCanDiscoverGroup string
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
whoCanJoin string
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
whoCanLeaveGroup string
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
whoCanModerateContent string
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanModerateMembers string
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanPostMessage string
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
whoCanViewGroup string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
whoCanViewMembership string
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
allow_external_members bool
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
allow_web_posting bool
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
archive_only bool
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
custom_footer_text str
Set the content of custom footer text. The maximum number of characters is 1,000.
custom_reply_to str
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
custom_roles_enabled_for_settings_to_be_merged bool
Specifies whether the group has a custom role that's included in one of the settings being merged.
default_message_deny_notification_text str
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
description str
Description of the group. The maximum group description is no more than 300 characters.
email str
The group's email address.
enable_collaborative_inbox bool
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
include_custom_footer bool
Defaults to false. Whether to include custom footer.
include_in_global_address_list bool
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
is_archived bool
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
members_can_post_as_the_group bool
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
message_moderation_level str
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
name str
Name of the group, which has a maximum size of 75 characters.
primary_language str
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
reply_to str
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
send_message_deny_notification bool
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
spam_moderation_level str
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
timeouts GroupSettingsTimeoutsArgs
who_can_assist_content str
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
who_can_contact_owner str
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
who_can_discover_group str
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
who_can_join str
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
who_can_leave_group str
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
who_can_moderate_content str
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
who_can_moderate_members str
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
who_can_post_message str
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
who_can_view_group str
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
who_can_view_membership str
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.
allowExternalMembers Boolean
Defaults to false. Identifies whether members external to your organization can join the group. If true, Google Workspace users external to your organization can become members of this group. If false, users not belonging to the organization are not allowed to become members of this group.
allowWebPosting Boolean
Defaults to true. Allows posting from web. If true, allows any member to post to the group forum. If false, Members only use Gmail to communicate with the group.
archiveOnly Boolean
Defaults to false. Allows the group to be archived only. If true, Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browsable and searchable. If true, the who_can_post_message property is set to NONE_CAN_POST. If reverted from true to false, who_can_post_message is set to ALL_MANAGERS_CAN_POST. If false, The group is active and can receive messages. When false, updating who_can_post_message to NONE_CAN_POST, results in an error.
customFooterText String
Set the content of custom footer text. The maximum number of characters is 1,000.
customReplyTo String
An email address used when replying to a message if the reply_to property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator. When the group's reply_to property is set to REPLY_TO_CUSTOM, the custom_reply_to property holds a custom email address used when replying to a message, the custom_reply_to property must have a text value or an error is returned.
customRolesEnabledForSettingsToBeMerged Boolean
Specifies whether the group has a custom role that's included in one of the settings being merged.
defaultMessageDenyNotificationText String
When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Requires send_message_deny_notification property to be true.
description String
Description of the group. The maximum group description is no more than 300 characters.
email String
The group's email address.
enableCollaborativeInbox Boolean
Defaults to false. Specifies whether a collaborative inbox will remain turned on for the group.
includeCustomFooter Boolean
Defaults to false. Whether to include custom footer.
includeInGlobalAddressList Boolean
Defaults to true. Enables the group to be included in the Global Address List. If true, the group is included in the Global Address List. If false, it is not included in the Global Address List.
isArchived Boolean
Defaults to false. Allows the Group contents to be archived. If true, archive messages sent to the group. If false, Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
membersCanPostAsTheGroup Boolean
Defaults to false. Enables members to post messages as the group. If true, group member can post messages using the group's email address instead of their own email address. Message appear to originate from the group itself. Any message moderation settings on individual users or new members do not apply to posts made on behalf of the group. If false, members can not post in behalf of the group's email address.
messageModerationLevel String
Defaults to MODERATE_NONE. Moderation level of incoming messages. Possible values are: - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group. - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the who_can_post_message is set to ANYONE_CAN_POST, we recommend the message_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam.When member_can_post_as_the_group is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
name String
Name of the group, which has a maximum size of 75 characters.
primaryLanguage String
The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
replyTo String
Defaults to REPLY_TO_IGNORE. Specifies who receives the default reply. Possible values are: - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address. When set to REPLY_TO_CUSTOM, the custom_reply_to property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned. - REPLY_TO_SENDER: The reply sent to author of message. - REPLY_TO_LIST: This reply message is sent to the group. - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers. - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent. - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
sendMessageDenyNotification Boolean
Defaults to false. Allows a member to be notified if the member's message to the group is denied by the group owner. If true, when a message is rejected, send the deny message notification to the message author. The default_message_deny_notification_text property is dependent on the send_message_deny_notification property being true. If false, when a message is rejected, no notification is sent.
spamModerationLevel String
Defaults to MODERATE. Specifies moderation levels for messages detected as spam. Possible values are: - ALLOW: Post the message to the group. - MODERATE: Send the message to the moderation queue. This is the default. - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators. - REJECT: Immediately reject the message.
timeouts Property Map
whoCanAssistContent String
Defaults to NONE. Specifies who can moderate metadata. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - MANAGERS_ONLY - OWNERS_ONLY - NONE
whoCanContactOwner String
Defaults to ANYONE_CAN_CONTACT. Permission to contact owner of the group via web UI. Possible values are: - ALL_IN_DOMAIN_CAN_CONTACT - ALL_MANAGERS_CAN_CONTACT - ALL_MEMBERS_CAN_CONTACT - ANYONE_CAN_CONTACT - ALL_OWNERS_CAN_CONTACT
whoCanDiscoverGroup String
Defaults to ALL_IN_DOMAIN_CAN_DISCOVER. Specifies the set of users for whom this group is discoverable. Possible values are: - ANYONE_CAN_DISCOVER - ALL_IN_DOMAIN_CAN_DISCOVER - ALL_MEMBERS_CAN_DISCOVER
whoCanJoin String
Defaults to CAN_REQUEST_TO_JOIN. Permission to join group. Possible values are: - ANYONE_CAN_JOIN: Any Internet user, both inside and outside your domain, can join the group. - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains. - INVITED_CAN_JOIN: Candidates for membership can be invited to join. - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
whoCanLeaveGroup String
Defaults to ALL_MEMBERS_CAN_LEAVE. Permission to leave the group. Possible values are: - ALL_MANAGERS_CAN_LEAVE - ALL_MEMBERS_CAN_LEAVE - NONE_CAN_LEAVE
whoCanModerateContent String
Defaults to OWNERS_AND_MANAGERS. Specifies who can moderate content. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanModerateMembers String
Defaults to OWNERS_AND_MANAGERS. Specifies who can manage members. Possible values are: - ALL_MEMBERS - OWNERS_AND_MANAGERS - OWNERS_ONLY - NONE
whoCanPostMessage String
Permissions to post messages. Possible values are: - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group. * When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error. * If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST. - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages. - ALL_MEMBERS_CAN_POST: Any group member can post a message. - ALL_OWNERS_CAN_POST: Only group owners can post a message. - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message. - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. *Note: When who_can_post_message is set to ANYONE_CAN_POST, we recommend themessage_moderation_level be set to MODERATE_NON_MEMBERS to protect the group from possible spam. Users not belonging to the organization are not allowed to become members of this group.
whoCanViewGroup String
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view group messages. Possible values are: - ANYONE_CAN_VIEW: Any Internet user can view the group's messages. - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages. - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages. - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages. - ALL_OWNERS_CAN_VIEW: The group owners can view this group's messages.
whoCanViewMembership String
Defaults to ALL_MEMBERS_CAN_VIEW. Permissions to view membership. Possible values are: - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list. If a group already has external members, those members can still send email to this group. - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list. - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list. - ALL_OWNERS_CAN_VIEW: The group owners can view group members list.

Supporting Types

GroupSettingsTimeouts
, GroupSettingsTimeoutsArgs

Create string
Update string
Create string
Update string
create String
update String
create string
update string
create str
update str
create String
update String

Import

$ pulumi import googleworkspace:index/groupSettings:GroupSettings sales-settings sales@example.com
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
googleworkspace hashicorp/terraform-provider-googleworkspace
License
Notes
This Pulumi package is based on the googleworkspace Terraform Provider.