--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/3d4c1690-61b3-43e8-a84d-76e28ba4a8ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Manuel,Here is the API documentation: https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resourceThere is no support for what you want.Ross
On Tue, Mar 6, 2018 at 4:07 AM, Manuel Almonacid Navarro <man...@iesjuniper.com> wrote:
Good morning.I manage GSuite accounts in a highschool in Spain. We have a teachers organization and a students organization and I'm trying to create mail groups which are avaliable only for teachers' one.I supose the command for getting it is who_can_view_group, but the parameters are: all_in_domain_can_view | all_managers_can_view | all_members_can_view or anyone_can_view. None of them allows to specify which organization can view.Does anybody know if there's any way to get it?Thanks.Manuel.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/3d4c1690-61b3-43e8-a84d-76e28ba4a8ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS9He7T_3Pk6qemW%3DSE42ag6vnMOMLF2rxzbC5NFA2EDcw%40mail.gmail.com.
Create a sending rule to apply a header on internal messages that identify a person type (teacher, elementary student, high school student, etc.)
In your Google Admin console (at admin.google.com) go to Apps > G Suite > Gmail > Advanced settings.
On the left, select the organization for the users that you wish to apply the sending rule, such as High School Students.
Scroll to the Content compliance setting in the Compliance section, hover over the setting, and click Configure. If the setting is already configured, hover over the setting and click Edit or Add another.
Provide a description for the rule, such as “Mark all messages sent by High School Students with high-school header.”)
Under “1. Email messages to affect,” check the box for "Internal - sending" only.
Do not add any expressions under “2. Add expressions that describe the content you want to search for in each message.”
Under “3. If the above expressions match, do the following” choose “Modify message” in the dropdown.
Under “Headers,” Check the box for “Add custom headers.”
Next to “Custom headers” click “ADD.”
Under “Add header” enter “Person-Type” for Header key and a header name for Header value. For example: X-Person-Type: high-school (or middle-school, elementary-school, teachers, etc). Note “X-” is already prepended.
Click “Add Setting” to save the compliance setting
Click “Save” to save the advanced Gmail settings.
Repeat the above process for additional organizations that you wish to prevent from sending messages to another organization, such as Middle School students.
Create a receiving rule on organizations that should not receive from some other internal users
In your Google Admin console (at admin.google.com) go to Apps > G Suite > Gmail > Advanced settings.
On the left, select the organization for the users that you wish to apply the receiving rule, such Elementary School Students.
Scroll to the Content compliance setting in the Compliance section, hover over the setting, and click Configure. If the setting is already configured, hover over the setting and click Edit or Add another.
Provide a description for the rule, such as “Prevent Elementary School students from receiving email from messages with high-school and middle-school headers.”)
Under “1. Email messages to affect,” check the box for "Internal - receiving" only.
Under “2. Add expressions that describe the content you want to search for in each message” next to “No expressions added yet” click “Add.”
Under “Expressions” select “Advanced content match” in the dropdown menu.
Under “Location” select “Full headers.”
Under “Match type” select “Not matches regex.”
Under “Regexp” enter “^X-Person-Type: (high-school|middle-school)$” (without quotes).
Under “Regex Description” enter “Reject message if it is marked with high-school or middle-school.”
Click “Save” to save the expression.
Under “3. If the above expressions match, do the following” choose “Reject Message” from the dropdown menu.
Under “Customize rejection notice” enter a good description for the sender to receive so that they understand why the message was returned to sender such as “This message has been rejected because your organization is not allowed to send email to the Elementary School Students organization.”
Click “Add Setting” to save the compliance setting.
Click “Save” to save the advanced Gmail settings.
Ok, that's not possible.Groups are either avilable in the Directory for everybody, or for nobody.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAGPzzFutGf0dNZRm9c%3DSF1oySJZS7JJiz5jr9OC_SFmCGnDO7A%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.