tencentcloud-sdk-bi 3.0.949 → 3.0.951

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4cabfb7624c47eabe0844d500c040e8657be7d7f
4
- data.tar.gz: 59b552d9cbc32ce43197a725f620c774091477e1
3
+ metadata.gz: f2aa7e2877d546a868fadacfd7e31674eedb49c8
4
+ data.tar.gz: 66d3fba7f8e13662f07c62b175e5928050cc21c0
5
5
  SHA512:
6
- metadata.gz: bd17fe6dbefe7ca9300d5c40a9974fc5a56ca19ba6c4484b98b2fb9c94b0a09d5a6dbcaa97b68c356360f95f43654ebacfc149de8934a84c42f6b47a217b5895
7
- data.tar.gz: f04b88a4195c24c5be766bc4186b18bea84dd2e1558eb73e8e335710e50cfca82992d2a7f8a092a0c6c5a59fe31ad38e8a7b802f2d5e6bd4c8183ad8505f734b
6
+ metadata.gz: df27717c7972a584ba4b3fcabd1e0401510fe8082f666b3974c5b61b5e44aad8b17bae321a31f1054003e7285276467ee092cbb7d10f9b071a0d41f16745621d
7
+ data.tar.gz: 87e5ce3ee96f8f1567f143d2d34e30faedf763df57c81380c62f9e28f6223f15a69323dc89a1092e218b63054259e380e108ed4832f9941b06c7e35a4400b2b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.949
1
+ 3.0.951
@@ -317,6 +317,30 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 查询页面组件信息
321
+
322
+ # @param request: Request instance for DescribePageWidgetList.
323
+ # @type request: :class:`Tencentcloud::bi::V20220105::DescribePageWidgetListRequest`
324
+ # @rtype: :class:`Tencentcloud::bi::V20220105::DescribePageWidgetListResponse`
325
+ def DescribePageWidgetList(request)
326
+ body = send_request('DescribePageWidgetList', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribePageWidgetListResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
320
344
  # 项目详情接口
321
345
 
322
346
  # @param request: Request instance for DescribeProjectInfo.
@@ -437,6 +461,30 @@ module TencentCloud
437
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
462
  end
439
463
 
464
+ # 页面截图导出
465
+
466
+ # @param request: Request instance for ExportScreenPage.
467
+ # @type request: :class:`Tencentcloud::bi::V20220105::ExportScreenPageRequest`
468
+ # @rtype: :class:`Tencentcloud::bi::V20220105::ExportScreenPageResponse`
469
+ def ExportScreenPage(request)
470
+ body = send_request('ExportScreenPage', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = ExportScreenPageResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
440
488
  # 更新数据源
441
489
 
442
490
  # @param request: Request instance for ModifyDatasource.
@@ -1436,6 +1436,68 @@ module TencentCloud
1436
1436
  end
1437
1437
  end
1438
1438
 
1439
+ # DescribePageWidgetList请求参数结构体
1440
+ class DescribePageWidgetListRequest < TencentCloud::Common::AbstractModel
1441
+ # @param ProjectId: 项目id
1442
+ # @type ProjectId: String
1443
+ # @param PageId: 页面id
1444
+ # @type PageId: String
1445
+
1446
+ attr_accessor :ProjectId, :PageId
1447
+
1448
+ def initialize(projectid=nil, pageid=nil)
1449
+ @ProjectId = projectid
1450
+ @PageId = pageid
1451
+ end
1452
+
1453
+ def deserialize(params)
1454
+ @ProjectId = params['ProjectId']
1455
+ @PageId = params['PageId']
1456
+ end
1457
+ end
1458
+
1459
+ # DescribePageWidgetList返回参数结构体
1460
+ class DescribePageWidgetListResponse < TencentCloud::Common::AbstractModel
1461
+ # @param ErrorInfo: 自定义错误信息对象
1462
+ # 注意:此字段可能返回 null,表示取不到有效值。
1463
+ # @type ErrorInfo: :class:`Tencentcloud::Bi.v20220105.models.ErrorInfo`
1464
+ # @param Extra: 扩展参数
1465
+ # 注意:此字段可能返回 null,表示取不到有效值。
1466
+ # @type Extra: String
1467
+ # @param Data: 返回数据结果
1468
+ # 注意:此字段可能返回 null,表示取不到有效值。
1469
+ # @type Data: :class:`Tencentcloud::Bi.v20220105.models.WidgetListVO`
1470
+ # @param Msg: 返回消息
1471
+ # 注意:此字段可能返回 null,表示取不到有效值。
1472
+ # @type Msg: String
1473
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1474
+ # @type RequestId: String
1475
+
1476
+ attr_accessor :ErrorInfo, :Extra, :Data, :Msg, :RequestId
1477
+
1478
+ def initialize(errorinfo=nil, extra=nil, data=nil, msg=nil, requestid=nil)
1479
+ @ErrorInfo = errorinfo
1480
+ @Extra = extra
1481
+ @Data = data
1482
+ @Msg = msg
1483
+ @RequestId = requestid
1484
+ end
1485
+
1486
+ def deserialize(params)
1487
+ unless params['ErrorInfo'].nil?
1488
+ @ErrorInfo = ErrorInfo.new
1489
+ @ErrorInfo.deserialize(params['ErrorInfo'])
1490
+ end
1491
+ @Extra = params['Extra']
1492
+ unless params['Data'].nil?
1493
+ @Data = WidgetListVO.new
1494
+ @Data.deserialize(params['Data'])
1495
+ end
1496
+ @Msg = params['Msg']
1497
+ @RequestId = params['RequestId']
1498
+ end
1499
+ end
1500
+
1439
1501
  # DescribeProjectInfo请求参数结构体
1440
1502
  class DescribeProjectInfoRequest < TencentCloud::Common::AbstractModel
1441
1503
  # @param Id: 项目Id
@@ -1948,6 +2010,88 @@ module TencentCloud
1948
2010
  end
1949
2011
  end
1950
2012
 
2013
+ # ExportScreenPage请求参数结构体
2014
+ class ExportScreenPageRequest < TencentCloud::Common::AbstractModel
2015
+ # @param ProjectId: 项目id
2016
+ # @type ProjectId: String
2017
+ # @param PageId: 页面id
2018
+ # @type PageId: String
2019
+ # @param CanvasType: 画布类型。栅格画布:GRID;自由画布:FREE
2020
+ # @type CanvasType: String
2021
+ # @param PicType: 图片导出类型。base64;url(有效期:1天)
2022
+ # @type PicType: String
2023
+ # @param WidgetIds: 组件Ids。为空时,导出整个页面
2024
+ # @type WidgetIds: Array
2025
+ # @param AsyncRequest: 是否是异步请求
2026
+ # @type AsyncRequest: Boolean
2027
+ # @param TranId: 事务id
2028
+ # @type TranId: String
2029
+
2030
+ attr_accessor :ProjectId, :PageId, :CanvasType, :PicType, :WidgetIds, :AsyncRequest, :TranId
2031
+
2032
+ def initialize(projectid=nil, pageid=nil, canvastype=nil, pictype=nil, widgetids=nil, asyncrequest=nil, tranid=nil)
2033
+ @ProjectId = projectid
2034
+ @PageId = pageid
2035
+ @CanvasType = canvastype
2036
+ @PicType = pictype
2037
+ @WidgetIds = widgetids
2038
+ @AsyncRequest = asyncrequest
2039
+ @TranId = tranid
2040
+ end
2041
+
2042
+ def deserialize(params)
2043
+ @ProjectId = params['ProjectId']
2044
+ @PageId = params['PageId']
2045
+ @CanvasType = params['CanvasType']
2046
+ @PicType = params['PicType']
2047
+ @WidgetIds = params['WidgetIds']
2048
+ @AsyncRequest = params['AsyncRequest']
2049
+ @TranId = params['TranId']
2050
+ end
2051
+ end
2052
+
2053
+ # ExportScreenPage返回参数结构体
2054
+ class ExportScreenPageResponse < TencentCloud::Common::AbstractModel
2055
+ # @param ErrorInfo: 自定义错误信息对象
2056
+ # 注意:此字段可能返回 null,表示取不到有效值。
2057
+ # @type ErrorInfo: :class:`Tencentcloud::Bi.v20220105.models.ErrorInfo`
2058
+ # @param Extra: 扩展参数
2059
+ # 注意:此字段可能返回 null,表示取不到有效值。
2060
+ # @type Extra: String
2061
+ # @param Data: 返回数据结果
2062
+ # 注意:此字段可能返回 null,表示取不到有效值。
2063
+ # @type Data: :class:`Tencentcloud::Bi.v20220105.models.PageScreenListVO`
2064
+ # @param Msg: 返回消息
2065
+ # 注意:此字段可能返回 null,表示取不到有效值。
2066
+ # @type Msg: String
2067
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2068
+ # @type RequestId: String
2069
+
2070
+ attr_accessor :ErrorInfo, :Extra, :Data, :Msg, :RequestId
2071
+
2072
+ def initialize(errorinfo=nil, extra=nil, data=nil, msg=nil, requestid=nil)
2073
+ @ErrorInfo = errorinfo
2074
+ @Extra = extra
2075
+ @Data = data
2076
+ @Msg = msg
2077
+ @RequestId = requestid
2078
+ end
2079
+
2080
+ def deserialize(params)
2081
+ unless params['ErrorInfo'].nil?
2082
+ @ErrorInfo = ErrorInfo.new
2083
+ @ErrorInfo.deserialize(params['ErrorInfo'])
2084
+ end
2085
+ @Extra = params['Extra']
2086
+ unless params['Data'].nil?
2087
+ @Data = PageScreenListVO.new
2088
+ @Data.deserialize(params['Data'])
2089
+ end
2090
+ @Msg = params['Msg']
2091
+ @RequestId = params['RequestId']
2092
+ end
2093
+ end
2094
+
1951
2095
  # 仅包含id的对象
1952
2096
  class IdDTO < TencentCloud::Common::AbstractModel
1953
2097
  # @param Id: 请求id
@@ -2500,6 +2644,68 @@ module TencentCloud
2500
2644
  end
2501
2645
  end
2502
2646
 
2647
+ # 页面截图列表
2648
+ class PageScreenListVO < TencentCloud::Common::AbstractModel
2649
+ # @param PicType: 图片导出类型。base64;url
2650
+ # 注意:此字段可能返回 null,表示取不到有效值。
2651
+ # @type PicType: String
2652
+ # @param List: 图片列表
2653
+ # 注意:此字段可能返回 null,表示取不到有效值。
2654
+ # @type List: Array
2655
+ # @param TranId: 异步事务id
2656
+ # 注意:此字段可能返回 null,表示取不到有效值。
2657
+ # @type TranId: String
2658
+ # @param TranStatus: 事务状态
2659
+ # 1: 处理中; 2: 处理成功; 3 处理失败(错误内容见外层Msg)
2660
+ # 注意:此字段可能返回 null,表示取不到有效值。
2661
+ # @type TranStatus: Integer
2662
+
2663
+ attr_accessor :PicType, :List, :TranId, :TranStatus
2664
+
2665
+ def initialize(pictype=nil, list=nil, tranid=nil, transtatus=nil)
2666
+ @PicType = pictype
2667
+ @List = list
2668
+ @TranId = tranid
2669
+ @TranStatus = transtatus
2670
+ end
2671
+
2672
+ def deserialize(params)
2673
+ @PicType = params['PicType']
2674
+ unless params['List'].nil?
2675
+ @List = []
2676
+ params['List'].each do |i|
2677
+ pagescreenvo_tmp = PageScreenVO.new
2678
+ pagescreenvo_tmp.deserialize(i)
2679
+ @List << pagescreenvo_tmp
2680
+ end
2681
+ end
2682
+ @TranId = params['TranId']
2683
+ @TranStatus = params['TranStatus']
2684
+ end
2685
+ end
2686
+
2687
+ # 页面截图信息
2688
+ class PageScreenVO < TencentCloud::Common::AbstractModel
2689
+ # @param Content: 截图base64或 url
2690
+ # 注意:此字段可能返回 null,表示取不到有效值。
2691
+ # @type Content: String
2692
+ # @param WidgetId: 组件Id
2693
+ # 注意:此字段可能返回 null,表示取不到有效值。
2694
+ # @type WidgetId: String
2695
+
2696
+ attr_accessor :Content, :WidgetId
2697
+
2698
+ def initialize(content=nil, widgetid=nil)
2699
+ @Content = content
2700
+ @WidgetId = widgetid
2701
+ end
2702
+
2703
+ def deserialize(params)
2704
+ @Content = params['Content']
2705
+ @WidgetId = params['WidgetId']
2706
+ end
2707
+ end
2708
+
2503
2709
  # 商业版本权限单元
2504
2710
  class PermissionComponent < TencentCloud::Common::AbstractModel
2505
2711
  # @param ModuleId: 权限值
@@ -3135,6 +3341,67 @@ module TencentCloud
3135
3341
  end
3136
3342
  end
3137
3343
 
3344
+ # 页面组件信息
3345
+ class WidgetListVO < TencentCloud::Common::AbstractModel
3346
+ # @param CorpId: uin
3347
+ # 注意:此字段可能返回 null,表示取不到有效值。
3348
+ # @type CorpId: String
3349
+ # @param ProjectId: 项目id
3350
+ # 注意:此字段可能返回 null,表示取不到有效值。
3351
+ # @type ProjectId: String
3352
+ # @param PageId: 页面id
3353
+ # 注意:此字段可能返回 null,表示取不到有效值。
3354
+ # @type PageId: String
3355
+ # @param WidgetList: 组件数组
3356
+ # 注意:此字段可能返回 null,表示取不到有效值。
3357
+ # @type WidgetList: Array
3358
+
3359
+ attr_accessor :CorpId, :ProjectId, :PageId, :WidgetList
3360
+
3361
+ def initialize(corpid=nil, projectid=nil, pageid=nil, widgetlist=nil)
3362
+ @CorpId = corpid
3363
+ @ProjectId = projectid
3364
+ @PageId = pageid
3365
+ @WidgetList = widgetlist
3366
+ end
3367
+
3368
+ def deserialize(params)
3369
+ @CorpId = params['CorpId']
3370
+ @ProjectId = params['ProjectId']
3371
+ @PageId = params['PageId']
3372
+ unless params['WidgetList'].nil?
3373
+ @WidgetList = []
3374
+ params['WidgetList'].each do |i|
3375
+ widgetvo_tmp = WidgetVO.new
3376
+ widgetvo_tmp.deserialize(i)
3377
+ @WidgetList << widgetvo_tmp
3378
+ end
3379
+ end
3380
+ end
3381
+ end
3382
+
3383
+ # 组件信息
3384
+ class WidgetVO < TencentCloud::Common::AbstractModel
3385
+ # @param WidgetId: 组件Id
3386
+ # 注意:此字段可能返回 null,表示取不到有效值。
3387
+ # @type WidgetId: String
3388
+ # @param WidgetName: 组件name
3389
+ # 注意:此字段可能返回 null,表示取不到有效值。
3390
+ # @type WidgetName: String
3391
+
3392
+ attr_accessor :WidgetId, :WidgetName
3393
+
3394
+ def initialize(widgetid=nil, widgetname=nil)
3395
+ @WidgetId = widgetid
3396
+ @WidgetName = widgetname
3397
+ end
3398
+
3399
+ def deserialize(params)
3400
+ @WidgetId = params['WidgetId']
3401
+ @WidgetName = params['WidgetName']
3402
+ end
3403
+ end
3404
+
3138
3405
  end
3139
3406
  end
3140
3407
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-bi
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.949
4
+ version: 3.0.951
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2024-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common