Class: Google::Apis::PartnersV2::Company
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::Company
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
generated/google/apis/partners_v2/representations.rb,
generated/google/apis/partners_v2/representations.rb
Overview
A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers.
Instance Attribute Summary collapse
-
#additional_websites ⇒ Array<String>
URL of the company's additional websites used to verify the dynamic badges.
-
#auto_approval_email_domains ⇒ Array<String>
Email domains that allow users with a matching email address to get auto-approved for associating with this company.
-
#badge_tier ⇒ String
Partner badge tier Corresponds to the JSON property
badgeTier. -
#certification_statuses ⇒ Array<Google::Apis::PartnersV2::CertificationStatus>
The list of Google Partners certification statuses for the company.
-
#company_types ⇒ Array<String>
Company type labels listed on the company's profile.
-
#converted_min_monthly_budget ⇒ Google::Apis::PartnersV2::Money
Represents an amount of money with its currency type.
-
#id ⇒ String
The ID of the company.
-
#industries ⇒ Array<String>
Industries the company can help with.
-
#localized_infos ⇒ Array<Google::Apis::PartnersV2::LocalizedCompanyInfo>
The list of localized info for the company.
-
#locations ⇒ Array<Google::Apis::PartnersV2::Location>
The list of all company locations.
-
#name ⇒ String
The name of the company.
-
#original_min_monthly_budget ⇒ Google::Apis::PartnersV2::Money
Represents an amount of money with its currency type.
-
#primary_adwords_manager_account_id ⇒ String
The Primary AdWords Manager Account id.
-
#primary_language_code ⇒ String
The primary language code of the company, as defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages").
-
#primary_location ⇒ Google::Apis::PartnersV2::Location
A location with address and geographic coordinates.
-
#profile_status ⇒ String
The public viewability status of the company's profile.
-
#public_profile ⇒ Google::Apis::PartnersV2::PublicProfile
Basic information from a public profile.
-
#ranks ⇒ Array<Google::Apis::PartnersV2::Rank>
Information related to the ranking of the company within the list of companies.
-
#services ⇒ Array<String>
Services the company can help with.
-
#specialization_status ⇒ Array<Google::Apis::PartnersV2::SpecializationStatus>
The list of Google Partners specialization statuses for the company.
-
#website_url ⇒ String
URL of the company's website.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Company
constructor
A new instance of Company.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Company
Returns a new instance of Company
359 360 361 |
# File 'generated/google/apis/partners_v2/classes.rb', line 359 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_websites ⇒ Array<String>
URL of the company's additional websites used to verify the dynamic badges.
These are stored as full URLs as entered by the user, but only the TLD will
be used for the actual verification.
Corresponds to the JSON property additionalWebsites
264 265 266 |
# File 'generated/google/apis/partners_v2/classes.rb', line 264 def additional_websites @additional_websites end |
#auto_approval_email_domains ⇒ Array<String>
Email domains that allow users with a matching email address to get
auto-approved for associating with this company.
Corresponds to the JSON property autoApprovalEmailDomains
337 338 339 |
# File 'generated/google/apis/partners_v2/classes.rb', line 337 def auto_approval_email_domains @auto_approval_email_domains end |
#badge_tier ⇒ String
Partner badge tier
Corresponds to the JSON property badgeTier
326 327 328 |
# File 'generated/google/apis/partners_v2/classes.rb', line 326 def badge_tier @badge_tier end |
#certification_statuses ⇒ Array<Google::Apis::PartnersV2::CertificationStatus>
The list of Google Partners certification statuses for the company.
Corresponds to the JSON property certificationStatuses
284 285 286 |
# File 'generated/google/apis/partners_v2/classes.rb', line 284 def certification_statuses @certification_statuses end |
#company_types ⇒ Array<String>
Company type labels listed on the company's profile.
Corresponds to the JSON property companyTypes
331 332 333 |
# File 'generated/google/apis/partners_v2/classes.rb', line 331 def company_types @company_types end |
#converted_min_monthly_budget ⇒ Google::Apis::PartnersV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property convertedMinMonthlyBudget
247 248 249 |
# File 'generated/google/apis/partners_v2/classes.rb', line 247 def converted_min_monthly_budget @converted_min_monthly_budget end |
#id ⇒ String
The ID of the company.
Corresponds to the JSON property id
289 290 291 |
# File 'generated/google/apis/partners_v2/classes.rb', line 289 def id @id end |
#industries ⇒ Array<String>
Industries the company can help with.
Corresponds to the JSON property industries
252 253 254 |
# File 'generated/google/apis/partners_v2/classes.rb', line 252 def industries @industries end |
#localized_infos ⇒ Array<Google::Apis::PartnersV2::LocalizedCompanyInfo>
The list of localized info for the company.
Corresponds to the JSON property localizedInfos
279 280 281 |
# File 'generated/google/apis/partners_v2/classes.rb', line 279 def localized_infos @localized_infos end |
#locations ⇒ Array<Google::Apis::PartnersV2::Location>
The list of all company locations.
If set, must include the
primary_location
in the list.
Corresponds to the JSON property locations
357 358 359 |
# File 'generated/google/apis/partners_v2/classes.rb', line 357 def locations @locations end |
#name ⇒ String
The name of the company.
Corresponds to the JSON property name
274 275 276 |
# File 'generated/google/apis/partners_v2/classes.rb', line 274 def name @name end |
#original_min_monthly_budget ⇒ Google::Apis::PartnersV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property originalMinMonthlyBudget
294 295 296 |
# File 'generated/google/apis/partners_v2/classes.rb', line 294 def original_min_monthly_budget @original_min_monthly_budget end |
#primary_adwords_manager_account_id ⇒ String
The Primary AdWords Manager Account id.
Corresponds to the JSON property primaryAdwordsManagerAccountId
269 270 271 |
# File 'generated/google/apis/partners_v2/classes.rb', line 269 def primary_adwords_manager_account_id @primary_adwords_manager_account_id end |
#primary_language_code ⇒ String
The primary language code of the company, as defined by
BCP 47
(IETF BCP 47, "Tags for Identifying Languages").
Corresponds to the JSON property primaryLanguageCode
344 345 346 |
# File 'generated/google/apis/partners_v2/classes.rb', line 344 def primary_language_code @primary_language_code end |
#primary_location ⇒ Google::Apis::PartnersV2::Location
A location with address and geographic coordinates. May optionally contain a
detailed (multi-field) version of the address.
Corresponds to the JSON property primaryLocation
305 306 307 |
# File 'generated/google/apis/partners_v2/classes.rb', line 305 def primary_location @primary_location end |
#profile_status ⇒ String
The public viewability status of the company's profile.
Corresponds to the JSON property profileStatus
349 350 351 |
# File 'generated/google/apis/partners_v2/classes.rb', line 349 def profile_status @profile_status end |
#public_profile ⇒ Google::Apis::PartnersV2::PublicProfile
Basic information from a public profile.
Corresponds to the JSON property publicProfile
299 300 301 |
# File 'generated/google/apis/partners_v2/classes.rb', line 299 def public_profile @public_profile end |
#ranks ⇒ Array<Google::Apis::PartnersV2::Rank>
Information related to the ranking of the company within the list of
companies.
Corresponds to the JSON property ranks
316 317 318 |
# File 'generated/google/apis/partners_v2/classes.rb', line 316 def ranks @ranks end |
#services ⇒ Array<String>
Services the company can help with.
Corresponds to the JSON property services
310 311 312 |
# File 'generated/google/apis/partners_v2/classes.rb', line 310 def services @services end |
#specialization_status ⇒ Array<Google::Apis::PartnersV2::SpecializationStatus>
The list of Google Partners specialization statuses for the company.
Corresponds to the JSON property specializationStatus
321 322 323 |
# File 'generated/google/apis/partners_v2/classes.rb', line 321 def specialization_status @specialization_status end |
#website_url ⇒ String
URL of the company's website.
Corresponds to the JSON property websiteUrl
257 258 259 |
# File 'generated/google/apis/partners_v2/classes.rb', line 257 def website_url @website_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 |
# File 'generated/google/apis/partners_v2/classes.rb', line 364 def update!(**args) @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget) @industries = args[:industries] if args.key?(:industries) @website_url = args[:website_url] if args.key?(:website_url) @additional_websites = args[:additional_websites] if args.key?(:additional_websites) @primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id) @name = args[:name] if args.key?(:name) @localized_infos = args[:localized_infos] if args.key?(:localized_infos) @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses) @id = args[:id] if args.key?(:id) @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) @primary_location = args[:primary_location] if args.key?(:primary_location) @services = args[:services] if args.key?(:services) @ranks = args[:ranks] if args.key?(:ranks) @specialization_status = args[:specialization_status] if args.key?(:specialization_status) @badge_tier = args[:badge_tier] if args.key?(:badge_tier) @company_types = args[:company_types] if args.key?(:company_types) @auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains) @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) @profile_status = args[:profile_status] if args.key?(:profile_status) @locations = args[:locations] if args.key?(:locations) end |