Skip to content

Commit

Permalink
feat(accessapproval): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent fd63525 commit cf90cc5
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
17 changes: 16 additions & 1 deletion discovery/accessapproval-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
}
}
},
"revision": "20240621",
"revision": "20240820",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalServiceAccount": {
Expand Down Expand Up @@ -1076,6 +1076,10 @@
"format": "google-datetime",
"type": "string"
},
"requestedAugmentedInfo": {
"$ref": "AugmentedInfo",
"description": "This field contains the augmented information of the request."
},
"requestedDuration": {
"description": "The requested access duration.",
"format": "google-duration",
Expand Down Expand Up @@ -1147,6 +1151,17 @@
},
"type": "object"
},
"AugmentedInfo": {
"description": "This field contains the augmented information of the request.",
"id": "AugmentedInfo",
"properties": {
"command": {
"description": "For command-line tools, the full command-line exactly as entered by the actor without adding any additional characters (such as quotation marks).",
"type": "string"
}
},
"type": "object"
},
"DismissApprovalRequestMessage": {
"description": "Request to dismiss an approval request.",
"id": "DismissApprovalRequestMessage",
Expand Down
13 changes: 13 additions & 0 deletions src/apis/accessapproval/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ export namespace accessapproval_v1 {
* The resource name of the request. Format is "{projects|folders|organizations\}/{id\}/approvalRequests/{approval_request\}".
*/
name?: string | null;
/**
* This field contains the augmented information of the request.
*/
requestedAugmentedInfo?: Schema$AugmentedInfo;
/**
* The requested access duration.
*/
Expand Down Expand Up @@ -296,6 +300,15 @@ export namespace accessapproval_v1 {
*/
signatureInfo?: Schema$SignatureInfo;
}
/**
* This field contains the augmented information of the request.
*/
export interface Schema$AugmentedInfo {
/**
* For command-line tools, the full command-line exactly as entered by the actor without adding any additional characters (such as quotation marks).
*/
command?: string | null;
}
/**
* Request to dismiss an approval request.
*/
Expand Down

0 comments on commit cf90cc5

Please sign in to comment.