groups_security_settings
Creates, updates, deletes, gets or lists a groups_security_settings
resource.
Overview
Name | groups_security_settings |
Type | Resource |
Id | google.cloudidentity.groups_security_settings |
Fields
The following fields are returned by SELECT
queries:
- get_security_settings
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name of the security settings. Shall be of the form groups/{group_id}/securitySettings . |
memberRestriction | object | The Member Restriction value (id: MemberRestriction) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_security_settings | select | groupsId | readMask | Get Security Settings |
update_security_settings | update | groupsId | updateMask | Update Security Settings |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
groupsId | string | |
readMask | string (google-fieldmask) | |
updateMask | string (google-fieldmask) |
SELECT
examples
- get_security_settings
Get Security Settings
SELECT
name,
memberRestriction
FROM google.cloudidentity.groups_security_settings
WHERE groupsId = '{{ groupsId }}' -- required
AND readMask = '{{ readMask }}';
UPDATE
examples
- update_security_settings
Update Security Settings
UPDATE google.cloudidentity.groups_security_settings
SET
data__memberRestriction = '{{ memberRestriction }}'
WHERE
groupsId = '{{ groupsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;