Generate company (v3)

Generate a new company.

Code sample

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

What's next

To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.