检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
按照以下步骤删除不用的委托,然后重新授权即可。 登录华为云官网或图引擎服务产品页,在右上角用户名下拉框中,单击进入“账号中心”页面。 图1 官网界面 在“账号中心”页面右上角用户名下拉框中,单击进入“统一身份认证”页面。 图2 账号中心界面 在“统一身份认证”服务页面左侧页签栏中选择“委托”选项,删除页面中
认证方式 AK/SK认证 参数ak、sk、regionCode和graphEndpoint如何填写见初始化参数获取。 import os from gesgraphsdk.v1.aksk_credentials import GesGraphAkSkCredentials from
点集共同邻居(common_neighbors_of_vertex_sets)(2.2.13) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 sources 是 起点ID集合 String 标准csv格式,ID之间以英文逗号分隔,例如:"Alice
元数据操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testAddLabel 添加Label testUpdateLabel 更新Label testQueryGraphSchemaDetail
Filtered-query 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.customoperation FilteredQuerySample Filtered-query FilteredQueryV2Sample
元数据操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testAddLabel 添加Label testUpdateLabel 更新Label testQueryGraphSchemaDetail
Filtered-query 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.filteredquery FilteredQuerySample Filtered-query FilteredQueryV2Sample
SSL配置:是否跳过SSL证书验证 http_config.ignore_ssl_verification = True # 配置服务器端CA证书,用于SDK验证服务端证书合法性 http_config.ssl_ca_cert = '/path/to/certfile' 父主题: 客户端初始化
子图操作 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.subgraph QuerySubgraphSample 子图查询 SubgraphExecuteAlgorithmSample 执行子图算法 父主题:
子图操作 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.subgraph QuerySubgraphSample 子图查询 SubgraphExecuteAlgorithmSample 执行子图算法 父主题:
最短路径(shortest_path) 表1 parameters参数说明 参数 是否必选 类型 说明 source 是 String 输入路径的起点ID。 target 是 String 输入路径的终点ID。 directed 否 Boolean 是否考虑边的方向,取值为true。
按文件更新/删除数据 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.fileoperation ImportPropertiesSample 通过导入文件更新点边的指定属性 DeleteByFileSample
图统计 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testShowGraphVersion 查询图版本信息 testShowGraphSummary 查询图概要信息 父主题: 持久化版样例
索引操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testListIndices 查询索引 testCreateIndex 新建索引 testDeleteIndex 删除索引 父主题:
Job管理 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence waitJob 查询Job状态 testListJobs 查询Job列表 父主题: 持久化版样例
自定义操作 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.customoperation ExecuteCustomActionSample 执行自定义操作 父主题: 内存版样例
图统计 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testShowGraphVersion 查询图版本信息 testShowGraphSummary 查询图概要信息 父主题: 持久化版样例
单点环路检测(single_vertex_circles_detection)(2.2.4) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 source 是 被包含节点ID。 String - min_circle_length 否 最小圈长 Integer
点集全最短路(all_shortest_paths_of_vertex_sets)(2.2.15) 表1 parameters参数说明 参数 是否必选 类型 取值范围 默认值 说明 sources 是 String 标准csv格式,ID之间以英文逗号分隔,例如:"Alice,Nana"。
度数关联度(degree_correlation)(1.0.0) 当前该算法不需要输入parameters参数就可以运行。 表1 response_data参数说明 参数 类型 说明 degree_correlation Double 度数关联度 父主题: 算法API参数参考