tencentcloud-sdk-tcr 3.0.482 → 3.0.484

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b780dc29e12f50a3583876cb5c69d3f45b77ff17
4
- data.tar.gz: ea3306237b492a72b6ebfaf0911d55bd00fbb93b
3
+ metadata.gz: 234ef895091de5a2071f0be417f7973a9d7372f3
4
+ data.tar.gz: 5555c3c9fb638d0139b4c9b911cb82b1a8d90f0d
5
5
  SHA512:
6
- metadata.gz: 4f9d4779baf26aef788c47d8e63e14531ae5ef12e2ccdc2ba86a4d00a7f2fdc4e396e628d91481211a9916aa2cfe8cc111c83d7be67ada0f8a3b7f64f79f9a9e
7
- data.tar.gz: bd6a218d981cc7b8b0d5d4dc1e761773bd341676d1228c07d4c9128060fe1fb445929696876e14145c4b89d58e71574871fd9ad999f733b60225874503791e64
6
+ metadata.gz: 22ec5704a5d8e4ee6bb8d6e441ecb71f02eb8f216ef070634a19db7f2e3147eb961fc2d531371740fc13f8e6320236800984b06f59731a77fc3b318f6f5e8ebf
7
+ data.tar.gz: c43644d8d988c15a06f41b84685cba3f4d81a8c4a467ad02bda2bc7074c50bdafea8a1864a15a6aeb28076703d64f05a426d739714db54c5e91ae8d8eb09ed78
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.482
1
+ 3.0.484
@@ -463,30 +463,6 @@ module TencentCloud
463
463
 
464
464
  # 创建实例公网访问白名单策略
465
465
 
466
- # @param request: Request instance for CreateSecurityPolicies.
467
- # @type request: :class:`Tencentcloud::tcr::V20190924::CreateSecurityPoliciesRequest`
468
- # @rtype: :class:`Tencentcloud::tcr::V20190924::CreateSecurityPoliciesResponse`
469
- def CreateSecurityPolicies(request)
470
- body = send_request('CreateSecurityPolicies', request.serialize)
471
- response = JSON.parse(body)
472
- if response['Response'].key?('Error') == false
473
- model = CreateSecurityPoliciesResponse.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
-
488
- # 创建实例公网访问白名单策略
489
-
490
466
  # @param request: Request instance for CreateSecurityPolicy.
491
467
  # @type request: :class:`Tencentcloud::tcr::V20190924::CreateSecurityPolicyRequest`
492
468
  # @rtype: :class:`Tencentcloud::tcr::V20190924::CreateSecurityPolicyResponse`
@@ -936,50 +936,6 @@ module TencentCloud
936
936
  end
937
937
  end
938
938
 
939
- # CreateSecurityPolicies请求参数结构体
940
- class CreateSecurityPoliciesRequest < TencentCloud::Common::AbstractModel
941
- # @param RegistryId: 实例Id
942
- # @type RegistryId: String
943
- # @param CidrBlock: 192.168.0.0/24
944
- # @type CidrBlock: String
945
- # @param Description: 描述
946
- # @type Description: String
947
-
948
- attr_accessor :RegistryId, :CidrBlock, :Description
949
-
950
- def initialize(registryid=nil, cidrblock=nil, description=nil)
951
- @RegistryId = registryid
952
- @CidrBlock = cidrblock
953
- @Description = description
954
- end
955
-
956
- def deserialize(params)
957
- @RegistryId = params['RegistryId']
958
- @CidrBlock = params['CidrBlock']
959
- @Description = params['Description']
960
- end
961
- end
962
-
963
- # CreateSecurityPolicies返回参数结构体
964
- class CreateSecurityPoliciesResponse < TencentCloud::Common::AbstractModel
965
- # @param RegistryId: 实例Id
966
- # @type RegistryId: String
967
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
968
- # @type RequestId: String
969
-
970
- attr_accessor :RegistryId, :RequestId
971
-
972
- def initialize(registryid=nil, requestid=nil)
973
- @RegistryId = registryid
974
- @RequestId = requestid
975
- end
976
-
977
- def deserialize(params)
978
- @RegistryId = params['RegistryId']
979
- @RequestId = params['RequestId']
980
- end
981
- end
982
-
983
939
  # CreateSecurityPolicy请求参数结构体
984
940
  class CreateSecurityPolicyRequest < TencentCloud::Common::AbstractModel
985
941
  # @param RegistryId: 实例Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.482
4
+ version: 3.0.484
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-12-28 00:00:00.000000000 Z
11
+ date: 2022-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common