Class: Google::Apis::GroupssettingsV1::Groups
- Inherits:
-
Object
- Object
- Google::Apis::GroupssettingsV1::Groups
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/groupssettings_v1/classes.rb,
generated/google/apis/groupssettings_v1/representations.rb,
generated/google/apis/groupssettings_v1/representations.rb
Overview
JSON template for Group resource
Instance Attribute Summary collapse
-
#allow_external_members ⇒ String
Are external members allowed to join the group.
-
#allow_google_communication ⇒ String
Is google allowed to contact admins.
-
#allow_web_posting ⇒ String
If posting from web is allowed.
-
#archive_only ⇒ String
If the group is archive only Corresponds to the JSON property
archiveOnly
. -
#custom_footer_text ⇒ String
Custom footer text.
-
#custom_reply_to ⇒ String
Default email to which reply to any message should go.
-
#default_message_deny_notification_text ⇒ String
Default message deny notification message Corresponds to the JSON property
defaultMessageDenyNotificationText
. -
#description ⇒ String
Description of the group Corresponds to the JSON property
description
. -
#email ⇒ String
Email id of the group Corresponds to the JSON property
email
. -
#favorite_replies_on_top ⇒ String
If favorite replies should be displayed above other replies.
-
#include_custom_footer ⇒ String
Whether to include custom footer.
-
#include_in_global_address_list ⇒ String
If this groups should be included in global address list or not.
-
#is_archived ⇒ String
If the contents of the group are archived.
-
#kind ⇒ String
The type of the resource.
-
#max_message_bytes ⇒ Fixnum
Maximum message size allowed.
-
#members_can_post_as_the_group ⇒ String
Can members post using the group email address.
-
#message_display_font ⇒ String
Default message display font.
-
#message_moderation_level ⇒ String
Moderation level for messages.
-
#name ⇒ String
Name of the Group Corresponds to the JSON property
name
. -
#primary_language ⇒ String
Primary language for the group.
-
#reply_to ⇒ String
Whome should the default reply to a message go to.
-
#send_message_deny_notification ⇒ String
Should the member be notified if his message is denied by owner.
-
#show_in_group_directory ⇒ String
Is the group listed in groups directory Corresponds to the JSON property
showInGroupDirectory
. -
#spam_moderation_level ⇒ String
Moderation level for messages detected as spam.
-
#who_can_add ⇒ String
Permissions to add members.
-
#who_can_add_references ⇒ String
Permission to add references to a topic.
-
#who_can_assign_topics ⇒ String
Permission to assign topics in a forum to another user.
-
#who_can_contact_owner ⇒ String
Permission to contact owner of the group via web UI.
-
#who_can_enter_free_form_tags ⇒ String
Permission to enter free form tags for topics in a forum.
-
#who_can_invite ⇒ String
Permissions to invite members.
-
#who_can_join ⇒ String
Permissions to join the group.
-
#who_can_leave_group ⇒ String
Permission to leave the group.
-
#who_can_mark_duplicate ⇒ String
Permission to mark a topic as a duplicate of another topic.
-
#who_can_mark_favorite_reply_on_any_topic ⇒ String
Permission to mark any other user's post as a favorite reply.
-
#who_can_mark_favorite_reply_on_own_topic ⇒ String
Permission to mark a post for a topic they started as a favorite reply.
-
#who_can_mark_no_response_needed ⇒ String
Permission to mark a topic as not needing a response.
-
#who_can_modify_tags_and_categories ⇒ String
Permission to change tags and categories.
-
#who_can_post_message ⇒ String
Permissions to post messages to the group.
-
#who_can_take_topics ⇒ String
Permission to take topics in a forum.
-
#who_can_unassign_topic ⇒ String
Permission to unassign any topic in a forum.
-
#who_can_unmark_favorite_reply_on_any_topic ⇒ String
Permission to unmark any post from a favorite reply.
-
#who_can_view_group ⇒ String
Permissions to view group.
-
#who_can_view_membership ⇒ String
Permissions to view membership.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Groups
constructor
A new instance of Groups.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Groups
Returns a new instance of Groups
272 273 274 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_external_members ⇒ String
Are external members allowed to join the group.
Corresponds to the JSON property allowExternalMembers
32 33 34 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 32 def allow_external_members @allow_external_members end |
#allow_google_communication ⇒ String
Is google allowed to contact admins.
Corresponds to the JSON property allowGoogleCommunication
37 38 39 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 37 def allow_google_communication @allow_google_communication end |
#allow_web_posting ⇒ String
If posting from web is allowed.
Corresponds to the JSON property allowWebPosting
42 43 44 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 42 def allow_web_posting @allow_web_posting end |
#archive_only ⇒ String
If the group is archive only
Corresponds to the JSON property archiveOnly
47 48 49 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 47 def archive_only @archive_only end |
#custom_footer_text ⇒ String
Custom footer text.
Corresponds to the JSON property customFooterText
52 53 54 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 52 def @custom_footer_text end |
#custom_reply_to ⇒ String
Default email to which reply to any message should go.
Corresponds to the JSON property customReplyTo
57 58 59 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 57 def custom_reply_to @custom_reply_to end |
#default_message_deny_notification_text ⇒ String
Default message deny notification message
Corresponds to the JSON property defaultMessageDenyNotificationText
62 63 64 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 62 def @default_message_deny_notification_text end |
#description ⇒ String
Description of the group
Corresponds to the JSON property description
67 68 69 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 67 def description @description end |
#email ⇒ String
Email id of the group
Corresponds to the JSON property email
72 73 74 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 72 def email @email end |
#favorite_replies_on_top ⇒ String
If favorite replies should be displayed above other replies.
Corresponds to the JSON property favoriteRepliesOnTop
77 78 79 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 77 def favorite_replies_on_top @favorite_replies_on_top end |
#include_custom_footer ⇒ String
Whether to include custom footer.
Corresponds to the JSON property includeCustomFooter
82 83 84 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 82 def @include_custom_footer end |
#include_in_global_address_list ⇒ String
If this groups should be included in global address list or not.
Corresponds to the JSON property includeInGlobalAddressList
87 88 89 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 87 def include_in_global_address_list @include_in_global_address_list end |
#is_archived ⇒ String
If the contents of the group are archived.
Corresponds to the JSON property isArchived
92 93 94 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 92 def is_archived @is_archived end |
#kind ⇒ String
The type of the resource.
Corresponds to the JSON property kind
97 98 99 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 97 def kind @kind end |
#max_message_bytes ⇒ Fixnum
Maximum message size allowed.
Corresponds to the JSON property maxMessageBytes
102 103 104 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 102 def @max_message_bytes end |
#members_can_post_as_the_group ⇒ String
Can members post using the group email address.
Corresponds to the JSON property membersCanPostAsTheGroup
107 108 109 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 107 def members_can_post_as_the_group @members_can_post_as_the_group end |
#message_display_font ⇒ String
Default message display font. Possible values are: DEFAULT_FONT
FIXED_WIDTH_FONT
Corresponds to the JSON property messageDisplayFont
113 114 115 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 113 def @message_display_font end |
#message_moderation_level ⇒ String
Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES
MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE
Corresponds to the JSON property messageModerationLevel
119 120 121 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 119 def @message_moderation_level end |
#name ⇒ String
Name of the Group
Corresponds to the JSON property name
124 125 126 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 124 def name @name end |
#primary_language ⇒ String
Primary language for the group.
Corresponds to the JSON property primaryLanguage
129 130 131 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 129 def primary_language @primary_language end |
#reply_to ⇒ String
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
136 137 138 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 136 def reply_to @reply_to end |
#send_message_deny_notification ⇒ String
Should the member be notified if his message is denied by owner.
Corresponds to the JSON property sendMessageDenyNotification
141 142 143 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 141 def @send_message_deny_notification end |
#show_in_group_directory ⇒ String
Is the group listed in groups directory
Corresponds to the JSON property showInGroupDirectory
146 147 148 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 146 def show_in_group_directory @show_in_group_directory end |
#spam_moderation_level ⇒ String
Moderation level for messages detected as spam. Possible values are: ALLOW
MODERATE SILENTLY_MODERATE REJECT
Corresponds to the JSON property spamModerationLevel
152 153 154 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 152 def spam_moderation_level @spam_moderation_level end |
#who_can_add ⇒ String
Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD
ALL_OWNERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD
Corresponds to the JSON property whoCanAdd
158 159 160 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 158 def who_can_add @who_can_add end |
#who_can_add_references ⇒ String
Permission to add references to a topic. Possible values are: NONE OWNERS_ONLY
MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanAddReferences
164 165 166 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 164 def who_can_add_references @who_can_add_references end |
#who_can_assign_topics ⇒ String
Permission to assign topics in a forum to another user. Possible values are:
NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanAssignTopics
170 171 172 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 170 def who_can_assign_topics @who_can_assign_topics end |
#who_can_contact_owner ⇒ String
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
177 178 179 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 177 def who_can_contact_owner @who_can_contact_owner end |
#who_can_enter_free_form_tags ⇒ String
Permission to enter free form tags for topics in a forum. Possible values are:
NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanEnterFreeFormTags
183 184 185 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 183 def @who_can_enter_free_form_tags end |
#who_can_invite ⇒ String
Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE
ALL_MANAGERS_CAN_INVITE ALL_OWNERS_CAN_INVITE NONE_CAN_INVITE
Corresponds to the JSON property whoCanInvite
189 190 191 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 189 def who_can_invite @who_can_invite end |
#who_can_join ⇒ String
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
195 196 197 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 195 def who_can_join @who_can_join end |
#who_can_leave_group ⇒ String
Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE
ALL_OWNERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE
Corresponds to the JSON property whoCanLeaveGroup
201 202 203 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 201 def who_can_leave_group @who_can_leave_group end |
#who_can_mark_duplicate ⇒ String
Permission to mark a topic as a duplicate of another topic. Possible values
are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanMarkDuplicate
207 208 209 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 207 def who_can_mark_duplicate @who_can_mark_duplicate end |
#who_can_mark_favorite_reply_on_any_topic ⇒ String
Permission to mark any other user's post as a favorite reply. Possible values
are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanMarkFavoriteReplyOnAnyTopic
213 214 215 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 213 def who_can_mark_favorite_reply_on_any_topic @who_can_mark_favorite_reply_on_any_topic end |
#who_can_mark_favorite_reply_on_own_topic ⇒ String
Permission to mark a post for a topic they started as a favorite reply.
Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS
ALL_MEMBERS
Corresponds to the JSON property whoCanMarkFavoriteReplyOnOwnTopic
220 221 222 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 220 def who_can_mark_favorite_reply_on_own_topic @who_can_mark_favorite_reply_on_own_topic end |
#who_can_mark_no_response_needed ⇒ String
Permission to mark a topic as not needing a response. Possible values are:
NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanMarkNoResponseNeeded
226 227 228 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 226 def who_can_mark_no_response_needed @who_can_mark_no_response_needed end |
#who_can_modify_tags_and_categories ⇒ String
Permission to change tags and categories. Possible values are: NONE
OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanModifyTagsAndCategories
232 233 234 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 232 def @who_can_modify_tags_and_categories end |
#who_can_post_message ⇒ String
Permissions to post messages to the group. Possible values are: NONE_CAN_POST
ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_OWNERS_CAN_POST
ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST
Corresponds to the JSON property whoCanPostMessage
239 240 241 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 239 def @who_can_post_message end |
#who_can_take_topics ⇒ String
Permission to take topics in a forum. Possible values are: NONE OWNERS_ONLY
MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanTakeTopics
245 246 247 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 245 def who_can_take_topics @who_can_take_topics end |
#who_can_unassign_topic ⇒ String
Permission to unassign any topic in a forum. Possible values are: NONE
OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanUnassignTopic
251 252 253 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 251 def who_can_unassign_topic @who_can_unassign_topic end |
#who_can_unmark_favorite_reply_on_any_topic ⇒ String
Permission to unmark any post from a favorite reply. Possible values are: NONE
OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
Corresponds to the JSON property whoCanUnmarkFavoriteReplyOnAnyTopic
257 258 259 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 257 def who_can_unmark_favorite_reply_on_any_topic @who_can_unmark_favorite_reply_on_any_topic end |
#who_can_view_group ⇒ String
Permissions to view group. Possible values are: ANYONE_CAN_VIEW
ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
ALL_OWNERS_CAN_VIEW
Corresponds to the JSON property whoCanViewGroup
264 265 266 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 264 def who_can_view_group @who_can_view_group end |
#who_can_view_membership ⇒ String
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
270 271 272 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 270 def who_can_view_membership @who_can_view_membership end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 |
# File 'generated/google/apis/groupssettings_v1/classes.rb', line 277 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_footer_text = args[:custom_footer_text] if args.key?(:custom_footer_text) @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) @favorite_replies_on_top = args[:favorite_replies_on_top] if args.key?(:favorite_replies_on_top) @include_custom_footer = args[:include_custom_footer] if args.key?(:include_custom_footer) @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_add_references = args[:who_can_add_references] if args.key?(:who_can_add_references) @who_can_assign_topics = args[:who_can_assign_topics] if args.key?(:who_can_assign_topics) @who_can_contact_owner = args[:who_can_contact_owner] if args.key?(:who_can_contact_owner) @who_can_enter_free_form_tags = args[:who_can_enter_free_form_tags] if args.key?(:who_can_enter_free_form_tags) @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_mark_duplicate = args[:who_can_mark_duplicate] if args.key?(:who_can_mark_duplicate) @who_can_mark_favorite_reply_on_any_topic = args[:who_can_mark_favorite_reply_on_any_topic] if args.key?(:who_can_mark_favorite_reply_on_any_topic) @who_can_mark_favorite_reply_on_own_topic = args[:who_can_mark_favorite_reply_on_own_topic] if args.key?(:who_can_mark_favorite_reply_on_own_topic) @who_can_mark_no_response_needed = args[:who_can_mark_no_response_needed] if args.key?(:who_can_mark_no_response_needed) @who_can_modify_tags_and_categories = args[:who_can_modify_tags_and_categories] if args.key?(:who_can_modify_tags_and_categories) @who_can_post_message = args[:who_can_post_message] if args.key?(:who_can_post_message) @who_can_take_topics = args[:who_can_take_topics] if args.key?(:who_can_take_topics) @who_can_unassign_topic = args[:who_can_unassign_topic] if args.key?(:who_can_unassign_topic) @who_can_unmark_favorite_reply_on_any_topic = args[:who_can_unmark_favorite_reply_on_any_topic] if args.key?(:who_can_unmark_favorite_reply_on_any_topic) @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 |