class Google::Apis::GroupssettingsV1::Groups

JSON template for Group resource

Attributes

allow_external_members[RW]

Are external members allowed to join the group. Corresponds to the JSON property `allowExternalMembers` @return [String]

allow_google_communication[RW]

Is google allowed to contact admins. Corresponds to the JSON property `allowGoogleCommunication` @return [String]

allow_web_posting[RW]

If posting from web is allowed. Corresponds to the JSON property `allowWebPosting` @return [String]

archive_only[RW]

If the group is archive only Corresponds to the JSON property `archiveOnly` @return [String]

custom_reply_to[RW]

Default email to which reply to any message should go. Corresponds to the JSON property `customReplyTo` @return [String]

default_message_deny_notification_text[RW]

Default message deny notification message Corresponds to the JSON property `defaultMessageDenyNotificationText` @return [String]

description[RW]

Description of the group Corresponds to the JSON property `description` @return [String]

email[RW]

Email id of the group Corresponds to the JSON property `email` @return [String]

include_in_global_address_list[RW]

If this groups should be included in global address list or not. Corresponds to the JSON property `includeInGlobalAddressList` @return [String]

is_archived[RW]

If the contents of the group are archived. Corresponds to the JSON property `isArchived` @return [String]

kind[RW]

The type of the resource. Corresponds to the JSON property `kind` @return [String]

max_message_bytes[RW]

Maximum message size allowed. Corresponds to the JSON property `maxMessageBytes` @return [Fixnum]

members_can_post_as_the_group[RW]

Can members post using the group email address. Corresponds to the JSON property `membersCanPostAsTheGroup` @return [String]

message_display_font[RW]

Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT Corresponds to the JSON property `messageDisplayFont` @return [String]

message_moderation_level[RW]

Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE Corresponds to the JSON property `messageModerationLevel` @return [String]

name[RW]

Name of the Group Corresponds to the JSON property `name` @return [String]

primary_language[RW]

Primary language for the group. Corresponds to the JSON property `primaryLanguage` @return [String]

reply_to[RW]

Whome should the default reply to a message go to. Possible values are: REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER REPLY_TO_IGNORE REPLY_TO_MANAGERS Corresponds to the JSON property `replyTo` @return [String]

send_message_deny_notification[RW]

Should the member be notified if his message is denied by owner. Corresponds to the JSON property `sendMessageDenyNotification` @return [String]

show_in_group_directory[RW]

Is the group listed in groups directory Corresponds to the JSON property `showInGroupDirectory` @return [String]

spam_moderation_level[RW]

Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT Corresponds to the JSON property `spamModerationLevel` @return [String]

who_can_add[RW]

Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD Corresponds to the JSON property `whoCanAdd` @return [String]

who_can_contact_owner[RW]

Permission to contact owner of the group via web UI. Possible values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT ALL_MANAGERS_CAN_CONTACT Corresponds to the JSON property `whoCanContactOwner` @return [String]

who_can_invite[RW]

Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE Corresponds to the JSON property `whoCanInvite` @return [String]

who_can_join[RW]

Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN Corresponds to the JSON property `whoCanJoin` @return [String]

who_can_leave_group[RW]

Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE Corresponds to the JSON property `whoCanLeaveGroup` @return [String]

who_can_post_message[RW]

Permissions to post messages to the group. Possible values are: NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST Corresponds to the JSON property `whoCanPostMessage` @return [String]

who_can_view_group[RW]

Permissions to view group. Possible values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW Corresponds to the JSON property `whoCanViewGroup` @return [String]

who_can_view_membership[RW]

Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW Corresponds to the JSON property `whoCanViewMembership` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/groupssettings_v1/classes.rb, line 189
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/groupssettings_v1/classes.rb, line 194
def update!(**args)
  @allow_external_members = args[:allow_external_members] if args.key?(:allow_external_members)
  @allow_google_communication = args[:allow_google_communication] if args.key?(:allow_google_communication)
  @allow_web_posting = args[:allow_web_posting] if args.key?(:allow_web_posting)
  @archive_only = args[:archive_only] if args.key?(:archive_only)
  @custom_reply_to = args[:custom_reply_to] if args.key?(:custom_reply_to)
  @default_message_deny_notification_text = args[:default_message_deny_notification_text] if args.key?(:default_message_deny_notification_text)
  @description = args[:description] if args.key?(:description)
  @email = args[:email] if args.key?(:email)
  @include_in_global_address_list = args[:include_in_global_address_list] if args.key?(:include_in_global_address_list)
  @is_archived = args[:is_archived] if args.key?(:is_archived)
  @kind = args[:kind] if args.key?(:kind)
  @max_message_bytes = args[:max_message_bytes] if args.key?(:max_message_bytes)
  @members_can_post_as_the_group = args[:members_can_post_as_the_group] if args.key?(:members_can_post_as_the_group)
  @message_display_font = args[:message_display_font] if args.key?(:message_display_font)
  @message_moderation_level = args[:message_moderation_level] if args.key?(:message_moderation_level)
  @name = args[:name] if args.key?(:name)
  @primary_language = args[:primary_language] if args.key?(:primary_language)
  @reply_to = args[:reply_to] if args.key?(:reply_to)
  @send_message_deny_notification = args[:send_message_deny_notification] if args.key?(:send_message_deny_notification)
  @show_in_group_directory = args[:show_in_group_directory] if args.key?(:show_in_group_directory)
  @spam_moderation_level = args[:spam_moderation_level] if args.key?(:spam_moderation_level)
  @who_can_add = args[:who_can_add] if args.key?(:who_can_add)
  @who_can_contact_owner = args[:who_can_contact_owner] if args.key?(:who_can_contact_owner)
  @who_can_invite = args[:who_can_invite] if args.key?(:who_can_invite)
  @who_can_join = args[:who_can_join] if args.key?(:who_can_join)
  @who_can_leave_group = args[:who_can_leave_group] if args.key?(:who_can_leave_group)
  @who_can_post_message = args[:who_can_post_message] if args.key?(:who_can_post_message)
  @who_can_view_group = args[:who_can_view_group] if args.key?(:who_can_view_group)
  @who_can_view_membership = args[:who_can_view_membership] if args.key?(:who_can_view_membership)
end