Skip to content

Commit 58a402b

Browse files
yoshi-automationsofisl
authored andcommitted
feat(drivelabels): update the API
#### drivelabels:v2beta The following keys were added: - resources.labels.methods.list.parameters.customer.description - resources.labels.methods.list.parameters.customer.location - resources.labels.methods.list.parameters.customer.type - resources.users.methods.getCapabilities.parameters.customer.description - resources.users.methods.getCapabilities.parameters.customer.location - resources.users.methods.getCapabilities.parameters.customer.type
1 parent 0cbaedf commit 58a402b

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

discovery/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": "20221214",
901+
"revision": "20230320",
892902
"rootUrl": "https://drivelabels.googleapis.com/",
893903
"schemas": {
894904
"GoogleAppsDriveLabelsV2betaBadgeColors": {

src/apis/drivelabels/v2beta.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2697,6 +2697,8 @@ export namespace drivelabels_v2beta {
26972697
*
26982698
* // Do the magic
26992699
* const res = await drivelabels.labels.list({
2700+
* // The customer to scope this list request to. For example: "customers/abcd1234". If unset, will return all labels within the current customer.
2701+
* customer: 'placeholder-value',
27002702
* // The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.
27012703
* languageCode: 'placeholder-value',
27022704
* // 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`.
@@ -3393,6 +3395,10 @@ export namespace drivelabels_v2beta {
33933395
view?: string;
33943396
}
33953397
export interface Params$Resource$Labels$List extends StandardParameters {
3398+
/**
3399+
* The customer to scope this list request to. For example: "customers/abcd1234". If unset, will return all labels within the current customer.
3400+
*/
3401+
customer?: string;
33963402
/**
33973403
* The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.
33983404
*/
@@ -5764,6 +5770,8 @@ export namespace drivelabels_v2beta {
57645770
*
57655771
* // Do the magic
57665772
* const res = await drivelabels.users.getCapabilities({
5773+
* // The customer to scope this request to. For example: "customers/abcd1234". If unset, will return settings within the current customer.
5774+
* customer: 'placeholder-value',
57675775
* // Required. The resource name of the user. Only "users/me/capabilities" is supported.
57685776
* name: 'users/my-user/capabilities',
57695777
* });
@@ -5879,6 +5887,10 @@ export namespace drivelabels_v2beta {
58795887

58805888
export interface Params$Resource$Users$Getcapabilities
58815889
extends StandardParameters {
5890+
/**
5891+
* The customer to scope this request to. For example: "customers/abcd1234". If unset, will return settings within the current customer.
5892+
*/
5893+
customer?: string;
58825894
/**
58835895
* Required. The resource name of the user. Only "users/me/capabilities" is supported.
58845896
*/

0 commit comments

Comments
 (0)