tencentcloud-sdk-cfs 3.0.1162 → 3.0.1171

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/v20190719/models.rb +62 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 920da36111086c884dd58c616daa7a10bcd7a7f7
4
- data.tar.gz: c57cc6ca6fe9c2b567da095edb507aa03770123c
3
+ metadata.gz: 529468f180be7015073cb79c564eb3d2cda2c667
4
+ data.tar.gz: 5b8a5f902ac7174834aa3611b55798f1f925e3b4
5
5
  SHA512:
6
- metadata.gz: 1018d32625a965dd4016b7a169778e39bd6f66452f27d311828bacdb46adbff559888f4ad806b3935a16db26d167fbdb1f9558c8604c4b7f285c8e0bc2c0f91f
7
- data.tar.gz: 8900745c6823998cedf8650630c88ab9b7b57115ddd792741a124d4e9a9241022d41d2389f2f4ff4312a074cd130c9ae745a6044e3f8725bb86a280d48423bdc
6
+ metadata.gz: 47006e1e864a34151a3d767cd25c930014ce614a9a7e514ced774f86d9cd7b9c08efed6f0bc59bc8d14d4a64126435194f8fd61acc726d79372bb5b0318e5306
7
+ data.tar.gz: c522e7bf14c72ed21024948606c4a946677a8d6d40cc60d299bb1f9fda2d7469bef3de721a14999b1373c8c68691db5ab2a05776898d06c484608d4aefd47cda
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1162
1
+ 3.0.1171
@@ -132,10 +132,12 @@ module TencentCloud
132
132
  # @type IntervalDays: Integer
133
133
  # @param CrossRegionsAliveDays: 跨地域复制的快照保留时间,单位天
134
134
  # @type CrossRegionsAliveDays: Integer
135
+ # @param Tags: 快照策略标签
136
+ # @type Tags: Array
135
137
 
136
- attr_accessor :AutoSnapshotPolicyId, :PolicyName, :CreationTime, :FileSystemNums, :DayOfWeek, :Hour, :IsActivated, :NextActiveTime, :Status, :AppId, :AliveDays, :RegionName, :FileSystems, :DayOfMonth, :IntervalDays, :CrossRegionsAliveDays
138
+ attr_accessor :AutoSnapshotPolicyId, :PolicyName, :CreationTime, :FileSystemNums, :DayOfWeek, :Hour, :IsActivated, :NextActiveTime, :Status, :AppId, :AliveDays, :RegionName, :FileSystems, :DayOfMonth, :IntervalDays, :CrossRegionsAliveDays, :Tags
137
139
 
138
- def initialize(autosnapshotpolicyid=nil, policyname=nil, creationtime=nil, filesystemnums=nil, dayofweek=nil, hour=nil, isactivated=nil, nextactivetime=nil, status=nil, appid=nil, alivedays=nil, regionname=nil, filesystems=nil, dayofmonth=nil, intervaldays=nil, crossregionsalivedays=nil)
140
+ def initialize(autosnapshotpolicyid=nil, policyname=nil, creationtime=nil, filesystemnums=nil, dayofweek=nil, hour=nil, isactivated=nil, nextactivetime=nil, status=nil, appid=nil, alivedays=nil, regionname=nil, filesystems=nil, dayofmonth=nil, intervaldays=nil, crossregionsalivedays=nil, tags=nil)
139
141
  @AutoSnapshotPolicyId = autosnapshotpolicyid
140
142
  @PolicyName = policyname
141
143
  @CreationTime = creationtime
@@ -152,6 +154,7 @@ module TencentCloud
152
154
  @DayOfMonth = dayofmonth
153
155
  @IntervalDays = intervaldays
154
156
  @CrossRegionsAliveDays = crossregionsalivedays
157
+ @Tags = tags
155
158
  end
156
159
 
157
160
  def deserialize(params)
@@ -178,6 +181,14 @@ module TencentCloud
178
181
  @DayOfMonth = params['DayOfMonth']
179
182
  @IntervalDays = params['IntervalDays']
180
183
  @CrossRegionsAliveDays = params['CrossRegionsAliveDays']
184
+ unless params['Tags'].nil?
185
+ @Tags = []
186
+ params['Tags'].each do |i|
187
+ taginfo_tmp = TagInfo.new
188
+ taginfo_tmp.deserialize(i)
189
+ @Tags << taginfo_tmp
190
+ end
191
+ end
181
192
  end
182
193
  end
183
194
 
@@ -460,16 +471,19 @@ module TencentCloud
460
471
  # @type DayOfMonth: String
461
472
  # @param IntervalDays: 间隔天数,与DayOfWeek,DayOfMonth 三者选一
462
473
  # @type IntervalDays: Integer
474
+ # @param ResourceTags: 快照策略标签
475
+ # @type ResourceTags: Array
463
476
 
464
- attr_accessor :Hour, :PolicyName, :DayOfWeek, :AliveDays, :DayOfMonth, :IntervalDays
477
+ attr_accessor :Hour, :PolicyName, :DayOfWeek, :AliveDays, :DayOfMonth, :IntervalDays, :ResourceTags
465
478
 
466
- def initialize(hour=nil, policyname=nil, dayofweek=nil, alivedays=nil, dayofmonth=nil, intervaldays=nil)
479
+ def initialize(hour=nil, policyname=nil, dayofweek=nil, alivedays=nil, dayofmonth=nil, intervaldays=nil, resourcetags=nil)
467
480
  @Hour = hour
468
481
  @PolicyName = policyname
469
482
  @DayOfWeek = dayofweek
470
483
  @AliveDays = alivedays
471
484
  @DayOfMonth = dayofmonth
472
485
  @IntervalDays = intervaldays
486
+ @ResourceTags = resourcetags
473
487
  end
474
488
 
475
489
  def deserialize(params)
@@ -479,6 +493,14 @@ module TencentCloud
479
493
  @AliveDays = params['AliveDays']
480
494
  @DayOfMonth = params['DayOfMonth']
481
495
  @IntervalDays = params['IntervalDays']
496
+ unless params['ResourceTags'].nil?
497
+ @ResourceTags = []
498
+ params['ResourceTags'].each do |i|
499
+ taginfo_tmp = TagInfo.new
500
+ taginfo_tmp.deserialize(i)
501
+ @ResourceTags << taginfo_tmp
502
+ end
503
+ end
482
504
  end
483
505
  end
484
506
 
@@ -1179,10 +1201,26 @@ module TencentCloud
1179
1201
  # @type CreationTime: String
1180
1202
  # @param FileSystemId: 文件系统 ID
1181
1203
  # @type FileSystemId: String
1204
+ # @param AutoRefresh: 0:不开启自动更新
1205
+
1206
+ # 1:开启自动更新
1207
+ # @type AutoRefresh: Integer
1208
+ # @param UserKafkaTopic: KafkaConsumer 消费时使用的Topic参数
1209
+ # @type UserKafkaTopic: String
1210
+ # @param ServerAddr: 服务地址
1211
+ # @type ServerAddr: String
1212
+ # @param UserName: Kafka消费用户名
1213
+ # @type UserName: String
1214
+ # @param AutoRefreshStatus: 自动刷新的状态,available:已生效
1215
+ # pending:配置中
1216
+ # unavailable:失效
1217
+ # @type AutoRefreshStatus: String
1218
+ # @param AutoRefreshTime: 自动刷新开启时间
1219
+ # @type AutoRefreshTime: String
1182
1220
 
1183
- attr_accessor :DataFlowId, :DataFlowName, :SourceStorageType, :SourceStorageAddress, :SourcePath, :TargetPath, :Status, :CreationTime, :FileSystemId
1221
+ attr_accessor :DataFlowId, :DataFlowName, :SourceStorageType, :SourceStorageAddress, :SourcePath, :TargetPath, :Status, :CreationTime, :FileSystemId, :AutoRefresh, :UserKafkaTopic, :ServerAddr, :UserName, :AutoRefreshStatus, :AutoRefreshTime
1184
1222
 
1185
- def initialize(dataflowid=nil, dataflowname=nil, sourcestoragetype=nil, sourcestorageaddress=nil, sourcepath=nil, targetpath=nil, status=nil, creationtime=nil, filesystemid=nil)
1223
+ def initialize(dataflowid=nil, dataflowname=nil, sourcestoragetype=nil, sourcestorageaddress=nil, sourcepath=nil, targetpath=nil, status=nil, creationtime=nil, filesystemid=nil, autorefresh=nil, userkafkatopic=nil, serveraddr=nil, username=nil, autorefreshstatus=nil, autorefreshtime=nil)
1186
1224
  @DataFlowId = dataflowid
1187
1225
  @DataFlowName = dataflowname
1188
1226
  @SourceStorageType = sourcestoragetype
@@ -1192,6 +1230,12 @@ module TencentCloud
1192
1230
  @Status = status
1193
1231
  @CreationTime = creationtime
1194
1232
  @FileSystemId = filesystemid
1233
+ @AutoRefresh = autorefresh
1234
+ @UserKafkaTopic = userkafkatopic
1235
+ @ServerAddr = serveraddr
1236
+ @UserName = username
1237
+ @AutoRefreshStatus = autorefreshstatus
1238
+ @AutoRefreshTime = autorefreshtime
1195
1239
  end
1196
1240
 
1197
1241
  def deserialize(params)
@@ -1204,6 +1248,12 @@ module TencentCloud
1204
1248
  @Status = params['Status']
1205
1249
  @CreationTime = params['CreationTime']
1206
1250
  @FileSystemId = params['FileSystemId']
1251
+ @AutoRefresh = params['AutoRefresh']
1252
+ @UserKafkaTopic = params['UserKafkaTopic']
1253
+ @ServerAddr = params['ServerAddr']
1254
+ @UserName = params['UserName']
1255
+ @AutoRefreshStatus = params['AutoRefreshStatus']
1256
+ @AutoRefreshTime = params['AutoRefreshTime']
1207
1257
  end
1208
1258
  end
1209
1259
 
@@ -2985,19 +3035,19 @@ module TencentCloud
2985
3035
 
2986
3036
  # 生命周期管理策略关联的管理规则
2987
3037
  class LifecycleRule < TencentCloud::Common::AbstractModel
2988
- # @param StorageType: 数据转储后的存储类型
3038
+ # @param StorageType: 数据转储后的存储类型。其中:InfrequentAccess:低频介质存储;ColdStorage:冷存储。
2989
3039
  # @type StorageType: String
2990
- # @param FileType: 数据转储文件类型
3040
+ # @param FileType: 数据转储文件类型。其中,BIG_FILE:超大文件;STD_FILE:普通文件;SMALL_FILE:小文件;ALL:所有文件。
2991
3041
  # @type FileType: String
2992
- # @param Action: 数据转储行为
3042
+ # @param Action: 数据转储行为。其中,Archive:沉降;Noarchive:不沉降。
2993
3043
  # @type Action: String
2994
- # @param Interval: 数据转储触发时间
3044
+ # @param Interval: 数据转储触发时间。由“DEFAULT_ATIME_”与“数字”组成,单位为天。当 Action 为 Noarchive,请保持为空。
2995
3045
  # 注意:此字段可能返回 null,表示取不到有效值。
2996
3046
  # @type Interval: String
2997
- # @param FileMaxSize: 数据转储文件最大规格
3047
+ # @param FileMaxSize: 数据转储文件最大规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
2998
3048
  # 注意:此字段可能返回 null,表示取不到有效值。
2999
3049
  # @type FileMaxSize: String
3000
- # @param FileMinSize: 数据转储文件最小规格
3050
+ # @param FileMinSize: 数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
3001
3051
  # 注意:此字段可能返回 null,表示取不到有效值。
3002
3052
  # @type FileMinSize: String
3003
3053
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1162
4
+ version: 3.0.1171
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-05 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common