class Google::Apis::PartnersV2::Company

A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers.

Attributes

certification_statuses[RW]

The list of Google Partners certification statuses for the company. Corresponds to the JSON property `certificationStatuses` @return [Array<Google::Apis::PartnersV2::CertificationStatus>]

converted_min_monthly_budget[RW]

Represents an amount of money with its currency type. Corresponds to the JSON property `convertedMinMonthlyBudget` @return [Google::Apis::PartnersV2::Money]

id[RW]

The ID of the company. Corresponds to the JSON property `id` @return [String]

industries[RW]

Industries the company can help with. Corresponds to the JSON property `industries` @return [Array<String>]

localized_infos[RW]

The list of localized info for the company. Corresponds to the JSON property `localizedInfos` @return [Array<Google::Apis::PartnersV2::LocalizedCompanyInfo>]

locations[RW]

The list of company locations. Corresponds to the JSON property `locations` @return [Array<Google::Apis::PartnersV2::Location>]

name[RW]

The name of the company. Corresponds to the JSON property `name` @return [String]

original_min_monthly_budget[RW]

Represents an amount of money with its currency type. Corresponds to the JSON property `originalMinMonthlyBudget` @return [Google::Apis::PartnersV2::Money]

public_profile[RW]

Basic information from a public profile. Corresponds to the JSON property `publicProfile` @return [Google::Apis::PartnersV2::PublicProfile]

ranks[RW]

Information related to the ranking of the company within the list of companies. Corresponds to the JSON property `ranks` @return [Array<Google::Apis::PartnersV2::Rank>]

services[RW]

Services the company can help with. Corresponds to the JSON property `services` @return [Array<String>]

website_url[RW]

URL of the company's website. Corresponds to the JSON property `websiteUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/partners_v2/classes.rb, line 555
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/partners_v2/classes.rb, line 560
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @localized_infos = args[:localized_infos] if args.key?(:localized_infos)
  @locations = args[:locations] if args.key?(:locations)
  @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget)
  @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget)
  @public_profile = args[:public_profile] if args.key?(:public_profile)
  @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
  @ranks = args[:ranks] if args.key?(:ranks)
  @website_url = args[:website_url] if args.key?(:website_url)
  @industries = args[:industries] if args.key?(:industries)
  @services = args[:services] if args.key?(:services)
end