Skip to content

Commit cf90cc5

Browse files
yoshi-automationsofisl
authored andcommittedAug 27, 2024
feat(accessapproval): update the API
#### accessapproval:v1 The following keys were added: - schemas.ApprovalRequest.properties.requestedAugmentedInfo.$ref - schemas.ApprovalRequest.properties.requestedAugmentedInfo.description - schemas.AugmentedInfo.description - schemas.AugmentedInfo.id - schemas.AugmentedInfo.properties.command.description - schemas.AugmentedInfo.properties.command.type - schemas.AugmentedInfo.type
1 parent fd63525 commit cf90cc5

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed
 

‎discovery/accessapproval-v1.json

+16-1
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@
913913
}
914914
}
915915
},
916-
"revision": "20240621",
916+
"revision": "20240820",
917917
"rootUrl": "https://accessapproval.googleapis.com/",
918918
"schemas": {
919919
"AccessApprovalServiceAccount": {
@@ -1076,6 +1076,10 @@
10761076
"format": "google-datetime",
10771077
"type": "string"
10781078
},
1079+
"requestedAugmentedInfo": {
1080+
"$ref": "AugmentedInfo",
1081+
"description": "This field contains the augmented information of the request."
1082+
},
10791083
"requestedDuration": {
10801084
"description": "The requested access duration.",
10811085
"format": "google-duration",
@@ -1147,6 +1151,17 @@
11471151
},
11481152
"type": "object"
11491153
},
1154+
"AugmentedInfo": {
1155+
"description": "This field contains the augmented information of the request.",
1156+
"id": "AugmentedInfo",
1157+
"properties": {
1158+
"command": {
1159+
"description": "For command-line tools, the full command-line exactly as entered by the actor without adding any additional characters (such as quotation marks).",
1160+
"type": "string"
1161+
}
1162+
},
1163+
"type": "object"
1164+
},
11501165
"DismissApprovalRequestMessage": {
11511166
"description": "Request to dismiss an approval request.",
11521167
"id": "DismissApprovalRequestMessage",

‎src/apis/accessapproval/v1.ts

+13
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ export namespace accessapproval_v1 {
233233
* The resource name of the request. Format is "{projects|folders|organizations\}/{id\}/approvalRequests/{approval_request\}".
234234
*/
235235
name?: string | null;
236+
/**
237+
* This field contains the augmented information of the request.
238+
*/
239+
requestedAugmentedInfo?: Schema$AugmentedInfo;
236240
/**
237241
* The requested access duration.
238242
*/
@@ -296,6 +300,15 @@ export namespace accessapproval_v1 {
296300
*/
297301
signatureInfo?: Schema$SignatureInfo;
298302
}
303+
/**
304+
* This field contains the augmented information of the request.
305+
*/
306+
export interface Schema$AugmentedInfo {
307+
/**
308+
* For command-line tools, the full command-line exactly as entered by the actor without adding any additional characters (such as quotation marks).
309+
*/
310+
command?: string | null;
311+
}
299312
/**
300313
* Request to dismiss an approval request.
301314
*/

0 commit comments

Comments
 (0)
Please sign in to comment.