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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
use std::fmt::{Display, Formatter};

/// This enum contains all usage types defined by google (late 2023).
/// See [here](https://developers.google.com/identity/protocols/oauth2/scopes?hl=en) for more information.
pub enum Usage {
    /// For own purposes
    Custom(String),
    /// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
    CloudPlatform,
    /// View your data across Google Cloud services and see the email address of your Google Account
    CloudPlatformReadOnly,
    /// Manage your Ad Exchange buyer account configuration
    AdExchangeBuyer,
    /// See your AdMob data
    AdMobReadOnly,
    /// See your AdMob data
    AdMobReport,
    /// View and manage your AdSense host data and associated accounts
    AdSenseHost,
    /// View audit reports for your G Suite domain
    AdminReportsAuditReadOnly,
    /// View audit reports for your G Suite domain
    AdminReportsUsageReadOnly,
    /// View and manage data transfers between users in your organization
    AdminDataTransfer,
    /// View data transfers between users in your organization
    AdminDataTransferReadOnly,
    /// See, add, edit, and permanently delete the printers that your organization can use with Chrome
    AdminChromePrinters,
    /// See the printers that your organization can use with Chrome
    AdminChromePrintersReadOnly,
    /// View and manage customer related information
    AdminDirectoryCustomer,
    /// View customer related information
    AdminDirectoryCustomerReadOnly,
    /// View and manage your Chrome OS devices' metadata
    AdminDirectoryDeviceChromeOS,
    /// View your Chrome OS devices' metadata
    AdminDirectoryDeviceChromeOSReadOnly,
    /// View and manage your mobile devices' metadata
    AdminDirectoryDeviceMobile,
    /// Manage your mobile devices by performing administrative tasks
    AdminDirectoryDeviceMobileAction,
    /// View your mobile devices' metadata
    AdminDirectoryDeviceMobileReadOnly,
    /// View and manage the provisioning of domains for your customers
    AdminDirectoryDomain,
    /// View domains related to your customers
    AdminDirectoryDomainReadOnly,
    /// View and manage the provisioning of groups on your domain
    AdminDirectoryGroup,
    /// View and manage group subscriptions on your domain
    AdminDirectoryGroupMember,
    /// View group subscriptions on your domain
    AdminDirectoryGroupMemberReadOnly,
    /// View groups on your domain
    AdminDirectoryGroupReadOnly,
    /// View and manage organization units on your domain
    AdminDirectoryOrgUnit,
    /// View organization units on your domain
    AdminDirectoryOrgUnitReadOnly,
    /// View and manage the provisioning of calendar resources on your domain
    AdminDirectoryResourceCalendar,
    /// View calendar resources on your domain
    AdminDirectoryResourceCalendarReadOnly,
    /// Manage delegated admin roles for your domain
    AdminDirectoryRoleManagement,
    /// View delegated admin roles for your domain
    AdminDirectoryRoleManagementReadOnly,
    /// View and manage the provisioning of users on your domain
    AdminDirectoryUser,
    /// View and manage user aliases on your domain
    AdminDirectoryUserAlias,
    /// View user aliases on your domain
    AdminDirectoryUserAliasReadOnly,
    /// See info about users on your domain
    AdminDirectoryUserReadOnly,
    /// Manage data access permissions for users on your domain
    AdminDirectoryUserSecurity,
    /// View and manage the provisioning of user schemas on your domain
    AdminDirectoryUserSchema,
    /// View user schemas on your domain
    AdminDirectoryUserSchemaReadOnly,
    /// View and manage your Google Analytics data
    Analytics,
    /// See and download your Google Analytics data
    AnalyticsReadOnly,
    /// Manage Android devices and apps for your customers
    AndroidManagement,
    /// View and manage your applications deployed on Google App Engine
    AppEngineAdmin,
    /// Read, compose, send, and permanently delete all your email from Gmail
    Mail,
    /// See, edit, share, and permanently delete all the calendars you can access using Google Calendar
    CalendarFeeds,
    /// See, edit, download, and permanently delete your contacts
    M8Feeds,
    /// See, edit, create, and delete all your Google Docs documents
    Documents,
    /// See, edit, create, and delete all of your Google Drive files
    Drive,
    /// View and manage your forms in Google Drive
    Forms,
    /// View and manage forms that this application has been installed in
    FormsCurrentOnly,
    /// View and manage your Google Groups
    Groups,
    /// Create and update Google Apps Script deployments
    ScriptDeployments,
    /// View Google Apps Script deployments
    ScriptDeploymentsReadOnly,
    /// View Google Apps Script project's metrics
    ScriptMetrics,
    /// View Google Apps Script processes
    ScriptProcesses,
    /// Create and update Google Apps Script projects
    ScriptProjects,
    /// View Google Apps Script projects
    ScriptProjectsReadOnly,
    /// See, edit, create, and delete all your Google Sheets spreadsheets
    Spreadsheets,
    /// See your primary Google Account email address
    UserInfoEmail,
    /// View and manage your data in Google BigQuery and see the email address for your Google Account
    BigQuery,
    /// Insert data into Google BigQuery
    BigQueryInsertData,
    /// Manage your data and permissions in Cloud Storage and see the email address for your Google Account
    DevStorageFullControl,
    /// View your data in Google Cloud Storage
    DevStorageReadOnly,
    /// Manage your data in Cloud Storage and see the email address of your Google Account
    DevStorageReadWrite,
    /// Manage your Blogger account
    Blogger,
    /// View your Blogger account
    BloggerReadOnly,
    /// Manage your books
    Books,
    /// See, edit, share, and permanently delete all the calendars you can access using Google Calendar
    Calendar,
    /// View and edit events on all your calendars
    CalendarEvents,
    /// View events on all your calendars
    CalendarEventsReadOnly,
    /// See and download any calendar you can access using your Google Calendar
    CalendarReadOnly,
    /// View your Calendar settings
    CalendarSettingsReadOnly,
    /// Manage DoubleClick Digital Marketing conversions
    DdmConversions,
    /// View and manage DoubleClick for Advertisers reports
    DfaReporting,
    /// View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
    DfaTrafficking,
    /// Administer your Cloud Bigtable tables and clusters
    BigTableAdmin,
    /// Administer your Cloud Bigtable clusters
    BigTableAdminCluster,
    /// Administer your Cloud Bigtable clusters
    BigTableAdminInstance,
    /// Administer your Cloud Bigtable tables
    BigTableAdminTable,
    /// Administer your Cloud Bigtable tables and clusters
    CloudBigTableAdmin,
    /// Administer your Cloud Bigtable clusters
    CloudBigTableAdminCluster,
    /// Administer your Cloud Bigtable tables
    CloudBigTableAdminTable,
    /// View and manage your Google Cloud Platform billing accounts
    CloudBilling,
    /// View your Google Cloud Platform billing accounts
    CloudBillingReadOnly,
    /// View your DNS records hosted by Google Cloud DNS
    NDevCloudDnsReadOnly,
    /// View and manage your DNS records hosted by Google Cloud DNS
    NDevCloudDnsReadWrite,
    /// Use Stack driver Debugger
    CloudDebugger,
    /// View and manage your Google Cloud Platform management resources and deployment status information
    NDevCloudMan,
    /// View your Google Cloud Platform management resources and deployment status information
    NDevCloudManReadOnly,
    /// View and manage your Google Cloud Datastore data
    DataStore,
    /// See your device details
    CloudIdentityDevicesLookup,
    /// See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
    CloudIdentityGroups,
    /// See any Cloud Identity Groups that you can access, including group members and their emails
    CloudIdentityGroupsReadOnly,
    /// View and manage your keys and secrets stored in Cloud Key Management Service
    CloudKms,
    /// Submit log data for your projects
    LoggingWrite,
    /// View log data for your projects
    LoggingRead,
    /// Administrate log data for your projects
    LoggingAdmin,
    /// View and write monitoring data for all of your Google and third-party Cloud and API projects
    Monitoring,
    /// View monitoring data for all of your Google Cloud and third-party projects
    MonitoringRead,
    /// Publish metric data to your Google Cloud projects
    MonitoringWrite,
    /// Apply machine learning models to reveal the structure and meaning of text
    CloudLanguage,
    /// View and manage your Google Compute Engine resources
    Compute,
    /// View your Google Compute Engine resources
    ComputeReadOnly,
    /// View and manage Pub/Sub topics and subscriptions
    PubSub,
    /// Manage your Google Cloud Platform services' runtime configuration
    CloudRuntimeConfig,
    /// Manage your Google SQL Service instances
    SqlServiceAdmin,
    /// Index and serve your organization's data with Cloud Search
    CloudSearch,
    /// Index and serve your organization's data with Cloud Search
    CloudSearchDebug,
    /// Index and serve your organization's data with Cloud Search
    CloudSearchIndexing,
    /// Search your organization's data in the Cloud Search index
    CloudSearchQuery,
    /// Index and serve your organization's data with Cloud Search
    CloudSearchSettings,
    /// Index and serve your organization's data with Cloud Search
    CloudSearchSettingsIndexing,
    /// Index and serve your organization's data with Cloud Search
    CloudSearchSettingsQuery,
    /// Index and serve your organization's data with Cloud Search
    CloudSearchStats,
    /// Index and serve your organization's data with Cloud Search
    CloudSearchStatsIndexing,
    /// Manage your source code repositories
    SourceFullControl,
    /// View the contents of your source code repositories
    SourceReadOnly,
    /// Manage the contents of your source code repositories
    SourceReadWrite,
    /// Administer your Spanner databases
    SpannerAdmin,
    /// View and manage the contents of your Spanner databases
    SpannerData,
    /// Write Trace data for a project or application
    TraceAppend,
    /// Translate text from one language to another using Google Translate
    CloudTranslation,
    /// Apply machine learning models to understand and label images
    CloudVision,
    /// Manage your product listings and accounts for Google Shopping
    Content,
    /// View and add to the activity record of files in your Google Drive
    DriveActivity,
    /// View the activity record of files in your Google Drive
    DriveActivityReadOnly,
    /// View and manage G Suite licenses for your domain
    AppsLicensing,
    /// Send messages and manage messaging subscriptions for your Firebase applications
    FirebaseMessaging,
    /// View and administer all your Firebase data and settings
    Firebase,
    /// View all your Firebase data and settings
    FirebaseReadOnly,
    /// Use Google Fit to see and store your physical activity data
    FitnessActivityRead,
    /// Add to your Google Fit physical activity data
    FitnessActivityWrite,
    /// See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.
    FitnessBloodGlucoseRead,
    /// Add info about your blood glucose to Google Fit. I consent to Google using my blood glucose information with this app.
    FitnessBloodGlucoseWrite,
    /// See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
    FitnessBloodPressureRead,
    /// Add info about your blood pressure in Google Fit. I consent to Google using my blood pressure information with this app.
    FitnessBloodPressureWrite,
    /// See info about your body measurements in Google Fit
    FitnessBodyRead,
    /// Add info about your body measurements to Google Fit
    FitnessBodyWrite,
    /// See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
    FitnessBodyTemperatureRead,
    /// Add to info about your body temperature in Google Fit. I consent to Google using my body temperature information with this app.
    FitnessBodyTemperatureWrite,
    /// See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
    FitnessHeartRateRead,
    /// Add to your heart rate data in Google Fit. I consent to Google using my heart rate information with this app.
    FitnessHeartRateWrite,
    /// Add to your Google Fit location data
    FitnessLocationWrite,
    /// See your Google Fit speed and distance data
    FitnessLocationRead,
    /// See info about your nutrition in Google Fit
    FitnessNutritionRead,
    /// Add to info about your nutrition in Google Fit
    FitnessNutritionWrite,
    /// See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
    FitnessOxygenSaturationRead,
    /// Add info about your oxygen saturation in Google Fit. I consent to Google using my oxygen saturation information with this app.
    FitnessOxygenSaturationWrite,
    /// See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
    FitnessReproductiveHealthRead,
    /// Add info about your reproductive health in Google Fit. I consent to Google using my reproductive health information with this app.
    FitnessReproductiveHealthWrite,
    /// See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
    FitnessSleepRead,
    /// Add to your sleep data in Google Fit. I consent to Google using my sleep information with this app.
    FitnessSleepWrite,
    /// View and manage Genomics data
    Genomics,
    /// Manage drafts and send emails when you interact with the add-on
    MailAddonsCurrentActionCompose,
    /// View your email messages when you interact with the add-on
    MailAddonsCurrentMessageAction,
    /// View your email message metadata when the add-on is running
    MailAddonsCurrentMessageMetaData,
    /// View your email messages when the add-on is running
    MailAddonsCurrentMessageReadOnly,
    /// Manage drafts and send emails
    MailCompose,
    /// Add emails into your Gmail mailbox
    MailInsert,
    /// See and edit your email labels
    MailLabels,
    /// View your email message metadata such as labels and headers, but not the email body
    MailMetaData,
    /// Read, compose, and send emails from your Gmail account
    MailModify,
    /// iew your email messages and settings
    MailReadOnly,
    /// Send email on your behalf
    MailSend,
    /// See, edit, create, or change your email settings and filters in Gmail
    MailSettingsBasic,
    /// Manage your sensitive mail settings, including who can manage your mail
    MailSettingsSharing,
    /// Edit Google Analytics management entities
    AnalyticsEdit,
    /// Manage Google Analytics Account users by email address
    AnalyticsManageUsers,
    /// View Google Analytics user permissions
    AnalyticsManageUsersReadOnly,
    /// Create a new Google Analytics account along with its default property and view
    AnalyticsProVision,
    /// Manage Google Analytics user deletion requests
    AnalyticsUserDeletion,
    /// Delete conversations and spaces & remove access to associated files in Google Chat
    ChatDelete,
    /// View members in Google Chat conversations.
    ChatMembershipsReadOnly,
    /// View, add, and remove members from conversations in Google Chat
    ChatMemberships,
    /// Add and remove itself from conversations in Google Chat
    ChatMembershipsApp,
    /// View, compose, send, update, and delete messages, and add, view, and delete reactions to messages.
    ChatMessages,
    /// Compose and send messages in Google Chat
    ChatMessagesCreate,
    /// View, add, and delete reactions to messages in Google Chat
    ChatMessagesReactions,
    /// Add reactions to messages in Google Chat
    ChatMessagesReactionsCreate,
    /// View reactions to messages in Google Chat
    ChatMessagesReactionsReadOnly,
    /// View messages and reactions in Google Chat
    ChatMessagesReadOnly,
    /// Create conversations and spaces and view or update metadata (including history settings) in Google Chat
    ChatSpaces,
    /// View and manage announcements in Google Classroom
    ClassroomAnnouncements,
    /// View chat and spaces in Google Chat
    ChatSpacesReadOnly,
    /// Create new conversations in Google Chat
    ChatSpacesCreate,
    /// View announcements in Google Classroom
    ClassroomAnnouncementsReadOnly,
    /// See, edit, create, and permanently delete your Google Classroom classes
    ClassroomCourses,
    /// View your Google Classroom classes
    ClassroomCoursesReadOnly,
    /// See, create and edit coursework items including assignments, questions, and grades
    ClassroomCourseworkMe,
    /// View your course work and grades in Google Classroom
    ClassroomCourseworkMeReadOnly,
    /// Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer
    ClassroomCourseworkStudents,
    /// Google Classroom classes you teach or administer
    ClassroomCourseworkStudentsReadOnly,
    /// See, edit, and create classwork materials in Google Classroom
    ClassroomCourseworkMaterials,
    /// See all classwork materials for your Google Classroom classes
    ClassroomCourseworkMaterialsReadOnly,
    /// View your Google Classroom guardians
    ClassroomGuardianLinksMeReadOnly,
    /// View and manage guardians for students in your Google Classroom classes
    ClassroomGuardianLinksStudents,
    /// View guardians for students in your Google Classroom classes
    ClassroomGuardianLinksStudentsReadOnly,
    /// View the email addresses of people in your classes
    ClassroomProfileEmails,
    /// View the profile photos of people in your classes
    ClassroomProfilePhotos,
    /// Receive notifications about your Google Classroom data
    ClassroomPushNotifications,
    /// Manage your Google Classroom class rosters
    ClassroomRosters,
    /// View your Google Classroom class rosters
    ClassroomRostersReadOnly,
    /// View your course work and grades in Google Classroom
    ClassroomStudentSubmissionsMeReadOnly,
    /// View course work and grades for students in the Google Classroom classes you teach or administer
    ClassroomStudentSubmissionsStudentsReadOnly,
    /// See, create, and edit topics in Google Classroom
    ClassroomTopics,
    /// View topics in Google Classroom
    ClassroomTopicsReadOnly,
    /// View YouTube Analytics reports for your YouTube content
    YoutubeAnalyticsReadOnly,
    /// View monetary and non-monetary YouTube Analytics reports for your YouTube content
    YoutubeAnalyticsMonetaryReadOnly,
    /// View private information of your YouTube channel relevant during the audit process with a YouTube partner
    YoutubePartnerChannelAudit,
    /// See, edit, and permanently delete your YouTube videos, ratings, comments and captions
    YouTubeForceSsl,
    /// View your YouTube account
    YoutubeReadOnly,
    /// Manage your YouTube videos
    YoutubeUpload,
    /// View and manage your assets and associated content on YouTube
    YoutubePartner,
    /// See a list of your current active channel members, their current level, and when they became a member
    YoutubeChannelMembershipsCreator,
    /// Manage your YouTube account
    Youtube,
    /// Publish your Google Tag Manager container versions
    TagManagerPublish,
    /// View your Google Tag Manager container and its subcomponents
    TagManagerReadOnly,
    /// Manage user permissions of your Google Tag Manager account and container
    TagManagerManageUsers,
    /// View and manage your Google Tag Manager accounts
    TagManagerManageAccounts,
    /// Manage your Google Tag Manager container versions
    TagManagerEditContainerVersions,
    /// Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing
    TagManagerEditContainers,
    /// Delete your Google Tag Manager containers
    TagManagerDeleteContainers,
    /// Publish and manage your 360 photos on Google Street View
    StreetViewPublish,
    /// Manage your Google API service configuration
    ServiceManagement,
    /// View your Google API service configuration
    ServiceManagementReadOnly,
    /// View and manage your advertising data in DoubleClick Search
    DoubleClickSearch,
    /// Read, create, update, and delete your SAS Portal data.
    SasPortal,
    /// Manage and add to shared albums on your behalf
    PhotosLibrarySharing,
    /// Manage photos added by this app
    PhotosLibraryReadOnlyAppCreatedData,
    /// View your Google Photos library
    PhotosLibraryReadOnly,
    /// Edit the info in your photos, videos, and albums created within this app, including titles, descriptions, and covers
    PhotosLibraryEditAppCreatedData,
    /// Add to your Google Photos library
    PhotosLibraryAppendOnly,
    /// See, upload, and organize items in your Google Photos library
    PhotosLibrary,
    /// See your personal info, including any personal info you've made publicly available
    UserInfoProfile,
    /// See and download your personal phone numbers
    UserPhoneNumbersRead,
    /// See your education, work history and org info
    UserOrganizationRead,
    /// See and download your contacts
    ContactsReadOnly,
    /// See and download your organization's GSuite directory
    DirectoryReadOnly,
    /// View your street addresses
    UserAddressesRead,
    /// See and download your exact date of birth
    UserBirthdayRead,
    /// See and download all of your Google Account email addresses
    UserEmailsRead,
    /// See your gender
    UserGenderRead,
    /// Manage your product listings for Google Manufacturer Center
    ManufacturerCenter,
    /// See and download contact info automatically saved in your "Other contacts"
    ContactsOtherReadOnly,
    /// Submit data to Google for indexing
    Indexing,
    /// See and delete your domain's G Suite alerts, and send alert feedback
    AppsAlerts,
    /// Manage users on your domain
    AppsOrder,
    /// Manage users on your domain
    AppsOrderReadOnly,
    /// Upload messages to any Google group in your domain
    AppsGroupsMigration,
    /// View and manage the settings of a G Suite group
    AppsGroupsSettings,
    /// View your eDiscovery data
    EDiscoveryReadOnly,
    /// Manage your eDiscovery data
    EDiscovery,
    /// Create, edit, organize, and delete all your tasks
    Tasks,
    /// View your tasks
    TasksReadOnly,
    /// See all your Google Sheets spreadsheets
    SpreadsheetsReadOnly,
    /// See, edit, create, and delete all your Google Slides presentations
    Presentations,
    /// See all your Google Slides presentations
    PresentationsReadOnly,
    /// See and download all your Google Drive files
    DriveReadOnly,
    /// See, edit, create, and delete only the specific Google Drive files you use with this app
    DriveFile,
    /// Manage your new site verifications with Google
    SiteVerificationVerifyOnly,
    /// Manage the list of sites and domains you control
    SiteVerification,
    /// View Search Console data for your verified sites
    WebmastersReadOnly,
    /// View and manage Search Console data for your verified sites
    Webmasters,
    /// View and manage your Google Play Developer account
    AndroidPublisher,
    /// See, create, and delete its own configuration data in your Google Drive
    DriveAppData,
    /// Create, edit, and delete your Google Play Games activity
    Games,
    /// Manage corporate Android devices
    AndroidEnterprise,
    /// Modify your Google Apps Script scripts' behavior
    DriveScripts,
    /// View the photos, videos and albums in your Google Photos
    DrivePhotosReadOnly,
    /// See information about your Google Drive files
    DriveMetaDataReadOnly,
    /// View and manage metadata of files in your Google Drive
    DriveMetaData,
    /// See all your Google Docs documents
    DocumentsReadOnly,
    /// See your primary Google Account email address
    Email,
    /// Associate you with your personal info on Google
    OpenId,
    /// See your personal info, including any personal info you've made publicly available
    Profile,
}

impl Display for Usage {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        write!(f, "{url}", url = self.as_string())
    }
}

impl Usage {
    #![allow(clippy::too_many_lines)]
    pub(crate) fn as_string(&self) -> String {
        match self {
            Self::Custom(url) => url.clone(),
            Self::CloudPlatform => String::from("https://www.googleapis.com/auth/cloud-platform"),
            Self::CloudPlatformReadOnly => {
                String::from("https://www.googleapis.com/auth/cloud-platform.read-only")
            }
            Self::AdExchangeBuyer => {
                String::from("https://www.googleapis.com/auth/adexchange.buyer")
            }
            Self::AdMobReadOnly => String::from("https://www.googleapis.com/auth/admob.readonly"),
            Self::AdMobReport => String::from("https://www.googleapis.com/auth/admob.report"),
            Self::AdSenseHost => String::from("https://www.googleapis.com/auth/adsensehost"),
            Self::AdminReportsAuditReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.reports.audit.readonly")
            }
            Self::AdminReportsUsageReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.reports.usage.readonly")
            }
            Self::AdminDataTransfer => {
                String::from("https://www.googleapis.com/auth/admin.datatransfer")
            }
            Self::AdminDataTransferReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.datatransfer.readonly")
            }
            Self::AdminChromePrinters => {
                String::from("https://www.googleapis.com/auth/admin.chrome.printers")
            }
            Self::AdminChromePrintersReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.chrome.printers.readonly")
            }
            Self::AdminDirectoryCustomer => {
                String::from("https://www.googleapis.com/auth/admin.directory.customer")
            }
            Self::AdminDirectoryCustomerReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.directory.customer.readonly")
            }
            Self::AdminDirectoryDeviceChromeOS => {
                String::from("https://www.googleapis.com/auth/admin.directory.device.chromeos")
            }
            Self::AdminDirectoryDeviceChromeOSReadOnly => String::from(
                "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly",
            ),
            Self::AdminDirectoryDeviceMobile => {
                String::from("https://www.googleapis.com/auth/admin.directory.device.mobile")
            }
            Self::AdminDirectoryDeviceMobileAction => {
                String::from("https://www.googleapis.com/auth/admin.directory.device.mobile.action")
            }
            Self::AdminDirectoryDeviceMobileReadOnly => String::from(
                "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly",
            ),
            Self::AdminDirectoryDomain => {
                String::from("https://www.googleapis.com/auth/admin.directory.domain")
            }
            Self::AdminDirectoryDomainReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.directory.domain.readonly")
            }
            Self::AdminDirectoryGroup => {
                String::from("https://www.googleapis.com/auth/admin.directory.group")
            }
            Self::AdminDirectoryGroupMember => {
                String::from("https://www.googleapis.com/auth/admin.directory.group.member")
            }
            Self::AdminDirectoryGroupMemberReadOnly => String::from(
                "https://www.googleapis.com/auth/admin.directory.group.member.readonly",
            ),
            Self::AdminDirectoryGroupReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.directory.group.readonly")
            }
            Self::AdminDirectoryOrgUnit => {
                String::from("https://www.googleapis.com/auth/admin.directory.orgunit")
            }
            Self::AdminDirectoryOrgUnitReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.directory.orgunit.readonly")
            }
            Self::AdminDirectoryResourceCalendar => {
                String::from("https://www.googleapis.com/auth/admin.directory.resource.calendar")
            }
            Self::AdminDirectoryResourceCalendarReadOnly => String::from(
                "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly",
            ),
            Self::AdminDirectoryRoleManagement => {
                String::from("https://www.googleapis.com/auth/admin.directory.rolemanagement")
            }
            Self::AdminDirectoryRoleManagementReadOnly => String::from(
                "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly",
            ),
            Self::AdminDirectoryUser => {
                String::from("https://www.googleapis.com/auth/admin.directory.user")
            }
            Self::AdminDirectoryUserAlias => {
                String::from("https://www.googleapis.com/auth/admin.directory.user.alias")
            }
            Self::AdminDirectoryUserAliasReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.directory.user.alias.readonly")
            }
            Self::AdminDirectoryUserReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.directory.user.readonly")
            }
            Self::AdminDirectoryUserSecurity => {
                String::from("https://www.googleapis.com/auth/admin.directory.user.security")
            }
            Self::AdminDirectoryUserSchema => {
                String::from("https://www.googleapis.com/auth/admin.directory.userschema")
            }
            Self::AdminDirectoryUserSchemaReadOnly => {
                String::from("https://www.googleapis.com/auth/admin.directory.userschema.readonly")
            }
            Self::Analytics => String::from("https://www.googleapis.com/auth/analytics"),
            Self::AnalyticsReadOnly => {
                String::from("https://www.googleapis.com/auth/analytics.readonly")
            }
            Self::AndroidManagement => {
                String::from("https://www.googleapis.com/auth/androidmanagement")
            }
            Self::AppEngineAdmin => String::from("https://www.googleapis.com/auth/appengine.admin"),
            Self::Mail => String::from("https://mail.google.com/"),
            Self::CalendarFeeds => String::from("https://www.google.com/calendar/feeds"),
            Self::M8Feeds => String::from("https://www.google.com/m8/feeds"),
            Self::Documents => String::from("https://www.googleapis.com/auth/documents"),
            Self::Drive => String::from("https://www.googleapis.com/auth/drive"),
            Self::Forms => String::from("https://www.googleapis.com/auth/forms"),
            Self::FormsCurrentOnly => {
                String::from("https://www.googleapis.com/auth/forms.currentonly")
            }
            Self::Groups => String::from("https://www.googleapis.com/auth/groups"),
            Self::ScriptDeployments => {
                String::from("https://www.googleapis.com/auth/script.deployments")
            }
            Self::ScriptDeploymentsReadOnly => {
                String::from("https://www.googleapis.com/auth/script.deployments.readonly")
            }
            Self::ScriptMetrics => String::from("https://www.googleapis.com/auth/script.metrics"),
            Self::ScriptProcesses => {
                String::from("https://www.googleapis.com/auth/script.processes")
            }
            Self::ScriptProjects => String::from("https://www.googleapis.com/auth/script.projects"),
            Self::ScriptProjectsReadOnly => {
                String::from("https://www.googleapis.com/auth/script.projects.readonly")
            }
            Self::Spreadsheets => String::from("https://www.googleapis.com/auth/spreadsheets"),
            Self::UserInfoEmail => String::from("https://www.googleapis.com/auth/userinfo.email"),
            Self::BigQuery => String::from("https://www.googleapis.com/auth/bigquery"),
            Self::BigQueryInsertData => {
                String::from("https://www.googleapis.com/auth/bigquery.insertdata")
            }
            Self::DevStorageFullControl => {
                String::from("https://www.googleapis.com/auth/devstorage.full_control")
            }
            Self::DevStorageReadOnly => {
                String::from("https://www.googleapis.com/auth/devstorage.read_only")
            }
            Self::DevStorageReadWrite => {
                String::from("https://www.googleapis.com/auth/devstorage.read_write")
            }
            Self::Blogger => String::from("https://www.googleapis.com/auth/blogger"),
            Self::BloggerReadOnly => {
                String::from("https://www.googleapis.com/auth/blogger.readonly")
            }
            Self::Books => String::from("https://www.googleapis.com/auth/books"),
            Self::Calendar => String::from("https://www.googleapis.com/auth/calendar"),
            Self::CalendarEvents => String::from("https://www.googleapis.com/auth/calendar.events"),
            Self::CalendarEventsReadOnly => {
                String::from("https://www.googleapis.com/auth/calendar.events.readonly")
            }
            Self::CalendarReadOnly => {
                String::from("https://www.googleapis.com/auth/calendar.readonly")
            }
            Self::CalendarSettingsReadOnly => {
                String::from("https://www.googleapis.com/auth/calendar.settings.readonly")
            }
            Self::DdmConversions => String::from("https://www.googleapis.com/auth/ddmconversions"),
            Self::DfaReporting => String::from("https://www.googleapis.com/auth/dfareporting"),
            Self::DfaTrafficking => String::from("https://www.googleapis.com/auth/dfatrafficking"),
            Self::BigTableAdmin => String::from("https://www.googleapis.com/auth/bigtable.admin"),
            Self::BigTableAdminCluster => {
                String::from("https://www.googleapis.com/auth/bigtable.admin.cluster")
            }
            Self::BigTableAdminInstance => {
                String::from("https://www.googleapis.com/auth/bigtable.admin.instance")
            }
            Self::BigTableAdminTable => {
                String::from("https://www.googleapis.com/auth/bigtable.admin.table")
            }
            Self::CloudBigTableAdmin => {
                String::from("https://www.googleapis.com/auth/cloud-bigtable.admin")
            }
            Self::CloudBigTableAdminCluster => {
                String::from("https://www.googleapis.com/auth/cloud-bigtable.admin.cluster")
            }
            Self::CloudBigTableAdminTable => {
                String::from("https://www.googleapis.com/auth/cloud-bigtable.admin.table")
            }
            Self::CloudBilling => String::from("https://www.googleapis.com/auth/cloud-billing"),
            Self::CloudBillingReadOnly => {
                String::from("https://www.googleapis.com/auth/cloud-billing.readonly")
            }
            Self::NDevCloudDnsReadOnly => {
                String::from("https://www.googleapis.com/auth/ndev.clouddns.readonly")
            }
            Self::NDevCloudDnsReadWrite => {
                String::from("https://www.googleapis.com/auth/ndev.clouddns.readwrite")
            }
            Self::CloudDebugger => String::from("https://www.googleapis.com/auth/cloud_debugger"),
            Self::NDevCloudMan => String::from("https://www.googleapis.com/auth/ndev.cloudman"),
            Self::NDevCloudManReadOnly => {
                String::from("https://www.googleapis.com/auth/ndev.cloudman.readonly")
            }
            Self::DataStore => String::from("https://www.googleapis.com/auth/datastore"),
            Self::CloudIdentityDevicesLookup => {
                String::from("https://www.googleapis.com/auth/cloud-identity.devices.lookup")
            }
            Self::CloudIdentityGroups => {
                String::from("https://www.googleapis.com/auth/cloud-identity.groups")
            }
            Self::CloudIdentityGroupsReadOnly => {
                String::from("https://www.googleapis.com/auth/cloud-identity.groups.readonly")
            }
            Self::CloudKms => String::from("https://www.googleapis.com/auth/cloudkms"),
            Self::LoggingAdmin => String::from("https://www.googleapis.com/auth/logging.admin"),
            Self::LoggingRead => String::from("https://www.googleapis.com/auth/logging.read"),
            Self::LoggingWrite => String::from("https://www.googleapis.com/auth/logging.write"),
            Self::Monitoring => String::from("https://www.googleapis.com/auth/monitoring"),
            Self::MonitoringRead => String::from("https://www.googleapis.com/auth/monitoring.read"),
            Self::MonitoringWrite => {
                String::from("https://www.googleapis.com/auth/monitoring.write")
            }
            Self::CloudLanguage => String::from("https://www.googleapis.com/auth/cloud-language"),
            Self::Compute => String::from("https://www.googleapis.com/auth/compute"),
            Self::ComputeReadOnly => {
                String::from("https://www.googleapis.com/auth/compute.readonly")
            }
            Self::PubSub => String::from("https://www.googleapis.com/auth/pubsub"),
            Self::CloudRuntimeConfig => {
                String::from("https://www.googleapis.com/auth/cloudruntimeconfig")
            }
            Self::SqlServiceAdmin => {
                String::from("https://www.googleapis.com/auth/sqlservice.admin")
            }
            Self::CloudSearch => String::from("https://www.googleapis.com/auth/cloud_search"),
            Self::CloudSearchDebug => {
                String::from("https://www.googleapis.com/auth/cloud_search.debug")
            }
            Self::CloudSearchIndexing => {
                String::from("https://www.googleapis.com/auth/cloud_search.indexing")
            }
            Self::CloudSearchQuery => {
                String::from("https://www.googleapis.com/auth/cloud_search.query")
            }
            Self::CloudSearchSettings => {
                String::from("https://www.googleapis.com/auth/cloud_search.settings")
            }
            Self::CloudSearchSettingsIndexing => {
                String::from("https://www.googleapis.com/auth/cloud_search.settings.indexing")
            }
            Self::CloudSearchSettingsQuery => {
                String::from("https://www.googleapis.com/auth/cloud_search.settings.query")
            }
            Self::CloudSearchStats => {
                String::from("https://www.googleapis.com/auth/cloud_search.stats")
            }
            Self::CloudSearchStatsIndexing => {
                String::from("https://www.googleapis.com/auth/cloud_search.stats.indexing")
            }
            Self::SourceFullControl => {
                String::from("https://www.googleapis.com/auth/source.full_control")
            }
            Self::SourceReadOnly => {
                String::from("https://www.googleapis.com/auth/source.read_only")
            }
            Self::SourceReadWrite => {
                String::from("https://www.googleapis.com/auth/source.read_write")
            }
            Self::SpannerAdmin => String::from("https://www.googleapis.com/auth/spanner.admin"),
            Self::SpannerData => String::from("https://www.googleapis.com/auth/spanner.data"),
            Self::TraceAppend => String::from("https://www.googleapis.com/auth/trace.append"),
            Self::CloudTranslation => {
                String::from("https://www.googleapis.com/auth/cloud-translation")
            }
            Self::CloudVision => String::from("https://www.googleapis.com/auth/cloud-vision"),
            Self::Content => String::from("https://www.googleapis.com/auth/content"),
            Self::DriveActivity => String::from("https://www.googleapis.com/auth/drive.activity"),
            Self::DriveActivityReadOnly => {
                String::from("https://www.googleapis.com/auth/drive.activity.readonly")
            }
            Self::AppsLicensing => String::from("https://www.googleapis.com/auth/apps.licensing"),
            Self::FirebaseMessaging => {
                String::from("https://www.googleapis.com/auth/firebase.messaging")
            }
            Self::Firebase => String::from("https://www.googleapis.com/auth/firebase"),
            Self::FirebaseReadOnly => {
                String::from("https://www.googleapis.com/auth/firebase.readonly")
            }
            Self::FitnessActivityRead => {
                String::from("https://www.googleapis.com/auth/fitness.activity.read")
            }
            Self::FitnessActivityWrite => {
                String::from("https://www.googleapis.com/auth/fitness.activity.write")
            }
            Self::FitnessBloodGlucoseRead => {
                String::from("https://www.googleapis.com/auth/fitness.blood_glucose.read")
            }
            Self::FitnessBloodGlucoseWrite => {
                String::from("https://www.googleapis.com/auth/fitness.blood_glucose.write")
            }
            Self::FitnessBloodPressureRead => {
                String::from("https://www.googleapis.com/auth/fitness.blood_pressure.read")
            }
            Self::FitnessBloodPressureWrite => {
                String::from("https://www.googleapis.com/auth/fitness.blood_pressure.write")
            }
            Self::FitnessBodyRead => {
                String::from("https://www.googleapis.com/auth/fitness.body.read")
            }
            Self::FitnessBodyWrite => {
                String::from("https://www.googleapis.com/auth/fitness.body.write")
            }
            Self::FitnessBodyTemperatureRead => {
                String::from("https://www.googleapis.com/auth/fitness.body_temperature.read")
            }
            Self::FitnessBodyTemperatureWrite => {
                String::from("https://www.googleapis.com/auth/fitness.body_temperature.write")
            }
            Self::FitnessHeartRateRead => {
                String::from("https://www.googleapis.com/auth/fitness.heart_rate.read")
            }
            Self::FitnessHeartRateWrite => {
                String::from("https://www.googleapis.com/auth/fitness.heart_rate.write")
            }
            Self::FitnessLocationRead => {
                String::from("https://www.googleapis.com/auth/fitness.location.read")
            }
            Self::FitnessLocationWrite => {
                String::from("https://www.googleapis.com/auth/fitness.location.write")
            }
            Self::FitnessNutritionRead => {
                String::from("https://www.googleapis.com/auth/fitness.nutrition.read")
            }
            Self::FitnessNutritionWrite => {
                String::from("https://www.googleapis.com/auth/fitness.nutrition.write")
            }
            Self::FitnessOxygenSaturationRead => {
                String::from("https://www.googleapis.com/auth/fitness.oxygen_saturation.read")
            }
            Self::FitnessOxygenSaturationWrite => {
                String::from("https://www.googleapis.com/auth/fitness.oxygen_saturation.write")
            }
            Self::FitnessReproductiveHealthRead => {
                String::from("https://www.googleapis.com/auth/fitness.reproductive_health.read")
            }
            Self::FitnessReproductiveHealthWrite => {
                String::from("https://www.googleapis.com/auth/fitness.reproductive_health.write")
            }
            Self::FitnessSleepRead => {
                String::from("https://www.googleapis.com/auth/fitness.sleep.read")
            }
            Self::FitnessSleepWrite => {
                String::from("https://www.googleapis.com/auth/fitness.sleep.write")
            }
            Self::Genomics => String::from("https://www.googleapis.com/auth/genomics"),
            Self::MailAddonsCurrentActionCompose => {
                String::from("https://www.googleapis.com/auth/gmail.addons.current.action.compose")
            }
            Self::MailAddonsCurrentMessageAction => {
                String::from("https://www.googleapis.com/auth/gmail.addons.current.message.action")
            }
            Self::MailAddonsCurrentMessageMetaData => String::from(
                "https://www.googleapis.com/auth/gmail.addons.current.message.metadata",
            ),
            Self::MailAddonsCurrentMessageReadOnly => String::from(
                "https://www.googleapis.com/auth/gmail.addons.current.message.readonly",
            ),
            Self::MailCompose => String::from("https://www.googleapis.com/auth/gmail.compose"),
            Self::MailInsert => String::from("https://www.googleapis.com/auth/gmail.insert"),
            Self::MailLabels => String::from("https://www.googleapis.com/auth/gmail.labels"),
            Self::MailMetaData => String::from("https://www.googleapis.com/auth/gmail.metadata"),
            Self::MailModify => String::from("https://www.googleapis.com/auth/gmail.modify"),
            Self::MailReadOnly => String::from("https://www.googleapis.com/auth/gmail.readonly"),
            Self::MailSend => String::from("https://www.googleapis.com/auth/gmail.send"),
            Self::MailSettingsBasic => {
                String::from("https://www.googleapis.com/auth/gmail.settings.basic")
            }
            Self::MailSettingsSharing => {
                String::from("https://www.googleapis.com/auth/gmail.settings.sharing")
            }
            Self::AnalyticsEdit => String::from("https://www.googleapis.com/auth/analytics.edit"),
            Self::AnalyticsManageUsers => {
                String::from("https://www.googleapis.com/auth/analytics.manage.users")
            }
            Self::AnalyticsManageUsersReadOnly => {
                String::from("https://www.googleapis.com/auth/analytics.manage.users.readonly")
            }
            Self::AnalyticsProVision => {
                String::from("https://www.googleapis.com/auth/analytics.provision")
            }
            Self::AnalyticsUserDeletion => {
                String::from("https://www.googleapis.com/auth/analytics.user.deletion")
            }
            Self::ChatDelete => String::from("https://www.googleapis.com/auth/chat.delete"),
            Self::ChatMemberships => {
                String::from("https://www.googleapis.com/auth/chat.memberships")
            }
            Self::ChatMembershipsApp => {
                String::from("https://www.googleapis.com/auth/chat.memberships.app")
            }
            Self::ChatMembershipsReadOnly => {
                String::from("https://www.googleapis.com/auth/chat.memberships.readonly")
            }
            Self::ChatMessages => String::from("https://www.googleapis.com/auth/chat.messages"),
            Self::ChatMessagesCreate => {
                String::from("https://www.googleapis.com/auth/chat.messages.create")
            }
            Self::ChatMessagesReactions => {
                String::from("https://www.googleapis.com/auth/chat.messages.reactions")
            }
            Self::ChatMessagesReactionsCreate => {
                String::from("https://www.googleapis.com/auth/chat.messages.reactions.create")
            }
            Self::ChatMessagesReactionsReadOnly => {
                String::from("https://www.googleapis.com/auth/chat.messages.reactions.readonly")
            }
            Self::ChatMessagesReadOnly => {
                String::from("https://www.googleapis.com/auth/chat.messages.readonly")
            }
            Self::ChatSpaces => String::from("https://www.googleapis.com/auth/chat.spaces"),
            Self::ChatSpacesCreate => {
                String::from("https://www.googleapis.com/auth/chat.spaces.create")
            }
            Self::ChatSpacesReadOnly => {
                String::from("https://www.googleapis.com/auth/chat.spaces.readonly")
            }
            Self::ClassroomAnnouncements => {
                String::from("https://www.googleapis.com/auth/classroom.announcements")
            }
            Self::ClassroomAnnouncementsReadOnly => {
                String::from("https://www.googleapis.com/auth/classroom.announcements.readonly")
            }
            Self::ClassroomCourses => {
                String::from("https://www.googleapis.com/auth/classroom.courses")
            }
            Self::ClassroomCoursesReadOnly => {
                String::from("https://www.googleapis.com/auth/classroom.courses.readonly")
            }
            Self::ClassroomCourseworkMe => {
                String::from("https://www.googleapis.com/auth/classroom.coursework.me")
            }
            Self::ClassroomCourseworkMeReadOnly => {
                String::from("https://www.googleapis.com/auth/classroom.coursework.me.readonly")
            }
            Self::ClassroomCourseworkStudents => {
                String::from("https://www.googleapis.com/auth/classroom.coursework.students")
            }
            Self::ClassroomCourseworkStudentsReadOnly => String::from(
                "https://www.googleapis.com/auth/classroom.coursework.students.readonly",
            ),
            Self::ClassroomCourseworkMaterials => {
                String::from("https://www.googleapis.com/auth/classroom.courseworkmaterials")
            }
            Self::ClassroomCourseworkMaterialsReadOnly => String::from(
                "https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly",
            ),
            Self::ClassroomGuardianLinksMeReadOnly => {
                String::from("https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly")
            }
            Self::ClassroomGuardianLinksStudents => {
                String::from("https://www.googleapis.com/auth/classroom.guardianlinks.students")
            }
            Self::ClassroomGuardianLinksStudentsReadOnly => String::from(
                "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly",
            ),
            Self::ClassroomProfileEmails => {
                String::from("https://www.googleapis.com/auth/classroom.profile.emails")
            }
            Self::ClassroomProfilePhotos => {
                String::from("https://www.googleapis.com/auth/classroom.profile.photos")
            }
            Self::ClassroomPushNotifications => {
                String::from("https://www.googleapis.com/auth/classroom.push-notifications")
            }
            Self::ClassroomRosters => {
                String::from("https://www.googleapis.com/auth/classroom.rosters")
            }
            Self::ClassroomRostersReadOnly => {
                String::from("https://www.googleapis.com/auth/classroom.rosters.readonly")
            }
            Self::ClassroomStudentSubmissionsMeReadOnly => String::from(
                "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly",
            ),
            Self::ClassroomStudentSubmissionsStudentsReadOnly => String::from(
                "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly",
            ),
            Self::ClassroomTopics => {
                String::from("https://www.googleapis.com/auth/classroom.topics")
            }
            Self::ClassroomTopicsReadOnly => {
                String::from("https://www.googleapis.com/auth/classroom.topics.readonly")
            }
            Self::DocumentsReadOnly => {
                String::from("https://www.googleapis.com/auth/documents.readonly")
            }
            Self::DriveMetaData => String::from("https://www.googleapis.com/auth/drive.metadata"),
            Self::DriveMetaDataReadOnly => {
                String::from("https://www.googleapis.com/auth/drive.metadata.readonly")
            }
            Self::DrivePhotosReadOnly => {
                String::from("https://www.googleapis.com/auth/drive.photos.readonly")
            }
            Self::DriveScripts => String::from("https://www.googleapis.com/auth/drive.scripts"),
            Self::AndroidEnterprise => {
                String::from("https://www.googleapis.com/auth/androidenterprise")
            }
            Self::DriveAppData => String::from("https://www.googleapis.com/auth/drive.appdata"),
            Self::Games => String::from("https://www.googleapis.com/auth/games"),
            Self::AndroidPublisher => {
                String::from("https://www.googleapis.com/auth/androidpublisher")
            }
            Self::Webmasters => String::from("https://www.googleapis.com/auth/webmasters"),
            Self::WebmastersReadOnly => {
                String::from("https://www.googleapis.com/auth/webmasters.readonly")
            }
            Self::SiteVerification => {
                String::from("https://www.googleapis.com/auth/siteverification")
            }
            Self::SiteVerificationVerifyOnly => {
                String::from("https://www.googleapis.com/auth/siteverification.verify_only")
            }
            Self::DriveFile => String::from("https://www.googleapis.com/auth/drive.file"),
            Self::DriveReadOnly => String::from("https://www.googleapis.com/auth/drive.readonly"),
            Self::Presentations => String::from("https://www.googleapis.com/auth/presentations"),
            Self::PresentationsReadOnly => {
                String::from("https://www.googleapis.com/auth/presentations.readonly")
            }
            Self::SpreadsheetsReadOnly => {
                String::from("https://www.googleapis.com/auth/spreadsheets.readonly")
            }
            Self::Tasks => String::from("https://www.googleapis.com/auth/tasks"),
            Self::TasksReadOnly => String::from("https://www.googleapis.com/auth/tasks.readonly"),
            Self::EDiscovery => String::from("https://www.googleapis.com/auth/ediscovery"),
            Self::EDiscoveryReadOnly => {
                String::from("https://www.googleapis.com/auth/ediscovery.readonly")
            }
            Self::AppsAlerts => String::from("https://www.googleapis.com/auth/apps.alerts"),
            Self::AppsOrder => String::from("https://www.googleapis.com/auth/apps.order"),
            Self::AppsOrderReadOnly => {
                String::from("https://www.googleapis.com/auth/apps.order.readonly")
            }
            Self::AppsGroupsMigration => {
                String::from("https://www.googleapis.com/auth/apps.groups.migration")
            }
            Self::AppsGroupsSettings => {
                String::from("https://www.googleapis.com/auth/apps.groups.settings")
            }
            Self::Indexing => String::from("https://www.googleapis.com/auth/indexing"),
            Self::ManufacturerCenter => {
                String::from("https://www.googleapis.com/auth/manufacturercenter")
            }
            Self::ContactsOtherReadOnly => {
                String::from("https://www.googleapis.com/auth/contacts.other.readonly")
            }
            Self::ContactsReadOnly => {
                String::from("https://www.googleapis.com/auth/contacts.readonly")
            }
            Self::DirectoryReadOnly => {
                String::from("https://www.googleapis.com/auth/directory.readonly")
            }
            Self::UserAddressesRead => {
                String::from("https://www.googleapis.com/auth/user.addresses.read")
            }
            Self::UserBirthdayRead => {
                String::from("https://www.googleapis.com/auth/user.birthday.read")
            }
            Self::UserEmailsRead => {
                String::from("https://www.googleapis.com/auth/user.emails.read")
            }
            Self::UserGenderRead => {
                String::from("https://www.googleapis.com/auth/user.gender.read")
            }
            Self::UserOrganizationRead => {
                String::from("https://www.googleapis.com/auth/user.organization.read")
            }
            Self::UserPhoneNumbersRead => {
                String::from("https://www.googleapis.com/auth/user.phonenumbers.read")
            }
            Self::UserInfoProfile => {
                String::from("https://www.googleapis.com/auth/userinfo.profile")
            }
            Self::PhotosLibrary => String::from("https://www.googleapis.com/auth/photoslibrary"),
            Self::PhotosLibraryAppendOnly => {
                String::from("https://www.googleapis.com/auth/photoslibrary.appendonly")
            }
            Self::PhotosLibraryEditAppCreatedData => {
                String::from("https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata")
            }
            Self::PhotosLibraryReadOnly => {
                String::from("https://www.googleapis.com/auth/photoslibrary.readonly")
            }
            Self::PhotosLibraryReadOnlyAppCreatedData => String::from(
                "https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata",
            ),
            Self::PhotosLibrarySharing => {
                String::from("https://www.googleapis.com/auth/photoslibrary.sharing")
            }
            Self::SasPortal => String::from("https://www.googleapis.com/auth/sasportal"),
            Self::DoubleClickSearch => {
                String::from("https://www.googleapis.com/auth/doubleclicksearch")
            }
            Self::ServiceManagementReadOnly => {
                String::from("https://www.googleapis.com/auth/service.management.readonly")
            }
            Self::ServiceManagement => {
                String::from("https://www.googleapis.com/auth/service.management")
            }
            Self::StreetViewPublish => {
                String::from("https://www.googleapis.com/auth/streetviewpublish")
            }
            Self::TagManagerDeleteContainers => {
                String::from("https://www.googleapis.com/auth/tagmanager.delete.containers")
            }
            Self::TagManagerEditContainers => {
                String::from("https://www.googleapis.com/auth/tagmanager.edit.containers")
            }
            Self::TagManagerEditContainerVersions => {
                String::from("https://www.googleapis.com/auth/tagmanager.edit.containerversions")
            }
            Self::TagManagerManageAccounts => {
                String::from("https://www.googleapis.com/auth/tagmanager.manage.accounts")
            }
            Self::TagManagerManageUsers => {
                String::from("https://www.googleapis.com/auth/tagmanager.manage.users")
            }
            Self::TagManagerPublish => {
                String::from("https://www.googleapis.com/auth/tagmanager.publish")
            }
            Self::TagManagerReadOnly => {
                String::from("https://www.googleapis.com/auth/tagmanager.readonly")
            }
            Self::Youtube => String::from("https://www.googleapis.com/auth/youtube"),
            Self::YoutubeChannelMembershipsCreator => {
                String::from("https://www.googleapis.com/auth/youtube.channel-memberships.creator")
            }
            Self::YouTubeForceSsl => {
                String::from("https://www.googleapis.com/auth/youtube.force-ssl")
            }
            Self::YoutubeReadOnly => {
                String::from("https://www.googleapis.com/auth/youtube.readonly")
            }
            Self::YoutubeUpload => String::from("https://www.googleapis.com/auth/youtube.upload"),
            Self::YoutubePartner => String::from("https://www.googleapis.com/auth/youtubepartner"),
            Self::YoutubePartnerChannelAudit => {
                String::from("https://www.googleapis.com/auth/youtubepartner-channel-audit")
            }
            Self::YoutubeAnalyticsMonetaryReadOnly => {
                String::from("https://www.googleapis.com/auth/yt-analytics-monetary.readonly")
            }
            Self::YoutubeAnalyticsReadOnly => {
                String::from("https://www.googleapis.com/auth/yt-analytics.readonly")
            }
            Self::Email => String::from("email"),
            Self::OpenId => String::from("openid"),
            Self::Profile => String::from("profile"),
        }
    }
}