tencentcloud-sdk-gaap 3.0.391 → 3.0.395

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: e6f536875a37dde266b7b22406ccef28a204e54a
4
- data.tar.gz: 1e8de5b5155cc53c927dee5acf437a3b024feed2
3
+ metadata.gz: 8a56aba6ff2049dda357819e16fb5f445b34b6cb
4
+ data.tar.gz: 8b89c0a57d67e672c925a483aee32ea3877378b7
5
5
  SHA512:
6
- metadata.gz: e6b96184b77c9d36e66b86683ccc32dd47e4c23d744c9725e9bcb58138921d09e98f795929036b538066b23f9edab362c4f26882d2c6dc23b7983e6d4937717b
7
- data.tar.gz: 7f0f0578afc23114ff3bd9840e32580a94af2ca2e20aa1add0cb40ae501f3692abcd43b51964ce2a3ec7550c545adb518b0bb179fe6fd4b5578aeb73c778d02b
6
+ metadata.gz: 55f005d46edb619aa64fa6d8104183b7b5e2fa224870f84fe2ed87fe13ec77a025a3fd026f187316c45f35244ee20c572d24e23b3e60fc9e45b100921fa77406
7
+ data.tar.gz: f2b5f4189ff06b03c266ae070f5c8ece173fee9a91101cf3ffdc1e53301789b38d8613a1dbadc522cca2ad88205bb932cef05bd4fad01d43555b2527f7d96573
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.391
1
+ 3.0.395
@@ -343,6 +343,54 @@ module TencentCloud
343
343
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
344
344
  end
345
345
 
346
+ # 用来创建统一域名
347
+
348
+ # @param request: Request instance for CreateGlobalDomain.
349
+ # @type request: :class:`Tencentcloud::gaap::V20180529::CreateGlobalDomainRequest`
350
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::CreateGlobalDomainResponse`
351
+ def CreateGlobalDomain(request)
352
+ body = send_request('CreateGlobalDomain', request.serialize)
353
+ response = JSON.parse(body)
354
+ if response['Response'].key?('Error') == false
355
+ model = CreateGlobalDomainResponse.new
356
+ model.deserialize(response['Response'])
357
+ model
358
+ else
359
+ code = response['Response']['Error']['Code']
360
+ message = response['Response']['Error']['Message']
361
+ reqid = response['Response']['RequestId']
362
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
363
+ end
364
+ rescue TencentCloud::Common::TencentCloudSDKException => e
365
+ raise e
366
+ rescue StandardError => e
367
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
368
+ end
369
+
370
+ # 创建域名解析记录
371
+
372
+ # @param request: Request instance for CreateGlobalDomainDns.
373
+ # @type request: :class:`Tencentcloud::gaap::V20180529::CreateGlobalDomainDnsRequest`
374
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::CreateGlobalDomainDnsResponse`
375
+ def CreateGlobalDomainDns(request)
376
+ body = send_request('CreateGlobalDomainDns', request.serialize)
377
+ response = JSON.parse(body)
378
+ if response['Response'].key?('Error') == false
379
+ model = CreateGlobalDomainDnsResponse.new
380
+ model.deserialize(response['Response'])
381
+ model
382
+ else
383
+ code = response['Response']['Error']['Code']
384
+ message = response['Response']['Error']['Message']
385
+ reqid = response['Response']['RequestId']
386
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
387
+ end
388
+ rescue TencentCloud::Common::TencentCloudSDKException => e
389
+ raise e
390
+ rescue StandardError => e
391
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
392
+ end
393
+
346
394
  # 该接口(CreateHTTPListener)用于在通道实例下创建HTTP协议类型的监听器。
347
395
 
348
396
  # @param request: Request instance for CreateHTTPListener.
@@ -679,6 +727,54 @@ module TencentCloud
679
727
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
680
728
  end
681
729
 
730
+ # 删除统一域名
731
+
732
+ # @param request: Request instance for DeleteGlobalDomain.
733
+ # @type request: :class:`Tencentcloud::gaap::V20180529::DeleteGlobalDomainRequest`
734
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::DeleteGlobalDomainResponse`
735
+ def DeleteGlobalDomain(request)
736
+ body = send_request('DeleteGlobalDomain', request.serialize)
737
+ response = JSON.parse(body)
738
+ if response['Response'].key?('Error') == false
739
+ model = DeleteGlobalDomainResponse.new
740
+ model.deserialize(response['Response'])
741
+ model
742
+ else
743
+ code = response['Response']['Error']['Code']
744
+ message = response['Response']['Error']['Message']
745
+ reqid = response['Response']['RequestId']
746
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
747
+ end
748
+ rescue TencentCloud::Common::TencentCloudSDKException => e
749
+ raise e
750
+ rescue StandardError => e
751
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
752
+ end
753
+
754
+ # 删除域名的某条解析记录
755
+
756
+ # @param request: Request instance for DeleteGlobalDomainDns.
757
+ # @type request: :class:`Tencentcloud::gaap::V20180529::DeleteGlobalDomainDnsRequest`
758
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::DeleteGlobalDomainDnsResponse`
759
+ def DeleteGlobalDomainDns(request)
760
+ body = send_request('DeleteGlobalDomainDns', request.serialize)
761
+ response = JSON.parse(body)
762
+ if response['Response'].key?('Error') == false
763
+ model = DeleteGlobalDomainDnsResponse.new
764
+ model.deserialize(response['Response'])
765
+ model
766
+ else
767
+ code = response['Response']['Error']['Code']
768
+ message = response['Response']['Error']['Message']
769
+ reqid = response['Response']['RequestId']
770
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
771
+ end
772
+ rescue TencentCloud::Common::TencentCloudSDKException => e
773
+ raise e
774
+ rescue StandardError => e
775
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
776
+ end
777
+
682
778
  # 该接口(DeleteListeners)用于批量删除通道或通道组的监听器,包括4/7层监听器。
683
779
 
684
780
  # @param request: Request instance for DeleteListeners.
@@ -1087,6 +1183,54 @@ module TencentCloud
1087
1183
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1088
1184
  end
1089
1185
 
1186
+ # 查询域名解析列表
1187
+
1188
+ # @param request: Request instance for DescribeGlobalDomainDns.
1189
+ # @type request: :class:`Tencentcloud::gaap::V20180529::DescribeGlobalDomainDnsRequest`
1190
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::DescribeGlobalDomainDnsResponse`
1191
+ def DescribeGlobalDomainDns(request)
1192
+ body = send_request('DescribeGlobalDomainDns', request.serialize)
1193
+ response = JSON.parse(body)
1194
+ if response['Response'].key?('Error') == false
1195
+ model = DescribeGlobalDomainDnsResponse.new
1196
+ model.deserialize(response['Response'])
1197
+ model
1198
+ else
1199
+ code = response['Response']['Error']['Code']
1200
+ message = response['Response']['Error']['Message']
1201
+ reqid = response['Response']['RequestId']
1202
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1203
+ end
1204
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1205
+ raise e
1206
+ rescue StandardError => e
1207
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1208
+ end
1209
+
1210
+ # 查询域名列表
1211
+
1212
+ # @param request: Request instance for DescribeGlobalDomains.
1213
+ # @type request: :class:`Tencentcloud::gaap::V20180529::DescribeGlobalDomainsRequest`
1214
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::DescribeGlobalDomainsResponse`
1215
+ def DescribeGlobalDomains(request)
1216
+ body = send_request('DescribeGlobalDomains', request.serialize)
1217
+ response = JSON.parse(body)
1218
+ if response['Response'].key?('Error') == false
1219
+ model = DescribeGlobalDomainsResponse.new
1220
+ model.deserialize(response['Response'])
1221
+ model
1222
+ else
1223
+ code = response['Response']['Error']['Code']
1224
+ message = response['Response']['Error']['Message']
1225
+ reqid = response['Response']['RequestId']
1226
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1227
+ end
1228
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1229
+ raise e
1230
+ rescue StandardError => e
1231
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1232
+ end
1233
+
1090
1234
  # 该接口为内部接口,用于查询可以获取统计数据的通道组和通道信息
1091
1235
 
1092
1236
  # @param request: Request instance for DescribeGroupAndStatisticsProxy.
@@ -1735,6 +1879,54 @@ module TencentCloud
1735
1879
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1736
1880
  end
1737
1881
 
1882
+ # 暂停域名解析
1883
+
1884
+ # @param request: Request instance for DisableGlobalDomain.
1885
+ # @type request: :class:`Tencentcloud::gaap::V20180529::DisableGlobalDomainRequest`
1886
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::DisableGlobalDomainResponse`
1887
+ def DisableGlobalDomain(request)
1888
+ body = send_request('DisableGlobalDomain', request.serialize)
1889
+ response = JSON.parse(body)
1890
+ if response['Response'].key?('Error') == false
1891
+ model = DisableGlobalDomainResponse.new
1892
+ model.deserialize(response['Response'])
1893
+ model
1894
+ else
1895
+ code = response['Response']['Error']['Code']
1896
+ message = response['Response']['Error']['Message']
1897
+ reqid = response['Response']['RequestId']
1898
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1899
+ end
1900
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1901
+ raise e
1902
+ rescue StandardError => e
1903
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1904
+ end
1905
+
1906
+ # 开启域名解析
1907
+
1908
+ # @param request: Request instance for EnableGlobalDomain.
1909
+ # @type request: :class:`Tencentcloud::gaap::V20180529::EnableGlobalDomainRequest`
1910
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::EnableGlobalDomainResponse`
1911
+ def EnableGlobalDomain(request)
1912
+ body = send_request('EnableGlobalDomain', request.serialize)
1913
+ response = JSON.parse(body)
1914
+ if response['Response'].key?('Error') == false
1915
+ model = EnableGlobalDomainResponse.new
1916
+ model.deserialize(response['Response'])
1917
+ model
1918
+ else
1919
+ code = response['Response']['Error']['Code']
1920
+ message = response['Response']['Error']['Message']
1921
+ reqid = response['Response']['RequestId']
1922
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1923
+ end
1924
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1925
+ raise e
1926
+ rescue StandardError => e
1927
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1928
+ end
1929
+
1738
1930
  # 本接口(InquiryPriceCreateProxy)用于创建加速通道询价。
1739
1931
 
1740
1932
  # @param request: Request instance for InquiryPriceCreateProxy.
@@ -1831,6 +2023,54 @@ module TencentCloud
1831
2023
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1832
2024
  end
1833
2025
 
2026
+ # 修改域名属性
2027
+
2028
+ # @param request: Request instance for ModifyGlobalDomainAttribute.
2029
+ # @type request: :class:`Tencentcloud::gaap::V20180529::ModifyGlobalDomainAttributeRequest`
2030
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::ModifyGlobalDomainAttributeResponse`
2031
+ def ModifyGlobalDomainAttribute(request)
2032
+ body = send_request('ModifyGlobalDomainAttribute', request.serialize)
2033
+ response = JSON.parse(body)
2034
+ if response['Response'].key?('Error') == false
2035
+ model = ModifyGlobalDomainAttributeResponse.new
2036
+ model.deserialize(response['Response'])
2037
+ model
2038
+ else
2039
+ code = response['Response']['Error']['Code']
2040
+ message = response['Response']['Error']['Message']
2041
+ reqid = response['Response']['RequestId']
2042
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2043
+ end
2044
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2045
+ raise e
2046
+ rescue StandardError => e
2047
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2048
+ end
2049
+
2050
+ # 修改域名解析记录
2051
+
2052
+ # @param request: Request instance for ModifyGlobalDomainDns.
2053
+ # @type request: :class:`Tencentcloud::gaap::V20180529::ModifyGlobalDomainDnsRequest`
2054
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::ModifyGlobalDomainDnsResponse`
2055
+ def ModifyGlobalDomainDns(request)
2056
+ body = send_request('ModifyGlobalDomainDns', request.serialize)
2057
+ response = JSON.parse(body)
2058
+ if response['Response'].key?('Error') == false
2059
+ model = ModifyGlobalDomainDnsResponse.new
2060
+ model.deserialize(response['Response'])
2061
+ model
2062
+ else
2063
+ code = response['Response']['Error']['Code']
2064
+ message = response['Response']['Error']['Message']
2065
+ reqid = response['Response']['RequestId']
2066
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2067
+ end
2068
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2069
+ raise e
2070
+ rescue StandardError => e
2071
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2072
+ end
2073
+
1834
2074
  # 本接口(ModifyGroupDomainConfig)用于配置通道组就近接入域名。
1835
2075
 
1836
2076
  # @param request: Request instance for ModifyGroupDomainConfig.
@@ -1089,6 +1089,101 @@ module TencentCloud
1089
1089
  end
1090
1090
  end
1091
1091
 
1092
+ # CreateGlobalDomainDns请求参数结构体
1093
+ class CreateGlobalDomainDnsRequest < TencentCloud::Common::AbstractModel
1094
+ # @param DomainId: 域名ID
1095
+ # @type DomainId: String
1096
+ # @param ProxyIdList: 通道ID列表
1097
+ # @type ProxyIdList: Array
1098
+ # @param NationCountryInnerCodes: 国家ID列表
1099
+ # @type NationCountryInnerCodes: Array
1100
+
1101
+ attr_accessor :DomainId, :ProxyIdList, :NationCountryInnerCodes
1102
+
1103
+ def initialize(domainid=nil, proxyidlist=nil, nationcountryinnercodes=nil)
1104
+ @DomainId = domainid
1105
+ @ProxyIdList = proxyidlist
1106
+ @NationCountryInnerCodes = nationcountryinnercodes
1107
+ end
1108
+
1109
+ def deserialize(params)
1110
+ @DomainId = params['DomainId']
1111
+ @ProxyIdList = params['ProxyIdList']
1112
+ @NationCountryInnerCodes = params['NationCountryInnerCodes']
1113
+ end
1114
+ end
1115
+
1116
+ # CreateGlobalDomainDns返回参数结构体
1117
+ class CreateGlobalDomainDnsResponse < TencentCloud::Common::AbstractModel
1118
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1119
+ # @type RequestId: String
1120
+
1121
+ attr_accessor :RequestId
1122
+
1123
+ def initialize(requestid=nil)
1124
+ @RequestId = requestid
1125
+ end
1126
+
1127
+ def deserialize(params)
1128
+ @RequestId = params['RequestId']
1129
+ end
1130
+ end
1131
+
1132
+ # CreateGlobalDomain请求参数结构体
1133
+ class CreateGlobalDomainRequest < TencentCloud::Common::AbstractModel
1134
+ # @param ProjectId: 域名所属项目ID
1135
+ # @type ProjectId: Integer
1136
+ # @param DefaultValue: 域名默认入口
1137
+ # @type DefaultValue: String
1138
+ # @param Alias: 别名
1139
+ # @type Alias: String
1140
+ # @param TagSet: 标签列表
1141
+ # @type TagSet: Array
1142
+
1143
+ attr_accessor :ProjectId, :DefaultValue, :Alias, :TagSet
1144
+
1145
+ def initialize(projectid=nil, defaultvalue=nil, _alias=nil, tagset=nil)
1146
+ @ProjectId = projectid
1147
+ @DefaultValue = defaultvalue
1148
+ @Alias = _alias
1149
+ @TagSet = tagset
1150
+ end
1151
+
1152
+ def deserialize(params)
1153
+ @ProjectId = params['ProjectId']
1154
+ @DefaultValue = params['DefaultValue']
1155
+ @Alias = params['Alias']
1156
+ unless params['TagSet'].nil?
1157
+ @TagSet = []
1158
+ params['TagSet'].each do |i|
1159
+ tagpair_tmp = TagPair.new
1160
+ tagpair_tmp.deserialize(i)
1161
+ @TagSet << tagpair_tmp
1162
+ end
1163
+ end
1164
+ end
1165
+ end
1166
+
1167
+ # CreateGlobalDomain返回参数结构体
1168
+ class CreateGlobalDomainResponse < TencentCloud::Common::AbstractModel
1169
+ # @param DomainId: 域名ID
1170
+ # @type DomainId: String
1171
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1172
+ # @type RequestId: String
1173
+
1174
+ attr_accessor :DomainId, :RequestId
1175
+
1176
+ def initialize(domainid=nil, requestid=nil)
1177
+ @DomainId = domainid
1178
+ @RequestId = requestid
1179
+ end
1180
+
1181
+ def deserialize(params)
1182
+ @DomainId = params['DomainId']
1183
+ @RequestId = params['RequestId']
1184
+ end
1185
+ end
1186
+
1092
1187
  # CreateHTTPListener请求参数结构体
1093
1188
  class CreateHTTPListenerRequest < TencentCloud::Common::AbstractModel
1094
1189
  # @param ListenerName: 监听器名称
@@ -1935,6 +2030,70 @@ module TencentCloud
1935
2030
  end
1936
2031
  end
1937
2032
 
2033
+ # DeleteGlobalDomainDns请求参数结构体
2034
+ class DeleteGlobalDomainDnsRequest < TencentCloud::Common::AbstractModel
2035
+ # @param DnsRecordId: 解析记录的ID
2036
+ # @type DnsRecordId: Integer
2037
+
2038
+ attr_accessor :DnsRecordId
2039
+
2040
+ def initialize(dnsrecordid=nil)
2041
+ @DnsRecordId = dnsrecordid
2042
+ end
2043
+
2044
+ def deserialize(params)
2045
+ @DnsRecordId = params['DnsRecordId']
2046
+ end
2047
+ end
2048
+
2049
+ # DeleteGlobalDomainDns返回参数结构体
2050
+ class DeleteGlobalDomainDnsResponse < TencentCloud::Common::AbstractModel
2051
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2052
+ # @type RequestId: String
2053
+
2054
+ attr_accessor :RequestId
2055
+
2056
+ def initialize(requestid=nil)
2057
+ @RequestId = requestid
2058
+ end
2059
+
2060
+ def deserialize(params)
2061
+ @RequestId = params['RequestId']
2062
+ end
2063
+ end
2064
+
2065
+ # DeleteGlobalDomain请求参数结构体
2066
+ class DeleteGlobalDomainRequest < TencentCloud::Common::AbstractModel
2067
+ # @param DomainId: 域名ID
2068
+ # @type DomainId: String
2069
+
2070
+ attr_accessor :DomainId
2071
+
2072
+ def initialize(domainid=nil)
2073
+ @DomainId = domainid
2074
+ end
2075
+
2076
+ def deserialize(params)
2077
+ @DomainId = params['DomainId']
2078
+ end
2079
+ end
2080
+
2081
+ # DeleteGlobalDomain返回参数结构体
2082
+ class DeleteGlobalDomainResponse < TencentCloud::Common::AbstractModel
2083
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2084
+ # @type RequestId: String
2085
+
2086
+ attr_accessor :RequestId
2087
+
2088
+ def initialize(requestid=nil)
2089
+ @RequestId = requestid
2090
+ end
2091
+
2092
+ def deserialize(params)
2093
+ @RequestId = params['RequestId']
2094
+ end
2095
+ end
2096
+
1938
2097
  # DeleteListeners请求参数结构体
1939
2098
  class DeleteListenersRequest < TencentCloud::Common::AbstractModel
1940
2099
  # @param ListenerIds: 待删除的监听器ID列表
@@ -2674,6 +2833,127 @@ module TencentCloud
2674
2833
  end
2675
2834
  end
2676
2835
 
2836
+ # DescribeGlobalDomainDns请求参数结构体
2837
+ class DescribeGlobalDomainDnsRequest < TencentCloud::Common::AbstractModel
2838
+ # @param DomainId: 域名ID
2839
+ # @type DomainId: String
2840
+
2841
+ attr_accessor :DomainId
2842
+
2843
+ def initialize(domainid=nil)
2844
+ @DomainId = domainid
2845
+ end
2846
+
2847
+ def deserialize(params)
2848
+ @DomainId = params['DomainId']
2849
+ end
2850
+ end
2851
+
2852
+ # DescribeGlobalDomainDns返回参数结构体
2853
+ class DescribeGlobalDomainDnsResponse < TencentCloud::Common::AbstractModel
2854
+ # @param GlobalDnsList: DNS解析记录详细信息列表
2855
+ # @type GlobalDnsList: Array
2856
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2857
+ # @type RequestId: String
2858
+
2859
+ attr_accessor :GlobalDnsList, :RequestId
2860
+
2861
+ def initialize(globaldnslist=nil, requestid=nil)
2862
+ @GlobalDnsList = globaldnslist
2863
+ @RequestId = requestid
2864
+ end
2865
+
2866
+ def deserialize(params)
2867
+ unless params['GlobalDnsList'].nil?
2868
+ @GlobalDnsList = []
2869
+ params['GlobalDnsList'].each do |i|
2870
+ globaldns_tmp = GlobalDns.new
2871
+ globaldns_tmp.deserialize(i)
2872
+ @GlobalDnsList << globaldns_tmp
2873
+ end
2874
+ end
2875
+ @RequestId = params['RequestId']
2876
+ end
2877
+ end
2878
+
2879
+ # DescribeGlobalDomains请求参数结构体
2880
+ class DescribeGlobalDomainsRequest < TencentCloud::Common::AbstractModel
2881
+ # @param ProjectId: 项目ID
2882
+ # @type ProjectId: Integer
2883
+ # @param Offset: 分页偏移量
2884
+ # @type Offset: Integer
2885
+ # @param Limit: 分页数量限制
2886
+ # @type Limit: Integer
2887
+ # @param Filters: 过滤条件
2888
+ # @type Filters: Array
2889
+ # @param TagSet: 标签列表,当存在该字段时,拉取对应标签下的资源列表。
2890
+ # 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,域名会被拉取出来。
2891
+ # @type TagSet: Array
2892
+
2893
+ attr_accessor :ProjectId, :Offset, :Limit, :Filters, :TagSet
2894
+
2895
+ def initialize(projectid=nil, offset=nil, limit=nil, filters=nil, tagset=nil)
2896
+ @ProjectId = projectid
2897
+ @Offset = offset
2898
+ @Limit = limit
2899
+ @Filters = filters
2900
+ @TagSet = tagset
2901
+ end
2902
+
2903
+ def deserialize(params)
2904
+ @ProjectId = params['ProjectId']
2905
+ @Offset = params['Offset']
2906
+ @Limit = params['Limit']
2907
+ unless params['Filters'].nil?
2908
+ @Filters = []
2909
+ params['Filters'].each do |i|
2910
+ filter_tmp = Filter.new
2911
+ filter_tmp.deserialize(i)
2912
+ @Filters << filter_tmp
2913
+ end
2914
+ end
2915
+ unless params['TagSet'].nil?
2916
+ @TagSet = []
2917
+ params['TagSet'].each do |i|
2918
+ tagpair_tmp = TagPair.new
2919
+ tagpair_tmp.deserialize(i)
2920
+ @TagSet << tagpair_tmp
2921
+ end
2922
+ end
2923
+ end
2924
+ end
2925
+
2926
+ # DescribeGlobalDomains返回参数结构体
2927
+ class DescribeGlobalDomainsResponse < TencentCloud::Common::AbstractModel
2928
+ # @param Domains: 域名信息列表
2929
+ # @type Domains: Array
2930
+ # @param TotalCount: 总记录数
2931
+ # @type TotalCount: Integer
2932
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2933
+ # @type RequestId: String
2934
+
2935
+ attr_accessor :Domains, :TotalCount, :RequestId
2936
+
2937
+ def initialize(domains=nil, totalcount=nil, requestid=nil)
2938
+ @Domains = domains
2939
+ @TotalCount = totalcount
2940
+ @RequestId = requestid
2941
+ end
2942
+
2943
+ def deserialize(params)
2944
+ unless params['Domains'].nil?
2945
+ @Domains = []
2946
+ params['Domains'].each do |i|
2947
+ domain_tmp = Domain.new
2948
+ domain_tmp.deserialize(i)
2949
+ @Domains << domain_tmp
2950
+ end
2951
+ end
2952
+ @TotalCount = params['TotalCount']
2953
+ @RequestId = params['RequestId']
2954
+ end
2955
+ end
2956
+
2677
2957
  # DescribeGroupAndStatisticsProxy请求参数结构体
2678
2958
  class DescribeGroupAndStatisticsProxyRequest < TencentCloud::Common::AbstractModel
2679
2959
  # @param ProjectId: 项目ID
@@ -4446,6 +4726,109 @@ module TencentCloud
4446
4726
  end
4447
4727
  end
4448
4728
 
4729
+ # DisableGlobalDomain请求参数结构体
4730
+ class DisableGlobalDomainRequest < TencentCloud::Common::AbstractModel
4731
+ # @param DomainId: 域名ID
4732
+ # @type DomainId: String
4733
+
4734
+ attr_accessor :DomainId
4735
+
4736
+ def initialize(domainid=nil)
4737
+ @DomainId = domainid
4738
+ end
4739
+
4740
+ def deserialize(params)
4741
+ @DomainId = params['DomainId']
4742
+ end
4743
+ end
4744
+
4745
+ # DisableGlobalDomain返回参数结构体
4746
+ class DisableGlobalDomainResponse < TencentCloud::Common::AbstractModel
4747
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4748
+ # @type RequestId: String
4749
+
4750
+ attr_accessor :RequestId
4751
+
4752
+ def initialize(requestid=nil)
4753
+ @RequestId = requestid
4754
+ end
4755
+
4756
+ def deserialize(params)
4757
+ @RequestId = params['RequestId']
4758
+ end
4759
+ end
4760
+
4761
+ # 统一域名信息
4762
+ class Domain < TencentCloud::Common::AbstractModel
4763
+ # @param DomainId: 域名ID
4764
+ # @type DomainId: String
4765
+ # @param FullDomain: 完整域名记录
4766
+ # @type FullDomain: String
4767
+ # @param Alias: 别名
4768
+ # @type Alias: String
4769
+ # @param Type: 类型
4770
+ # @type Type: String
4771
+ # @param Status: 状态,1表示关闭,0表示开启,2表示关闭中,3表示开启中
4772
+ # @type Status: Integer
4773
+ # @param ProjectId: 所属项目
4774
+ # @type ProjectId: Integer
4775
+ # @param DefaultValue: 默认入口
4776
+ # 注意:此字段可能返回 null,表示取不到有效值。
4777
+ # @type DefaultValue: String
4778
+ # @param ProxyCount: 通道数量
4779
+ # @type ProxyCount: Integer
4780
+ # @param CreateTime: 创建时间,使用UNIX时间戳
4781
+ # @type CreateTime: Integer
4782
+ # @param UpdateTime: 更新时间,使用UNIX时间戳
4783
+ # 注意:此字段可能返回 null,表示取不到有效值。
4784
+ # @type UpdateTime: Integer
4785
+ # @param TagSet: 标签列表
4786
+ # 注意:此字段可能返回 null,表示取不到有效值。
4787
+ # @type TagSet: Array
4788
+ # @param BanStatus: 封禁解封状态:BANNED表示已封禁,RECOVER表示已解封或未封禁,BANNING表示封禁中,RECOVERING表示解封中,BAN_FAILED表示封禁失败,RECOVER_FAILED表示解封失败。
4789
+ # 注意:此字段可能返回 null,表示取不到有效值。
4790
+ # @type BanStatus: String
4791
+
4792
+ attr_accessor :DomainId, :FullDomain, :Alias, :Type, :Status, :ProjectId, :DefaultValue, :ProxyCount, :CreateTime, :UpdateTime, :TagSet, :BanStatus
4793
+
4794
+ def initialize(domainid=nil, fulldomain=nil, _alias=nil, type=nil, status=nil, projectid=nil, defaultvalue=nil, proxycount=nil, createtime=nil, updatetime=nil, tagset=nil, banstatus=nil)
4795
+ @DomainId = domainid
4796
+ @FullDomain = fulldomain
4797
+ @Alias = _alias
4798
+ @Type = type
4799
+ @Status = status
4800
+ @ProjectId = projectid
4801
+ @DefaultValue = defaultvalue
4802
+ @ProxyCount = proxycount
4803
+ @CreateTime = createtime
4804
+ @UpdateTime = updatetime
4805
+ @TagSet = tagset
4806
+ @BanStatus = banstatus
4807
+ end
4808
+
4809
+ def deserialize(params)
4810
+ @DomainId = params['DomainId']
4811
+ @FullDomain = params['FullDomain']
4812
+ @Alias = params['Alias']
4813
+ @Type = params['Type']
4814
+ @Status = params['Status']
4815
+ @ProjectId = params['ProjectId']
4816
+ @DefaultValue = params['DefaultValue']
4817
+ @ProxyCount = params['ProxyCount']
4818
+ @CreateTime = params['CreateTime']
4819
+ @UpdateTime = params['UpdateTime']
4820
+ unless params['TagSet'].nil?
4821
+ @TagSet = []
4822
+ params['TagSet'].each do |i|
4823
+ tagpair_tmp = TagPair.new
4824
+ tagpair_tmp.deserialize(i)
4825
+ @TagSet << tagpair_tmp
4826
+ end
4827
+ end
4828
+ @BanStatus = params['BanStatus']
4829
+ end
4830
+ end
4831
+
4449
4832
  # 域名解析就近访问配置详情
4450
4833
  class DomainAccessRegionDict < TencentCloud::Common::AbstractModel
4451
4834
  # @param NationCountryInnerList: 就近接入区域
@@ -4703,6 +5086,38 @@ module TencentCloud
4703
5086
  end
4704
5087
  end
4705
5088
 
5089
+ # EnableGlobalDomain请求参数结构体
5090
+ class EnableGlobalDomainRequest < TencentCloud::Common::AbstractModel
5091
+ # @param DomainId: 域名ID
5092
+ # @type DomainId: String
5093
+
5094
+ attr_accessor :DomainId
5095
+
5096
+ def initialize(domainid=nil)
5097
+ @DomainId = domainid
5098
+ end
5099
+
5100
+ def deserialize(params)
5101
+ @DomainId = params['DomainId']
5102
+ end
5103
+ end
5104
+
5105
+ # EnableGlobalDomain返回参数结构体
5106
+ class EnableGlobalDomainResponse < TencentCloud::Common::AbstractModel
5107
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5108
+ # @type RequestId: String
5109
+
5110
+ attr_accessor :RequestId
5111
+
5112
+ def initialize(requestid=nil)
5113
+ @RequestId = requestid
5114
+ end
5115
+
5116
+ def deserialize(params)
5117
+ @RequestId = params['RequestId']
5118
+ end
5119
+ end
5120
+
4706
5121
  # 过滤条件
4707
5122
  class Filter < TencentCloud::Common::AbstractModel
4708
5123
  # @param Name: 过滤条件
@@ -4723,6 +5138,48 @@ module TencentCloud
4723
5138
  end
4724
5139
  end
4725
5140
 
5141
+ # 统一域名解析的DNS记录
5142
+ class GlobalDns < TencentCloud::Common::AbstractModel
5143
+ # @param DnsRecordId: 解析记录ID
5144
+ # @type DnsRecordId: Integer
5145
+ # @param CountryAreaList: 域名就近接入地域信息列表
5146
+ # @type CountryAreaList: Array
5147
+ # @param AccessList: 域名解析对应的通道接入点信息列表
5148
+ # @type AccessList: Array
5149
+ # @param Status: 解析状态:1表示运行中,2表示创建中,3表示修改中,4表示删除中
5150
+ # @type Status: Integer
5151
+
5152
+ attr_accessor :DnsRecordId, :CountryAreaList, :AccessList, :Status
5153
+
5154
+ def initialize(dnsrecordid=nil, countryarealist=nil, accesslist=nil, status=nil)
5155
+ @DnsRecordId = dnsrecordid
5156
+ @CountryAreaList = countryarealist
5157
+ @AccessList = accesslist
5158
+ @Status = status
5159
+ end
5160
+
5161
+ def deserialize(params)
5162
+ @DnsRecordId = params['DnsRecordId']
5163
+ unless params['CountryAreaList'].nil?
5164
+ @CountryAreaList = []
5165
+ params['CountryAreaList'].each do |i|
5166
+ countryareamap_tmp = CountryAreaMap.new
5167
+ countryareamap_tmp.deserialize(i)
5168
+ @CountryAreaList << countryareamap_tmp
5169
+ end
5170
+ end
5171
+ unless params['AccessList'].nil?
5172
+ @AccessList = []
5173
+ params['AccessList'].each do |i|
5174
+ proxyaccessinfo_tmp = ProxyAccessInfo.new
5175
+ proxyaccessinfo_tmp.deserialize(i)
5176
+ @AccessList << proxyaccessinfo_tmp
5177
+ end
5178
+ end
5179
+ @Status = params['Status']
5180
+ end
5181
+ end
5182
+
4726
5183
  # 可以显示统计数据的通道组和对应通道信息
4727
5184
  class GroupStatisticsInfo < TencentCloud::Common::AbstractModel
4728
5185
  # @param GroupId: 通道组ID
@@ -5242,6 +5699,94 @@ module TencentCloud
5242
5699
  end
5243
5700
  end
5244
5701
 
5702
+ # ModifyGlobalDomainAttribute请求参数结构体
5703
+ class ModifyGlobalDomainAttributeRequest < TencentCloud::Common::AbstractModel
5704
+ # @param DomainId: 域名ID
5705
+ # @type DomainId: String
5706
+ # @param ProjectId: 项目ID
5707
+ # @type ProjectId: Integer
5708
+ # @param Alias: 别名
5709
+ # @type Alias: String
5710
+ # @param DefaultValue: 默认入口
5711
+ # @type DefaultValue: String
5712
+
5713
+ attr_accessor :DomainId, :ProjectId, :Alias, :DefaultValue
5714
+
5715
+ def initialize(domainid=nil, projectid=nil, _alias=nil, defaultvalue=nil)
5716
+ @DomainId = domainid
5717
+ @ProjectId = projectid
5718
+ @Alias = _alias
5719
+ @DefaultValue = defaultvalue
5720
+ end
5721
+
5722
+ def deserialize(params)
5723
+ @DomainId = params['DomainId']
5724
+ @ProjectId = params['ProjectId']
5725
+ @Alias = params['Alias']
5726
+ @DefaultValue = params['DefaultValue']
5727
+ end
5728
+ end
5729
+
5730
+ # ModifyGlobalDomainAttribute返回参数结构体
5731
+ class ModifyGlobalDomainAttributeResponse < TencentCloud::Common::AbstractModel
5732
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5733
+ # @type RequestId: String
5734
+
5735
+ attr_accessor :RequestId
5736
+
5737
+ def initialize(requestid=nil)
5738
+ @RequestId = requestid
5739
+ end
5740
+
5741
+ def deserialize(params)
5742
+ @RequestId = params['RequestId']
5743
+ end
5744
+ end
5745
+
5746
+ # ModifyGlobalDomainDns请求参数结构体
5747
+ class ModifyGlobalDomainDnsRequest < TencentCloud::Common::AbstractModel
5748
+ # @param DnsRecordId: 解析记录ID
5749
+ # @type DnsRecordId: Integer
5750
+ # @param DomainId: 域名ID
5751
+ # @type DomainId: String
5752
+ # @param NationCountryInnerCodes: 国家ID列表
5753
+ # @type NationCountryInnerCodes: Array
5754
+ # @param ProxyIdList: 通道ID列表
5755
+ # @type ProxyIdList: Array
5756
+
5757
+ attr_accessor :DnsRecordId, :DomainId, :NationCountryInnerCodes, :ProxyIdList
5758
+
5759
+ def initialize(dnsrecordid=nil, domainid=nil, nationcountryinnercodes=nil, proxyidlist=nil)
5760
+ @DnsRecordId = dnsrecordid
5761
+ @DomainId = domainid
5762
+ @NationCountryInnerCodes = nationcountryinnercodes
5763
+ @ProxyIdList = proxyidlist
5764
+ end
5765
+
5766
+ def deserialize(params)
5767
+ @DnsRecordId = params['DnsRecordId']
5768
+ @DomainId = params['DomainId']
5769
+ @NationCountryInnerCodes = params['NationCountryInnerCodes']
5770
+ @ProxyIdList = params['ProxyIdList']
5771
+ end
5772
+ end
5773
+
5774
+ # ModifyGlobalDomainDns返回参数结构体
5775
+ class ModifyGlobalDomainDnsResponse < TencentCloud::Common::AbstractModel
5776
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5777
+ # @type RequestId: String
5778
+
5779
+ attr_accessor :RequestId
5780
+
5781
+ def initialize(requestid=nil)
5782
+ @RequestId = requestid
5783
+ end
5784
+
5785
+ def deserialize(params)
5786
+ @RequestId = params['RequestId']
5787
+ end
5788
+ end
5789
+
5245
5790
  # ModifyGroupDomainConfig请求参数结构体
5246
5791
  class ModifyGroupDomainConfigRequest < TencentCloud::Common::AbstractModel
5247
5792
  # @param GroupId: 通道组ID。
@@ -6078,6 +6623,55 @@ module TencentCloud
6078
6623
  end
6079
6624
  end
6080
6625
 
6626
+ # 加速通道接入点详细信息(包含id、地域、ip等)
6627
+ class ProxyAccessInfo < TencentCloud::Common::AbstractModel
6628
+ # @param RegionId: 地域ID
6629
+ # 注意:此字段可能返回 null,表示取不到有效值。
6630
+ # @type RegionId: String
6631
+ # @param RegionName: 地域名称
6632
+ # 注意:此字段可能返回 null,表示取不到有效值。
6633
+ # @type RegionName: String
6634
+ # @param ProxyId: 通道ID
6635
+ # 注意:此字段可能返回 null,表示取不到有效值。
6636
+ # @type ProxyId: String
6637
+ # @param Vip: 通道接入ip
6638
+ # 注意:此字段可能返回 null,表示取不到有效值。
6639
+ # @type Vip: String
6640
+ # @param VipList: 三网通道VIP列表
6641
+ # 注意:此字段可能返回 null,表示取不到有效值。
6642
+ # @type VipList: Array
6643
+ # @param SourceRegionIdcType: 接入点IDC类型。ec或dc
6644
+ # 注意:此字段可能返回 null,表示取不到有效值。
6645
+ # @type SourceRegionIdcType: String
6646
+
6647
+ attr_accessor :RegionId, :RegionName, :ProxyId, :Vip, :VipList, :SourceRegionIdcType
6648
+
6649
+ def initialize(regionid=nil, regionname=nil, proxyid=nil, vip=nil, viplist=nil, sourceregionidctype=nil)
6650
+ @RegionId = regionid
6651
+ @RegionName = regionname
6652
+ @ProxyId = proxyid
6653
+ @Vip = vip
6654
+ @VipList = viplist
6655
+ @SourceRegionIdcType = sourceregionidctype
6656
+ end
6657
+
6658
+ def deserialize(params)
6659
+ @RegionId = params['RegionId']
6660
+ @RegionName = params['RegionName']
6661
+ @ProxyId = params['ProxyId']
6662
+ @Vip = params['Vip']
6663
+ unless params['VipList'].nil?
6664
+ @VipList = []
6665
+ params['VipList'].each do |i|
6666
+ ipdetail_tmp = IPDetail.new
6667
+ ipdetail_tmp.deserialize(i)
6668
+ @VipList << ipdetail_tmp
6669
+ end
6670
+ end
6671
+ @SourceRegionIdcType = params['SourceRegionIdcType']
6672
+ end
6673
+ end
6674
+
6081
6675
  # 通道组详情信息
6082
6676
  class ProxyGroupDetail < TencentCloud::Common::AbstractModel
6083
6677
  # @param CreateTime: 创建时间
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-gaap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.391
4
+ version: 3.0.395
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-23 00:00:00.000000000 Z
11
+ date: 2022-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common