4 Star 81 Fork 15

tencentcloud/tencentcloud-sdk-java

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
IoaClient.java 21.70 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2026-04-30 04:53 +08:00 . release 3.1.1455
/*
* Copyright (c) 2017-2025 Tencent. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.ioa.v20220601;
import java.lang.reflect.Type;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
import com.tencentcloudapi.common.AbstractClient;
import com.tencentcloudapi.common.profile.ClientProfile;
import com.tencentcloudapi.common.JsonResponseModel;
import com.tencentcloudapi.common.Credential;
import com.tencentcloudapi.ioa.v20220601.models.*;
public class IoaClient extends AbstractClient{
private static String endpoint = "ioa.tencentcloudapi.com";
private static String service = "ioa";
private static String version = "2022-06-01";
public IoaClient(Credential credential, String region) {
this(credential, region, new ClientProfile());
}
public IoaClient(Credential credential, String region, ClientProfile profile) {
super(IoaClient.endpoint, IoaClient.version, credential, region, profile);
}
/**
*创建业务资源,会对一些必填参数进行校验和参数合法性校验,创建业务资源时,先调用下校验相同业务资源接口,看资源是不是有冲突。创建时也会做校验,但没有返回对应的异常信息,私有化调用path为:capi/GatewayResource/CreateBusinessResource
* @param req CreateBusinessResourceRequest
* @return CreateBusinessResourceResponse
* @throws TencentCloudSDKException
*/
public CreateBusinessResourceResponse CreateBusinessResource(CreateBusinessResourceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateBusinessResource", CreateBusinessResourceResponse.class);
}
/**
*创建文件鉴定任务,私有化调用path为:capi/DlpOpenApi/CreateDLPFileDetectTask
* @param req CreateDLPFileDetectTaskRequest
* @return CreateDLPFileDetectTaskResponse
* @throws TencentCloudSDKException
*/
public CreateDLPFileDetectTaskResponse CreateDLPFileDetectTask(CreateDLPFileDetectTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateDLPFileDetectTask", CreateDLPFileDetectTaskResponse.class);
}
/**
*提交送检任务
* @param req CreateDLPFileDetectionTaskRequest
* @return CreateDLPFileDetectionTaskResponse
* @throws TencentCloudSDKException
*/
public CreateDLPFileDetectionTaskResponse CreateDLPFileDetectionTask(CreateDLPFileDetectionTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateDLPFileDetectionTask", CreateDLPFileDetectionTaskResponse.class);
}
/**
*创建获取终端进程网络服务信息任务,私有化调用path为:capi/Assets/Device/DescribeDeviceInfo
* @param req CreateDeviceTaskRequest
* @return CreateDeviceTaskResponse
* @throws TencentCloudSDKException
*/
public CreateDeviceTaskResponse CreateDeviceTask(CreateDeviceTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateDeviceTask", CreateDeviceTaskResponse.class);
}
/**
*创建终端自定义分组,私有化调用path为:/capi/Assets/Device/CreateDeviceVirtualGroup
* @param req CreateDeviceVirtualGroupRequest
* @return CreateDeviceVirtualGroupResponse
* @throws TencentCloudSDKException
*/
public CreateDeviceVirtualGroupResponse CreateDeviceVirtualGroup(CreateDeviceVirtualGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateDeviceVirtualGroup", CreateDeviceVirtualGroupResponse.class);
}
/**
*生成特权码,私有化调用path为:capi/Assets/Device/CreatePrivilegeCode,生成的特权码、卸载码,仅对该设备当天有效
* @param req CreatePrivilegeCodeRequest
* @return CreatePrivilegeCodeResponse
* @throws TencentCloudSDKException
*/
public CreatePrivilegeCodeResponse CreatePrivilegeCode(CreatePrivilegeCodeRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePrivilegeCode", CreatePrivilegeCodeResponse.class);
}
/**
*以分页的方式查询账号分组列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
* @param req DescribeAccountGroupsRequest
* @return DescribeAccountGroupsResponse
* @throws TencentCloudSDKException
*/
public DescribeAccountGroupsResponse DescribeAccountGroups(DescribeAccountGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAccountGroups", DescribeAccountGroupsResponse.class);
}
/**
*聚合的分类软件列表
* @param req DescribeAggrSoftCategorySoftListRequest
* @return DescribeAggrSoftCategorySoftListResponse
* @throws TencentCloudSDKException
*/
public DescribeAggrSoftCategorySoftListResponse DescribeAggrSoftCategorySoftList(DescribeAggrSoftCategorySoftListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAggrSoftCategorySoftList", DescribeAggrSoftCategorySoftListResponse.class);
}
/**
*聚合的软件详情
* @param req DescribeAggrSoftDetailRequest
* @return DescribeAggrSoftDetailResponse
* @throws TencentCloudSDKException
*/
public DescribeAggrSoftDetailResponse DescribeAggrSoftDetail(DescribeAggrSoftDetailRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAggrSoftDetail", DescribeAggrSoftDetailResponse.class);
}
/**
*聚合软件的已安装终端列表
* @param req DescribeAggrSoftDeviceListRequest
* @return DescribeAggrSoftDeviceListResponse
* @throws TencentCloudSDKException
*/
public DescribeAggrSoftDeviceListResponse DescribeAggrSoftDeviceList(DescribeAggrSoftDeviceListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAggrSoftDeviceList", DescribeAggrSoftDeviceListResponse.class);
}
/**
*获取业务资源列表,支持分页,如果分页信息不传递会有默认分页,支持排序,不传排序字段,按业务资源创建时间排序,私有化调用path为:capi/GatewayResource/DescribeBusinessResources
* @param req DescribeBusinessResourcesRequest
* @return DescribeBusinessResourcesResponse
* @throws TencentCloudSDKException
*/
public DescribeBusinessResourcesResponse DescribeBusinessResources(DescribeBusinessResourcesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBusinessResources", DescribeBusinessResourcesResponse.class);
}
/**
*查询边缘节点分组,私有化调用path为:capi/Connectors/DescribeDLPEdgeNodeGroups
* @param req DescribeDLPEdgeNodeGroupsRequest
* @return DescribeDLPEdgeNodeGroupsResponse
* @throws TencentCloudSDKException
*/
public DescribeDLPEdgeNodeGroupsResponse DescribeDLPEdgeNodeGroups(DescribeDLPEdgeNodeGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDLPEdgeNodeGroups", DescribeDLPEdgeNodeGroupsResponse.class);
}
/**
*查询边缘节点列表,私有化调用path为:capi/DlpOpenApi/DescribeDLPEdgeNodes
* @param req DescribeDLPEdgeNodesRequest
* @return DescribeDLPEdgeNodesResponse
* @throws TencentCloudSDKException
*/
public DescribeDLPEdgeNodesResponse DescribeDLPEdgeNodes(DescribeDLPEdgeNodesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDLPEdgeNodes", DescribeDLPEdgeNodesResponse.class);
}
/**
*webservice查询文件检测结果
* @param req DescribeDLPFileDetectResultRequest
* @return DescribeDLPFileDetectResultResponse
* @throws TencentCloudSDKException
*/
public DescribeDLPFileDetectResultResponse DescribeDLPFileDetectResult(DescribeDLPFileDetectResultRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDLPFileDetectResult", DescribeDLPFileDetectResultResponse.class);
}
/**
*查询文件鉴定任务结果
* @param req DescribeDLPFileDetectTaskResultRequest
* @return DescribeDLPFileDetectTaskResultResponse
* @throws TencentCloudSDKException
*/
public DescribeDLPFileDetectTaskResultResponse DescribeDLPFileDetectTaskResult(DescribeDLPFileDetectTaskResultRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDLPFileDetectTaskResult", DescribeDLPFileDetectTaskResultResponse.class);
}
/**
*查询设备组子分组详情,私有化调用path为:capi/Assets/Device/DescribeDeviceChildGroups
* @param req DescribeDeviceChildGroupsRequest
* @return DescribeDeviceChildGroupsResponse
* @throws TencentCloudSDKException
*/
public DescribeDeviceChildGroupsResponse DescribeDeviceChildGroups(DescribeDeviceChildGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDeviceChildGroups", DescribeDeviceChildGroupsResponse.class);
}
/**
*基于软件查看终端详情列表,私有化调用path为:capi/Software/DescribeDeviceDetailList
* @param req DescribeDeviceDetailListRequest
* @return DescribeDeviceDetailListResponse
* @throws TencentCloudSDKException
*/
public DescribeDeviceDetailListResponse DescribeDeviceDetailList(DescribeDeviceDetailListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDeviceDetailList", DescribeDeviceDetailListResponse.class);
}
/**
*查询满足条件的查询终端硬件信息列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceHardwareInfoList
* @param req DescribeDeviceHardwareInfoListRequest
* @return DescribeDeviceHardwareInfoListResponse
* @throws TencentCloudSDKException
*/
public DescribeDeviceHardwareInfoListResponse DescribeDeviceHardwareInfoList(DescribeDeviceHardwareInfoListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDeviceHardwareInfoList", DescribeDeviceHardwareInfoListResponse.class);
}
/**
*获取终端进程网络服务信息,私有化调用path为:capi/Assets/Device/DescribeDeviceInfo
* @param req DescribeDeviceInfoRequest
* @return DescribeDeviceInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeDeviceInfoResponse DescribeDeviceInfo(DescribeDeviceInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDeviceInfo", DescribeDeviceInfoResponse.class);
}
/**
*查询终端自定义分组列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceVirtualGroups
* @param req DescribeDeviceVirtualGroupsRequest
* @return DescribeDeviceVirtualGroupsResponse
* @throws TencentCloudSDKException
*/
public DescribeDeviceVirtualGroupsResponse DescribeDeviceVirtualGroups(DescribeDeviceVirtualGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDeviceVirtualGroups", DescribeDeviceVirtualGroupsResponse.class);
}
/**
*查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
* @param req DescribeDevicesRequest
* @return DescribeDevicesResponse
* @throws TencentCloudSDKException
*/
public DescribeDevicesResponse DescribeDevices(DescribeDevicesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDevices", DescribeDevicesResponse.class);
}
/**
*列表账户组直接关联的资源,私有化调用path为:capi/Assets/DescribeDirectAccountGroupResources
* @param req DescribeDirectAccountGroupResourcesRequest
* @return DescribeDirectAccountGroupResourcesResponse
* @throws TencentCloudSDKException
*/
public DescribeDirectAccountGroupResourcesResponse DescribeDirectAccountGroupResources(DescribeDirectAccountGroupResourcesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDirectAccountGroupResources", DescribeDirectAccountGroupResourcesResponse.class);
}
/**
*获取账号列表,支持分页,模糊搜索,私有化调用path为:/capi/Assets/Account/DescribeLocalAccounts
* @param req DescribeLocalAccountsRequest
* @return DescribeLocalAccountsResponse
* @throws TencentCloudSDKException
*/
public DescribeLocalAccountsResponse DescribeLocalAccounts(DescribeLocalAccountsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeLocalAccounts", DescribeLocalAccountsResponse.class);
}
/**
*列表账户组直接关联的资源,私有化调用path为:capi/NGN/DescribeResourceGrantedAccounts
* @param req DescribeResourceGrantedAccountGroupsRequest
* @return DescribeResourceGrantedAccountGroupsResponse
* @throws TencentCloudSDKException
*/
public DescribeResourceGrantedAccountGroupsResponse DescribeResourceGrantedAccountGroups(DescribeResourceGrantedAccountGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeResourceGrantedAccountGroups", DescribeResourceGrantedAccountGroupsResponse.class);
}
/**
*列表账户组直接关联的资源,私有化调用path为:capi/NGN/DescribeResourceGrantedAccounts
* @param req DescribeResourceGrantedAccountsRequest
* @return DescribeResourceGrantedAccountsResponse
* @throws TencentCloudSDKException
*/
public DescribeResourceGrantedAccountsResponse DescribeResourceGrantedAccounts(DescribeResourceGrantedAccountsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeResourceGrantedAccounts", DescribeResourceGrantedAccountsResponse.class);
}
/**
*列表账户组直接关联的资源,私有化调用path为:capi/NGN/DescribeResourceGrantedVirtualGroups
* @param req DescribeResourceGrantedVirtualGroupsRequest
* @return DescribeResourceGrantedVirtualGroupsResponse
* @throws TencentCloudSDKException
*/
public DescribeResourceGrantedVirtualGroupsResponse DescribeResourceGrantedVirtualGroups(DescribeResourceGrantedVirtualGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeResourceGrantedVirtualGroups", DescribeResourceGrantedVirtualGroupsResponse.class);
}
/**
*查询账号根分组详情。对应“用户与授权管理”里内置不可见的全网根账号组,所有新建的目录,都挂在该全网根账号组下。
* @param req DescribeRootAccountGroupRequest
* @return DescribeRootAccountGroupResponse
* @throws TencentCloudSDKException
*/
public DescribeRootAccountGroupResponse DescribeRootAccountGroup(DescribeRootAccountGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeRootAccountGroup", DescribeRootAccountGroupResponse.class);
}
/**
*查看终端树下的软件列表,私有化调用path为:capi/Software/DescribeSoftCensusListByDevice
* @param req DescribeSoftCensusListByDeviceRequest
* @return DescribeSoftCensusListByDeviceResponse
* @throws TencentCloudSDKException
*/
public DescribeSoftCensusListByDeviceResponse DescribeSoftCensusListByDevice(DescribeSoftCensusListByDeviceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSoftCensusListByDevice", DescribeSoftCensusListByDeviceResponse.class);
}
/**
*查看指定终端的软件详情列表,私有化调用path为:capi/Software/DescribeSoftwareInformation
* @param req DescribeSoftwareInformationRequest
* @return DescribeSoftwareInformationResponse
* @throws TencentCloudSDKException
*/
public DescribeSoftwareInformationResponse DescribeSoftwareInformation(DescribeSoftwareInformationRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSoftwareInformation", DescribeSoftwareInformationResponse.class);
}
/**
*展示自定义分组终端列表,私有化调用path为:/capi/Assets/DescribeVirtualDevices
* @param req DescribeVirtualDevicesRequest
* @return DescribeVirtualDevicesResponse
* @throws TencentCloudSDKException
*/
public DescribeVirtualDevicesResponse DescribeVirtualDevices(DescribeVirtualDevicesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeVirtualDevices", DescribeVirtualDevicesResponse.class);
}
/**
*创建终端导出任务,私有化调用path为:capi/Assets/Device/ExportDeviceDownloadTask
* @param req ExportDeviceDownloadTaskRequest
* @return ExportDeviceDownloadTaskResponse
* @throws TencentCloudSDKException
*/
public ExportDeviceDownloadTaskResponse ExportDeviceDownloadTask(ExportDeviceDownloadTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ExportDeviceDownloadTask", ExportDeviceDownloadTaskResponse.class);
}
/**
*导出基于指定终端查看软件信息详情列表查询,私有化调用path为:capi/Software/ExportSoftwareInformationList
* @param req ExportSoftwareInformationListRequest
* @return ExportSoftwareInformationListResponse
* @throws TencentCloudSDKException
*/
public ExportSoftwareInformationListResponse ExportSoftwareInformationList(ExportSoftwareInformationListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ExportSoftwareInformationList", ExportSoftwareInformationListResponse.class);
}
/**
*添加资源授权到账号组
* @param req GrantResourcesByAccountGroupsRequest
* @return GrantResourcesByAccountGroupsResponse
* @throws TencentCloudSDKException
*/
public GrantResourcesByAccountGroupsResponse GrantResourcesByAccountGroups(GrantResourcesByAccountGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "GrantResourcesByAccountGroups", GrantResourcesByAccountGroupsResponse.class);
}
/**
*添加资源授权到账号组
* @param req GrantResourcesByAccountsRequest
* @return GrantResourcesByAccountsResponse
* @throws TencentCloudSDKException
*/
public GrantResourcesByAccountsResponse GrantResourcesByAccounts(GrantResourcesByAccountsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "GrantResourcesByAccounts", GrantResourcesByAccountsResponse.class);
}
/**
*添加资源授权到账号组
* @param req GrantResourcesByVirtualGroupsRequest
* @return GrantResourcesByVirtualGroupsResponse
* @throws TencentCloudSDKException
*/
public GrantResourcesByVirtualGroupsResponse GrantResourcesByVirtualGroups(GrantResourcesByVirtualGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "GrantResourcesByVirtualGroups", GrantResourcesByVirtualGroupsResponse.class);
}
/**
*给接入设备加黑加白,私有化调用path为:capi/NGN/ModifyDeviceTrustStatus
* @param req ModifyDeviceTrustStatusRequest
* @return ModifyDeviceTrustStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyDeviceTrustStatusResponse ModifyDeviceTrustStatus(ModifyDeviceTrustStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyDeviceTrustStatus", ModifyDeviceTrustStatusResponse.class);
}
/**
*终端自定义分组增减终端,私有化调用path为:/capi/Assets/Device/ModifyVirtualDeviceGroups
* @param req ModifyVirtualDeviceGroupsRequest
* @return ModifyVirtualDeviceGroupsResponse
* @throws TencentCloudSDKException
*/
public ModifyVirtualDeviceGroupsResponse ModifyVirtualDeviceGroups(ModifyVirtualDeviceGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyVirtualDeviceGroups", ModifyVirtualDeviceGroupsResponse.class);
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tencentcloud/tencentcloud-sdk-java.git
git@gitee.com:tencentcloud/tencentcloud-sdk-java.git
tencentcloud
tencentcloud-sdk-java
tencentcloud-sdk-java
master

搜索帮助