Class: Google::Apis::PartnersV2::GetCompanyResponse

Inherits:
Object
  • Object
show all
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

Response message for GetCompany.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetCompanyResponse

Returns a new instance of GetCompanyResponse



1384
1385
1386
# File 'generated/google/apis/partners_v2/classes.rb', line 1384

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#companyGoogle::Apis::PartnersV2::Company

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



1377
1378
1379
# File 'generated/google/apis/partners_v2/classes.rb', line 1377

def company
  @company
end

#response_metadataGoogle::Apis::PartnersV2::ResponseMetadata

Common data that is in each API response. Corresponds to the JSON property responseMetadata



1382
1383
1384
# File 'generated/google/apis/partners_v2/classes.rb', line 1382

def 
  @response_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1389
1390
1391
1392
# File 'generated/google/apis/partners_v2/classes.rb', line 1389

def update!(**args)
  @company = args[:company] if args.key?(:company)
  @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
end