tencentcloud-sdk-python-cngw 3.1.174__tar.gz → 3.1.178__tar.gz

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 (17) hide show
  1. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud/cngw/v20230418/models.py +331 -14
  5. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud_sdk_python_cngw.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cngw-3.1.178/tencentcloud_sdk_python_cngw.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cngw-3.1.174/tencentcloud_sdk_python_cngw.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud/cngw/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud/cngw/v20230418/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud/cngw/v20230418/cngw_client.py +0 -0
  13. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud/cngw/v20230418/cngw_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud/cngw/v20230418/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud_sdk_python_cngw.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud_sdk_python_cngw.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cngw-3.1.174 → tencentcloud_sdk_python_cngw-3.1.178}/tencentcloud_sdk_python_cngw.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cngw
3
- Version: 3.1.174
3
+ Version: 3.1.178
4
4
  Summary: Tencent Cloud Cngw SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.174
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.178
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cngw',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.174,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.178,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cngw SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.174'
17
+ __version__ = '3.1.178'
@@ -3020,7 +3020,7 @@ class AIGWMCPServer(AbstractModel):
3020
3020
  :type ServerType: str
3021
3021
  :param _Transport: <p>协议类型,取值: StreamableHttp</p>
3022
3022
  :type Transport: str
3023
- :param _UpstreamType: <p>服务类型:</p><ul><li>Registry </li><li>HostIP</li></ul>
3023
+ :param _UpstreamType: <p>后端类型</p><p>枚举值:</p><ul><li>MCPRegistry: mcp 注册中心</li><li>Registry: 普通注册中心</li><li>HostIP: 域名或ip</li><li>VirtualMCPServer: 虚拟MCPServer</li><li>DNS: 私有域名</li><li>Kubernetes: Kubernetes服务</li></ul>
3024
3024
  :type UpstreamType: str
3025
3025
  :param _DisplayName: <p>展示名字</p>
3026
3026
  :type DisplayName: str
@@ -3057,6 +3057,8 @@ class AIGWMCPServer(AbstractModel):
3057
3057
  :type MarketStatus: str
3058
3058
  :param _PreserveHost: <p>是否开启保留原Host功能</p>
3059
3059
  :type PreserveHost: bool
3060
+ :param _LogConfig: <p>日志采集配置</p>
3061
+ :type LogConfig: :class:`tencentcloud.cngw.v20230418.models.AIGWLogConfig`
3060
3062
  """
3061
3063
  self._ServerId = None
3062
3064
  self._Name = None
@@ -3079,6 +3081,7 @@ class AIGWMCPServer(AbstractModel):
3079
3081
  self._ConflictStrategy = None
3080
3082
  self._MarketStatus = None
3081
3083
  self._PreserveHost = None
3084
+ self._LogConfig = None
3082
3085
 
3083
3086
  @property
3084
3087
  def ServerId(self):
@@ -3126,7 +3129,7 @@ class AIGWMCPServer(AbstractModel):
3126
3129
 
3127
3130
  @property
3128
3131
  def UpstreamType(self):
3129
- r"""<p>服务类型:</p><ul><li>Registry </li><li>HostIP</li></ul>
3132
+ r"""<p>后端类型</p><p>枚举值:</p><ul><li>MCPRegistry: mcp 注册中心</li><li>Registry: 普通注册中心</li><li>HostIP: 域名或ip</li><li>VirtualMCPServer: 虚拟MCPServer</li><li>DNS: 私有域名</li><li>Kubernetes: Kubernetes服务</li></ul>
3130
3133
  :rtype: str
3131
3134
  """
3132
3135
  return self._UpstreamType
@@ -3314,6 +3317,17 @@ class AIGWMCPServer(AbstractModel):
3314
3317
  def PreserveHost(self, PreserveHost):
3315
3318
  self._PreserveHost = PreserveHost
3316
3319
 
3320
+ @property
3321
+ def LogConfig(self):
3322
+ r"""<p>日志采集配置</p>
3323
+ :rtype: :class:`tencentcloud.cngw.v20230418.models.AIGWLogConfig`
3324
+ """
3325
+ return self._LogConfig
3326
+
3327
+ @LogConfig.setter
3328
+ def LogConfig(self, LogConfig):
3329
+ self._LogConfig = LogConfig
3330
+
3317
3331
 
3318
3332
  def _deserialize(self, params):
3319
3333
  self._ServerId = params.get("ServerId")
@@ -3343,6 +3357,9 @@ class AIGWMCPServer(AbstractModel):
3343
3357
  self._ConflictStrategy = params.get("ConflictStrategy")
3344
3358
  self._MarketStatus = params.get("MarketStatus")
3345
3359
  self._PreserveHost = params.get("PreserveHost")
3360
+ if params.get("LogConfig") is not None:
3361
+ self._LogConfig = AIGWLogConfig()
3362
+ self._LogConfig._deserialize(params.get("LogConfig"))
3346
3363
  memeber_set = set(params.keys())
3347
3364
  for name, value in vars(self).items():
3348
3365
  property_name = name[1:]
@@ -5830,6 +5847,102 @@ class AIGWSensitiveWordRoute(AbstractModel):
5830
5847
 
5831
5848
 
5832
5849
 
5850
+ class AIGWSimpleSecretKey(AbstractModel):
5851
+ r"""简单密钥信息
5852
+
5853
+ """
5854
+
5855
+ def __init__(self):
5856
+ r"""
5857
+ :param _SecretKeyId: <p>密钥ID</p>
5858
+ :type SecretKeyId: str
5859
+ :param _Name: <p>密钥名称</p>
5860
+ :type Name: str
5861
+ :param _Status: <p>启用状态</p><p>枚举值:</p><ul><li>Enable: 启动</li><li>Disable: 禁用</li></ul>
5862
+ :type Status: str
5863
+ :param _SecretType: <p>密钥类型</p><p>枚举值:</p><ul><li>ApiKey: ApiKey类型</li></ul>
5864
+ :type SecretType: str
5865
+ :param _CreateTime: <p>创建时间</p><p>参数格式:2026-09-03 14:11:05</p>
5866
+ :type CreateTime: str
5867
+ """
5868
+ self._SecretKeyId = None
5869
+ self._Name = None
5870
+ self._Status = None
5871
+ self._SecretType = None
5872
+ self._CreateTime = None
5873
+
5874
+ @property
5875
+ def SecretKeyId(self):
5876
+ r"""<p>密钥ID</p>
5877
+ :rtype: str
5878
+ """
5879
+ return self._SecretKeyId
5880
+
5881
+ @SecretKeyId.setter
5882
+ def SecretKeyId(self, SecretKeyId):
5883
+ self._SecretKeyId = SecretKeyId
5884
+
5885
+ @property
5886
+ def Name(self):
5887
+ r"""<p>密钥名称</p>
5888
+ :rtype: str
5889
+ """
5890
+ return self._Name
5891
+
5892
+ @Name.setter
5893
+ def Name(self, Name):
5894
+ self._Name = Name
5895
+
5896
+ @property
5897
+ def Status(self):
5898
+ r"""<p>启用状态</p><p>枚举值:</p><ul><li>Enable: 启动</li><li>Disable: 禁用</li></ul>
5899
+ :rtype: str
5900
+ """
5901
+ return self._Status
5902
+
5903
+ @Status.setter
5904
+ def Status(self, Status):
5905
+ self._Status = Status
5906
+
5907
+ @property
5908
+ def SecretType(self):
5909
+ r"""<p>密钥类型</p><p>枚举值:</p><ul><li>ApiKey: ApiKey类型</li></ul>
5910
+ :rtype: str
5911
+ """
5912
+ return self._SecretType
5913
+
5914
+ @SecretType.setter
5915
+ def SecretType(self, SecretType):
5916
+ self._SecretType = SecretType
5917
+
5918
+ @property
5919
+ def CreateTime(self):
5920
+ r"""<p>创建时间</p><p>参数格式:2026-09-03 14:11:05</p>
5921
+ :rtype: str
5922
+ """
5923
+ return self._CreateTime
5924
+
5925
+ @CreateTime.setter
5926
+ def CreateTime(self, CreateTime):
5927
+ self._CreateTime = CreateTime
5928
+
5929
+
5930
+ def _deserialize(self, params):
5931
+ self._SecretKeyId = params.get("SecretKeyId")
5932
+ self._Name = params.get("Name")
5933
+ self._Status = params.get("Status")
5934
+ self._SecretType = params.get("SecretType")
5935
+ self._CreateTime = params.get("CreateTime")
5936
+ memeber_set = set(params.keys())
5937
+ for name, value in vars(self).items():
5938
+ property_name = name[1:]
5939
+ if property_name in memeber_set:
5940
+ memeber_set.remove(property_name)
5941
+ if len(memeber_set) > 0:
5942
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5943
+
5944
+
5945
+
5833
5946
  class AIGWTagFilter(AbstractModel):
5834
5947
  r"""AI网关标签过滤
5835
5948
 
@@ -8243,6 +8356,10 @@ class CNAPIGwSecretKey(AbstractModel):
8243
8356
  :type CustomHeaderCredentialConfig: :class:`tencentcloud.cngw.v20230418.models.AIGWCustomHeaderCredentialConfig`
8244
8357
  :param _QueryParamCredentialConfig: <p>自定义Query参数凭证配置</p>
8245
8358
  :type QueryParamCredentialConfig: :class:`tencentcloud.cngw.v20230418.models.AIGWQueryParamCredentialConfig`
8359
+ :param _BoundModelSecretKeys: <p>该消费者密钥绑定的模型密钥列表</p>
8360
+ :type BoundModelSecretKeys: list of AIGWSimpleSecretKey
8361
+ :param _BoundConsumerSecretKeys: <p>绑定了该模型密钥的消费者密钥列表</p>
8362
+ :type BoundConsumerSecretKeys: list of AIGWSimpleSecretKey
8246
8363
  """
8247
8364
  self._BindCount = None
8248
8365
  self._CanBind = None
@@ -8271,6 +8388,8 @@ class CNAPIGwSecretKey(AbstractModel):
8271
8388
  self._BasicCredentialConfig = None
8272
8389
  self._CustomHeaderCredentialConfig = None
8273
8390
  self._QueryParamCredentialConfig = None
8391
+ self._BoundModelSecretKeys = None
8392
+ self._BoundConsumerSecretKeys = None
8274
8393
 
8275
8394
  @property
8276
8395
  def BindCount(self):
@@ -8573,6 +8692,28 @@ class CNAPIGwSecretKey(AbstractModel):
8573
8692
  def QueryParamCredentialConfig(self, QueryParamCredentialConfig):
8574
8693
  self._QueryParamCredentialConfig = QueryParamCredentialConfig
8575
8694
 
8695
+ @property
8696
+ def BoundModelSecretKeys(self):
8697
+ r"""<p>该消费者密钥绑定的模型密钥列表</p>
8698
+ :rtype: list of AIGWSimpleSecretKey
8699
+ """
8700
+ return self._BoundModelSecretKeys
8701
+
8702
+ @BoundModelSecretKeys.setter
8703
+ def BoundModelSecretKeys(self, BoundModelSecretKeys):
8704
+ self._BoundModelSecretKeys = BoundModelSecretKeys
8705
+
8706
+ @property
8707
+ def BoundConsumerSecretKeys(self):
8708
+ r"""<p>绑定了该模型密钥的消费者密钥列表</p>
8709
+ :rtype: list of AIGWSimpleSecretKey
8710
+ """
8711
+ return self._BoundConsumerSecretKeys
8712
+
8713
+ @BoundConsumerSecretKeys.setter
8714
+ def BoundConsumerSecretKeys(self, BoundConsumerSecretKeys):
8715
+ self._BoundConsumerSecretKeys = BoundConsumerSecretKeys
8716
+
8576
8717
 
8577
8718
  def _deserialize(self, params):
8578
8719
  self._BindCount = params.get("BindCount")
@@ -8620,6 +8761,18 @@ class CNAPIGwSecretKey(AbstractModel):
8620
8761
  if params.get("QueryParamCredentialConfig") is not None:
8621
8762
  self._QueryParamCredentialConfig = AIGWQueryParamCredentialConfig()
8622
8763
  self._QueryParamCredentialConfig._deserialize(params.get("QueryParamCredentialConfig"))
8764
+ if params.get("BoundModelSecretKeys") is not None:
8765
+ self._BoundModelSecretKeys = []
8766
+ for item in params.get("BoundModelSecretKeys"):
8767
+ obj = AIGWSimpleSecretKey()
8768
+ obj._deserialize(item)
8769
+ self._BoundModelSecretKeys.append(obj)
8770
+ if params.get("BoundConsumerSecretKeys") is not None:
8771
+ self._BoundConsumerSecretKeys = []
8772
+ for item in params.get("BoundConsumerSecretKeys"):
8773
+ obj = AIGWSimpleSecretKey()
8774
+ obj._deserialize(item)
8775
+ self._BoundConsumerSecretKeys.append(obj)
8623
8776
  memeber_set = set(params.keys())
8624
8777
  for name, value in vars(self).items():
8625
8778
  property_name = name[1:]
@@ -12160,7 +12313,7 @@ class CreateCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
12160
12313
  :type ServerType: str
12161
12314
  :param _Transport: <p>传输协议:StreamableHttp或SSE</p><p>枚举值:</p><ul><li>StreamableHttp: Streamable HTTP</li><li>SSE: Server-Sent Events</li></ul>
12162
12315
  :type Transport: str
12163
- :param _UpstreamType: <p>后端类型</p><p>枚举值:</p><ul><li>MCPRegistry: mcp 注册中心- Registry</li><li>Registry: 普通注册中心</li><li>HostIP: 域名或ip</li><li>VirtualMCPServer: 虚拟MCPServer</li></ul>
12316
+ :param _UpstreamType: <p>后端类型</p><p>枚举值:</p><ul><li>MCPRegistry: mcp 注册中心</li><li>Registry: 普通注册中心</li><li>HostIP: 域名或ip</li><li>VirtualMCPServer: 虚拟MCPServer</li><li>DNS: 私有域名</li><li>Kubernetes: Kubernetes服务</li></ul>
12164
12317
  :type UpstreamType: str
12165
12318
  :param _UpstreamInfo: <p>注册中心来源信息</p>
12166
12319
  :type UpstreamInfo: :class:`tencentcloud.cngw.v20230418.models.AIGWMCPUpstreamInfo`
@@ -12178,6 +12331,8 @@ class CreateCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
12178
12331
  :type HealthCheck: :class:`tencentcloud.cngw.v20230418.models.AIGWHealthCheckSetting`
12179
12332
  :param _PreserveHost: <p>是否开启保留原Host功能</p>
12180
12333
  :type PreserveHost: bool
12334
+ :param _LogConfig: <p>日志采集配置</p>
12335
+ :type LogConfig: :class:`tencentcloud.cngw.v20230418.models.AIGWLogConfig`
12181
12336
  """
12182
12337
  self._GatewayId = None
12183
12338
  self._Name = None
@@ -12193,6 +12348,7 @@ class CreateCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
12193
12348
  self._EnableHealthCheck = None
12194
12349
  self._HealthCheck = None
12195
12350
  self._PreserveHost = None
12351
+ self._LogConfig = None
12196
12352
 
12197
12353
  @property
12198
12354
  def GatewayId(self):
@@ -12251,7 +12407,7 @@ class CreateCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
12251
12407
 
12252
12408
  @property
12253
12409
  def UpstreamType(self):
12254
- r"""<p>后端类型</p><p>枚举值:</p><ul><li>MCPRegistry: mcp 注册中心- Registry</li><li>Registry: 普通注册中心</li><li>HostIP: 域名或ip</li><li>VirtualMCPServer: 虚拟MCPServer</li></ul>
12410
+ r"""<p>后端类型</p><p>枚举值:</p><ul><li>MCPRegistry: mcp 注册中心</li><li>Registry: 普通注册中心</li><li>HostIP: 域名或ip</li><li>VirtualMCPServer: 虚拟MCPServer</li><li>DNS: 私有域名</li><li>Kubernetes: Kubernetes服务</li></ul>
12255
12411
  :rtype: str
12256
12412
  """
12257
12413
  return self._UpstreamType
@@ -12348,6 +12504,17 @@ class CreateCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
12348
12504
  def PreserveHost(self, PreserveHost):
12349
12505
  self._PreserveHost = PreserveHost
12350
12506
 
12507
+ @property
12508
+ def LogConfig(self):
12509
+ r"""<p>日志采集配置</p>
12510
+ :rtype: :class:`tencentcloud.cngw.v20230418.models.AIGWLogConfig`
12511
+ """
12512
+ return self._LogConfig
12513
+
12514
+ @LogConfig.setter
12515
+ def LogConfig(self, LogConfig):
12516
+ self._LogConfig = LogConfig
12517
+
12351
12518
 
12352
12519
  def _deserialize(self, params):
12353
12520
  self._GatewayId = params.get("GatewayId")
@@ -12370,6 +12537,9 @@ class CreateCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
12370
12537
  self._HealthCheck = AIGWHealthCheckSetting()
12371
12538
  self._HealthCheck._deserialize(params.get("HealthCheck"))
12372
12539
  self._PreserveHost = params.get("PreserveHost")
12540
+ if params.get("LogConfig") is not None:
12541
+ self._LogConfig = AIGWLogConfig()
12542
+ self._LogConfig._deserialize(params.get("LogConfig"))
12373
12543
  memeber_set = set(params.keys())
12374
12544
  for name, value in vars(self).items():
12375
12545
  property_name = name[1:]
@@ -14040,6 +14210,8 @@ class DescribeCloudNativeAPIGatewayAIQuotaListRequest(AbstractModel):
14040
14210
  :type Offset: int
14041
14211
  :param _Limit: <p>每页数量</p>
14042
14212
  :type Limit: int
14213
+ :param _Keyword: <p>关键字</p>
14214
+ :type Keyword: str
14043
14215
  :param _Filters: <p>过滤条件</p>
14044
14216
  :type Filters: list of Filter
14045
14217
  :param _AlarmLevels: <p>配额预警级别</p><p>枚举值:</p><ul><li>Normal: 正常</li><li>Warning: 预警</li><li>NearLimit: 临近超限</li><li>Exceeded: 超限</li></ul>
@@ -14048,6 +14220,7 @@ class DescribeCloudNativeAPIGatewayAIQuotaListRequest(AbstractModel):
14048
14220
  self._GatewayId = None
14049
14221
  self._Offset = None
14050
14222
  self._Limit = None
14223
+ self._Keyword = None
14051
14224
  self._Filters = None
14052
14225
  self._AlarmLevels = None
14053
14226
 
@@ -14084,6 +14257,17 @@ class DescribeCloudNativeAPIGatewayAIQuotaListRequest(AbstractModel):
14084
14257
  def Limit(self, Limit):
14085
14258
  self._Limit = Limit
14086
14259
 
14260
+ @property
14261
+ def Keyword(self):
14262
+ r"""<p>关键字</p>
14263
+ :rtype: str
14264
+ """
14265
+ return self._Keyword
14266
+
14267
+ @Keyword.setter
14268
+ def Keyword(self, Keyword):
14269
+ self._Keyword = Keyword
14270
+
14087
14271
  @property
14088
14272
  def Filters(self):
14089
14273
  r"""<p>过滤条件</p>
@@ -14111,6 +14295,7 @@ class DescribeCloudNativeAPIGatewayAIQuotaListRequest(AbstractModel):
14111
14295
  self._GatewayId = params.get("GatewayId")
14112
14296
  self._Offset = params.get("Offset")
14113
14297
  self._Limit = params.get("Limit")
14298
+ self._Keyword = params.get("Keyword")
14114
14299
  if params.get("Filters") is not None:
14115
14300
  self._Filters = []
14116
14301
  for item in params.get("Filters"):
@@ -14276,20 +14461,26 @@ class DescribeCloudNativeAPIGatewayAIServiceSourceListRequest(AbstractModel):
14276
14461
 
14277
14462
  def __init__(self):
14278
14463
  r"""
14279
- :param _GatewayId: 实例 ID
14464
+ :param _GatewayId: <p>实例 ID</p>
14280
14465
  :type GatewayId: str
14281
- :param _Limit: 分页大小
14466
+ :param _Limit: <p>分页大小</p>
14282
14467
  :type Limit: int
14283
- :param _Offset: 分页偏移
14468
+ :param _Offset: <p>分页偏移</p>
14284
14469
  :type Offset: int
14470
+ :param _Keyword: <p>搜索关键词</p>
14471
+ :type Keyword: str
14472
+ :param _Filters: <p>过滤条件</p>
14473
+ :type Filters: list of Filter
14285
14474
  """
14286
14475
  self._GatewayId = None
14287
14476
  self._Limit = None
14288
14477
  self._Offset = None
14478
+ self._Keyword = None
14479
+ self._Filters = None
14289
14480
 
14290
14481
  @property
14291
14482
  def GatewayId(self):
14292
- r"""实例 ID
14483
+ r"""<p>实例 ID</p>
14293
14484
  :rtype: str
14294
14485
  """
14295
14486
  return self._GatewayId
@@ -14300,7 +14491,7 @@ class DescribeCloudNativeAPIGatewayAIServiceSourceListRequest(AbstractModel):
14300
14491
 
14301
14492
  @property
14302
14493
  def Limit(self):
14303
- r"""分页大小
14494
+ r"""<p>分页大小</p>
14304
14495
  :rtype: int
14305
14496
  """
14306
14497
  return self._Limit
@@ -14311,7 +14502,7 @@ class DescribeCloudNativeAPIGatewayAIServiceSourceListRequest(AbstractModel):
14311
14502
 
14312
14503
  @property
14313
14504
  def Offset(self):
14314
- r"""分页偏移
14505
+ r"""<p>分页偏移</p>
14315
14506
  :rtype: int
14316
14507
  """
14317
14508
  return self._Offset
@@ -14320,11 +14511,40 @@ class DescribeCloudNativeAPIGatewayAIServiceSourceListRequest(AbstractModel):
14320
14511
  def Offset(self, Offset):
14321
14512
  self._Offset = Offset
14322
14513
 
14514
+ @property
14515
+ def Keyword(self):
14516
+ r"""<p>搜索关键词</p>
14517
+ :rtype: str
14518
+ """
14519
+ return self._Keyword
14520
+
14521
+ @Keyword.setter
14522
+ def Keyword(self, Keyword):
14523
+ self._Keyword = Keyword
14524
+
14525
+ @property
14526
+ def Filters(self):
14527
+ r"""<p>过滤条件</p>
14528
+ :rtype: list of Filter
14529
+ """
14530
+ return self._Filters
14531
+
14532
+ @Filters.setter
14533
+ def Filters(self, Filters):
14534
+ self._Filters = Filters
14535
+
14323
14536
 
14324
14537
  def _deserialize(self, params):
14325
14538
  self._GatewayId = params.get("GatewayId")
14326
14539
  self._Limit = params.get("Limit")
14327
14540
  self._Offset = params.get("Offset")
14541
+ self._Keyword = params.get("Keyword")
14542
+ if params.get("Filters") is not None:
14543
+ self._Filters = []
14544
+ for item in params.get("Filters"):
14545
+ obj = Filter()
14546
+ obj._deserialize(item)
14547
+ self._Filters.append(obj)
14328
14548
  memeber_set = set(params.keys())
14329
14549
  for name, value in vars(self).items():
14330
14550
  property_name = name[1:]
@@ -14342,7 +14562,7 @@ class DescribeCloudNativeAPIGatewayAIServiceSourceListResponse(AbstractModel):
14342
14562
 
14343
14563
  def __init__(self):
14344
14564
  r"""
14345
- :param _Result: MCP Server 列表结果
14565
+ :param _Result: <p>MCP Server 列表结果</p>
14346
14566
  :type Result: :class:`tencentcloud.cngw.v20230418.models.CNAPIGwAIServiceSourceList`
14347
14567
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14348
14568
  :type RequestId: str
@@ -14352,7 +14572,7 @@ class DescribeCloudNativeAPIGatewayAIServiceSourceListResponse(AbstractModel):
14352
14572
 
14353
14573
  @property
14354
14574
  def Result(self):
14355
- r"""MCP Server 列表结果
14575
+ r"""<p>MCP Server 列表结果</p>
14356
14576
  :rtype: :class:`tencentcloud.cngw.v20230418.models.CNAPIGwAIServiceSourceList`
14357
14577
  """
14358
14578
  return self._Result
@@ -16826,13 +17046,25 @@ class DescribeCloudNativeAPIGatewaySecretKeyListRequest(AbstractModel):
16826
17046
  :type Limit: int
16827
17047
  :param _Offset: <p>起始位置,从 0 开始。</p>
16828
17048
  :type Offset: int
17049
+ :param _Filters: <p>过滤条件。支持的 Name:Status / GenerateType / SecretType。</p>
17050
+ :type Filters: list of Filter
17051
+ :param _Keyword: <p>模糊匹配密钥名称。</p>
17052
+ :type Keyword: str
17053
+ :param _ResourceId: <p>对应资源的 ID(消费者 ID 或模型服务 ID)。</p>
17054
+ :type ResourceId: str
16829
17055
  :param _ResourceType: <p>密钥归属资源类型。UseToBind=true 时必填。</p><p>枚举值:</p><ul><li>Consumer:消费者</li><li>ModelService:模型服务</li></ul>
16830
17056
  :type ResourceType: str
17057
+ :param _UseToBind: <p>是否用于绑定场景。true 时返回可被绑定到指定资源的密钥。</p>
17058
+ :type UseToBind: bool
16831
17059
  """
16832
17060
  self._GatewayId = None
16833
17061
  self._Limit = None
16834
17062
  self._Offset = None
17063
+ self._Filters = None
17064
+ self._Keyword = None
17065
+ self._ResourceId = None
16835
17066
  self._ResourceType = None
17067
+ self._UseToBind = None
16836
17068
 
16837
17069
  @property
16838
17070
  def GatewayId(self):
@@ -16867,6 +17099,39 @@ class DescribeCloudNativeAPIGatewaySecretKeyListRequest(AbstractModel):
16867
17099
  def Offset(self, Offset):
16868
17100
  self._Offset = Offset
16869
17101
 
17102
+ @property
17103
+ def Filters(self):
17104
+ r"""<p>过滤条件。支持的 Name:Status / GenerateType / SecretType。</p>
17105
+ :rtype: list of Filter
17106
+ """
17107
+ return self._Filters
17108
+
17109
+ @Filters.setter
17110
+ def Filters(self, Filters):
17111
+ self._Filters = Filters
17112
+
17113
+ @property
17114
+ def Keyword(self):
17115
+ r"""<p>模糊匹配密钥名称。</p>
17116
+ :rtype: str
17117
+ """
17118
+ return self._Keyword
17119
+
17120
+ @Keyword.setter
17121
+ def Keyword(self, Keyword):
17122
+ self._Keyword = Keyword
17123
+
17124
+ @property
17125
+ def ResourceId(self):
17126
+ r"""<p>对应资源的 ID(消费者 ID 或模型服务 ID)。</p>
17127
+ :rtype: str
17128
+ """
17129
+ return self._ResourceId
17130
+
17131
+ @ResourceId.setter
17132
+ def ResourceId(self, ResourceId):
17133
+ self._ResourceId = ResourceId
17134
+
16870
17135
  @property
16871
17136
  def ResourceType(self):
16872
17137
  r"""<p>密钥归属资源类型。UseToBind=true 时必填。</p><p>枚举值:</p><ul><li>Consumer:消费者</li><li>ModelService:模型服务</li></ul>
@@ -16878,12 +17143,32 @@ class DescribeCloudNativeAPIGatewaySecretKeyListRequest(AbstractModel):
16878
17143
  def ResourceType(self, ResourceType):
16879
17144
  self._ResourceType = ResourceType
16880
17145
 
17146
+ @property
17147
+ def UseToBind(self):
17148
+ r"""<p>是否用于绑定场景。true 时返回可被绑定到指定资源的密钥。</p>
17149
+ :rtype: bool
17150
+ """
17151
+ return self._UseToBind
17152
+
17153
+ @UseToBind.setter
17154
+ def UseToBind(self, UseToBind):
17155
+ self._UseToBind = UseToBind
17156
+
16881
17157
 
16882
17158
  def _deserialize(self, params):
16883
17159
  self._GatewayId = params.get("GatewayId")
16884
17160
  self._Limit = params.get("Limit")
16885
17161
  self._Offset = params.get("Offset")
17162
+ if params.get("Filters") is not None:
17163
+ self._Filters = []
17164
+ for item in params.get("Filters"):
17165
+ obj = Filter()
17166
+ obj._deserialize(item)
17167
+ self._Filters.append(obj)
17168
+ self._Keyword = params.get("Keyword")
17169
+ self._ResourceId = params.get("ResourceId")
16886
17170
  self._ResourceType = params.get("ResourceType")
17171
+ self._UseToBind = params.get("UseToBind")
16887
17172
  memeber_set = set(params.keys())
16888
17173
  for name, value in vars(self).items():
16889
17174
  property_name = name[1:]
@@ -17046,9 +17331,12 @@ class DescribeCloudNativeAPIGatewaySecretKeyValueRequest(AbstractModel):
17046
17331
  :type GatewayId: str
17047
17332
  :param _SecretKeyId: 密钥id
17048
17333
  :type SecretKeyId: str
17334
+ :param _SecretValueType: 指定从 AKSK 或 CAM 成对凭证中返回哪一半。取值:AccessKey(AKSK 返回 AccessKeyId,CAM 返回 SecretId)、SecretKey(AKSK 返回 SecretAccessKey,CAM 返回 SecretKey)。不传则保持原行为,仅返回 AccessKeyId 或 SecretId。
17335
+ :type SecretValueType: str
17049
17336
  """
17050
17337
  self._GatewayId = None
17051
17338
  self._SecretKeyId = None
17339
+ self._SecretValueType = None
17052
17340
 
17053
17341
  @property
17054
17342
  def GatewayId(self):
@@ -17072,10 +17360,22 @@ class DescribeCloudNativeAPIGatewaySecretKeyValueRequest(AbstractModel):
17072
17360
  def SecretKeyId(self, SecretKeyId):
17073
17361
  self._SecretKeyId = SecretKeyId
17074
17362
 
17363
+ @property
17364
+ def SecretValueType(self):
17365
+ r"""指定从 AKSK 或 CAM 成对凭证中返回哪一半。取值:AccessKey(AKSK 返回 AccessKeyId,CAM 返回 SecretId)、SecretKey(AKSK 返回 SecretAccessKey,CAM 返回 SecretKey)。不传则保持原行为,仅返回 AccessKeyId 或 SecretId。
17366
+ :rtype: str
17367
+ """
17368
+ return self._SecretValueType
17369
+
17370
+ @SecretValueType.setter
17371
+ def SecretValueType(self, SecretValueType):
17372
+ self._SecretValueType = SecretValueType
17373
+
17075
17374
 
17076
17375
  def _deserialize(self, params):
17077
17376
  self._GatewayId = params.get("GatewayId")
17078
17377
  self._SecretKeyId = params.get("SecretKeyId")
17378
+ self._SecretValueType = params.get("SecretValueType")
17079
17379
  memeber_set = set(params.keys())
17080
17380
  for name, value in vars(self).items():
17081
17381
  property_name = name[1:]
@@ -20415,7 +20715,7 @@ class ModifyCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
20415
20715
  :type DisplayName: str
20416
20716
  :param _ServerId: <p>服务 id</p>
20417
20717
  :type ServerId: str
20418
- :param _UpstreamType: <p>后端类型</p><p>枚举值:</p><ul><li>HostIP: 域名 ip</li><li>MCPRegistry: MCP 注册中心</li><li>VirtualMCPServer: 虚拟MCP 服务</li></ul>
20718
+ :param _UpstreamType: <p>后端类型</p><p>枚举值:</p><ul><li>MCPRegistry: mcp 注册中心</li><li>Registry: 普通注册中心</li><li>HostIP: 域名或ip</li><li>VirtualMCPServer: 虚拟MCPServer</li><li>DNS: 私有域名</li><li>Kubernetes: Kubernetes服务</li></ul>
20419
20719
  :type UpstreamType: str
20420
20720
  :param _Timeout: <p>超时时间,单位ms,最大60000</p>
20421
20721
  :type Timeout: int
@@ -20433,6 +20733,8 @@ class ModifyCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
20433
20733
  :type HealthCheck: :class:`tencentcloud.cngw.v20230418.models.AIGWHealthCheckSetting`
20434
20734
  :param _PreserveHost: <p>是否开启保留原Host功能</p>
20435
20735
  :type PreserveHost: bool
20736
+ :param _LogConfig: <p>日志配置</p>
20737
+ :type LogConfig: :class:`tencentcloud.cngw.v20230418.models.AIGWLogConfig`
20436
20738
  """
20437
20739
  self._GatewayId = None
20438
20740
  self._DisplayName = None
@@ -20446,6 +20748,7 @@ class ModifyCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
20446
20748
  self._EnableHealthCheck = None
20447
20749
  self._HealthCheck = None
20448
20750
  self._PreserveHost = None
20751
+ self._LogConfig = None
20449
20752
 
20450
20753
  @property
20451
20754
  def GatewayId(self):
@@ -20482,7 +20785,7 @@ class ModifyCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
20482
20785
 
20483
20786
  @property
20484
20787
  def UpstreamType(self):
20485
- r"""<p>后端类型</p><p>枚举值:</p><ul><li>HostIP: 域名 ip</li><li>MCPRegistry: MCP 注册中心</li><li>VirtualMCPServer: 虚拟MCP 服务</li></ul>
20788
+ r"""<p>后端类型</p><p>枚举值:</p><ul><li>MCPRegistry: mcp 注册中心</li><li>Registry: 普通注册中心</li><li>HostIP: 域名或ip</li><li>VirtualMCPServer: 虚拟MCPServer</li><li>DNS: 私有域名</li><li>Kubernetes: Kubernetes服务</li></ul>
20486
20789
  :rtype: str
20487
20790
  """
20488
20791
  return self._UpstreamType
@@ -20579,6 +20882,17 @@ class ModifyCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
20579
20882
  def PreserveHost(self, PreserveHost):
20580
20883
  self._PreserveHost = PreserveHost
20581
20884
 
20885
+ @property
20886
+ def LogConfig(self):
20887
+ r"""<p>日志配置</p>
20888
+ :rtype: :class:`tencentcloud.cngw.v20230418.models.AIGWLogConfig`
20889
+ """
20890
+ return self._LogConfig
20891
+
20892
+ @LogConfig.setter
20893
+ def LogConfig(self, LogConfig):
20894
+ self._LogConfig = LogConfig
20895
+
20582
20896
 
20583
20897
  def _deserialize(self, params):
20584
20898
  self._GatewayId = params.get("GatewayId")
@@ -20599,6 +20913,9 @@ class ModifyCloudNativeAPIGatewayMCPServerRequest(AbstractModel):
20599
20913
  self._HealthCheck = AIGWHealthCheckSetting()
20600
20914
  self._HealthCheck._deserialize(params.get("HealthCheck"))
20601
20915
  self._PreserveHost = params.get("PreserveHost")
20916
+ if params.get("LogConfig") is not None:
20917
+ self._LogConfig = AIGWLogConfig()
20918
+ self._LogConfig._deserialize(params.get("LogConfig"))
20602
20919
  memeber_set = set(params.keys())
20603
20920
  for name, value in vars(self).items():
20604
20921
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cngw
3
- Version: 3.1.174
3
+ Version: 3.1.178
4
4
  Summary: Tencent Cloud Cngw SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.174
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.178
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.178
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.174