在谷歌云人才解决方案(python)中创建公司时,如何使用默认租户?
我可以通过以下方式创建公司:在谷歌云人才解决方案(python)中创建公司时,如何使用默认租户?,python,google-cloud-talent-solution,Python,Google Cloud Talent Solution,我可以通过以下方式创建公司: client = talent_v4beta1.CompanyServiceClient() company = {'display_name': ..., 'external_id: ...} response = client.create_company('projects/my-project-id', company) 我没有指定租户,谷歌创建并使用默认租户 如何调用get_company() 我能找到的唯一一个填充name的API是tentant_pa
client = talent_v4beta1.CompanyServiceClient()
company = {'display_name': ..., 'external_id: ...}
response = client.create_company('projects/my-project-id', company)
我没有指定租户
,谷歌创建并使用默认租户
如何调用get_company()
我能找到的唯一一个填充name
的API是tentant_path()
,它要求传递tenant
,而我没有该值。如果我调用project\u path()
,则这不包括任何tentant,并且get\u company()
无法匹配任何公司
client = talent_v4beta1.CompanyServiceClient()
name = ?
response = client.get_company(name)