|
17 | 17 | "canonicalName": "reports",
|
18 | 18 | "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.",
|
19 | 19 | "discoveryVersion": "v1",
|
20 |
| - "documentationLink": "https://developers.google.com/admin-sdk/", |
| 20 | + "documentationLink": "https://developers.google.com/workspace/admin/", |
21 | 21 | "fullyEncodeReservedExpansion": true,
|
22 | 22 | "icons": {
|
23 | 23 | "x16": "http://www.google.com/images/icons/product/search-16.gif",
|
|
626 | 626 | }
|
627 | 627 | }
|
628 | 628 | },
|
629 |
| - "revision": "20250304", |
| 629 | + "revision": "20250424", |
630 | 630 | "rootUrl": "https://admin.googleapis.com/",
|
631 | 631 | "schemas": {
|
632 | 632 | "Activities": {
|
|
663 | 663 | "actor": {
|
664 | 664 | "description": "User doing the action.",
|
665 | 665 | "properties": {
|
| 666 | + "applicationInfo": { |
| 667 | + "description": "Details of the application that was the actor for the activity.", |
| 668 | + "properties": { |
| 669 | + "applicationName": { |
| 670 | + "description": "Name of the application used to perform the action.", |
| 671 | + "type": "string" |
| 672 | + }, |
| 673 | + "impersonation": { |
| 674 | + "description": "Whether the application was impersonating a user.", |
| 675 | + "type": "boolean" |
| 676 | + }, |
| 677 | + "oauthClientId": { |
| 678 | + "description": "OAuth client id of the third party application used to perform the action.", |
| 679 | + "type": "string" |
| 680 | + } |
| 681 | + }, |
| 682 | + "type": "object" |
| 683 | + }, |
666 | 684 | "callerType": {
|
667 | 685 | "description": "The type of actor.",
|
668 | 686 | "type": "string"
|
|
764 | 782 | },
|
765 | 783 | "type": "array"
|
766 | 784 | },
|
| 785 | + "resourceIds": { |
| 786 | + "description": "Resource ids associated with the event.", |
| 787 | + "items": { |
| 788 | + "type": "string" |
| 789 | + }, |
| 790 | + "type": "array" |
| 791 | + }, |
767 | 792 | "type": {
|
768 | 793 | "description": "Type of event. The Google Workspace service or feature that an administrator changes is identified in the `type` property which identifies an event using the `eventName` property. For a full list of the API's `type` categories, see the list of event names for various applications above in `applicationName`.",
|
769 | 794 | "type": "string"
|
|
809 | 834 | "ownerDomain": {
|
810 | 835 | "description": "This is the domain that is affected by the report's event. For example domain of Admin console or the Drive application's document owner.",
|
811 | 836 | "type": "string"
|
| 837 | + }, |
| 838 | + "resourceDetails": { |
| 839 | + "description": "Details of the resource on which the action was performed.", |
| 840 | + "items": { |
| 841 | + "$ref": "ResourceDetails" |
| 842 | + }, |
| 843 | + "type": "array" |
| 844 | + } |
| 845 | + }, |
| 846 | + "type": "object" |
| 847 | + }, |
| 848 | + "AppliedLabel": { |
| 849 | + "description": "Details of the label applied on the resource.", |
| 850 | + "id": "AppliedLabel", |
| 851 | + "properties": { |
| 852 | + "fieldValues": { |
| 853 | + "description": "List of fields which are part of the label and have been set by the user. If label has a field which was not set by the user, it would not be present in this list.", |
| 854 | + "items": { |
| 855 | + "$ref": "FieldValue" |
| 856 | + }, |
| 857 | + "type": "array" |
| 858 | + }, |
| 859 | + "id": { |
| 860 | + "description": "Identifier of the label - Only the label id, not the full OnePlatform resource name.", |
| 861 | + "type": "string" |
| 862 | + }, |
| 863 | + "reason": { |
| 864 | + "$ref": "Reason", |
| 865 | + "description": "The reason why the label was applied on the resource." |
| 866 | + }, |
| 867 | + "title": { |
| 868 | + "description": "Title of the label", |
| 869 | + "type": "string" |
812 | 870 | }
|
813 | 871 | },
|
814 | 872 | "type": "object"
|
|
865 | 923 | },
|
866 | 924 | "type": "object"
|
867 | 925 | },
|
| 926 | + "Date": { |
| 927 | + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", |
| 928 | + "id": "Date", |
| 929 | + "properties": { |
| 930 | + "day": { |
| 931 | + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", |
| 932 | + "format": "int32", |
| 933 | + "type": "integer" |
| 934 | + }, |
| 935 | + "month": { |
| 936 | + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", |
| 937 | + "format": "int32", |
| 938 | + "type": "integer" |
| 939 | + }, |
| 940 | + "year": { |
| 941 | + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", |
| 942 | + "format": "int32", |
| 943 | + "type": "integer" |
| 944 | + } |
| 945 | + }, |
| 946 | + "type": "object" |
| 947 | + }, |
| 948 | + "FieldValue": { |
| 949 | + "description": "Details of the field value set by the user for the particular label.", |
| 950 | + "id": "FieldValue", |
| 951 | + "properties": { |
| 952 | + "dateValue": { |
| 953 | + "$ref": "Date", |
| 954 | + "description": "Setting a date value." |
| 955 | + }, |
| 956 | + "displayName": { |
| 957 | + "description": "Display name of the field", |
| 958 | + "type": "string" |
| 959 | + }, |
| 960 | + "id": { |
| 961 | + "description": "Identifier of the field", |
| 962 | + "type": "string" |
| 963 | + }, |
| 964 | + "integerValue": { |
| 965 | + "description": "Setting an integer value.", |
| 966 | + "format": "int64", |
| 967 | + "type": "string" |
| 968 | + }, |
| 969 | + "longTextValue": { |
| 970 | + "description": "Setting a long text value.", |
| 971 | + "type": "string" |
| 972 | + }, |
| 973 | + "reason": { |
| 974 | + "$ref": "Reason", |
| 975 | + "description": "The reason why the field was applied to the label." |
| 976 | + }, |
| 977 | + "selectionListValue": { |
| 978 | + "$ref": "FieldValueSelectionListValue", |
| 979 | + "description": "Setting a selection list value by selecting multiple values from a dropdown." |
| 980 | + }, |
| 981 | + "selectionValue": { |
| 982 | + "$ref": "FieldValueSelectionValue", |
| 983 | + "description": "Setting a selection value by selecting a single value from a dropdown." |
| 984 | + }, |
| 985 | + "textListValue": { |
| 986 | + "$ref": "FieldValueTextListValue", |
| 987 | + "description": "Setting a text list value." |
| 988 | + }, |
| 989 | + "textValue": { |
| 990 | + "description": "Setting a text value.", |
| 991 | + "type": "string" |
| 992 | + }, |
| 993 | + "type": { |
| 994 | + "description": "Type of the field", |
| 995 | + "type": "string" |
| 996 | + }, |
| 997 | + "unsetValue": { |
| 998 | + "description": "If the field is unset, this will be true.", |
| 999 | + "type": "boolean" |
| 1000 | + }, |
| 1001 | + "userListValue": { |
| 1002 | + "$ref": "FieldValueUserListValue", |
| 1003 | + "description": "Setting a user list value by selecting multiple users." |
| 1004 | + }, |
| 1005 | + "userValue": { |
| 1006 | + "$ref": "FieldValueUserValue", |
| 1007 | + "description": "Setting a user value by selecting a single user." |
| 1008 | + } |
| 1009 | + }, |
| 1010 | + "type": "object" |
| 1011 | + }, |
| 1012 | + "FieldValueSelectionListValue": { |
| 1013 | + "description": "Setting a selection list value by selecting multiple values from a dropdown.", |
| 1014 | + "id": "FieldValueSelectionListValue", |
| 1015 | + "properties": { |
| 1016 | + "values": { |
| 1017 | + "description": "List of selections.", |
| 1018 | + "items": { |
| 1019 | + "$ref": "FieldValueSelectionValue" |
| 1020 | + }, |
| 1021 | + "type": "array" |
| 1022 | + } |
| 1023 | + }, |
| 1024 | + "type": "object" |
| 1025 | + }, |
| 1026 | + "FieldValueSelectionValue": { |
| 1027 | + "description": "Setting a selection value by selecting a single value from a dropdown.", |
| 1028 | + "id": "FieldValueSelectionValue", |
| 1029 | + "properties": { |
| 1030 | + "badged": { |
| 1031 | + "description": "Whether the selection is badged.", |
| 1032 | + "type": "boolean" |
| 1033 | + }, |
| 1034 | + "displayName": { |
| 1035 | + "description": "Display name of the selection.", |
| 1036 | + "type": "string" |
| 1037 | + }, |
| 1038 | + "id": { |
| 1039 | + "description": "Identifier of the selection.", |
| 1040 | + "type": "string" |
| 1041 | + } |
| 1042 | + }, |
| 1043 | + "type": "object" |
| 1044 | + }, |
| 1045 | + "FieldValueTextListValue": { |
| 1046 | + "description": "Setting a text list value.", |
| 1047 | + "id": "FieldValueTextListValue", |
| 1048 | + "properties": { |
| 1049 | + "values": { |
| 1050 | + "description": "List of text values.", |
| 1051 | + "items": { |
| 1052 | + "type": "string" |
| 1053 | + }, |
| 1054 | + "type": "array" |
| 1055 | + } |
| 1056 | + }, |
| 1057 | + "type": "object" |
| 1058 | + }, |
| 1059 | + "FieldValueUserListValue": { |
| 1060 | + "description": "Setting a user list value by selecting multiple users.", |
| 1061 | + "id": "FieldValueUserListValue", |
| 1062 | + "properties": { |
| 1063 | + "values": { |
| 1064 | + "description": "List of users.", |
| 1065 | + "items": { |
| 1066 | + "$ref": "FieldValueUserValue" |
| 1067 | + }, |
| 1068 | + "type": "array" |
| 1069 | + } |
| 1070 | + }, |
| 1071 | + "type": "object" |
| 1072 | + }, |
| 1073 | + "FieldValueUserValue": { |
| 1074 | + "description": "Setting a user value by selecting a single user.", |
| 1075 | + "id": "FieldValueUserValue", |
| 1076 | + "properties": { |
| 1077 | + "email": { |
| 1078 | + "description": "Email of the user.", |
| 1079 | + "type": "string" |
| 1080 | + } |
| 1081 | + }, |
| 1082 | + "type": "object" |
| 1083 | + }, |
868 | 1084 | "NestedParameter": {
|
869 | 1085 | "description": "JSON template for a parameter used in various reports.",
|
870 | 1086 | "id": "NestedParameter",
|
|
911 | 1127 | },
|
912 | 1128 | "type": "object"
|
913 | 1129 | },
|
| 1130 | + "Reason": { |
| 1131 | + "description": "The reason why the label/field was applied.", |
| 1132 | + "id": "Reason", |
| 1133 | + "properties": { |
| 1134 | + "reasonType": { |
| 1135 | + "description": "The type of the reason.", |
| 1136 | + "type": "string" |
| 1137 | + } |
| 1138 | + }, |
| 1139 | + "type": "object" |
| 1140 | + }, |
| 1141 | + "ResourceDetails": { |
| 1142 | + "description": "Details of the resource on which the action was performed.", |
| 1143 | + "id": "ResourceDetails", |
| 1144 | + "properties": { |
| 1145 | + "appliedLabels": { |
| 1146 | + "description": "List of labels applied on the resource", |
| 1147 | + "items": { |
| 1148 | + "$ref": "AppliedLabel" |
| 1149 | + }, |
| 1150 | + "type": "array" |
| 1151 | + }, |
| 1152 | + "id": { |
| 1153 | + "description": "Identifier of the resource.", |
| 1154 | + "type": "string" |
| 1155 | + }, |
| 1156 | + "relation": { |
| 1157 | + "description": "Defines relationship of the resource to the events", |
| 1158 | + "type": "string" |
| 1159 | + }, |
| 1160 | + "title": { |
| 1161 | + "description": "Title of the resource. For instance, in case of a drive document, this would be the title of the document. In case of an email, this would be the subject.", |
| 1162 | + "type": "string" |
| 1163 | + }, |
| 1164 | + "type": { |
| 1165 | + "description": "Type of the resource - document, email, chat message", |
| 1166 | + "type": "string" |
| 1167 | + } |
| 1168 | + }, |
| 1169 | + "type": "object" |
| 1170 | + }, |
914 | 1171 | "UsageReport": {
|
915 | 1172 | "description": "JSON template for a usage report.",
|
916 | 1173 | "id": "UsageReport",
|
|
0 commit comments