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
-
#certification_statuses ⇒ Array<Google::Apis::PartnersV2::CertificationStatus>
The list of Google Partners certification statuses for the company.
-
#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 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.
-
#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.
-
#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.
555 556 557 |
# File 'generated/google/apis/partners_v2/classes.rb', line 555 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certification_statuses ⇒ Array<Google::Apis::PartnersV2::CertificationStatus>
The list of Google Partners certification statuses for the company.
Corresponds to the JSON property certificationStatuses
533 534 535 |
# File 'generated/google/apis/partners_v2/classes.rb', line 533 def certification_statuses @certification_statuses end |
#converted_min_monthly_budget ⇒ Google::Apis::PartnersV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property convertedMinMonthlyBudget
518 519 520 |
# File 'generated/google/apis/partners_v2/classes.rb', line 518 def converted_min_monthly_budget @converted_min_monthly_budget end |
#id ⇒ String
The ID of the company.
Corresponds to the JSON property id
498 499 500 |
# File 'generated/google/apis/partners_v2/classes.rb', line 498 def id @id end |
#industries ⇒ Array<String>
Industries the company can help with.
Corresponds to the JSON property industries
548 549 550 |
# File 'generated/google/apis/partners_v2/classes.rb', line 548 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
508 509 510 |
# File 'generated/google/apis/partners_v2/classes.rb', line 508 def localized_infos @localized_infos end |
#locations ⇒ Array<Google::Apis::PartnersV2::Location>
The list of company locations.
Corresponds to the JSON property locations
513 514 515 |
# File 'generated/google/apis/partners_v2/classes.rb', line 513 def locations @locations end |
#name ⇒ String
The name of the company.
Corresponds to the JSON property name
503 504 505 |
# File 'generated/google/apis/partners_v2/classes.rb', line 503 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
523 524 525 |
# File 'generated/google/apis/partners_v2/classes.rb', line 523 def original_min_monthly_budget @original_min_monthly_budget end |
#public_profile ⇒ Google::Apis::PartnersV2::PublicProfile
Basic information from a public profile.
Corresponds to the JSON property publicProfile
528 529 530 |
# File 'generated/google/apis/partners_v2/classes.rb', line 528 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
538 539 540 |
# File 'generated/google/apis/partners_v2/classes.rb', line 538 def ranks @ranks end |
#services ⇒ Array<String>
Services the company can help with.
Corresponds to the JSON property services
553 554 555 |
# File 'generated/google/apis/partners_v2/classes.rb', line 553 def services @services end |
#website_url ⇒ String
URL of the company's website.
Corresponds to the JSON property websiteUrl
543 544 545 |
# File 'generated/google/apis/partners_v2/classes.rb', line 543 def website_url @website_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
560 561 562 563 564 565 566 567 568 569 570 571 572 573 |
# 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 |