Skip to content

Commit f563ba3

Browse files
feat(drivelabels): update the api
#### drivelabels:v2 The following keys were added: - resources.labels.methods.list.parameters.customer (Total Keys: 2) - resources.users.methods.getCapabilities.parameters.customer (Total Keys: 2) #### drivelabels:v2beta The following keys were added: - resources.labels.methods.list.parameters.customer (Total Keys: 2) - resources.users.methods.getCapabilities.parameters.customer (Total Keys: 2)
1 parent 9a1d7ec commit f563ba3

File tree

6 files changed

+34
-10
lines changed

6 files changed

+34
-10
lines changed

docs/dyn/drivelabels_v2.labels.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h2>Instance Methods</h2>
111111
<code><a href="#get">get(name, languageCode=None, useAdminAccess=None, view=None, x__xgafv=None)</a></code></p>
112112
<p class="firstline">Get a label by its resource name. Resource name may be any of: * `labels/{id}` - See `labels/{id}@latest` * `labels/{id}@latest` - Gets the latest revision of the label. * `labels/{id}@published` - Gets the current published revision of the label. * `labels/{id}@{revision_id}` - Gets the label at the specified revision ID.</p>
113113
<p class="toc_element">
114-
<code><a href="#list">list(languageCode=None, minimumRole=None, pageSize=None, pageToken=None, publishedOnly=None, useAdminAccess=None, view=None, x__xgafv=None)</a></code></p>
114+
<code><a href="#list">list(customer=None, languageCode=None, minimumRole=None, pageSize=None, pageToken=None, publishedOnly=None, useAdminAccess=None, view=None, x__xgafv=None)</a></code></p>
115115
<p class="firstline">List labels.</p>
116116
<p class="toc_element">
117117
<code><a href="#list_next">list_next()</a></code></p>
@@ -2306,10 +2306,11 @@ <h3>Method Details</h3>
23062306
</div>
23072307

23082308
<div class="method">
2309-
<code class="details" id="list">list(languageCode=None, minimumRole=None, pageSize=None, pageToken=None, publishedOnly=None, useAdminAccess=None, view=None, x__xgafv=None)</code>
2309+
<code class="details" id="list">list(customer=None, languageCode=None, minimumRole=None, pageSize=None, pageToken=None, publishedOnly=None, useAdminAccess=None, view=None, x__xgafv=None)</code>
23102310
<pre>List labels.
23112311

23122312
Args:
2313+
customer: string, The customer to scope this list request to. For example: &quot;customers/abcd1234&quot;. If unset, will return all labels within the current customer.
23132314
languageCode: string, The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.
23142315
minimumRole: string, Specifies the level of access the user must have on the returned Labels. The minimum role a user must have on a label. Defaults to `READER`.
23152316
Allowed values

docs/dyn/drivelabels_v2.users.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#getCapabilities">getCapabilities(name, x__xgafv=None)</a></code></p>
81+
<code><a href="#getCapabilities">getCapabilities(name, customer=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Gets the user capabilities.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
@@ -87,11 +87,12 @@ <h3>Method Details</h3>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="getCapabilities">getCapabilities(name, x__xgafv=None)</code>
90+
<code class="details" id="getCapabilities">getCapabilities(name, customer=None, x__xgafv=None)</code>
9191
<pre>Gets the user capabilities.
9292

9393
Args:
9494
name: string, Required. The resource name of the user. Only &quot;users/me/capabilities&quot; is supported. (required)
95+
customer: string, The customer to scope this request to. For example: &quot;customers/abcd1234&quot;. If unset, will return settings within the current customer.
9596
x__xgafv: string, V1 error format.
9697
Allowed values
9798
1 - v1 error format

docs/dyn/drivelabels_v2beta.labels.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h2>Instance Methods</h2>
111111
<code><a href="#get">get(name, languageCode=None, useAdminAccess=None, view=None, x__xgafv=None)</a></code></p>
112112
<p class="firstline">Get a label by its resource name. Resource name may be any of: * `labels/{id}` - See `labels/{id}@latest` * `labels/{id}@latest` - Gets the latest revision of the label. * `labels/{id}@published` - Gets the current published revision of the label. * `labels/{id}@{revision_id}` - Gets the label at the specified revision ID.</p>
113113
<p class="toc_element">
114-
<code><a href="#list">list(languageCode=None, minimumRole=None, pageSize=None, pageToken=None, publishedOnly=None, useAdminAccess=None, view=None, x__xgafv=None)</a></code></p>
114+
<code><a href="#list">list(customer=None, languageCode=None, minimumRole=None, pageSize=None, pageToken=None, publishedOnly=None, useAdminAccess=None, view=None, x__xgafv=None)</a></code></p>
115115
<p class="firstline">List labels.</p>
116116
<p class="toc_element">
117117
<code><a href="#list_next">list_next()</a></code></p>
@@ -2306,10 +2306,11 @@ <h3>Method Details</h3>
23062306
</div>
23072307

23082308
<div class="method">
2309-
<code class="details" id="list">list(languageCode=None, minimumRole=None, pageSize=None, pageToken=None, publishedOnly=None, useAdminAccess=None, view=None, x__xgafv=None)</code>
2309+
<code class="details" id="list">list(customer=None, languageCode=None, minimumRole=None, pageSize=None, pageToken=None, publishedOnly=None, useAdminAccess=None, view=None, x__xgafv=None)</code>
23102310
<pre>List labels.
23112311

23122312
Args:
2313+
customer: string, The customer to scope this list request to. For example: &quot;customers/abcd1234&quot;. If unset, will return all labels within the current customer.
23132314
languageCode: string, The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.
23142315
minimumRole: string, Specifies the level of access the user must have on the returned Labels. The minimum role a user must have on a label. Defaults to `READER`.
23152316
Allowed values

docs/dyn/drivelabels_v2beta.users.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#getCapabilities">getCapabilities(name, x__xgafv=None)</a></code></p>
81+
<code><a href="#getCapabilities">getCapabilities(name, customer=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Gets the user capabilities.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
@@ -87,11 +87,12 @@ <h3>Method Details</h3>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="getCapabilities">getCapabilities(name, x__xgafv=None)</code>
90+
<code class="details" id="getCapabilities">getCapabilities(name, customer=None, x__xgafv=None)</code>
9191
<pre>Gets the user capabilities.
9292

9393
Args:
9494
name: string, Required. The resource name of the user. Only &quot;users/me/capabilities&quot; is supported. (required)
95+
customer: string, The customer to scope this request to. For example: &quot;customers/abcd1234&quot;. If unset, will return settings within the current customer.
9596
x__xgafv: string, V1 error format.
9697
Allowed values
9798
1 - v1 error format

googleapiclient/discovery_cache/documents/drivelabels.v2.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,11 @@
283283
"id": "drivelabels.labels.list",
284284
"parameterOrder": [],
285285
"parameters": {
286+
"customer": {
287+
"description": "The customer to scope this list request to. For example: \"customers/abcd1234\". If unset, will return all labels within the current customer.",
288+
"location": "query",
289+
"type": "string"
290+
},
286291
"languageCode": {
287292
"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.",
288293
"location": "query",
@@ -872,6 +877,11 @@
872877
"name"
873878
],
874879
"parameters": {
880+
"customer": {
881+
"description": "The customer to scope this request to. For example: \"customers/abcd1234\". If unset, will return settings within the current customer.",
882+
"location": "query",
883+
"type": "string"
884+
},
875885
"name": {
876886
"description": "Required. The resource name of the user. Only \"users/me/capabilities\" is supported.",
877887
"location": "path",
@@ -888,7 +898,7 @@
888898
}
889899
}
890900
},
891-
"revision": "20230315",
901+
"revision": "20230320",
892902
"rootUrl": "https://drivelabels.googleapis.com/",
893903
"schemas": {
894904
"GoogleAppsDriveLabelsV2BadgeColors": {

googleapiclient/discovery_cache/documents/drivelabels.v2beta.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,11 @@
283283
"id": "drivelabels.labels.list",
284284
"parameterOrder": [],
285285
"parameters": {
286+
"customer": {
287+
"description": "The customer to scope this list request to. For example: \"customers/abcd1234\". If unset, will return all labels within the current customer.",
288+
"location": "query",
289+
"type": "string"
290+
},
286291
"languageCode": {
287292
"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.",
288293
"location": "query",
@@ -872,6 +877,11 @@
872877
"name"
873878
],
874879
"parameters": {
880+
"customer": {
881+
"description": "The customer to scope this request to. For example: \"customers/abcd1234\". If unset, will return settings within the current customer.",
882+
"location": "query",
883+
"type": "string"
884+
},
875885
"name": {
876886
"description": "Required. The resource name of the user. Only \"users/me/capabilities\" is supported.",
877887
"location": "path",
@@ -888,7 +898,7 @@
888898
}
889899
}
890900
},
891-
"revision": "20230315",
901+
"revision": "20230320",
892902
"rootUrl": "https://drivelabels.googleapis.com/",
893903
"schemas": {
894904
"GoogleAppsDriveLabelsV2betaBadgeColors": {

0 commit comments

Comments
 (0)