diff --git a/gsuite/resource_group_settings.go b/gsuite/resource_group_settings.go index 8167fdf3..2efd1ba2 100644 --- a/gsuite/resource_group_settings.go +++ b/gsuite/resource_group_settings.go @@ -48,9 +48,10 @@ func resourceGroupSettings() *schema.Resource { Default: "false", }, "allow_google_communication": { - Type: schema.TypeString, - Optional: true, - Default: "false", + Type: schema.TypeString, + Optional: true, + Default: "false", + Deprecated: "Deprecated.", }, "allow_web_posting": { Type: schema.TypeString, @@ -86,9 +87,10 @@ func resourceGroupSettings() *schema.Resource { Default: "true", }, "max_message_bytes": { - Type: schema.TypeInt, - Optional: true, - Default: 26214400, + Type: schema.TypeInt, + Optional: true, + Default: 26214400, + Deprecated: "Deprecated. The maximum size of a message is 25Mb.", }, "members_can_post_as_the_group": { Type: schema.TypeString, @@ -100,6 +102,7 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"DEFAULT_FONT", "FIXED_WIDTH_FONT", ""}, false), Default: "DEFAULT_FONT", + Deprecated: "Deprecated. The default message display font always has a value of DEFAULT_FONT.", }, "message_moderation_level": { Type: schema.TypeString, @@ -123,9 +126,10 @@ func resourceGroupSettings() *schema.Resource { Default: "false", }, "show_in_group_directory": { - Type: schema.TypeString, - Optional: true, - Default: "false", + Type: schema.TypeString, + Optional: true, + Default: "false", + Deprecated: "Deprecated. Use the whoCanDiscoverGroup property instead.", }, "spam_moderation_level": { Type: schema.TypeString, @@ -138,12 +142,14 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"ALL_MANAGERS_CAN_ADD", "ALL_OWNERS_CAN_ADD", "ALL_MEMBERS_CAN_ADD", "NONE_CAN_ADD", ""}, false), Default: "ALL_MANAGERS_CAN_ADD", + Deprecated: "Deprecated. Use the whoCanModerateMembers property instead.", }, "who_can_add_references": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Permission to add references to a topic. This functionality is no longer supported in the Google Groups UI. The value is always NONE.", }, "who_can_approve_members": { Type: schema.TypeString, @@ -156,12 +162,14 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateContent property instead.", }, "who_can_assign_topics": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_assist_content": { Type: schema.TypeString, @@ -174,6 +182,7 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateMembers property instead.", }, "who_can_contact_owner": { Type: schema.TypeString, @@ -186,12 +195,14 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateContent property instead.", }, "who_can_delete_topics": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateContent property instead.", }, "who_can_discover_group": { Type: schema.TypeString, @@ -204,18 +215,21 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_hide_abuse": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_invite": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"ALL_MEMBERS_CAN_INVITE", "ALL_MANAGERS_CAN_INVITE", "ALL_OWNERS_CAN_INVITE", "NONE_CAN_INVITE", ""}, false), Default: "ALL_MANAGERS_CAN_INVITE", + Deprecated: "Deprecated. Use the whoCanModerateMembers property instead.", }, "who_can_join": { Type: schema.TypeString, @@ -234,36 +248,42 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateContent property instead.", }, "who_can_make_topics_sticky": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_mark_duplicate": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_mark_favorite_reply_on_any_topic": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_mark_favorite_reply_on_own_topic": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_mark_no_response_needed": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_moderate_content": { Type: schema.TypeString, @@ -282,30 +302,35 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateMembers property instead.", }, "who_can_modify_tags_and_categories": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_move_topics_in": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateContent property instead.", }, "who_can_move_topics_out": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateContent property instead.", }, "who_can_post_announcements": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "OWNERS_AND_MANAGERS", + Deprecated: "Deprecated. Use the whoCanModerateContent property instead.", }, "who_can_post_message": { Type: schema.TypeString, @@ -318,18 +343,21 @@ func resourceGroupSettings() *schema.Resource { Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_unassign_topic": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_unmark_favorite_reply_on_any_topic": { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice([]string{"NONE", "OWNERS_ONLY", "MANAGERS_ONLY", "OWNERS_AND_MANAGERS", "ALL_MEMBERS", ""}, false), Default: "NONE", + Deprecated: "Deprecated. Use the whoCanAssistContent property instead.", }, "who_can_view_group": { Type: schema.TypeString,