/
directory_v1.ts
12426 lines (11587 loc) · 406 KB
/
directory_v1.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';
// tslint:disable: no-any
// tslint:disable: class-name
// tslint:disable: variable-name
// tslint:disable: jsdoc-format
// tslint:disable: no-namespace
export namespace admin_directory_v1 {
export interface Options extends GlobalOptions {
version: 'directory_v1';
}
/**
* Admin Directory API
*
* Manages enterprise resources such as users and groups, administrative
* notifications, security features, and more.
*
* @example
* const {google} = require('googleapis');
* const admin = google.admin('directory_v1');
*
* @namespace admin
* @type {Function}
* @version directory_v1
* @variation directory_v1
* @param {object=} options Options for Admin
*/
export class Admin {
_options: GlobalOptions;
google?: GoogleConfigurable;
root = this;
asps: Resource$Asps;
channels: Resource$Channels;
chromeosdevices: Resource$Chromeosdevices;
customers: Resource$Customers;
domainAliases: Resource$Domainaliases;
domains: Resource$Domains;
groups: Resource$Groups;
members: Resource$Members;
mobiledevices: Resource$Mobiledevices;
notifications: Resource$Notifications;
orgunits: Resource$Orgunits;
privileges: Resource$Privileges;
resolvedAppAccessSettings: Resource$Resolvedappaccesssettings;
resources: Resource$Resources;
roleAssignments: Resource$Roleassignments;
roles: Resource$Roles;
schemas: Resource$Schemas;
tokens: Resource$Tokens;
users: Resource$Users;
verificationCodes: Resource$Verificationcodes;
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
this.asps = new Resource$Asps(this);
this.channels = new Resource$Channels(this);
this.chromeosdevices = new Resource$Chromeosdevices(this);
this.customers = new Resource$Customers(this);
this.domainAliases = new Resource$Domainaliases(this);
this.domains = new Resource$Domains(this);
this.groups = new Resource$Groups(this);
this.members = new Resource$Members(this);
this.mobiledevices = new Resource$Mobiledevices(this);
this.notifications = new Resource$Notifications(this);
this.orgunits = new Resource$Orgunits(this);
this.privileges = new Resource$Privileges(this);
this.resolvedAppAccessSettings =
new Resource$Resolvedappaccesssettings(this);
this.resources = new Resource$Resources(this);
this.roleAssignments = new Resource$Roleassignments(this);
this.roles = new Resource$Roles(this);
this.schemas = new Resource$Schemas(this);
this.tokens = new Resource$Tokens(this);
this.users = new Resource$Users(this);
this.verificationCodes = new Resource$Verificationcodes(this);
}
getRoot() {
return this.root;
}
}
/**
* JSON template for Alias object in Directory API.
*/
export interface Schema$Alias {
/**
* A alias email
*/
alias?: string;
/**
* ETag of the resource.
*/
etag?: string;
/**
* Unique id of the group (Read-only) Unique id of the user (Read-only)
*/
id?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* Group's primary email (Read-only) User's primary email
* (Read-only)
*/
primaryEmail?: string;
}
/**
* JSON response template to list aliases in Directory API.
*/
export interface Schema$Aliases {
/**
* List of alias objects.
*/
aliases?: any[];
/**
* ETag of the resource.
*/
etag?: string;
/**
* Kind of resource this is.
*/
kind?: string;
}
/**
* JSON template for App Access Collections Resource object in Directory API.
*/
export interface Schema$AppAccessCollections {
/**
* List of blocked api access buckets.
*/
blockedApiAccessBuckets?: string[];
/**
* Boolean to indicate whether to enforce app access settings on Android
* Drive or not.
*/
enforceSettingsForAndroidDrive?: boolean;
/**
* Error message provided by the Admin that will be shown to the user when
* an app is blocked.
*/
errorMessage?: string;
/**
* ETag of the resource.
*/
etag?: string;
/**
* Identifies the resource as an app access collection. Value:
* admin#directory#appaccesscollection
*/
kind?: string;
/**
* Unique ID of app access collection. (Readonly)
*/
resourceId?: string;
/**
* Resource name given by the customer while creating/updating. Should be
* unique under given customer.
*/
resourceName?: string;
/**
* Boolean that indicates whether to trust domain owned apps.
*/
trustDomainOwnedApps?: boolean;
}
/**
* The template that returns individual ASP (Access Code) data.
*/
export interface Schema$Asp {
/**
* The unique ID of the ASP.
*/
codeId?: number;
/**
* The time when the ASP was created. Expressed in Unix time format.
*/
creationTime?: string;
/**
* ETag of the ASP.
*/
etag?: string;
/**
* The type of the API resource. This is always admin#directory#asp.
*/
kind?: string;
/**
* The time when the ASP was last used. Expressed in Unix time format.
*/
lastTimeUsed?: string;
/**
* The name of the application that the user, represented by their userId,
* entered when the ASP was created.
*/
name?: string;
/**
* The unique ID of the user who issued the ASP.
*/
userKey?: string;
}
export interface Schema$Asps {
/**
* ETag of the resource.
*/
etag?: string;
/**
* A list of ASP resources.
*/
items?: Schema$Asp[];
/**
* The type of the API resource. This is always admin#directory#aspList.
*/
kind?: string;
}
/**
* JSON template for Building object in Directory API.
*/
export interface Schema$Building {
/**
* Unique identifier for the building. The maximum length is 100 characters.
*/
buildingId?: string;
/**
* The building name as seen by users in Calendar. Must be unique for the
* customer. For example, "NYC-CHEL". The maximum length is 100
* characters.
*/
buildingName?: string;
/**
* The geographic coordinates of the center of the building, expressed as
* latitude and longitude in decimal degrees.
*/
coordinates?: Schema$BuildingCoordinates;
/**
* A brief description of the building. For example, "Chelsea
* Market".
*/
description?: string;
/**
* ETag of the resource.
*/
etags?: string;
/**
* The display names for all floors in this building. The floors are
* expected to be sorted in ascending order, from lowest floor to highest
* floor. For example, ["B2", "B1", "L",
* "1", "2", "2M", "3",
* "PH"] Must contain at least one entry.
*/
floorNames?: string[];
/**
* Kind of resource this is.
*/
kind?: string;
}
/**
* JSON template for coordinates of a building in Directory API.
*/
export interface Schema$BuildingCoordinates {
/**
* Latitude in decimal degrees.
*/
latitude?: number;
/**
* Longitude in decimal degrees.
*/
longitude?: number;
}
/**
* JSON template for Building List Response object in Directory API.
*/
export interface Schema$Buildings {
/**
* The Buildings in this page of results.
*/
buildings?: Schema$Building[];
/**
* ETag of the resource.
*/
etag?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* The continuation token, used to page through large result sets. Provide
* this value in a subsequent request to return the next page of results.
*/
nextPageToken?: string;
}
/**
* JSON template for Calendar Resource object in Directory API.
*/
export interface Schema$CalendarResource {
/**
* Unique ID for the building a resource is located in.
*/
buildingId?: string;
/**
* Capacity of a resource, number of seats in a room.
*/
capacity?: number;
/**
* ETag of the resource.
*/
etags?: string;
featureInstances?: any;
/**
* Name of the floor a resource is located on.
*/
floorName?: string;
/**
* Name of the section within a floor a resource is located in.
*/
floorSection?: string;
/**
* The read-only auto-generated name of the calendar resource which includes
* metadata about the resource such as building name, floor, capacity, etc.
* For example, "NYC-2-Training Room 1A (16)".
*/
generatedResourceName?: string;
/**
* The type of the resource. For calendar resources, the value is
* admin#directory#resources#calendars#CalendarResource.
*/
kind?: string;
/**
* The category of the calendar resource. Either CONFERENCE_ROOM or OTHER.
* Legacy data is set to CATEGORY_UNKNOWN.
*/
resourceCategory?: string;
/**
* Description of the resource, visible only to admins.
*/
resourceDescription?: string;
/**
* The read-only email for the calendar resource. Generated as part of
* creating a new calendar resource.
*/
resourceEmail?: string;
/**
* The unique ID for the calendar resource.
*/
resourceId?: string;
/**
* The name of the calendar resource. For example, "Training Room
* 1A".
*/
resourceName?: string;
/**
* The type of the calendar resource, intended for non-room resources.
*/
resourceType?: string;
/**
* Description of the resource, visible to users and admins.
*/
userVisibleDescription?: string;
}
/**
* JSON template for Calendar Resource List Response object in Directory API.
*/
export interface Schema$CalendarResources {
/**
* ETag of the resource.
*/
etag?: string;
/**
* The CalendarResources in this page of results.
*/
items?: Schema$CalendarResource[];
/**
* Identifies this as a collection of CalendarResources. This is always
* admin#directory#resources#calendars#calendarResourcesList.
*/
kind?: string;
/**
* The continuation token, used to page through large result sets. Provide
* this value in a subsequent request to return the next page of results.
*/
nextPageToken?: string;
}
/**
* An notification channel used to watch for resource changes.
*/
export interface Schema$Channel {
/**
* The address where notifications are delivered for this channel.
*/
address?: string;
/**
* Date and time of notification channel expiration, expressed as a Unix
* timestamp, in milliseconds. Optional.
*/
expiration?: string;
/**
* A UUID or similar unique string that identifies this channel.
*/
id?: string;
/**
* Identifies this as a notification channel used to watch for changes to a
* resource. Value: the fixed string "api#channel".
*/
kind?: string;
/**
* Additional parameters controlling delivery channel behavior. Optional.
*/
params?: any;
/**
* A Boolean value to indicate whether payload is wanted. Optional.
*/
payload?: boolean;
/**
* An opaque ID that identifies the resource being watched on this channel.
* Stable across different API versions.
*/
resourceId?: string;
/**
* A version-specific identifier for the watched resource.
*/
resourceUri?: string;
/**
* An arbitrary string delivered to the target address with each
* notification delivered over this channel. Optional.
*/
token?: string;
/**
* The type of delivery mechanism used for this channel.
*/
type?: string;
}
/**
* JSON template for Chrome Os Device resource in Directory API.
*/
export interface Schema$ChromeOsDevice {
/**
* List of active time ranges (Read-only)
*/
activeTimeRanges?: any[];
/**
* AssetId specified during enrollment or through later annotation
*/
annotatedAssetId?: string;
/**
* Address or location of the device as noted by the administrator
*/
annotatedLocation?: string;
/**
* User of the device
*/
annotatedUser?: string;
/**
* Chromebook boot mode (Read-only)
*/
bootMode?: string;
/**
* List of device files to download (Read-only)
*/
deviceFiles?: any[];
/**
* Unique identifier of Chrome OS Device (Read-only)
*/
deviceId?: string;
/**
* ETag of the resource.
*/
etag?: string;
/**
* Chromebook Mac Address on ethernet network interface (Read-only)
*/
ethernetMacAddress?: string;
/**
* Chromebook firmware version (Read-only)
*/
firmwareVersion?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* Date and time the device was last enrolled (Read-only)
*/
lastEnrollmentTime?: string;
/**
* Date and time the device was last synchronized with the policy settings
* in the G Suite administrator control panel (Read-only)
*/
lastSync?: string;
/**
* Chromebook Mac Address on wifi network interface (Read-only)
*/
macAddress?: string;
/**
* Mobile Equipment identifier for the 3G mobile card in the Chromebook
* (Read-only)
*/
meid?: string;
/**
* Chromebook Model (Read-only)
*/
model?: string;
/**
* Notes added by the administrator
*/
notes?: string;
/**
* Chromebook order number (Read-only)
*/
orderNumber?: string;
/**
* OrgUnit of the device
*/
orgUnitPath?: string;
/**
* Chromebook Os Version (Read-only)
*/
osVersion?: string;
/**
* Chromebook platform version (Read-only)
*/
platformVersion?: string;
/**
* List of recent device users, in descending order by last login time
* (Read-only)
*/
recentUsers?: any[];
/**
* Chromebook serial number (Read-only)
*/
serialNumber?: string;
/**
* status of the device (Read-only)
*/
status?: string;
/**
* Final date the device will be supported (Read-only)
*/
supportEndDate?: string;
/**
* Trusted Platform Module (TPM) (Read-only)
*/
tpmVersionInfo?: any;
/**
* Will Chromebook auto renew after support end date (Read-only)
*/
willAutoRenew?: boolean;
}
/**
* JSON request template for firing actions on ChromeOs Device in Directory
* Devices API.
*/
export interface Schema$ChromeOsDeviceAction {
/**
* Action to be taken on the ChromeOs Device
*/
action?: string;
deprovisionReason?: string;
}
/**
* JSON response template for List Chrome OS Devices operation in Directory
* API.
*/
export interface Schema$ChromeOsDevices {
/**
* List of Chrome OS Device objects.
*/
chromeosdevices?: Schema$ChromeOsDevice[];
/**
* ETag of the resource.
*/
etag?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* Token used to access next page of this result.
*/
nextPageToken?: string;
}
/**
* JSON request template for moving ChromeOs Device to given OU in Directory
* Devices API.
*/
export interface Schema$ChromeOsMoveDevicesToOu {
/**
* ChromeOs Devices to be moved to OU
*/
deviceIds?: string[];
}
/**
* JSON template for Customer Resource object in Directory API.
*/
export interface Schema$Customer {
/**
* The customer's secondary contact email address. This email address
* cannot be on the same domain as the customerDomain
*/
alternateEmail?: string;
/**
* The customer's creation time (Readonly)
*/
customerCreationTime?: string;
/**
* The customer's primary domain name string. Do not include the www
* prefix when creating a new customer.
*/
customerDomain?: string;
/**
* ETag of the resource.
*/
etag?: string;
/**
* The unique ID for the customer's G Suite account. (Readonly)
*/
id?: string;
/**
* Identifies the resource as a customer. Value: admin#directory#customer
*/
kind?: string;
/**
* The customer's ISO 639-2 language code. The default value is en-US
*/
language?: string;
/**
* The customer's contact phone number in E.164 format.
*/
phoneNumber?: string;
/**
* The customer's postal address information.
*/
postalAddress?: Schema$CustomerPostalAddress;
}
/**
* JSON template for postal address of a customer.
*/
export interface Schema$CustomerPostalAddress {
/**
* A customer's physical address. The address can be composed of one to
* three lines.
*/
addressLine1?: string;
/**
* Address line 2 of the address.
*/
addressLine2?: string;
/**
* Address line 3 of the address.
*/
addressLine3?: string;
/**
* The customer contact's name.
*/
contactName?: string;
/**
* This is a required property. For countryCode information see the ISO 3166
* country code elements.
*/
countryCode?: string;
/**
* Name of the locality. An example of a locality value is the city of San
* Francisco.
*/
locality?: string;
/**
* The company or company division name.
*/
organizationName?: string;
/**
* The postal code. A postalCode example is a postal zip code such as 10009.
* This is in accordance with -
* http://portablecontacts.net/draft-spec.html#address_element.
*/
postalCode?: string;
/**
* Name of the region. An example of a region value is NY for the state of
* New York.
*/
region?: string;
}
/**
* JSON template for Domain Alias object in Directory API.
*/
export interface Schema$DomainAlias {
/**
* The creation time of the domain alias. (Read-only).
*/
creationTime?: string;
/**
* The domain alias name.
*/
domainAliasName?: string;
/**
* ETag of the resource.
*/
etag?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* The parent domain name that the domain alias is associated with. This can
* either be a primary or secondary domain name within a customer.
*/
parentDomainName?: string;
/**
* Indicates the verification state of a domain alias. (Read-only)
*/
verified?: boolean;
}
/**
* JSON response template to list domain aliases in Directory API.
*/
export interface Schema$DomainAliases {
/**
* List of domain alias objects.
*/
domainAliases?: Schema$DomainAlias[];
/**
* ETag of the resource.
*/
etag?: string;
/**
* Kind of resource this is.
*/
kind?: string;
}
/**
* JSON template for Domain object in Directory API.
*/
export interface Schema$Domains {
/**
* Creation time of the domain. (Read-only).
*/
creationTime?: string;
/**
* List of domain alias objects. (Read-only)
*/
domainAliases?: Schema$DomainAlias[];
/**
* The domain name of the customer.
*/
domainName?: string;
/**
* ETag of the resource.
*/
etag?: string;
/**
* Indicates if the domain is a primary domain (Read-only).
*/
isPrimary?: boolean;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* Indicates the verification state of a domain. (Read-only).
*/
verified?: boolean;
}
/**
* JSON response template to list Domains in Directory API.
*/
export interface Schema$Domains2 {
/**
* List of domain objects.
*/
domains?: Schema$Domains[];
/**
* ETag of the resource.
*/
etag?: string;
/**
* Kind of resource this is.
*/
kind?: string;
}
/**
* JSON template for Feature object in Directory API.
*/
export interface Schema$Feature {
/**
* ETag of the resource.
*/
etags?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* The name of the feature.
*/
name?: string;
}
/**
* JSON template for a "feature instance".
*/
export interface Schema$FeatureInstance {
/**
* The feature that this is an instance of. A calendar resource may have
* multiple instances of a feature.
*/
feature?: Schema$Feature;
}
/**
* JSON request template for renaming a feature.
*/
export interface Schema$FeatureRename {
/**
* New name of the feature.
*/
newName?: string;
}
/**
* JSON template for Feature List Response object in Directory API.
*/
export interface Schema$Features {
/**
* ETag of the resource.
*/
etag?: string;
/**
* The Features in this page of results.
*/
features?: Schema$Feature[];
/**
* Kind of resource this is.
*/
kind?: string;
/**
* The continuation token, used to page through large result sets. Provide
* this value in a subsequent request to return the next page of results.
*/
nextPageToken?: string;
}
/**
* JSON template for Group resource in Directory API.
*/
export interface Schema$Group {
/**
* Is the group created by admin (Read-only) *
*/
adminCreated?: boolean;
/**
* List of aliases (Read-only)
*/
aliases?: string[];
/**
* Description of the group
*/
description?: string;
/**
* Group direct members count
*/
directMembersCount?: string;
/**
* Email of Group
*/
email?: string;
/**
* ETag of the resource.
*/
etag?: string;
/**
* Unique identifier of Group (Read-only)
*/
id?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* Group name
*/
name?: string;
/**
* List of non editable aliases (Read-only)
*/
nonEditableAliases?: string[];
}
/**
* JSON response template for List Groups operation in Directory API.
*/
export interface Schema$Groups {
/**
* ETag of the resource.
*/
etag?: string;
/**
* List of group objects.
*/
groups?: Schema$Group[];
/**
* Kind of resource this is.
*/
kind?: string;
/**
* Token used to access next page of this result.
*/
nextPageToken?: string;
}
/**
* JSON template for Member resource in Directory API.
*/
export interface Schema$Member {
/**
* Email of member (Read-only)
*/
email?: string;
/**
* ETag of the resource.
*/
etag?: string;
/**
* Unique identifier of customer member (Read-only) Unique identifier of
* group (Read-only) Unique identifier of member (Read-only)
*/
id?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* Role of member
*/
role?: string;
/**
* Status of member (Immutable)
*/
status?: string;
/**
* Type of member (Immutable)
*/
type?: string;
}
/**
* JSON response template for List Members operation in Directory API.
*/
export interface Schema$Members {
/**
* ETag of the resource.
*/
etag?: string;
/**
* Kind of resource this is.
*/
kind?: string;
/**
* List of member objects.
*/
members?: Schema$Member[];
/**
* Token used to access next page of this result.
*/
nextPageToken?: string;
}
/**
* JSON template for Has Member response in Directory API.
*/
export interface Schema$MembersHasMember {
/**
* Identifies whether the given user is a member of the group. Membership
* can be direct or nested.
*/
isMember?: boolean;
}
/**
* JSON template for Mobile Device resource in Directory API.
*/
export interface Schema$MobileDevice {
/**
* Adb (USB debugging) enabled or disabled on device (Read-only)
*/
adbStatus?: boolean;
/**
* List of applications installed on Mobile Device