google-apis-groupssettings_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: dda0caa1d01b3f73ad746ffc5ae5f5d1dbd14ba563b86f7c26e912767ff0b696
4
+ data.tar.gz: 86287ab3a01fb3490781da6f47c6e851aa4f763f88bc11dcce8b1165353dd264
5
+ SHA512:
6
+ metadata.gz: 36fd0a604e5b771737164e6f8e653e0807f41dde84016a75af18dca385512a293436dda28de188d2a8fc4bea68c6695a99effd3d6e819c64c715140cab4a3643
7
+ data.tar.gz: 3aa993500c042bb7c29fa9c5b4a4693ec439f44a228283e4d24888866c81cb5736944acb7b16cddb79bc5060c3b07df1872c5649c09ec76b24a507ca6fad997f
@@ -0,0 +1,13 @@
1
+ --hide-void-return
2
+ --no-private
3
+ --verbose
4
+ --title=google-apis-groupssettings_v1
5
+ --markup-provider=redcarpet
6
+ --markup=markdown
7
+ --main OVERVIEW.md
8
+ lib/google/apis/groupssettings_v1/*.rb
9
+ lib/google/apis/groupssettings_v1.rb
10
+ -
11
+ OVERVIEW.md
12
+ CHANGELOG.md
13
+ LICENSE.md
@@ -0,0 +1,7 @@
1
+ # Release history for google-apis-groupssettings_v1
2
+
3
+ ### v0.1.0 (2021-01-07)
4
+
5
+ * Regenerated from discovery document revision 20201231
6
+ * Regenerated using generator version 0.1.1
7
+
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,96 @@
1
+ # Simple REST client for version V1 of the Groups Settings API
2
+
3
+ This is a simple client library for version V1 of the Groups Settings API. It provides:
4
+
5
+ * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
+ * Ruby objects for data structures related to the service.
7
+ * Integration with the googleauth gem for authentication using OAuth, API keys, and service accounts.
8
+ * Control of retry, pagination, and timeouts.
9
+
10
+ Note that although this client library is supported and will continue to be updated to track changes to the service, it is otherwise considered complete and not under active development. Many Google services, especially Google Cloud Platform services, may provide a more modern client that is under more active development and improvement. See the section below titled *Which client should I use?* for more information.
11
+
12
+ ## Getting started
13
+
14
+ ### Before you begin
15
+
16
+ There are a few setup steps you need to complete before you can use this library:
17
+
18
+ 1. If you don't already have a Google account, [sign up](https://www.google.com/accounts).
19
+ 2. If you have never created a Google APIs Console project, read about [Managing Projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects) and create a project in the [Google API Console](https://console.cloud.google.com/).
20
+ 3. Most APIs need to be enabled for your project. [Enable it](https://console.cloud.google.com/apis/library/groupssettings.googleapis.com) in the console.
21
+
22
+ ### Installation
23
+
24
+ Add this line to your application's Gemfile:
25
+
26
+ ```ruby
27
+ gem 'google-apis-groupssettings_v1', '~> 0.1'
28
+ ```
29
+
30
+ And then execute:
31
+
32
+ ```
33
+ $ bundle
34
+ ```
35
+
36
+ Or install it yourself as:
37
+
38
+ ```
39
+ $ gem install google-apis-groupssettings_v1
40
+ ```
41
+
42
+ ### Creating a client object
43
+
44
+ Once the gem is installed, you can load the client code and instantiate a client.
45
+
46
+ ```ruby
47
+ # Load the client
48
+ require "google/apis/groupssettings_v1"
49
+
50
+ # Create a client object
51
+ client = Google::Apis::GroupssettingsV1::GroupssettingsService.new
52
+
53
+ # Authenticate calls
54
+ client.authentication = # ... use the googleauth gem to create credentials
55
+ ```
56
+
57
+ See the class reference docs for information on the methods you can call from a client.
58
+
59
+ ## Documentation
60
+
61
+ More detailed descriptions of the Google simple REST clients are available in two documents.
62
+
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
+
66
+ (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Groupssettings service in particular.)
67
+
68
+ For reference information on specific calls in the Groups Settings API, see the {Google::Apis::GroupssettingsV1::GroupssettingsService class reference docs}.
69
+
70
+ ## Which client should I use?
71
+
72
+ Google provides two types of Ruby API client libraries: **simple REST clients** and **modern clients**.
73
+
74
+ This library, `google-apis-groupssettings_v1`, is a simple REST client. You can identify these clients by their gem names, which are always in the form `google-apis-<servicename>_<serviceversion>`. The simple REST clients connect to HTTP/JSON REST endpoints and are automatically generated from service discovery documents. They support most API functionality, but their class interfaces are sometimes awkward.
75
+
76
+ Modern clients are produced by a modern code generator, sometimes combined with hand-crafted functionality. Most modern clients connect to high-performance gRPC endpoints, although a few are backed by REST services. Modern clients are available for many Google services, especially Google Cloud Platform services, but do not yet support all the services covered by the simple clients.
77
+
78
+ Gem names for modern clients are often of the form `google-cloud-<service_name>`. (For example, [google-cloud-pubsub](https://rubygems.org/gems/google-cloud-pubsub).) Note that most modern clients also have corresponding "versioned" gems with names like `google-cloud-<service_name>-<version>`. (For example, [google-cloud-pubsub-v1](https://rubygems.org/gems/google-cloud-pubsub-v1).) The "versioned" gems can be used directly, but often provide lower-level interfaces. In most cases, the main gem is recommended.
79
+
80
+ **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
+
82
+ The [product documentation](https://developers.google.com/google-apps/groups-settings/get_started) may provide guidance regarding the preferred client library to use.
83
+
84
+ ## Supported Ruby versions
85
+
86
+ This library is supported on Ruby 2.5+.
87
+
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
+
90
+ ## License
91
+
92
+ This library is licensed under Apache 2.0. Full license text is available in the {file:LICENSE.md LICENSE}.
93
+
94
+ ## Support
95
+
96
+ Please [report bugs at the project on Github](https://github.com/google/google-api-ruby-client/issues). Don't hesitate to [ask questions](http://stackoverflow.com/questions/tagged/google-api-ruby-client) about the client or APIs on [StackOverflow](http://stackoverflow.com).
@@ -0,0 +1,15 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require "google/apis/groupssettings_v1"
@@ -0,0 +1,36 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/groupssettings_v1/service.rb'
16
+ require 'google/apis/groupssettings_v1/classes.rb'
17
+ require 'google/apis/groupssettings_v1/representations.rb'
18
+ require 'google/apis/groupssettings_v1/gem_version.rb'
19
+
20
+ module Google
21
+ module Apis
22
+ # Groups Settings API
23
+ #
24
+ # Manages permission levels and related settings of a group.
25
+ #
26
+ # @see https://developers.google.com/google-apps/groups-settings/get_started
27
+ module GroupssettingsV1
28
+ # Version of the Groups Settings API this client connects to.
29
+ # This is NOT the gem version.
30
+ VERSION = 'V1'
31
+
32
+ # View and manage the settings of a G Suite group
33
+ AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings'
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,719 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module GroupssettingsV1
24
+
25
+ # JSON template for Group resource
26
+ class Groups
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Identifies whether members external to your organization can join the group.
30
+ # Possible values are:
31
+ # - true: G Suite users external to your organization can become members of this
32
+ # group.
33
+ # - false: Users not belonging to the organization are not allowed to become
34
+ # members of this group.
35
+ # Corresponds to the JSON property `allowExternalMembers`
36
+ # @return [String]
37
+ attr_accessor :allow_external_members
38
+
39
+ # Deprecated. Allows Google to contact administrator of the group.
40
+ # - true: Allow Google to contact managers of this group. Occasionally Google
41
+ # may send updates on the latest features, ask for input on new features, or ask
42
+ # for permission to highlight your group.
43
+ # - false: Google can not contact managers of this group.
44
+ # Corresponds to the JSON property `allowGoogleCommunication`
45
+ # @return [String]
46
+ attr_accessor :allow_google_communication
47
+
48
+ # Allows posting from web. Possible values are:
49
+ # - true: Allows any member to post to the group forum.
50
+ # - false: Members only use Gmail to communicate with the group.
51
+ # Corresponds to the JSON property `allowWebPosting`
52
+ # @return [String]
53
+ attr_accessor :allow_web_posting
54
+
55
+ # Allows the group to be archived only. Possible values are:
56
+ # - true: Group is archived and the group is inactive. New messages to this
57
+ # group are rejected. The older archived messages are browseable and searchable.
58
+ #
59
+ # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
60
+ # - If reverted from true to false, whoCanPostMessages is set to
61
+ # ALL_MANAGERS_CAN_POST.
62
+ # - false: The group is active and can receive messages.
63
+ # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
64
+ # Corresponds to the JSON property `archiveOnly`
65
+ # @return [String]
66
+ attr_accessor :archive_only
67
+
68
+ # Set the content of custom footer text. The maximum number of characters is 1,
69
+ # 000.
70
+ # Corresponds to the JSON property `customFooterText`
71
+ # @return [String]
72
+ attr_accessor :custom_footer_text
73
+
74
+ # An email address used when replying to a message if the replyTo property is
75
+ # set to REPLY_TO_CUSTOM. This address is defined by an account administrator.
76
+ # - When the group's ReplyTo property is set to REPLY_TO_CUSTOM, the
77
+ # customReplyTo property holds a custom email address used when replying to a
78
+ # message.
79
+ # - If the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo
80
+ # property must have a text value or an error is returned.
81
+ # Corresponds to the JSON property `customReplyTo`
82
+ # @return [String]
83
+ attr_accessor :custom_reply_to
84
+
85
+ # Specifies whether the group has a custom role that's included in one of the
86
+ # settings being merged. This field is read-only and update/patch requests to it
87
+ # are ignored. Possible values are:
88
+ # - true
89
+ # - false
90
+ # Corresponds to the JSON property `customRolesEnabledForSettingsToBeMerged`
91
+ # @return [String]
92
+ attr_accessor :custom_roles_enabled_for_settings_to_be_merged
93
+
94
+ # When a message is rejected, this is text for the rejection notification sent
95
+ # to the message's author. By default, this property is empty and has no value
96
+ # in the API's response body. The maximum notification text size is 10,000
97
+ # characters. Note: Requires sendMessageDenyNotification property to be true.
98
+ # Corresponds to the JSON property `defaultMessageDenyNotificationText`
99
+ # @return [String]
100
+ attr_accessor :default_message_deny_notification_text
101
+
102
+ # Description of the group. This property value may be an empty string if no
103
+ # group description has been entered. If entered, the maximum group description
104
+ # is no more than 300 characters.
105
+ # Corresponds to the JSON property `description`
106
+ # @return [String]
107
+ attr_accessor :description
108
+
109
+ # The group's email address. This property can be updated using the Directory
110
+ # API. Note: Only a group owner can change a group's email address. A group
111
+ # manager can't do this.
112
+ # When you change your group's address using the Directory API or the control
113
+ # panel, you are changing the address your subscribers use to send email and the
114
+ # web address people use to access your group. People can't reach your group by
115
+ # visiting the old address.
116
+ # Corresponds to the JSON property `email`
117
+ # @return [String]
118
+ attr_accessor :email
119
+
120
+ # Specifies whether a collaborative inbox will remain turned on for the group.
121
+ # Possible values are:
122
+ # - true
123
+ # - false
124
+ # Corresponds to the JSON property `enableCollaborativeInbox`
125
+ # @return [String]
126
+ attr_accessor :enable_collaborative_inbox
127
+
128
+ # Indicates if favorite replies should be displayed above other replies.
129
+ # - true: Favorite replies will be displayed above other replies.
130
+ # - false: Favorite replies will not be displayed above other replies.
131
+ # Corresponds to the JSON property `favoriteRepliesOnTop`
132
+ # @return [String]
133
+ attr_accessor :favorite_replies_on_top
134
+
135
+ # Whether to include custom footer. Possible values are:
136
+ # - true
137
+ # - false
138
+ # Corresponds to the JSON property `includeCustomFooter`
139
+ # @return [String]
140
+ attr_accessor :include_custom_footer
141
+
142
+ # Enables the group to be included in the Global Address List. For more
143
+ # information, see the help center. Possible values are:
144
+ # - true: Group is included in the Global Address List.
145
+ # - false: Group is not included in the Global Address List.
146
+ # Corresponds to the JSON property `includeInGlobalAddressList`
147
+ # @return [String]
148
+ attr_accessor :include_in_global_address_list
149
+
150
+ # Allows the Group contents to be archived. Possible values are:
151
+ # - true: Archive messages sent to the group.
152
+ # - false: Do not keep an archive of messages sent to this group. If false,
153
+ # previously archived messages remain in the archive.
154
+ # Corresponds to the JSON property `isArchived`
155
+ # @return [String]
156
+ attr_accessor :is_archived
157
+
158
+ # The type of the resource. It is always groupsSettings#groups.
159
+ # Corresponds to the JSON property `kind`
160
+ # @return [String]
161
+ attr_accessor :kind
162
+
163
+ # Deprecated. The maximum size of a message is 25Mb.
164
+ # Corresponds to the JSON property `maxMessageBytes`
165
+ # @return [Fixnum]
166
+ attr_accessor :max_message_bytes
167
+
168
+ # Enables members to post messages as the group. Possible values are:
169
+ # - true: Group member can post messages using the group's email address instead
170
+ # of their own email address. Message appear to originate from the group itself.
171
+ # Note: When true, any message moderation settings on individual users or new
172
+ # members do not apply to posts made on behalf of the group.
173
+ # - false: Members can not post in behalf of the group's email address.
174
+ # Corresponds to the JSON property `membersCanPostAsTheGroup`
175
+ # @return [String]
176
+ attr_accessor :members_can_post_as_the_group
177
+
178
+ # Deprecated. The default message display font always has a value of "
179
+ # DEFAULT_FONT".
180
+ # Corresponds to the JSON property `messageDisplayFont`
181
+ # @return [String]
182
+ attr_accessor :message_display_font
183
+
184
+ # Moderation level of incoming messages. Possible values are:
185
+ # - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email
186
+ # address for approval. If approved, the message is sent to the group.
187
+ # - MODERATE_NON_MEMBERS: All messages from non group members are sent to the
188
+ # group owner's email address for approval. If approved, the message is sent to
189
+ # the group.
190
+ # - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group
191
+ # owner's email address for approval. If approved, the message is sent to the
192
+ # group.
193
+ # - MODERATE_NONE: No moderator approval is required. Messages are delivered
194
+ # directly to the group. Note: When the whoCanPostMessage is set to
195
+ # ANYONE_CAN_POST, we recommend the messageModerationLevel be set to
196
+ # MODERATE_NON_MEMBERS to protect the group from possible spam.
197
+ # When memberCanPostAsTheGroup is true, any message moderation settings on
198
+ # individual users or new members will not apply to posts made on behalf of the
199
+ # group.
200
+ # Corresponds to the JSON property `messageModerationLevel`
201
+ # @return [String]
202
+ attr_accessor :message_moderation_level
203
+
204
+ # Name of the group, which has a maximum size of 75 characters.
205
+ # Corresponds to the JSON property `name`
206
+ # @return [String]
207
+ attr_accessor :name
208
+
209
+ # The primary language for group. For a group's primary language use the
210
+ # language tags from the G Suite languages found at G Suite Email Settings API
211
+ # Email Language Tags.
212
+ # Corresponds to the JSON property `primaryLanguage`
213
+ # @return [String]
214
+ attr_accessor :primary_language
215
+
216
+ # Specifies who receives the default reply. Possible values are:
217
+ # - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email
218
+ # address.
219
+ # When the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo
220
+ # property holds the custom email address used when replying to a message. If
221
+ # the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo
222
+ # property must have a value. Otherwise an error is returned.
223
+ #
224
+ # - REPLY_TO_SENDER: The reply sent to author of message.
225
+ # - REPLY_TO_LIST: This reply message is sent to the group.
226
+ # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does
227
+ # not include the group's managers.
228
+ # - REPLY_TO_IGNORE: Group users individually decide where the message reply is
229
+ # sent.
230
+ # - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which
231
+ # includes all managers and the group owner.
232
+ # Corresponds to the JSON property `replyTo`
233
+ # @return [String]
234
+ attr_accessor :reply_to
235
+
236
+ # Allows a member to be notified if the member's message to the group is denied
237
+ # by the group owner. Possible values are:
238
+ # - true: When a message is rejected, send the deny message notification to the
239
+ # message author.
240
+ # The defaultMessageDenyNotificationText property is dependent on the
241
+ # sendMessageDenyNotification property being true.
242
+ #
243
+ # - false: When a message is rejected, no notification is sent.
244
+ # Corresponds to the JSON property `sendMessageDenyNotification`
245
+ # @return [String]
246
+ attr_accessor :send_message_deny_notification
247
+
248
+ # Deprecated. This is merged into the new whoCanDiscoverGroup setting. Allows
249
+ # the group to be visible in the Groups Directory. Possible values are:
250
+ # - true: All groups in the account are listed in the Groups directory.
251
+ # - false: All groups in the account are not listed in the directory.
252
+ # Corresponds to the JSON property `showInGroupDirectory`
253
+ # @return [String]
254
+ attr_accessor :show_in_group_directory
255
+
256
+ # Specifies moderation levels for messages detected as spam. Possible values are:
257
+ #
258
+ # - ALLOW: Post the message to the group.
259
+ # - MODERATE: Send the message to the moderation queue. This is the default.
260
+ # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send
261
+ # notification to moderators.
262
+ # - REJECT: Immediately reject the message.
263
+ # Corresponds to the JSON property `spamModerationLevel`
264
+ # @return [String]
265
+ attr_accessor :spam_moderation_level
266
+
267
+ # Deprecated. This is merged into the new whoCanModerateMembers setting.
268
+ # Permissions to add members. Possible values are:
269
+ # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
270
+ # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this
271
+ # includes the group's owner.
272
+ # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
273
+ # - NONE_CAN_ADD: No one can directly add new members.
274
+ # Corresponds to the JSON property `whoCanAdd`
275
+ # @return [String]
276
+ attr_accessor :who_can_add
277
+
278
+ # Deprecated. This functionality is no longer supported in the Google Groups UI.
279
+ # The value is always "NONE".
280
+ # Corresponds to the JSON property `whoCanAddReferences`
281
+ # @return [String]
282
+ attr_accessor :who_can_add_references
283
+
284
+ # Specifies who can approve members who ask to join groups. This permission will
285
+ # be deprecated once it is merged into the new whoCanModerateMembers setting.
286
+ # Possible values are:
287
+ # - ALL_MEMBERS_CAN_APPROVE
288
+ # - ALL_MANAGERS_CAN_APPROVE
289
+ # - ALL_OWNERS_CAN_APPROVE
290
+ # - NONE_CAN_APPROVE
291
+ # Corresponds to the JSON property `whoCanApproveMembers`
292
+ # @return [String]
293
+ attr_accessor :who_can_approve_members
294
+
295
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
296
+ # Specifies who can approve pending messages in the moderation queue. Possible
297
+ # values are:
298
+ # - ALL_MEMBERS
299
+ # - OWNERS_AND_MANAGERS
300
+ # - OWNERS_ONLY
301
+ # - NONE
302
+ # Corresponds to the JSON property `whoCanApproveMessages`
303
+ # @return [String]
304
+ attr_accessor :who_can_approve_messages
305
+
306
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
307
+ # Permission to assign topics in a forum to another user. Possible values are:
308
+ # - ALL_MEMBERS
309
+ # - OWNERS_AND_MANAGERS
310
+ # - MANAGERS_ONLY
311
+ # - OWNERS_ONLY
312
+ # - NONE
313
+ # Corresponds to the JSON property `whoCanAssignTopics`
314
+ # @return [String]
315
+ attr_accessor :who_can_assign_topics
316
+
317
+ # Specifies who can moderate metadata. Possible values are:
318
+ # - ALL_MEMBERS
319
+ # - OWNERS_AND_MANAGERS
320
+ # - MANAGERS_ONLY
321
+ # - OWNERS_ONLY
322
+ # - NONE
323
+ # Corresponds to the JSON property `whoCanAssistContent`
324
+ # @return [String]
325
+ attr_accessor :who_can_assist_content
326
+
327
+ # Specifies who can deny membership to users. This permission will be deprecated
328
+ # once it is merged into the new whoCanModerateMembers setting. Possible values
329
+ # are:
330
+ # - ALL_MEMBERS
331
+ # - OWNERS_AND_MANAGERS
332
+ # - OWNERS_ONLY
333
+ # - NONE
334
+ # Corresponds to the JSON property `whoCanBanUsers`
335
+ # @return [String]
336
+ attr_accessor :who_can_ban_users
337
+
338
+ # Permission to contact owner of the group via web UI. Possible values are:
339
+ # - ALL_IN_DOMAIN_CAN_CONTACT
340
+ # - ALL_MANAGERS_CAN_CONTACT
341
+ # - ALL_MEMBERS_CAN_CONTACT
342
+ # - ANYONE_CAN_CONTACT
343
+ # - ALL_OWNERS_CAN_CONTACT
344
+ # Corresponds to the JSON property `whoCanContactOwner`
345
+ # @return [String]
346
+ attr_accessor :who_can_contact_owner
347
+
348
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
349
+ # Specifies who can delete replies to topics. (Authors can always delete their
350
+ # own posts). Possible values are:
351
+ # - ALL_MEMBERS
352
+ # - OWNERS_AND_MANAGERS
353
+ # - OWNERS_ONLY
354
+ # - NONE
355
+ # Corresponds to the JSON property `whoCanDeleteAnyPost`
356
+ # @return [String]
357
+ attr_accessor :who_can_delete_any_post
358
+
359
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
360
+ # Specifies who can delete topics. Possible values are:
361
+ # - ALL_MEMBERS
362
+ # - OWNERS_AND_MANAGERS
363
+ # - OWNERS_ONLY
364
+ # - NONE
365
+ # Corresponds to the JSON property `whoCanDeleteTopics`
366
+ # @return [String]
367
+ attr_accessor :who_can_delete_topics
368
+
369
+ # Specifies the set of users for whom this group is discoverable. Possible
370
+ # values are:
371
+ # - ANYONE_CAN_DISCOVER
372
+ # - ALL_IN_DOMAIN_CAN_DISCOVER
373
+ # - ALL_MEMBERS_CAN_DISCOVER
374
+ # Corresponds to the JSON property `whoCanDiscoverGroup`
375
+ # @return [String]
376
+ attr_accessor :who_can_discover_group
377
+
378
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
379
+ # Permission to enter free form tags for topics in a forum. Possible values are:
380
+ #
381
+ # - ALL_MEMBERS
382
+ # - OWNERS_AND_MANAGERS
383
+ # - MANAGERS_ONLY
384
+ # - OWNERS_ONLY
385
+ # - NONE
386
+ # Corresponds to the JSON property `whoCanEnterFreeFormTags`
387
+ # @return [String]
388
+ attr_accessor :who_can_enter_free_form_tags
389
+
390
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
391
+ # Specifies who can hide posts by reporting them as abuse. Possible values are:
392
+ # - ALL_MEMBERS
393
+ # - OWNERS_AND_MANAGERS
394
+ # - OWNERS_ONLY
395
+ # - NONE
396
+ # Corresponds to the JSON property `whoCanHideAbuse`
397
+ # @return [String]
398
+ attr_accessor :who_can_hide_abuse
399
+
400
+ # Deprecated. This is merged into the new whoCanModerateMembers setting.
401
+ # Permissions to invite new members. Possible values are:
402
+ # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member
403
+ # candidate.
404
+ # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This
405
+ # includes the group's owner.
406
+ # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
407
+ # - NONE_CAN_INVITE: No one can invite a new member candidate.
408
+ # Corresponds to the JSON property `whoCanInvite`
409
+ # @return [String]
410
+ attr_accessor :who_can_invite
411
+
412
+ # Permission to join group. Possible values are:
413
+ # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes
414
+ # accounts with multiple domains.
415
+ # - ALL_IN_DOMAIN_CAN_JOIN: Any Internet user who is outside your domain can
416
+ # access your Google Groups service and view the list of groups in your Groups
417
+ # directory. Warning: Group owners can add external addresses, outside of the
418
+ # domain to their groups. They can also allow people outside your domain to join
419
+ # their groups. If you later disable this option, any external addresses already
420
+ # added to users' groups remain in those groups.
421
+ # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
422
+ # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
423
+ # Corresponds to the JSON property `whoCanJoin`
424
+ # @return [String]
425
+ attr_accessor :who_can_join
426
+
427
+ # Permission to leave the group. Possible values are:
428
+ # - ALL_MANAGERS_CAN_LEAVE
429
+ # - ALL_MEMBERS_CAN_LEAVE
430
+ # - NONE_CAN_LEAVE
431
+ # Corresponds to the JSON property `whoCanLeaveGroup`
432
+ # @return [String]
433
+ attr_accessor :who_can_leave_group
434
+
435
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
436
+ # Specifies who can prevent users from posting replies to topics. Possible
437
+ # values are:
438
+ # - ALL_MEMBERS
439
+ # - OWNERS_AND_MANAGERS
440
+ # - OWNERS_ONLY
441
+ # - NONE
442
+ # Corresponds to the JSON property `whoCanLockTopics`
443
+ # @return [String]
444
+ attr_accessor :who_can_lock_topics
445
+
446
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
447
+ # Specifies who can make topics appear at the top of the topic list. Possible
448
+ # values are:
449
+ # - ALL_MEMBERS
450
+ # - OWNERS_AND_MANAGERS
451
+ # - OWNERS_ONLY
452
+ # - NONE
453
+ # Corresponds to the JSON property `whoCanMakeTopicsSticky`
454
+ # @return [String]
455
+ attr_accessor :who_can_make_topics_sticky
456
+
457
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
458
+ # Permission to mark a topic as a duplicate of another topic. Possible values
459
+ # are:
460
+ # - ALL_MEMBERS
461
+ # - OWNERS_AND_MANAGERS
462
+ # - MANAGERS_ONLY
463
+ # - OWNERS_ONLY
464
+ # - NONE
465
+ # Corresponds to the JSON property `whoCanMarkDuplicate`
466
+ # @return [String]
467
+ attr_accessor :who_can_mark_duplicate
468
+
469
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
470
+ # Permission to mark any other user's post as a favorite reply. Possible values
471
+ # are:
472
+ # - ALL_MEMBERS
473
+ # - OWNERS_AND_MANAGERS
474
+ # - MANAGERS_ONLY
475
+ # - OWNERS_ONLY
476
+ # - NONE
477
+ # Corresponds to the JSON property `whoCanMarkFavoriteReplyOnAnyTopic`
478
+ # @return [String]
479
+ attr_accessor :who_can_mark_favorite_reply_on_any_topic
480
+
481
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
482
+ # Permission to mark a post for a topic they started as a favorite reply.
483
+ # Possible values are:
484
+ # - ALL_MEMBERS
485
+ # - OWNERS_AND_MANAGERS
486
+ # - MANAGERS_ONLY
487
+ # - OWNERS_ONLY
488
+ # - NONE
489
+ # Corresponds to the JSON property `whoCanMarkFavoriteReplyOnOwnTopic`
490
+ # @return [String]
491
+ attr_accessor :who_can_mark_favorite_reply_on_own_topic
492
+
493
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
494
+ # Permission to mark a topic as not needing a response. Possible values are:
495
+ # - ALL_MEMBERS
496
+ # - OWNERS_AND_MANAGERS
497
+ # - MANAGERS_ONLY
498
+ # - OWNERS_ONLY
499
+ # - NONE
500
+ # Corresponds to the JSON property `whoCanMarkNoResponseNeeded`
501
+ # @return [String]
502
+ attr_accessor :who_can_mark_no_response_needed
503
+
504
+ # Specifies who can moderate content. Possible values are:
505
+ # - ALL_MEMBERS
506
+ # - OWNERS_AND_MANAGERS
507
+ # - OWNERS_ONLY
508
+ # - NONE
509
+ # Corresponds to the JSON property `whoCanModerateContent`
510
+ # @return [String]
511
+ attr_accessor :who_can_moderate_content
512
+
513
+ # Specifies who can manage members. Possible values are:
514
+ # - ALL_MEMBERS
515
+ # - OWNERS_AND_MANAGERS
516
+ # - OWNERS_ONLY
517
+ # - NONE
518
+ # Corresponds to the JSON property `whoCanModerateMembers`
519
+ # @return [String]
520
+ attr_accessor :who_can_moderate_members
521
+
522
+ # Deprecated. This is merged into the new whoCanModerateMembers setting.
523
+ # Specifies who can change group members' roles. Possible values are:
524
+ # - ALL_MEMBERS
525
+ # - OWNERS_AND_MANAGERS
526
+ # - OWNERS_ONLY
527
+ # - NONE
528
+ # Corresponds to the JSON property `whoCanModifyMembers`
529
+ # @return [String]
530
+ attr_accessor :who_can_modify_members
531
+
532
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
533
+ # Permission to change tags and categories. Possible values are:
534
+ # - ALL_MEMBERS
535
+ # - OWNERS_AND_MANAGERS
536
+ # - MANAGERS_ONLY
537
+ # - OWNERS_ONLY
538
+ # - NONE
539
+ # Corresponds to the JSON property `whoCanModifyTagsAndCategories`
540
+ # @return [String]
541
+ attr_accessor :who_can_modify_tags_and_categories
542
+
543
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
544
+ # Specifies who can move topics into the group or forum. Possible values are:
545
+ # - ALL_MEMBERS
546
+ # - OWNERS_AND_MANAGERS
547
+ # - OWNERS_ONLY
548
+ # - NONE
549
+ # Corresponds to the JSON property `whoCanMoveTopicsIn`
550
+ # @return [String]
551
+ attr_accessor :who_can_move_topics_in
552
+
553
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
554
+ # Specifies who can move topics out of the group or forum. Possible values are:
555
+ # - ALL_MEMBERS
556
+ # - OWNERS_AND_MANAGERS
557
+ # - OWNERS_ONLY
558
+ # - NONE
559
+ # Corresponds to the JSON property `whoCanMoveTopicsOut`
560
+ # @return [String]
561
+ attr_accessor :who_can_move_topics_out
562
+
563
+ # Deprecated. This is merged into the new whoCanModerateContent setting.
564
+ # Specifies who can post announcements, a special topic type. Possible values
565
+ # are:
566
+ # - ALL_MEMBERS
567
+ # - OWNERS_AND_MANAGERS
568
+ # - OWNERS_ONLY
569
+ # - NONE
570
+ # Corresponds to the JSON property `whoCanPostAnnouncements`
571
+ # @return [String]
572
+ attr_accessor :who_can_post_announcements
573
+
574
+ # Permissions to post messages. Possible values are:
575
+ # - NONE_CAN_POST: The group is disabled and archived. No one can post a message
576
+ # to this group.
577
+ # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST,
578
+ # results in an error.
579
+ # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to
580
+ # ALL_MANAGERS_CAN_POST.
581
+ # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
582
+ # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
583
+ # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
584
+ # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
585
+ # - ANYONE_CAN_POST: Any Internet user who outside your account can access your
586
+ # Google Groups service and post a message. Note: When whoCanPostMessage is set
587
+ # to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to
588
+ # MODERATE_NON_MEMBERS to protect the group from possible spam.
589
+ # Corresponds to the JSON property `whoCanPostMessage`
590
+ # @return [String]
591
+ attr_accessor :who_can_post_message
592
+
593
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
594
+ # Permission to take topics in a forum. Possible values are:
595
+ # - ALL_MEMBERS
596
+ # - OWNERS_AND_MANAGERS
597
+ # - MANAGERS_ONLY
598
+ # - OWNERS_ONLY
599
+ # - NONE
600
+ # Corresponds to the JSON property `whoCanTakeTopics`
601
+ # @return [String]
602
+ attr_accessor :who_can_take_topics
603
+
604
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
605
+ # Permission to unassign any topic in a forum. Possible values are:
606
+ # - ALL_MEMBERS
607
+ # - OWNERS_AND_MANAGERS
608
+ # - MANAGERS_ONLY
609
+ # - OWNERS_ONLY
610
+ # - NONE
611
+ # Corresponds to the JSON property `whoCanUnassignTopic`
612
+ # @return [String]
613
+ attr_accessor :who_can_unassign_topic
614
+
615
+ # Deprecated. This is merged into the new whoCanAssistContent setting.
616
+ # Permission to unmark any post from a favorite reply. Possible values are:
617
+ # - ALL_MEMBERS
618
+ # - OWNERS_AND_MANAGERS
619
+ # - MANAGERS_ONLY
620
+ # - OWNERS_ONLY
621
+ # - NONE
622
+ # Corresponds to the JSON property `whoCanUnmarkFavoriteReplyOnAnyTopic`
623
+ # @return [String]
624
+ attr_accessor :who_can_unmark_favorite_reply_on_any_topic
625
+
626
+ # Permissions to view group messages. Possible values are:
627
+ # - ANYONE_CAN_VIEW: Any Internet user can view the group's messages.
628
+ # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's
629
+ # messages.
630
+ # - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages.
631
+ # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages.
632
+ # Corresponds to the JSON property `whoCanViewGroup`
633
+ # @return [String]
634
+ attr_accessor :who_can_view_group
635
+
636
+ # Permissions to view membership. Possible values are:
637
+ # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members
638
+ # list.
639
+ # If a group already has external members, those members can still send email to
640
+ # this group.
641
+ #
642
+ # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
643
+ # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
644
+ # Corresponds to the JSON property `whoCanViewMembership`
645
+ # @return [String]
646
+ attr_accessor :who_can_view_membership
647
+
648
+ def initialize(**args)
649
+ update!(**args)
650
+ end
651
+
652
+ # Update properties of this object
653
+ def update!(**args)
654
+ @allow_external_members = args[:allow_external_members] if args.key?(:allow_external_members)
655
+ @allow_google_communication = args[:allow_google_communication] if args.key?(:allow_google_communication)
656
+ @allow_web_posting = args[:allow_web_posting] if args.key?(:allow_web_posting)
657
+ @archive_only = args[:archive_only] if args.key?(:archive_only)
658
+ @custom_footer_text = args[:custom_footer_text] if args.key?(:custom_footer_text)
659
+ @custom_reply_to = args[:custom_reply_to] if args.key?(:custom_reply_to)
660
+ @custom_roles_enabled_for_settings_to_be_merged = args[:custom_roles_enabled_for_settings_to_be_merged] if args.key?(:custom_roles_enabled_for_settings_to_be_merged)
661
+ @default_message_deny_notification_text = args[:default_message_deny_notification_text] if args.key?(:default_message_deny_notification_text)
662
+ @description = args[:description] if args.key?(:description)
663
+ @email = args[:email] if args.key?(:email)
664
+ @enable_collaborative_inbox = args[:enable_collaborative_inbox] if args.key?(:enable_collaborative_inbox)
665
+ @favorite_replies_on_top = args[:favorite_replies_on_top] if args.key?(:favorite_replies_on_top)
666
+ @include_custom_footer = args[:include_custom_footer] if args.key?(:include_custom_footer)
667
+ @include_in_global_address_list = args[:include_in_global_address_list] if args.key?(:include_in_global_address_list)
668
+ @is_archived = args[:is_archived] if args.key?(:is_archived)
669
+ @kind = args[:kind] if args.key?(:kind)
670
+ @max_message_bytes = args[:max_message_bytes] if args.key?(:max_message_bytes)
671
+ @members_can_post_as_the_group = args[:members_can_post_as_the_group] if args.key?(:members_can_post_as_the_group)
672
+ @message_display_font = args[:message_display_font] if args.key?(:message_display_font)
673
+ @message_moderation_level = args[:message_moderation_level] if args.key?(:message_moderation_level)
674
+ @name = args[:name] if args.key?(:name)
675
+ @primary_language = args[:primary_language] if args.key?(:primary_language)
676
+ @reply_to = args[:reply_to] if args.key?(:reply_to)
677
+ @send_message_deny_notification = args[:send_message_deny_notification] if args.key?(:send_message_deny_notification)
678
+ @show_in_group_directory = args[:show_in_group_directory] if args.key?(:show_in_group_directory)
679
+ @spam_moderation_level = args[:spam_moderation_level] if args.key?(:spam_moderation_level)
680
+ @who_can_add = args[:who_can_add] if args.key?(:who_can_add)
681
+ @who_can_add_references = args[:who_can_add_references] if args.key?(:who_can_add_references)
682
+ @who_can_approve_members = args[:who_can_approve_members] if args.key?(:who_can_approve_members)
683
+ @who_can_approve_messages = args[:who_can_approve_messages] if args.key?(:who_can_approve_messages)
684
+ @who_can_assign_topics = args[:who_can_assign_topics] if args.key?(:who_can_assign_topics)
685
+ @who_can_assist_content = args[:who_can_assist_content] if args.key?(:who_can_assist_content)
686
+ @who_can_ban_users = args[:who_can_ban_users] if args.key?(:who_can_ban_users)
687
+ @who_can_contact_owner = args[:who_can_contact_owner] if args.key?(:who_can_contact_owner)
688
+ @who_can_delete_any_post = args[:who_can_delete_any_post] if args.key?(:who_can_delete_any_post)
689
+ @who_can_delete_topics = args[:who_can_delete_topics] if args.key?(:who_can_delete_topics)
690
+ @who_can_discover_group = args[:who_can_discover_group] if args.key?(:who_can_discover_group)
691
+ @who_can_enter_free_form_tags = args[:who_can_enter_free_form_tags] if args.key?(:who_can_enter_free_form_tags)
692
+ @who_can_hide_abuse = args[:who_can_hide_abuse] if args.key?(:who_can_hide_abuse)
693
+ @who_can_invite = args[:who_can_invite] if args.key?(:who_can_invite)
694
+ @who_can_join = args[:who_can_join] if args.key?(:who_can_join)
695
+ @who_can_leave_group = args[:who_can_leave_group] if args.key?(:who_can_leave_group)
696
+ @who_can_lock_topics = args[:who_can_lock_topics] if args.key?(:who_can_lock_topics)
697
+ @who_can_make_topics_sticky = args[:who_can_make_topics_sticky] if args.key?(:who_can_make_topics_sticky)
698
+ @who_can_mark_duplicate = args[:who_can_mark_duplicate] if args.key?(:who_can_mark_duplicate)
699
+ @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)
700
+ @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)
701
+ @who_can_mark_no_response_needed = args[:who_can_mark_no_response_needed] if args.key?(:who_can_mark_no_response_needed)
702
+ @who_can_moderate_content = args[:who_can_moderate_content] if args.key?(:who_can_moderate_content)
703
+ @who_can_moderate_members = args[:who_can_moderate_members] if args.key?(:who_can_moderate_members)
704
+ @who_can_modify_members = args[:who_can_modify_members] if args.key?(:who_can_modify_members)
705
+ @who_can_modify_tags_and_categories = args[:who_can_modify_tags_and_categories] if args.key?(:who_can_modify_tags_and_categories)
706
+ @who_can_move_topics_in = args[:who_can_move_topics_in] if args.key?(:who_can_move_topics_in)
707
+ @who_can_move_topics_out = args[:who_can_move_topics_out] if args.key?(:who_can_move_topics_out)
708
+ @who_can_post_announcements = args[:who_can_post_announcements] if args.key?(:who_can_post_announcements)
709
+ @who_can_post_message = args[:who_can_post_message] if args.key?(:who_can_post_message)
710
+ @who_can_take_topics = args[:who_can_take_topics] if args.key?(:who_can_take_topics)
711
+ @who_can_unassign_topic = args[:who_can_unassign_topic] if args.key?(:who_can_unassign_topic)
712
+ @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)
713
+ @who_can_view_group = args[:who_can_view_group] if args.key?(:who_can_view_group)
714
+ @who_can_view_membership = args[:who_can_view_membership] if args.key?(:who_can_view_membership)
715
+ end
716
+ end
717
+ end
718
+ end
719
+ end