description:`The group's email address. If your account has multiple domains, select the appropriate domain for the email address. The email must be unique`,
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
default:{},
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'group',
],
},
},
options:[
{
displayName:'Description',
name:'description',
type:'string',
default:'',
description:`An extended description to help users determine the purpose of a group.<br>
description:'If all results should be returned or only up to a given limit.',
},
{
displayName:'Limit',
name:'limit',
type:'number',
displayOptions:{
show:{
operation:[
'getAll',
],
resource:[
'group',
],
returnAll:[
false,
],
},
},
typeOptions:{
minValue: 1,
maxValue: 500,
},
default:100,
description:'How many results to return.',
},
{
displayName:'Options',
name:'options',
type:'collection',
placeholder:'Add Option',
default:{},
displayOptions:{
show:{
operation:[
'getAll',
],
resource:[
'group',
],
},
},
options:[
{
displayName:'Customer',
name:'customer',
type:'string',
default:'',
description:`The unique ID for the customer's G Suite account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain`,
},
{
displayName:'Domain',
name:'domain',
type:'string',
default:'',
description:'The domain name. Use this field to get fields from only one domain.',
},
{
displayName:'Order By',
name:'orderBy',
type:'options',
options:[
{
name:'Email',
value:'email',
},
],
default:'',
description:'Property to use for sorting results.',
description:'Whether to return results in ascending or descending order',
},
{
displayName:'User ID',
name:'userId',
type:'string',
default:'',
description:`Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object.`,
description:`The group's email address. If your account has multiple domains, select the appropriate domain for the email address. The email must be unique.`,