Skip to content

Commit

Permalink
release 3.0.1089
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Feb 27, 2024
1 parent 23a4423 commit 92cd47d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"tencentcloud/common": "3.0.1088"
"tencentcloud/common": "3.0.1089"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* @method void setInstanceId(string $InstanceId) 设置实例ID,格式如:cdb-c1nl9rpv或者cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。
* @method boolean getForReadonlyInstance() 获取该值默认为False,表示当传入只读实例ID时,查询操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True。
* @method void setForReadonlyInstance(boolean $ForReadonlyInstance) 设置该值默认为False,表示当传入只读实例ID时,查询操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True。
* @method string getOpResourceId() 获取变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
* @method void setOpResourceId(string $OpResourceId) 设置变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
*/
class DescribeDBSecurityGroupsRequest extends AbstractModel
{
Expand All @@ -37,9 +39,15 @@ class DescribeDBSecurityGroupsRequest extends AbstractModel
*/
public $ForReadonlyInstance;

/**
* @var string 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
*/
public $OpResourceId;

/**
* @param string $InstanceId 实例ID,格式如:cdb-c1nl9rpv或者cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。
* @param boolean $ForReadonlyInstance 该值默认为False,表示当传入只读实例ID时,查询操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True。
* @param string $OpResourceId 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
*/
function __construct()
{
Expand All @@ -61,5 +69,9 @@ public function deserialize($param)
if (array_key_exists("ForReadonlyInstance",$param) and $param["ForReadonlyInstance"] !== null) {
$this->ForReadonlyInstance = $param["ForReadonlyInstance"];
}

if (array_key_exists("OpResourceId",$param) and $param["OpResourceId"] !== null) {
$this->OpResourceId = $param["OpResourceId"];
}
}
}

0 comments on commit 92cd47d

Please sign in to comment.