我可以通过以下方式创建公司:
client = talent_v4beta1.CompanyServiceClient()
company = {'display_name': ..., 'external_id: ...}
response = client.create_company('projects/my-project-id', company)
我没有指定 atenant
并且 Google 会创建并使用默认租户。
我怎么打电话get_company()
?
client = talent_v4beta1.CompanyServiceClient()
name = ?
response = client.get_company(name)
我能找到的唯一要填充的 APIname
是tentant_path()
需要tenant
传递的我没有值的 API。如果我project_path()
改为打电话,那么这不包括任何租户并且get_company()
无法匹配任何公司。