tencentcloud-sdk-mongodb 3.0.384 → 3.0.385

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: 5a14e573cb86f8a1428b58bb47a76256ae287517
4
- data.tar.gz: c2902ceb0babd824daf6dd0cd95b83c6a2f05874
3
+ metadata.gz: ccd717ba060a3d796fc4f640bbe1826bd818b52f
4
+ data.tar.gz: 5aaba8cc1d587f3309cc5d96529f2e0c0b569152
5
5
  SHA512:
6
- metadata.gz: e31a320c81ccc59d736ab2f52b60e8e80c748cd71e0741b313e7f1fcca2761fe19ae863939e3b81583fdf3fc50f2cce184a838a21794d4c583728a9f492816de
7
- data.tar.gz: c6d475e45f541785e4037ff8d7cfe16e7c7261651c704a59777a669e86b5c73565ac35c07c2acf3a2cddc253e2f8b18625155403012675c502f98e816cc8eea7
6
+ metadata.gz: 390e9d64cc34731d07710ce743bd7a98d1d016011351f1feeb62dbc0f5d912c42ea539d7578b476fec4970326b5228b404226cf5346756e78e27ba5abaaf9507
7
+ data.tar.gz: 0871604fd2c416b16e6cb951fa1bb4b325774308432ef4b10cc90428d39caad603ce55b2734e428ba642a2b83bc020221ccc8a999b951290e09c92f647354e1e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.384
1
+ 3.0.385
@@ -173,32 +173,6 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
- # 备份下载功能已调整,此接口即将下线
177
-
178
- # 本接口(DescribeBackupAccess)用于获取备份文件的下载授权,具体的备份文件信息可通过查询实例备份列表(DescribeDBBackups)接口获取
179
-
180
- # @param request: Request instance for DescribeBackupAccess.
181
- # @type request: :class:`Tencentcloud::mongodb::V20190725::DescribeBackupAccessRequest`
182
- # @rtype: :class:`Tencentcloud::mongodb::V20190725::DescribeBackupAccessResponse`
183
- def DescribeBackupAccess(request)
184
- body = send_request('DescribeBackupAccess', request.serialize)
185
- response = JSON.parse(body)
186
- if response['Response'].key?('Error') == false
187
- model = DescribeBackupAccessResponse.new
188
- model.deserialize(response['Response'])
189
- model
190
- else
191
- code = response['Response']['Error']['Code']
192
- message = response['Response']['Error']['Message']
193
- reqid = response['Response']['RequestId']
194
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
195
- end
196
- rescue TencentCloud::Common::TencentCloudSDKException => e
197
- raise e
198
- rescue StandardError => e
199
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
200
- end
201
-
202
176
  # 查询备份下载任务信息
203
177
 
204
178
  # @param request: Request instance for DescribeBackupDownloadTask.
@@ -150,26 +150,6 @@ module TencentCloud
150
150
  end
151
151
  end
152
152
 
153
- # 备份文件存储信息
154
- class BackupFile < TencentCloud::Common::AbstractModel
155
- # @param ReplicateSetId: 备份文件所属的副本集/分片ID
156
- # @type ReplicateSetId: String
157
- # @param File: 备份文件保存路径
158
- # @type File: String
159
-
160
- attr_accessor :ReplicateSetId, :File
161
-
162
- def initialize(replicatesetid=nil, file=nil)
163
- @ReplicateSetId = replicatesetid
164
- @File = file
165
- end
166
-
167
- def deserialize(params)
168
- @ReplicateSetId = params['ReplicateSetId']
169
- @File = params['File']
170
- end
171
- end
172
-
173
153
  # 备份信息
174
154
  class BackupInfo < TencentCloud::Common::AbstractModel
175
155
  # @param InstanceId: 实例ID
@@ -768,61 +748,6 @@ module TencentCloud
768
748
  end
769
749
  end
770
750
 
771
- # DescribeBackupAccess请求参数结构体
772
- class DescribeBackupAccessRequest < TencentCloud::Common::AbstractModel
773
- # @param InstanceId: 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
774
- # @type InstanceId: String
775
- # @param BackupName: 需要获取下载授权的备份文件名
776
- # @type BackupName: String
777
-
778
- attr_accessor :InstanceId, :BackupName
779
-
780
- def initialize(instanceid=nil, backupname=nil)
781
- @InstanceId = instanceid
782
- @BackupName = backupname
783
- end
784
-
785
- def deserialize(params)
786
- @InstanceId = params['InstanceId']
787
- @BackupName = params['BackupName']
788
- end
789
- end
790
-
791
- # DescribeBackupAccess返回参数结构体
792
- class DescribeBackupAccessResponse < TencentCloud::Common::AbstractModel
793
- # @param Region: 实例所属地域
794
- # @type Region: String
795
- # @param Bucket: 备份文件所在存储桶
796
- # @type Bucket: String
797
- # @param Files: 备份文件的存储信息
798
- # @type Files: Array
799
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
800
- # @type RequestId: String
801
-
802
- attr_accessor :Region, :Bucket, :Files, :RequestId
803
-
804
- def initialize(region=nil, bucket=nil, files=nil, requestid=nil)
805
- @Region = region
806
- @Bucket = bucket
807
- @Files = files
808
- @RequestId = requestid
809
- end
810
-
811
- def deserialize(params)
812
- @Region = params['Region']
813
- @Bucket = params['Bucket']
814
- unless params['Files'].nil?
815
- @Files = []
816
- params['Files'].each do |i|
817
- backupfile_tmp = BackupFile.new
818
- backupfile_tmp.deserialize(i)
819
- @Files << backupfile_tmp
820
- end
821
- end
822
- @RequestId = params['RequestId']
823
- end
824
- end
825
-
826
751
  # DescribeBackupDownloadTask请求参数结构体
827
752
  class DescribeBackupDownloadTaskRequest < TencentCloud::Common::AbstractModel
828
753
  # @param InstanceId: 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mongodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.384
4
+ version: 3.0.385
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-10 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common