Skip to content

Commit d92ea48

Browse files
feat(admin): update the api
#### admin:directoryv1 The following keys were added: - resources.users.resources.aliases.methods.list.parameters.event (Total Keys: 2) #### admin:reportsv1 The following keys were changed: - resources.activities.methods.list.parameters.applicationName (Total Keys: 1) - resources.activities.methods.watch.parameters.applicationName (Total Keys: 1)
1 parent 0c3c922 commit d92ea48

File tree

6 files changed

+39
-15
lines changed

6 files changed

+39
-15
lines changed

docs/dyn/admin_directory_v1.roleAssignments.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h3>Method Details</h3>
127127
Returns:
128128
An object of the form:
129129

130-
{
130+
{ # Defines an assignment of a role.
131131
&quot;assignedTo&quot;: &quot;A String&quot;, # The unique ID of the user this role is assigned to.
132132
&quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
133133
&quot;kind&quot;: &quot;admin#directory#roleAssignment&quot;, # The type of the API resource. This is always `admin#directory#roleAssignment`.
@@ -147,7 +147,7 @@ <h3>Method Details</h3>
147147
body: object, The request body.
148148
The object takes the form of:
149149

150-
{
150+
{ # Defines an assignment of a role.
151151
&quot;assignedTo&quot;: &quot;A String&quot;, # The unique ID of the user this role is assigned to.
152152
&quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
153153
&quot;kind&quot;: &quot;admin#directory#roleAssignment&quot;, # The type of the API resource. This is always `admin#directory#roleAssignment`.
@@ -165,7 +165,7 @@ <h3>Method Details</h3>
165165
Returns:
166166
An object of the form:
167167

168-
{
168+
{ # Defines an assignment of a role.
169169
&quot;assignedTo&quot;: &quot;A String&quot;, # The unique ID of the user this role is assigned to.
170170
&quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
171171
&quot;kind&quot;: &quot;admin#directory#roleAssignment&quot;, # The type of the API resource. This is always `admin#directory#roleAssignment`.
@@ -197,7 +197,7 @@ <h3>Method Details</h3>
197197
{
198198
&quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
199199
&quot;items&quot;: [ # A list of RoleAssignment resources.
200-
{
200+
{ # Defines an assignment of a role.
201201
&quot;assignedTo&quot;: &quot;A String&quot;, # The unique ID of the user this role is assigned to.
202202
&quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
203203
&quot;kind&quot;: &quot;admin#directory#roleAssignment&quot;, # The type of the API resource. This is always `admin#directory#roleAssignment`.

docs/dyn/admin_directory_v1.users.aliases.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Instance Methods</h2>
8484
<code><a href="#insert">insert(userKey, body=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Adds an alias.</p>
8686
<p class="toc_element">
87-
<code><a href="#list">list(userKey, x__xgafv=None)</a></code></p>
87+
<code><a href="#list">list(userKey, event=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Lists all aliases for a user.</p>
8989
<p class="toc_element">
9090
<code><a href="#watch">watch(userKey, body=None, event=None, x__xgafv=None)</a></code></p>
@@ -144,11 +144,15 @@ <h3>Method Details</h3>
144144
</div>
145145

146146
<div class="method">
147-
<code class="details" id="list">list(userKey, x__xgafv=None)</code>
147+
<code class="details" id="list">list(userKey, event=None, x__xgafv=None)</code>
148148
<pre>Lists all aliases for a user.
149149

150150
Args:
151151
userKey: string, Identifies the user in the API request. The value can be the user&#x27;s primary email address, alias email address, or unique user ID. (required)
152+
event: string, Events to watch for.
153+
Allowed values
154+
add - Alias Created Event
155+
delete - Alias Deleted Event
152156
x__xgafv: string, V1 error format.
153157
Allowed values
154158
1 - v1 error format

docs/dyn/admin_reports_v1.activities.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ <h3>Method Details</h3>
120120
context_aware_access - The Context-aware access activity reports return information about users&#x27; access denied events due to Context-aware access rules.
121121
chrome - The Chrome activity reports return information about unsafe events reported in the context of the WebProtect features of BeyondCorp.
122122
data_studio - The Data Studio activity reports return information about various types of Data Studio activity events.
123+
keep - The Keep application&#x27;s activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers.
123124
actorIpAddress: string, The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report&#x27;s summary using the IP address of the user whose activity is being reported. This IP address may or may not reflect the user&#x27;s physical location. For example, the IP address can be the user&#x27;s proxy server&#x27;s address or a virtual private network (VPN) address. This parameter supports both IPv4 and IPv6 address versions.
124125
customerId: string, The unique ID of the customer to retrieve data for.
125126
endTime: string, Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. An API report has three basic time concepts: - *Date of the API&#x27;s request for a report*: When the API created and retrieved the report. - *Report&#x27;s start time*: The beginning of the timespan shown in the report. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. - *Report&#x27;s end time*: The end of the timespan shown in the report. For example, the timespan of events summarized in a report can start in April and end in May. The report itself can be requested in August. If the `endTime` is not specified, the report returns all activities from the `startTime` until the current time or the most recent 180 days if the `startTime` is more than 180 days in the past.
@@ -267,6 +268,7 @@ <h3>Method Details</h3>
267268
context_aware_access - The Context-aware access activity reports return information about users&#x27; access denied events due to Context-aware access rules.
268269
chrome - The Chrome activity reports return information about unsafe events reported in the context of the WebProtect features of BeyondCorp.
269270
data_studio - The Data Studio activity reports return information about various types of Data Studio activity events.
271+
keep - The Keep application&#x27;s activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers.
270272
body: object, The request body.
271273
The object takes the form of:
272274

googleapiclient/discovery_cache/documents/admin.datatransferv1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
}
273273
}
274274
},
275-
"revision": "20210406",
275+
"revision": "20210413",
276276
"rootUrl": "https://admin.googleapis.com/",
277277
"schemas": {
278278
"Application": {

googleapiclient/discovery_cache/documents/admin.directoryv1.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4164,6 +4164,19 @@
41644164
"userKey"
41654165
],
41664166
"parameters": {
4167+
"event": {
4168+
"description": "Events to watch for.",
4169+
"enum": [
4170+
"add",
4171+
"delete"
4172+
],
4173+
"enumDescriptions": [
4174+
"Alias Created Event",
4175+
"Alias Deleted Event"
4176+
],
4177+
"location": "query",
4178+
"type": "string"
4179+
},
41674180
"userKey": {
41684181
"description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
41694182
"location": "path",
@@ -4404,7 +4417,7 @@
44044417
}
44054418
}
44064419
},
4407-
"revision": "20210406",
4420+
"revision": "20210413",
44084421
"rootUrl": "https://admin.googleapis.com/",
44094422
"schemas": {
44104423
"Alias": {
@@ -6552,6 +6565,7 @@
65526565
"type": "object"
65536566
},
65546567
"RoleAssignment": {
6568+
"description": "Defines an assignment of a role.",
65556569
"id": "RoleAssignment",
65566570
"properties": {
65576571
"assignedTo": {

googleapiclient/discovery_cache/documents/admin.reportsv1.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@
148148
"user_accounts",
149149
"context_aware_access",
150150
"chrome",
151-
"data_studio"
151+
"data_studio",
152+
"keep"
152153
],
153154
"enumDescriptions": [
154155
"The Google Workspace Access Transparency activity reports return information about different types of Access Transparency activity events.",
@@ -170,10 +171,11 @@
170171
"The User Accounts application's activity reports return account information about different types of User Accounts activity events.",
171172
"The Context-aware access activity reports return information about users' access denied events due to Context-aware access rules.",
172173
"The Chrome activity reports return information about unsafe events reported in the context of the WebProtect features of BeyondCorp.",
173-
"The Data Studio activity reports return information about various types of Data Studio activity events."
174+
"The Data Studio activity reports return information about various types of Data Studio activity events.",
175+
"The Keep application's activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers."
174176
],
175177
"location": "path",
176-
"pattern": "(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)",
178+
"pattern": "(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)",
177179
"required": true,
178180
"type": "string"
179181
},
@@ -285,7 +287,8 @@
285287
"user_accounts",
286288
"context_aware_access",
287289
"chrome",
288-
"data_studio"
290+
"data_studio",
291+
"keep"
289292
],
290293
"enumDescriptions": [
291294
"The Google Workspace Access Transparency activity reports return information about different types of Access Transparency activity events.",
@@ -307,10 +310,11 @@
307310
"The User Accounts application's activity reports return account information about different types of User Accounts activity events.",
308311
"The Context-aware access activity reports return information about users' access denied events due to Context-aware access rules.",
309312
"The Chrome activity reports return information about unsafe events reported in the context of the WebProtect features of BeyondCorp.",
310-
"The Data Studio activity reports return information about various types of Data Studio activity events."
313+
"The Data Studio activity reports return information about various types of Data Studio activity events.",
314+
"The Keep application's activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers."
311315
],
312316
"location": "path",
313-
"pattern": "(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)",
317+
"pattern": "(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)",
314318
"required": true,
315319
"type": "string"
316320
},
@@ -627,7 +631,7 @@
627631
}
628632
}
629633
},
630-
"revision": "20210406",
634+
"revision": "20210413",
631635
"rootUrl": "https://admin.googleapis.com/",
632636
"schemas": {
633637
"Activities": {

0 commit comments

Comments
 (0)