tencentcloud-sdk-ags 3.0.1164 → 3.0.1186

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20250920/models.rb +192 -11
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15a7df96c022fa7c6d324bf09ef8452284fead3e
4
- data.tar.gz: 440e4936444c700b700e807903acc949909571e0
3
+ metadata.gz: 1284798a8de6203cd18783c78f0f149cedec2a37
4
+ data.tar.gz: 9d6ebb4f93d368b9e16dc321a1735c70bdbd1a57
5
5
  SHA512:
6
- metadata.gz: d9695a040c49f0e917fdd52f3de8810919ecaec85130096a71cfe3a28c2805623a2cbddf5a2d8d95038ef161f1e03d6019d606ebb376f3eb6ce97ea8e6f08085
7
- data.tar.gz: 2a8cac4c5053d5bdccf73c57f3df44d49480d08c1f801733fe3e8dae5cfaa2e7b335bae19320080e9ad9148999f966a4cffa1358602607d31980f80de53f86c8
6
+ metadata.gz: 6d8ed7e84026371747b58a3e70a8a9c0abd2f35be4ffebb227071543a7128acbe9d1feed295fc8c4adf5c6a3d0a48485ce3ca04dc24ce30a24944074e547e9e3
7
+ data.tar.gz: 99e0cc6ef5bda24c340e3c25d9cf0cb15de4a682a41f86bc912d476615a157da6307f5411d2bb1334a2ab2ca7c34b2e6e0254b1567163333f8fe3201988a49c4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1164
1
+ 3.0.1186
@@ -89,6 +89,30 @@ module TencentCloud
89
89
  end
90
90
  end
91
91
 
92
+ # 沙箱实例对象存储挂载配置
93
+ class CosStorageSource < TencentCloud::Common::AbstractModel
94
+ # @param Endpoint: 对象存储访问域名
95
+ # @type Endpoint: String
96
+ # @param BucketName: 对象存储桶名称
97
+ # @type BucketName: String
98
+ # @param BucketPath: 对象存储桶路径,必须为以/起始的绝对路径
99
+ # @type BucketPath: String
100
+
101
+ attr_accessor :Endpoint, :BucketName, :BucketPath
102
+
103
+ def initialize(endpoint=nil, bucketname=nil, bucketpath=nil)
104
+ @Endpoint = endpoint
105
+ @BucketName = bucketname
106
+ @BucketPath = bucketpath
107
+ end
108
+
109
+ def deserialize(params)
110
+ @Endpoint = params['Endpoint']
111
+ @BucketName = params['BucketName']
112
+ @BucketPath = params['BucketPath']
113
+ end
114
+ end
115
+
92
116
  # CreateAPIKey请求参数结构体
93
117
  class CreateAPIKeyRequest < TencentCloud::Common::AbstractModel
94
118
  # @param Name: API密钥名称,方便用户记忆
@@ -149,10 +173,14 @@ module TencentCloud
149
173
  # @type Tags: Array
150
174
  # @param ClientToken: 幂等性 Token,长度不超过 64 字符
151
175
  # @type ClientToken: String
176
+ # @param RoleArn: 角色ARN
177
+ # @type RoleArn: String
178
+ # @param StorageMounts: 沙箱工具存储配置
179
+ # @type StorageMounts: Array
152
180
 
153
- attr_accessor :ToolName, :ToolType, :NetworkConfiguration, :Description, :DefaultTimeout, :Tags, :ClientToken
181
+ attr_accessor :ToolName, :ToolType, :NetworkConfiguration, :Description, :DefaultTimeout, :Tags, :ClientToken, :RoleArn, :StorageMounts
154
182
 
155
- def initialize(toolname=nil, tooltype=nil, networkconfiguration=nil, description=nil, defaulttimeout=nil, tags=nil, clienttoken=nil)
183
+ def initialize(toolname=nil, tooltype=nil, networkconfiguration=nil, description=nil, defaulttimeout=nil, tags=nil, clienttoken=nil, rolearn=nil, storagemounts=nil)
156
184
  @ToolName = toolname
157
185
  @ToolType = tooltype
158
186
  @NetworkConfiguration = networkconfiguration
@@ -160,6 +188,8 @@ module TencentCloud
160
188
  @DefaultTimeout = defaulttimeout
161
189
  @Tags = tags
162
190
  @ClientToken = clienttoken
191
+ @RoleArn = rolearn
192
+ @StorageMounts = storagemounts
163
193
  end
164
194
 
165
195
  def deserialize(params)
@@ -180,6 +210,15 @@ module TencentCloud
180
210
  end
181
211
  end
182
212
  @ClientToken = params['ClientToken']
213
+ @RoleArn = params['RoleArn']
214
+ unless params['StorageMounts'].nil?
215
+ @StorageMounts = []
216
+ params['StorageMounts'].each do |i|
217
+ storagemount_tmp = StorageMount.new
218
+ storagemount_tmp.deserialize(i)
219
+ @StorageMounts << storagemount_tmp
220
+ end
221
+ end
183
222
  end
184
223
  end
185
224
 
@@ -465,19 +504,54 @@ module TencentCloud
465
504
  end
466
505
  end
467
506
 
507
+ # 沙箱实例存储挂载配置可选项,用于覆盖沙箱工具的存储配置的部分选项,并提供子路径挂载配置。
508
+ class MountOption < TencentCloud::Common::AbstractModel
509
+ # @param Name: 指定沙箱工具中的存储配置名称
510
+ # @type Name: String
511
+ # @param MountPath: 沙箱实例本地挂载路径(可选),默认继承工具中的存储配置
512
+ # @type MountPath: String
513
+ # @param SubPath: 沙箱实例存储挂载子路径(可选)
514
+ # @type SubPath: String
515
+ # @param ReadOnly: 沙箱实例存储挂载读写权限(可选),默认继承工具存储配置
516
+ # @type ReadOnly: Boolean
517
+
518
+ attr_accessor :Name, :MountPath, :SubPath, :ReadOnly
519
+
520
+ def initialize(name=nil, mountpath=nil, subpath=nil, readonly=nil)
521
+ @Name = name
522
+ @MountPath = mountpath
523
+ @SubPath = subpath
524
+ @ReadOnly = readonly
525
+ end
526
+
527
+ def deserialize(params)
528
+ @Name = params['Name']
529
+ @MountPath = params['MountPath']
530
+ @SubPath = params['SubPath']
531
+ @ReadOnly = params['ReadOnly']
532
+ end
533
+ end
534
+
468
535
  # 沙箱网络配置
469
536
  class NetworkConfiguration < TencentCloud::Common::AbstractModel
470
- # @param NetworkMode: 网络模式(当前支持 PUBLIC)
537
+ # @param NetworkMode: 网络模式(当前支持 PUBLIC, VPC, SANDBOX
471
538
  # @type NetworkMode: String
539
+ # @param VpcConfig: VPC网络相关配置
540
+ # @type VpcConfig: :class:`Tencentcloud::Ags.v20250920.models.VPCConfig`
472
541
 
473
- attr_accessor :NetworkMode
542
+ attr_accessor :NetworkMode, :VpcConfig
474
543
 
475
- def initialize(networkmode=nil)
544
+ def initialize(networkmode=nil, vpcconfig=nil)
476
545
  @NetworkMode = networkmode
546
+ @VpcConfig = vpcconfig
477
547
  end
478
548
 
479
549
  def deserialize(params)
480
550
  @NetworkMode = params['NetworkMode']
551
+ unless params['VpcConfig'].nil?
552
+ @VpcConfig = VPCConfig.new
553
+ @VpcConfig.deserialize(params['VpcConfig'])
554
+ end
481
555
  end
482
556
  end
483
557
 
@@ -501,10 +575,12 @@ module TencentCloud
501
575
  # @type CreateTime: String
502
576
  # @param UpdateTime: 更新时间(ISO 8601 格式)
503
577
  # @type UpdateTime: String
578
+ # @param MountOptions: 存储挂载选项
579
+ # @type MountOptions: Array
504
580
 
505
- attr_accessor :InstanceId, :ToolId, :ToolName, :Status, :TimeoutSeconds, :ExpiresAt, :StopReason, :CreateTime, :UpdateTime
581
+ attr_accessor :InstanceId, :ToolId, :ToolName, :Status, :TimeoutSeconds, :ExpiresAt, :StopReason, :CreateTime, :UpdateTime, :MountOptions
506
582
 
507
- def initialize(instanceid=nil, toolid=nil, toolname=nil, status=nil, timeoutseconds=nil, expiresat=nil, stopreason=nil, createtime=nil, updatetime=nil)
583
+ def initialize(instanceid=nil, toolid=nil, toolname=nil, status=nil, timeoutseconds=nil, expiresat=nil, stopreason=nil, createtime=nil, updatetime=nil, mountoptions=nil)
508
584
  @InstanceId = instanceid
509
585
  @ToolId = toolid
510
586
  @ToolName = toolname
@@ -514,6 +590,7 @@ module TencentCloud
514
590
  @StopReason = stopreason
515
591
  @CreateTime = createtime
516
592
  @UpdateTime = updatetime
593
+ @MountOptions = mountoptions
517
594
  end
518
595
 
519
596
  def deserialize(params)
@@ -526,6 +603,14 @@ module TencentCloud
526
603
  @StopReason = params['StopReason']
527
604
  @CreateTime = params['CreateTime']
528
605
  @UpdateTime = params['UpdateTime']
606
+ unless params['MountOptions'].nil?
607
+ @MountOptions = []
608
+ params['MountOptions'].each do |i|
609
+ mountoption_tmp = MountOption.new
610
+ mountoption_tmp.deserialize(i)
611
+ @MountOptions << mountoption_tmp
612
+ end
613
+ end
529
614
  end
530
615
  end
531
616
 
@@ -551,10 +636,14 @@ module TencentCloud
551
636
  # @type CreateTime: String
552
637
  # @param UpdateTime: 沙箱工具更新时间,格式:ISO8601
553
638
  # @type UpdateTime: String
639
+ # @param RoleArn: 沙箱工具绑定角色ARN
640
+ # @type RoleArn: String
641
+ # @param StorageMounts: 沙箱工具中实例存储挂载配置
642
+ # @type StorageMounts: Array
554
643
 
555
- attr_accessor :ToolId, :ToolName, :ToolType, :Status, :Description, :DefaultTimeoutSeconds, :NetworkConfiguration, :Tags, :CreateTime, :UpdateTime
644
+ attr_accessor :ToolId, :ToolName, :ToolType, :Status, :Description, :DefaultTimeoutSeconds, :NetworkConfiguration, :Tags, :CreateTime, :UpdateTime, :RoleArn, :StorageMounts
556
645
 
557
- def initialize(toolid=nil, toolname=nil, tooltype=nil, status=nil, description=nil, defaulttimeoutseconds=nil, networkconfiguration=nil, tags=nil, createtime=nil, updatetime=nil)
646
+ def initialize(toolid=nil, toolname=nil, tooltype=nil, status=nil, description=nil, defaulttimeoutseconds=nil, networkconfiguration=nil, tags=nil, createtime=nil, updatetime=nil, rolearn=nil, storagemounts=nil)
558
647
  @ToolId = toolid
559
648
  @ToolName = toolname
560
649
  @ToolType = tooltype
@@ -565,6 +654,8 @@ module TencentCloud
565
654
  @Tags = tags
566
655
  @CreateTime = createtime
567
656
  @UpdateTime = updatetime
657
+ @RoleArn = rolearn
658
+ @StorageMounts = storagemounts
568
659
  end
569
660
 
570
661
  def deserialize(params)
@@ -588,6 +679,15 @@ module TencentCloud
588
679
  end
589
680
  @CreateTime = params['CreateTime']
590
681
  @UpdateTime = params['UpdateTime']
682
+ @RoleArn = params['RoleArn']
683
+ unless params['StorageMounts'].nil?
684
+ @StorageMounts = []
685
+ params['StorageMounts'].each do |i|
686
+ storagemount_tmp = StorageMount.new
687
+ storagemount_tmp.deserialize(i)
688
+ @StorageMounts << storagemount_tmp
689
+ end
690
+ end
591
691
  end
592
692
  end
593
693
 
@@ -601,14 +701,17 @@ module TencentCloud
601
701
  # @type Timeout: String
602
702
  # @param ClientToken: 幂等性 Token,长度不超过 64 字符
603
703
  # @type ClientToken: String
704
+ # @param MountOptions: 沙箱实例存储挂载配置
705
+ # @type MountOptions: Array
604
706
 
605
- attr_accessor :ToolId, :ToolName, :Timeout, :ClientToken
707
+ attr_accessor :ToolId, :ToolName, :Timeout, :ClientToken, :MountOptions
606
708
 
607
- def initialize(toolid=nil, toolname=nil, timeout=nil, clienttoken=nil)
709
+ def initialize(toolid=nil, toolname=nil, timeout=nil, clienttoken=nil, mountoptions=nil)
608
710
  @ToolId = toolid
609
711
  @ToolName = toolname
610
712
  @Timeout = timeout
611
713
  @ClientToken = clienttoken
714
+ @MountOptions = mountoptions
612
715
  end
613
716
 
614
717
  def deserialize(params)
@@ -616,6 +719,14 @@ module TencentCloud
616
719
  @ToolName = params['ToolName']
617
720
  @Timeout = params['Timeout']
618
721
  @ClientToken = params['ClientToken']
722
+ unless params['MountOptions'].nil?
723
+ @MountOptions = []
724
+ params['MountOptions'].each do |i|
725
+ mountoption_tmp = MountOption.new
726
+ mountoption_tmp.deserialize(i)
727
+ @MountOptions << mountoption_tmp
728
+ end
729
+ end
619
730
  end
620
731
  end
621
732
 
@@ -674,6 +785,56 @@ module TencentCloud
674
785
  end
675
786
  end
676
787
 
788
+ # 沙箱工具中实例存储挂载配置
789
+ class StorageMount < TencentCloud::Common::AbstractModel
790
+ # @param Name: 存储挂载配置名称
791
+ # @type Name: String
792
+ # @param StorageSource: 存储配置
793
+ # @type StorageSource: :class:`Tencentcloud::Ags.v20250920.models.StorageSource`
794
+ # @param MountPath: 沙箱实例本地挂载路径
795
+ # @type MountPath: String
796
+ # @param ReadOnly: 存储挂载读写权限配置,默认为false
797
+ # @type ReadOnly: Boolean
798
+
799
+ attr_accessor :Name, :StorageSource, :MountPath, :ReadOnly
800
+
801
+ def initialize(name=nil, storagesource=nil, mountpath=nil, readonly=nil)
802
+ @Name = name
803
+ @StorageSource = storagesource
804
+ @MountPath = mountpath
805
+ @ReadOnly = readonly
806
+ end
807
+
808
+ def deserialize(params)
809
+ @Name = params['Name']
810
+ unless params['StorageSource'].nil?
811
+ @StorageSource = StorageSource.new
812
+ @StorageSource.deserialize(params['StorageSource'])
813
+ end
814
+ @MountPath = params['MountPath']
815
+ @ReadOnly = params['ReadOnly']
816
+ end
817
+ end
818
+
819
+ # 挂载存储配置
820
+ class StorageSource < TencentCloud::Common::AbstractModel
821
+ # @param Cos: 对象存储桶配置
822
+ # @type Cos: :class:`Tencentcloud::Ags.v20250920.models.CosStorageSource`
823
+
824
+ attr_accessor :Cos
825
+
826
+ def initialize(cos=nil)
827
+ @Cos = cos
828
+ end
829
+
830
+ def deserialize(params)
831
+ unless params['Cos'].nil?
832
+ @Cos = CosStorageSource.new
833
+ @Cos.deserialize(params['Cos'])
834
+ end
835
+ end
836
+ end
837
+
677
838
  # 标签
678
839
  class Tag < TencentCloud::Common::AbstractModel
679
840
  # @param Key: 标签键
@@ -784,6 +945,26 @@ module TencentCloud
784
945
  end
785
946
  end
786
947
 
948
+ # 沙箱工具VPC相关配置
949
+ class VPCConfig < TencentCloud::Common::AbstractModel
950
+ # @param SubnetIds: VPC子网ID列表
951
+ # @type SubnetIds: Array
952
+ # @param SecurityGroupIds: 安全组ID列表
953
+ # @type SecurityGroupIds: Array
954
+
955
+ attr_accessor :SubnetIds, :SecurityGroupIds
956
+
957
+ def initialize(subnetids=nil, securitygroupids=nil)
958
+ @SubnetIds = subnetids
959
+ @SecurityGroupIds = securitygroupids
960
+ end
961
+
962
+ def deserialize(params)
963
+ @SubnetIds = params['SubnetIds']
964
+ @SecurityGroupIds = params['SecurityGroupIds']
965
+ end
966
+ end
967
+
787
968
  end
788
969
  end
789
970
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ags
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1164
4
+ version: 3.0.1186
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-09 00:00:00.000000000 Z
11
+ date: 2025-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common