Skip to content

Commit

Permalink
release v1.0.321
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Dec 28, 2021
1 parent a39203a commit 858d798
Show file tree
Hide file tree
Showing 7 changed files with 398 additions and 233 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# Release v1.0.321

## 企业组织(organization) 版本:2021-03-31

### 第 3 次发布

发布时间:2021-12-28 08:09:51

本次发布包含了以下内容:

改善已有的文档。

新增接口:

* [DescribeOrganization](https://cloud.tencent.com/document/api/850/67059)

新增数据结构:

* [OrgPermission](https://cloud.tencent.com/document/api/850/67060#OrgPermission)



## 企业组织(organization) 版本:2018-12-25



# Release v1.0.320

## 文字识别(ocr) 版本:2018-11-19
Expand Down
46 changes: 24 additions & 22 deletions SERVICE_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,26 @@
# 本版本更新包含以下内容:

## 文字识别(ocr) 版本:2018-11-19
## 企业组织(organization) 版本:2021-03-31

### 第 59 次发布
### 第 3 次发布

发布时间:2021-12-27 08:08:41
发布时间:2021-12-28 08:09:51

本次发布包含了以下内容:

改善已有的文档。

修改接口:

* [GeneralHandwritingOCR](https://cloud.tencent.com/document/api/866/36212)

* 新增入参:EnableDetectText




## 互动白板(tiw) 版本:2019-09-19

### 第 24 次发布

发布时间:2021-12-27 08:11:32
新增接口:

本次发布包含了以下内容:
* [DescribeOrganization](https://cloud.tencent.com/document/api/850/67059)

改善已有的文档。
新增数据结构:

修改接口:
* [OrgPermission](https://cloud.tencent.com/document/api/850/67060#OrgPermission)

* [CreateSnapshotTask](https://cloud.tencent.com/document/api/1137/59004)

* 新增入参:SnapshotMode

## 企业组织(organization) 版本:2018-12-25



Expand Down Expand Up @@ -44249,6 +44235,22 @@

## 企业组织(organization) 版本:2021-03-31

### 第 3 次发布

发布时间:2021-12-28 08:09:51

本次发布包含了以下内容:

改善已有的文档。

新增接口:

* [[DescribeOrganization](https://cloud.tencent.com/document/api/850/67059)](https://cloud.tencent.com/document/api/#/#)

新增数据结构:

* [[OrgPermission](https://cloud.tencent.com/document/api/850/67060#OrgPermission)](https://cloud.tencent.com/document/api/850/67060#[OrgPermission](https://cloud.tencent.com/document/api/850/67060#OrgPermission))

### 第 2 次发布

发布时间:2021-10-25 11:36:50
Expand Down
418 changes: 209 additions & 209 deletions go.mod

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion products.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2021-12-21 08:08:44 |
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2021-12-27 08:08:41 |
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-11-10 08:09:46 |
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-12-28 08:09:51 |
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2021-11-18 08:11:02 |
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2021-11-10 08:09:50 |
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2021-12-24 08:13:26 |
Expand Down
2 changes: 1 addition & 1 deletion tencentcloud/common/http/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func CompleteCommonParams(request Request, region string) {
params["Action"] = request.GetAction()
params["Timestamp"] = strconv.FormatInt(time.Now().Unix(), 10)
params["Nonce"] = strconv.Itoa(rand.Int())
params["RequestClient"] = "SDK_GO_1.0.320"
params["RequestClient"] = "SDK_GO_1.0.321"
}

func ConstructParams(req Request) (err error) {
Expand Down
34 changes: 34 additions & 0 deletions tencentcloud/organization/v20210331/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,37 @@ func (c *Client) CreateOrganizationMember(request *CreateOrganizationMemberReque
err = c.Send(request, response)
return
}

func NewDescribeOrganizationRequest() (request *DescribeOrganizationRequest) {
request = &DescribeOrganizationRequest{
BaseRequest: &tchttp.BaseRequest{},
}
request.Init().WithApiInfo("organization", APIVersion, "DescribeOrganization")


return
}

func NewDescribeOrganizationResponse() (response *DescribeOrganizationResponse) {
response = &DescribeOrganizationResponse{
BaseResponse: &tchttp.BaseResponse{},
}
return
}

// DescribeOrganization
// 获取企业组织信息
//
// 可能返回的错误码:
// INTERNALERROR = "InternalError"
// INVALIDPARAMETER = "InvalidParameter"
// RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (c *Client) DescribeOrganization(request *DescribeOrganizationRequest) (response *DescribeOrganizationResponse, err error) {
if request == nil {
request = NewDescribeOrganizationRequest()
}

response = NewDescribeOrganizationResponse()
err = c.Send(request, response)
return
}
103 changes: 103 additions & 0 deletions tencentcloud/organization/v20210331/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,106 @@ func (r *CreateOrganizationMemberResponse) ToJsonString() string {
func (r *CreateOrganizationMemberResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}

type DescribeOrganizationRequest struct {
*tchttp.BaseRequest

// 国际站:en,国内站:zh
Lang *string `json:"Lang,omitempty" name:"Lang"`
}

func (r *DescribeOrganizationRequest) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DescribeOrganizationRequest) FromJsonString(s string) error {
f := make(map[string]interface{})
if err := json.Unmarshal([]byte(s), &f); err != nil {
return err
}
delete(f, "Lang")
if len(f) > 0 {
return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeOrganizationRequest has unknown keys!", "")
}
return json.Unmarshal([]byte(s), &r)
}

type DescribeOrganizationResponse struct {
*tchttp.BaseResponse
Response *struct {

// 企业组织ID
// 注意:此字段可能返回 null,表示取不到有效值。
OrgId *int64 `json:"OrgId,omitempty" name:"OrgId"`

// 创建者UIN
// 注意:此字段可能返回 null,表示取不到有效值。
HostUin *int64 `json:"HostUin,omitempty" name:"HostUin"`

// 创建者昵称
// 注意:此字段可能返回 null,表示取不到有效值。
NickName *string `json:"NickName,omitempty" name:"NickName"`

// 企业组织类型
// 注意:此字段可能返回 null,表示取不到有效值。
OrgType *int64 `json:"OrgType,omitempty" name:"OrgType"`

// 组织管理员:true,组织成员:false
// 注意:此字段可能返回 null,表示取不到有效值。
IsManager *bool `json:"IsManager,omitempty" name:"IsManager"`

// 策略类型
// 注意:此字段可能返回 null,表示取不到有效值。
OrgPolicyType *string `json:"OrgPolicyType,omitempty" name:"OrgPolicyType"`

// 策略名
// 注意:此字段可能返回 null,表示取不到有效值。
OrgPolicyName *string `json:"OrgPolicyName,omitempty" name:"OrgPolicyName"`

// 策略权限
// 注意:此字段可能返回 null,表示取不到有效值。
OrgPermission []*OrgPermission `json:"OrgPermission,omitempty" name:"OrgPermission"`

// 根节点ID
// 注意:此字段可能返回 null,表示取不到有效值。
RootNodeId *int64 `json:"RootNodeId,omitempty" name:"RootNodeId"`

// 创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

// 成员加入时间
// 注意:此字段可能返回 null,表示取不到有效值。
JoinTime *string `json:"JoinTime,omitempty" name:"JoinTime"`

// 是否允许退出。允许:Allow,不允许:Denied。
// 注意:此字段可能返回 null,表示取不到有效值。
IsAllowQuit *string `json:"IsAllowQuit,omitempty" name:"IsAllowQuit"`

// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}

func (r *DescribeOrganizationResponse) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DescribeOrganizationResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}

type OrgPermission struct {

// 权限Id
Id *uint64 `json:"Id,omitempty" name:"Id"`

// 权限名
Name *string `json:"Name,omitempty" name:"Name"`
}

0 comments on commit 858d798

Please sign in to comment.