Skip to content

Commit

Permalink
release 3.1.115 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Dec 12, 2024
1 parent 0eb6aae commit b7a4430
Show file tree
Hide file tree
Showing 33 changed files with 2,978 additions and 27 deletions.
136 changes: 136 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,139 @@
# 3.1.115 2024-12-12

### HuaweiCloud SDK CDN

- _API Version_
- V2
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ShowDomainFullConfig**
- changes of response param
- `+ configs.cache_rules.force_cache`
- **UpdateDomainFullConfig**
- changes of request param
- `+ configs.cache_rules.force_cache`

### HuaweiCloud SDK CSMS

- _API Version_
- V1
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListUsers**
- changes of request param
- `+ user_info`
- `- user_name`

### HuaweiCloud SDK DDS

- _API Version_
- V3
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ResizeInstance**
- changes of request param
- `+ resize.target_ids`

### HuaweiCloud SDK GaussDB

- _API Version_
- V3
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **CreateStarrocksInstance**
- changes of request param
- `+ pay_info`
- `+ region_code`

### HuaweiCloud SDK LTS

- _API Version_
- V2
- _Features_
- Support the API `ListLogContext`
- _Bug Fix_
- None
- _Change_
- **CreateLogStreamIndex**
- changes of request param
- `+ fields.ltsSubFieldsInfoList`
- `+ fields.fieldType: enum value [json]`
- **ListAccessConfig**
- changes of response param
- `+ result.access_config_detail.repeat_collect`
- `+ result.access_config_detail.system_fields`
- `+ result.access_config_detail.custom_key_value`
- `+ result.access_config_detail.includeLabelsLogical`
- `+ result.access_config_detail.excludeLabelsLogical`
- `+ result.access_config_detail.includeK8sLabelsLogical`
- `+ result.access_config_detail.excludeK8sLabelsLogical`
- `+ result.access_config_detail.includeEnvsLogical`
- `+ result.access_config_detail.excludeEnvsLogical`
- **UpdateAccessConfig**
- changes of request param
- `+ access_config_detail.system_fields`
- `+ access_config_detail.custom_key_value`
- `+ access_config_detail.includeLabelsLogical`
- `+ access_config_detail.excludeLabelsLogical`
- `+ access_config_detail.includeK8sLabelsLogical`
- `+ access_config_detail.excludeK8sLabelsLogical`
- `+ access_config_detail.includeEnvsLogical`
- `+ access_config_detail.excludeEnvsLogical`
- changes of response param
- `+ access_config_detail.repeat_collect`
- `+ access_config_detail.system_fields`
- `+ access_config_detail.custom_key_value`
- `+ access_config_detail.includeLabelsLogical`
- `+ access_config_detail.excludeLabelsLogical`
- `+ access_config_detail.includeK8sLabelsLogical`
- `+ access_config_detail.excludeK8sLabelsLogical`
- `+ access_config_detail.includeEnvsLogical`
- `+ access_config_detail.excludeEnvsLogical`
- **CreateAccessConfig**
- changes of request param
- `+ access_config_detail.repeat_collect`
- `+ access_config_detail.system_fields`
- `+ access_config_detail.custom_key_value`
- `+ access_config_detail.includeLabelsLogical`
- `+ access_config_detail.excludeLabelsLogical`
- `+ access_config_detail.includeK8sLabelsLogical`
- `+ access_config_detail.excludeK8sLabelsLogical`
- `+ access_config_detail.includeEnvsLogical`
- `+ access_config_detail.excludeEnvsLogical`
- changes of response param
- `+ access_config_detail.repeat_collect`
- `+ access_config_detail.system_fields`
- `+ access_config_detail.custom_key_value`
- `+ access_config_detail.includeLabelsLogical`
- `+ access_config_detail.excludeLabelsLogical`
- `+ access_config_detail.includeK8sLabelsLogical`
- `+ access_config_detail.excludeK8sLabelsLogical`
- `+ access_config_detail.includeEnvsLogical`
- `+ access_config_detail.excludeEnvsLogical`
- **DeleteAccessConfig**
- changes of response param
- `+ result.access_config_detail.repeat_collect`
- `+ result.access_config_detail.system_fields`
- `+ result.access_config_detail.custom_key_value`
- `+ result.access_config_detail.includeLabelsLogical`
- `+ result.access_config_detail.excludeLabelsLogical`
- `+ result.access_config_detail.includeK8sLabelsLogical`
- `+ result.access_config_detail.excludeK8sLabelsLogical`
- `+ result.access_config_detail.includeEnvsLogical`
- `+ result.access_config_detail.excludeEnvsLogical`

# 3.1.114 2024-12-10

### HuaweiCloud SDK CSMS
Expand Down
136 changes: 136 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,139 @@
# 3.1.115 2024-12-12

### HuaweiCloud SDK CDN

- _接口版本_
- V2
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ShowDomainFullConfig**
- 响应参数变更
- `+ configs.cache_rules.force_cache`
- **UpdateDomainFullConfig**
- 请求参数变更
- `+ configs.cache_rules.force_cache`

### HuaweiCloud SDK CSMS

- _接口版本_
- V1
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ListUsers**
- 请求参数变更
- `+ user_info`
- `- user_name`

### HuaweiCloud SDK DDS

- _接口版本_
- V3
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ResizeInstance**
- 请求参数变更
- `+ resize.target_ids`

### HuaweiCloud SDK GaussDB

- _接口版本_
- V3
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **CreateStarrocksInstance**
- 请求参数变更
- `+ pay_info`
- `+ region_code`

### HuaweiCloud SDK LTS

- _接口版本_
- V2
- _新增特性_
- 支持接口`ListLogContext`
- _解决问题_
- 无
- _特性变更_
- **CreateLogStreamIndex**
- 请求参数变更
- `+ fields.ltsSubFieldsInfoList`
- `+ fields.fieldType: enum value [json]`
- **ListAccessConfig**
- 响应参数变更
- `+ result.access_config_detail.repeat_collect`
- `+ result.access_config_detail.system_fields`
- `+ result.access_config_detail.custom_key_value`
- `+ result.access_config_detail.includeLabelsLogical`
- `+ result.access_config_detail.excludeLabelsLogical`
- `+ result.access_config_detail.includeK8sLabelsLogical`
- `+ result.access_config_detail.excludeK8sLabelsLogical`
- `+ result.access_config_detail.includeEnvsLogical`
- `+ result.access_config_detail.excludeEnvsLogical`
- **UpdateAccessConfig**
- 请求参数变更
- `+ access_config_detail.system_fields`
- `+ access_config_detail.custom_key_value`
- `+ access_config_detail.includeLabelsLogical`
- `+ access_config_detail.excludeLabelsLogical`
- `+ access_config_detail.includeK8sLabelsLogical`
- `+ access_config_detail.excludeK8sLabelsLogical`
- `+ access_config_detail.includeEnvsLogical`
- `+ access_config_detail.excludeEnvsLogical`
- 响应参数变更
- `+ access_config_detail.repeat_collect`
- `+ access_config_detail.system_fields`
- `+ access_config_detail.custom_key_value`
- `+ access_config_detail.includeLabelsLogical`
- `+ access_config_detail.excludeLabelsLogical`
- `+ access_config_detail.includeK8sLabelsLogical`
- `+ access_config_detail.excludeK8sLabelsLogical`
- `+ access_config_detail.includeEnvsLogical`
- `+ access_config_detail.excludeEnvsLogical`
- **CreateAccessConfig**
- 请求参数变更
- `+ access_config_detail.repeat_collect`
- `+ access_config_detail.system_fields`
- `+ access_config_detail.custom_key_value`
- `+ access_config_detail.includeLabelsLogical`
- `+ access_config_detail.excludeLabelsLogical`
- `+ access_config_detail.includeK8sLabelsLogical`
- `+ access_config_detail.excludeK8sLabelsLogical`
- `+ access_config_detail.includeEnvsLogical`
- `+ access_config_detail.excludeEnvsLogical`
- 响应参数变更
- `+ access_config_detail.repeat_collect`
- `+ access_config_detail.system_fields`
- `+ access_config_detail.custom_key_value`
- `+ access_config_detail.includeLabelsLogical`
- `+ access_config_detail.excludeLabelsLogical`
- `+ access_config_detail.includeK8sLabelsLogical`
- `+ access_config_detail.excludeK8sLabelsLogical`
- `+ access_config_detail.includeEnvsLogical`
- `+ access_config_detail.excludeEnvsLogical`
- **DeleteAccessConfig**
- 响应参数变更
- `+ result.access_config_detail.repeat_collect`
- `+ result.access_config_detail.system_fields`
- `+ result.access_config_detail.custom_key_value`
- `+ result.access_config_detail.includeLabelsLogical`
- `+ result.access_config_detail.excludeLabelsLogical`
- `+ result.access_config_detail.includeK8sLabelsLogical`
- `+ result.access_config_detail.excludeK8sLabelsLogical`
- `+ result.access_config_detail.includeEnvsLogical`
- `+ result.access_config_detail.excludeEnvsLogical`

# 3.1.114 2024-12-10

### HuaweiCloud SDK CSMS
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.114
3.1.115
11 changes: 11 additions & 0 deletions cdn/include/huaweicloud/cdn/v2/model/CacheRules.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ class HUAWEICLOUD_CDN_V2_EXPORT CacheRules
void unsetfollowOrigin();
void setFollowOrigin(const std::string& value);

/// <summary>
/// 强制缓存:CDN节点缓存过期时间是否忽略源站响应头Cache-Control中的no-cache、private、no-store字段,默认关闭强制缓存功能。强制缓存与缓存过期时间来源功能配合使用,具体使用限制及配置效果请参考CDN用户指南的配置节点缓存规则章节。on:打开强制缓存,off:关闭强制缓存
/// </summary>

std::string getForceCache() const;
bool forceCacheIsSet() const;
void unsetforceCache();
void setForceCache(const std::string& value);

/// <summary>
/// URL参数: - del_params:忽略指定URL参数, - reserve_params:保留指定URL参数, - ignore_url_params:忽略全部URL参数, - full_url:使用完整URL参数。 &gt; 不传此参数时,默认为full_url。
/// </summary>
Expand Down Expand Up @@ -124,6 +133,8 @@ class HUAWEICLOUD_CDN_V2_EXPORT CacheRules
bool priorityIsSet_;
std::string followOrigin_;
bool followOriginIsSet_;
std::string forceCache_;
bool forceCacheIsSet_;
std::string urlParameterType_;
bool urlParameterTypeIsSet_;
std::string urlParameterValue_;
Expand Down
35 changes: 35 additions & 0 deletions cdn/src/v2/model/CacheRules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ CacheRules::CacheRules()
priorityIsSet_ = false;
followOrigin_ = "";
followOriginIsSet_ = false;
forceCache_ = "";
forceCacheIsSet_ = false;
urlParameterType_ = "";
urlParameterTypeIsSet_ = false;
urlParameterValue_ = "";
Expand Down Expand Up @@ -58,6 +60,9 @@ web::json::value CacheRules::toJson() const
if(followOriginIsSet_) {
val[utility::conversions::to_string_t("follow_origin")] = ModelBase::toJson(followOrigin_);
}
if(forceCacheIsSet_) {
val[utility::conversions::to_string_t("force_cache")] = ModelBase::toJson(forceCache_);
}
if(urlParameterTypeIsSet_) {
val[utility::conversions::to_string_t("url_parameter_type")] = ModelBase::toJson(urlParameterType_);
}
Expand Down Expand Up @@ -125,6 +130,15 @@ bool CacheRules::fromJson(const web::json::value& val)
setFollowOrigin(refVal);
}
}
if(val.has_field(utility::conversions::to_string_t("force_cache"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("force_cache"));
if(!fieldValue.is_null())
{
std::string refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setForceCache(refVal);
}
}
if(val.has_field(utility::conversions::to_string_t("url_parameter_type"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("url_parameter_type"));
if(!fieldValue.is_null())
Expand Down Expand Up @@ -273,6 +287,27 @@ void CacheRules::unsetfollowOrigin()
followOriginIsSet_ = false;
}

std::string CacheRules::getForceCache() const
{
return forceCache_;
}

void CacheRules::setForceCache(const std::string& value)
{
forceCache_ = value;
forceCacheIsSet_ = true;
}

bool CacheRules::forceCacheIsSet() const
{
return forceCacheIsSet_;
}

void CacheRules::unsetforceCache()
{
forceCacheIsSet_ = false;
}

std::string CacheRules::getUrlParameterType() const
{
return urlParameterType_;
Expand Down
12 changes: 6 additions & 6 deletions csms/include/huaweicloud/csms/v1/model/ListUsersRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ class HUAWEICLOUD_CSMS_V1_EXPORT ListUsersRequest
/// 最长64位,用户名,支持模糊查询
/// </summary>

std::string getUserName() const;
bool userNameIsSet() const;
void unsetuserName();
void setUserName(const std::string& value);
std::string getUserInfo() const;
bool userInfoIsSet() const;
void unsetuserInfo();
void setUserInfo(const std::string& value);


protected:
Expand All @@ -82,8 +82,8 @@ class HUAWEICLOUD_CSMS_V1_EXPORT ListUsersRequest
bool offsetIsSet_;
int32_t limit_;
bool limitIsSet_;
std::string userName_;
bool userNameIsSet_;
std::string userInfo_;
bool userInfoIsSet_;

#ifdef RTTR_FLAG
RTTR_ENABLE()
Expand Down
Loading

0 comments on commit b7a4430

Please sign in to comment.