Skip to content

Commit fc10143

Browse files
committed
Update API QueryAuditLog: add request parameters AccessSourceFlag.
1 parent dea3b8a commit fc10143

9 files changed

+69
-12
lines changed

quickbi-public-20220101/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/quickbi-public20220101",
3-
"version": "1.10.0",
3+
"version": "1.10.1",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

quickbi-public-20220101/src/client.ts

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2901,6 +2901,10 @@ export default class Client extends OpenApi {
29012901
async queryAuditLogWithOptions(request: $_model.QueryAuditLogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAuditLogResponse> {
29022902
request.validate();
29032903
let query = { };
2904+
if (!$dara.isNull(request.accessSourceFlag)) {
2905+
query["AccessSourceFlag"] = request.accessSourceFlag;
2906+
}
2907+
29042908
if (!$dara.isNull(request.endDate)) {
29052909
query["EndDate"] = request.endDate;
29062910
}
@@ -2925,6 +2929,10 @@ export default class Client extends OpenApi {
29252929
query["StartDate"] = request.startDate;
29262930
}
29272931

2932+
if (!$dara.isNull(request.userAccessDevice)) {
2933+
query["UserAccessDevice"] = request.userAccessDevice;
2934+
}
2935+
29282936
if (!$dara.isNull(request.workspaceId)) {
29292937
query["WorkspaceId"] = request.workspaceId;
29302938
}
@@ -3461,8 +3469,8 @@ export default class Client extends OpenApi {
34613469

34623470
/**
34633471
* Indicates whether the table is a custom SQL table. Valid values:
3464-
* * true: custom SQL table
3465-
* * false: non-custom SQL table
3472+
* \\* true: custom SQL table
3473+
* \\* false: non-custom SQL table
34663474
*
34673475
* @param request - QueryDatasetInfoRequest
34683476
* @param runtime - runtime options for this request RuntimeOptions
@@ -3494,8 +3502,8 @@ export default class Client extends OpenApi {
34943502

34953503
/**
34963504
* Indicates whether the table is a custom SQL table. Valid values:
3497-
* * true: custom SQL table
3498-
* * false: non-custom SQL table
3505+
* \\* true: custom SQL table
3506+
* \\* false: non-custom SQL table
34993507
*
35003508
* @param request - QueryDatasetInfoRequest
35013509
* @returns QueryDatasetInfoResponse
@@ -5056,7 +5064,7 @@ export default class Client extends OpenApi {
50565064
}
50575065

50585066
/**
5059-
* Batch Management of Smart Q\\&A Authorizations
5067+
* Batch Management of Smart Q\\\\\\&A Authorizations
50605068
*
50615069
* @remarks
50625070
* Used for batch management of smart Q&A authorizations. Repeatedly adding an authorization will be treated as a new addition; repeatedly deleting an authorization will be skipped by default and will not be recorded in the audit log.
@@ -5110,7 +5118,7 @@ export default class Client extends OpenApi {
51105118
}
51115119

51125120
/**
5113-
* Batch Management of Smart Q\\&A Authorizations
5121+
* Batch Management of Smart Q\\\\\\&A Authorizations
51145122
*
51155123
* @remarks
51165124
* Used for batch management of smart Q&A authorizations. Repeatedly adding an authorization will be treated as a new addition; repeatedly deleting an authorization will be skipped by default and will not be recorded in the audit log.

quickbi-public-20220101/src/models/CreateTicket4copilotRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class CreateTicket4CopilotRequest extends $dara.Model {
1818
*
1919
* - 1: Alibaba Cloud Primary Account
2020
*
21-
* - 3: QuickBI Self-built Account
21+
* - 3: Quick BI Self-built Account
2222
*
2323
* - 4: DingTalk
2424
*

quickbi-public-20220101/src/models/QueryAuditLogRequest.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
33

44

55
export class QueryAuditLogRequest extends $dara.Model {
6+
/**
7+
* **if can be null:**
8+
* true
9+
*/
10+
accessSourceFlag?: string;
611
/**
712
* @remarks
813
* End date of the query, format ("yyyyMMdd").
@@ -62,6 +67,11 @@ export class QueryAuditLogRequest extends $dara.Model {
6267
* 20240504
6368
*/
6469
startDate?: string;
70+
/**
71+
* **if can be null:**
72+
* true
73+
*/
74+
userAccessDevice?: string;
6575
/**
6676
* @remarks
6777
* Workspace ID, the ID of the workspace to which the logs to be queried belong.
@@ -72,24 +82,28 @@ export class QueryAuditLogRequest extends $dara.Model {
7282
workspaceId?: string;
7383
static names(): { [key: string]: string } {
7484
return {
85+
accessSourceFlag: 'AccessSourceFlag',
7586
endDate: 'EndDate',
7687
logType: 'LogType',
7788
operatorId: 'OperatorId',
7889
operatorTypes: 'OperatorTypes',
7990
resourceType: 'ResourceType',
8091
startDate: 'StartDate',
92+
userAccessDevice: 'UserAccessDevice',
8193
workspaceId: 'WorkspaceId',
8294
};
8395
}
8496

8597
static types(): { [key: string]: any } {
8698
return {
99+
accessSourceFlag: 'string',
87100
endDate: 'string',
88101
logType: 'string',
89102
operatorId: 'string',
90103
operatorTypes: 'string',
91104
resourceType: 'string',
92105
startDate: 'string',
106+
userAccessDevice: 'string',
93107
workspaceId: 'string',
94108
};
95109
}

quickbi-public-20220101/src/models/QueryDatasetInfoResponseBody.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class QueryDatasetInfoResponseBody extends $dara.Model {
1717
requestId?: string;
1818
/**
1919
* @remarks
20-
* The ID of the request.
20+
* The dataset information.
2121
*/
2222
result?: QueryDatasetInfoResponseBodyResult;
2323
/**

quickbi-public-20220101/src/models/QueryDatasetInfoResponseBodyResult.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class QueryDatasetInfoResponseBodyResult extends $dara.Model {
4343
datasetName?: string;
4444
/**
4545
* @remarks
46-
* If it is a custom SQL table, this is the specific SQL.
46+
* A list of all dimensions in the dataset.
4747
*/
4848
dimensionList?: QueryDatasetInfoResponseBodyResultDimensionList[];
4949
/**
@@ -96,9 +96,19 @@ export class QueryDatasetInfoResponseBodyResult extends $dara.Model {
9696
gmtModify?: string;
9797
/**
9898
* @remarks
99-
* The unique ID of the table to which the table belongs, which corresponds to the UniqueId of the CubeTypeList.
99+
* A list of all measures for the dataset.
100100
*/
101101
measureList?: QueryDatasetInfoResponseBodyResultMeasureList[];
102+
/**
103+
* @remarks
104+
* Whether to enable extraction acceleration. Valid values:
105+
*
106+
* * true
107+
* * false
108+
*
109+
* @example
110+
* false
111+
*/
102112
openOfflineAcceleration?: boolean;
103113
/**
104114
* @remarks

quickbi-public-20220101/src/models/QueryDatasetInfoResponseBodyResultDimensionList.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ export class QueryDatasetInfoResponseBodyResultDimensionList extends $dara.Model
4040
*/
4141
expression?: string;
4242
/**
43+
* @remarks
44+
* Expression for the flattened calculation dimensions.
45+
*
46+
* @example
47+
* example_expression
48+
*
4349
* **if can be null:**
4450
* true
4551
*/
@@ -53,6 +59,9 @@ export class QueryDatasetInfoResponseBodyResultDimensionList extends $dara.Model
5359
*/
5460
factColumn?: string;
5561
/**
62+
* @remarks
63+
* The description of the field.
64+
*
5665
* @example
5766
* hhhh
5867
*/

quickbi-public-20220101/src/models/QueryDatasetInfoResponseBodyResultMeasureList.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ export class QueryDatasetInfoResponseBodyResultMeasureList extends $dara.Model {
3232
*/
3333
expression?: string;
3434
/**
35+
* @remarks
36+
* Expression for flattened computation metrics.
37+
*
38+
* @example
39+
* example_expression
40+
*
3541
* **if can be null:**
3642
* true
3743
*/
@@ -48,8 +54,11 @@ export class QueryDatasetInfoResponseBodyResultMeasureList extends $dara.Model {
4854
*/
4955
factColumn?: string;
5056
/**
57+
* @remarks
58+
* The description of the field.
59+
*
5160
* @example
52-
* hhhh
61+
* asadsda
5362
*/
5463
fieldDescription?: string;
5564
/**

quickbi-public-20220101/src/models/SmartqAuthorizeRequest.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ import * as $dara from '@darabonba/typescript';
33

44

55
export class SmartqAuthorizeRequest extends $dara.Model {
6+
/**
7+
* @remarks
8+
* Array of dataset IDs, separated by English commas. <notice>This parameter will be converted to the corresponding question resource ID for authorization. Therefore, if the input cubeId does not correspond to any question resource, an error indicating that the question resource does not exist will be reported. Please ensure the correctness of the cubeId.</notice>
9+
*
10+
* @example
11+
* wasdasd*******1235235sd,ASDAS*********ASDAW123
12+
*/
613
cubeIds?: string;
714
/**
815
* @remarks

0 commit comments

Comments
 (0)