生成公司 (v3)

生成新的公司。

代码示例

Ruby

# display_name         = "Your company display name"
# headquarters_address = "Your company headquarters address"
# external_id          = "Your internal ID for this company, allowing mapping internal identifiers to the company in Google's system"

require "google/apis/jobs_v3"
require "securerandom"

jobs = Google::Apis::JobsV3

company_generated = jobs::Company.new display_name:         display_name,
                                      headquarters_address: headquarters_address,
                                      external_id:          external_id
puts "Company generated: #{company_generated.to_json}"
company_generated

后续步骤

如需搜索和过滤其他 Google Cloud 产品的代码示例,请参阅 Google Cloud 示例浏览器