tencentcloud-sdk-nodejs-intl-en 3.0.1438 → 3.0.1439

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1438",
3
+ "version": "3.0.1439",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1438";
1
+ const sdkVersion = "3.0.1439";
2
2
  module.exports = sdkVersion
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20250115: require("./v20250115"),
3
+ };
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+ const models = require("./models");
18
+ const AbstractClient = require('../../common/abstract_client')
19
+ const DescribeTaskResultRequest = models.DescribeTaskResultRequest;
20
+ const DescribeTaskResultResponse = models.DescribeTaskResultResponse;
21
+
22
+
23
+ /**
24
+ * ga2 client
25
+ * @class
26
+ */
27
+ class Ga2Client extends AbstractClient {
28
+
29
+ constructor(credential, region, profile) {
30
+ super("ga2.intl.tencentcloudapi.com", "2025-01-15", credential, region, profile);
31
+ }
32
+
33
+ /**
34
+ * Query asynchronous task result
35
+ * @param {DescribeTaskResultRequest} req
36
+ * @param {function(string, DescribeTaskResultResponse):void} cb
37
+ * @public
38
+ */
39
+ DescribeTaskResult(req, cb) {
40
+ let resp = new DescribeTaskResultResponse();
41
+ this.request("DescribeTaskResult", req, resp, cb);
42
+ }
43
+
44
+
45
+ }
46
+ module.exports = Ga2Client;
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./ga2_client"),
3
+ Models: require("./models"),
4
+ };
@@ -0,0 +1,86 @@
1
+ /*
2
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+ const AbstractModel = require("../../common/abstract_model");
18
+
19
+ /**
20
+ * DescribeTaskResult request structure.
21
+ * @class
22
+ */
23
+ class DescribeTaskResultRequest extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * Asynchronous task ID.
29
+ * @type {string || null}
30
+ */
31
+ this.TaskId = null;
32
+
33
+ }
34
+
35
+ /**
36
+ * @private
37
+ */
38
+ deserialize(params) {
39
+ if (!params) {
40
+ return;
41
+ }
42
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
43
+
44
+ }
45
+ }
46
+
47
+ /**
48
+ * DescribeTaskResult response structure.
49
+ * @class
50
+ */
51
+ class DescribeTaskResultResponse extends AbstractModel {
52
+ constructor(){
53
+ super();
54
+
55
+ /**
56
+ * Task status.
57
+ * @type {string || null}
58
+ */
59
+ this.Status = null;
60
+
61
+ /**
62
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
63
+ * @type {string || null}
64
+ */
65
+ this.RequestId = null;
66
+
67
+ }
68
+
69
+ /**
70
+ * @private
71
+ */
72
+ deserialize(params) {
73
+ if (!params) {
74
+ return;
75
+ }
76
+ this.Status = 'Status' in params ? params.Status : null;
77
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
78
+
79
+ }
80
+ }
81
+
82
+ module.exports = {
83
+ DescribeTaskResultRequest: DescribeTaskResultRequest,
84
+ DescribeTaskResultResponse: DescribeTaskResultResponse,
85
+
86
+ }
@@ -59,6 +59,7 @@ module.exports = {
59
59
  es: require("./es"),
60
60
  facefusion: require("./facefusion"),
61
61
  faceid: require("./faceid"),
62
+ ga2: require("./ga2"),
62
63
  gaap: require("./gaap"),
63
64
  gme: require("./gme"),
64
65
  gpm: require("./gpm"),