Skip to content

Commit 3fc3b76

Browse files
chore(admin): update the api
#### admin:directory_v1 The following keys were added: - resources.users.methods.list.parameters.event (Total Keys: 5) The following keys were changed: - revision (Total Keys: 1) #### admin:reports_v1 The following keys were changed: - resources.activities.methods.list.parameters.applicationName (Total Keys: 1) - resources.activities.methods.list.parameters.eventName (Total Keys: 1) - resources.activities.methods.list.parameters.userKey (Total Keys: 1) - resources.activities.methods.watch.parameters.applicationName (Total Keys: 1) - resources.activities.methods.watch.parameters.eventName (Total Keys: 1) - resources.activities.methods.watch.parameters.userKey (Total Keys: 1) - resources.userUsageReport.methods.get.parameters.userKey (Total Keys: 1) - revision (Total Keys: 1) - schemas.Activity.properties.actor.properties.profileId (Total Keys: 1) - schemas.Activity.properties.events.items.properties.name (Total Keys: 1) - schemas.Activity.properties.events.items.properties.type (Total Keys: 1) - schemas.Activity.properties.id.properties.customerId (Total Keys: 1) - schemas.Activity.properties.ipAddress (Total Keys: 1) - schemas.UsageReport.properties.entity.properties.profileId (Total Keys: 1)
1 parent b6dc1b9 commit 3fc3b76

7 files changed

+69
-40
lines changed

docs/dyn/admin_directory_v1.users.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h2>Instance Methods</h2>
9797
<code><a href="#insert">insert(body=None, x__xgafv=None)</a></code></p>
9898
<p class="firstline">Creates a user.</p>
9999
<p class="toc_element">
100-
<code><a href="#list">list(customFieldMask=None, customer=None, domain=None, maxResults=None, orderBy=None, pageToken=None, projection=None, query=None, showDeleted=None, sortOrder=None, viewType=None, x__xgafv=None)</a></code></p>
100+
<code><a href="#list">list(customFieldMask=None, customer=None, domain=None, event=None, maxResults=None, orderBy=None, pageToken=None, projection=None, query=None, showDeleted=None, sortOrder=None, viewType=None, x__xgafv=None)</a></code></p>
101101
<p class="firstline">Retrieves a paginated list of either deleted users or all users in a domain.</p>
102102
<p class="toc_element">
103103
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -367,13 +367,21 @@ <h3>Method Details</h3>
367367
</div>
368368

369369
<div class="method">
370-
<code class="details" id="list">list(customFieldMask=None, customer=None, domain=None, maxResults=None, orderBy=None, pageToken=None, projection=None, query=None, showDeleted=None, sortOrder=None, viewType=None, x__xgafv=None)</code>
370+
<code class="details" id="list">list(customFieldMask=None, customer=None, domain=None, event=None, maxResults=None, orderBy=None, pageToken=None, projection=None, query=None, showDeleted=None, sortOrder=None, viewType=None, x__xgafv=None)</code>
371371
<pre>Retrieves a paginated list of either deleted users or all users in a domain.
372372

373373
Args:
374374
customFieldMask: string, A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when `projection=custom`.
375375
customer: string, The unique ID for the customer&#x27;s Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain. You can also use the `my_customer` alias to represent your account&#x27;s `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). Either the `customer` or the `domain` parameter must be provided.
376376
domain: string, The domain name. Use this field to get fields from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Either the `customer` or the `domain` parameter must be provided.
377+
event: string, Event on which subscription is intended (if subscribing)
378+
Allowed values
379+
eventUndefined -
380+
add - User Created Event
381+
delete - User Deleted Event
382+
makeAdmin - User Admin Status Change Event
383+
undelete - User Undeleted Event
384+
update - User Updated Event
377385
maxResults: integer, Maximum number of results to return.
378386
orderBy: string, Property to use for sorting results.
379387
Allowed values

docs/dyn/admin_reports_v1.activities.html

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

docs/dyn/admin_reports_v1.customerUsageReports.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h3>Method Details</h3>
116116
&quot;entity&quot;: { # Output only. Information about the type of the item.
117117
&quot;customerId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the customer&#x27;s account.
118118
&quot;entityId&quot;: &quot;A String&quot;, # Output only. Object key. Only relevant if entity.type = &quot;OBJECT&quot; Note: external-facing name of report is &quot;Entities&quot; rather than &quot;Objects&quot;.
119-
&quot;profileId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s immutable G Suite profile identifier.
119+
&quot;profileId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s immutable Google Workspace profile identifier.
120120
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of item. The value is `user`.
121121
&quot;userEmail&quot;: &quot;A String&quot;, # Output only. The user&#x27;s email address. Only relevant if entity.type = &quot;USER&quot;
122122
},

docs/dyn/admin_reports_v1.entityUsageReports.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h3>Method Details</h3>
127127
&quot;entity&quot;: { # Output only. Information about the type of the item.
128128
&quot;customerId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the customer&#x27;s account.
129129
&quot;entityId&quot;: &quot;A String&quot;, # Output only. Object key. Only relevant if entity.type = &quot;OBJECT&quot; Note: external-facing name of report is &quot;Entities&quot; rather than &quot;Objects&quot;.
130-
&quot;profileId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s immutable G Suite profile identifier.
130+
&quot;profileId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s immutable Google Workspace profile identifier.
131131
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of item. The value is `user`.
132132
&quot;userEmail&quot;: &quot;A String&quot;, # Output only. The user&#x27;s email address. Only relevant if entity.type = &quot;USER&quot;
133133
},

docs/dyn/admin_reports_v1.userUsageReport.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h3>Method Details</h3>
9494
<pre>Retrieves a report which is a collection of properties and statistics for a set of users with the account. For more information, see the User Usage Report guide. For more information about the user report&#x27;s parameters, see the Users Usage parameters reference guides.
9595

9696
Args:
97-
userKey: string, Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user&#x27;s unique G Suite profile ID or their primary email address. (required)
97+
userKey: string, Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user&#x27;s unique Google Workspace profile ID or their primary email address. (required)
9898
date: string, Represents the date the usage occurred. The timestamp is in the ISO 8601 format, yyyy-mm-dd. We recommend you use your account&#x27;s time zone for this. (required)
9999
customerId: string, The unique ID of the customer to retrieve data for.
100100
filters: string, The `filters` query string is a comma-separated list of an application&#x27;s event parameters where the parameter&#x27;s value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include `accounts`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `&lt;&gt;` &#x27;not equal to&#x27; operator is URL-encoded in the request&#x27;s query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time &amp;filters=accounts:last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - &#x27;equal to&#x27;. - `&lt;&gt;` - &#x27;not equal to&#x27;. It is URL-encoded (%3C%3E). - `&lt;` - &#x27;less than&#x27;. It is URL-encoded (%3C). - `&lt;=` - &#x27;less than or equal to&#x27;. It is URL-encoded (%3C=). - `&gt;` - &#x27;greater than&#x27;. It is URL-encoded (%3E). - `&gt;=` - &#x27;greater than or equal to&#x27;. It is URL-encoded (%3E=).
@@ -121,7 +121,7 @@ <h3>Method Details</h3>
121121
&quot;entity&quot;: { # Output only. Information about the type of the item.
122122
&quot;customerId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the customer&#x27;s account.
123123
&quot;entityId&quot;: &quot;A String&quot;, # Output only. Object key. Only relevant if entity.type = &quot;OBJECT&quot; Note: external-facing name of report is &quot;Entities&quot; rather than &quot;Objects&quot;.
124-
&quot;profileId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s immutable G Suite profile identifier.
124+
&quot;profileId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s immutable Google Workspace profile identifier.
125125
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of item. The value is `user`.
126126
&quot;userEmail&quot;: &quot;A String&quot;, # Output only. The user&#x27;s email address. Only relevant if entity.type = &quot;USER&quot;
127127
},

googleapiclient/discovery_cache/documents/admin.directory_v1.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3478,6 +3478,27 @@
34783478
"location": "query",
34793479
"type": "string"
34803480
},
3481+
"event": {
3482+
"description": "Event on which subscription is intended (if subscribing)",
3483+
"enum": [
3484+
"eventUndefined",
3485+
"add",
3486+
"delete",
3487+
"makeAdmin",
3488+
"undelete",
3489+
"update"
3490+
],
3491+
"enumDescriptions": [
3492+
"",
3493+
"User Created Event",
3494+
"User Deleted Event",
3495+
"User Admin Status Change Event",
3496+
"User Undeleted Event",
3497+
"User Updated Event"
3498+
],
3499+
"location": "query",
3500+
"type": "string"
3501+
},
34813502
"maxResults": {
34823503
"default": "100",
34833504
"description": "Maximum number of results to return.",
@@ -4159,7 +4180,7 @@
41594180
}
41604181
}
41614182
},
4162-
"revision": "20210223",
4183+
"revision": "20210302",
41634184
"rootUrl": "https://admin.googleapis.com/",
41644185
"schemas": {
41654186
"Alias": {

0 commit comments

Comments
 (0)