Class: Google::Apis::PartnersV2::GetCompanyResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::GetCompanyResponse
 
- 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
- 
  
    
      #company  ⇒ Google::Apis::PartnersV2::Company 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A company resource in the Google Partners API. 
- 
  
    
      #response_metadata  ⇒ Google::Apis::PartnersV2::ResponseMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Common data that is in each API response. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GetCompanyResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GetCompanyResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetCompanyResponse
Returns a new instance of GetCompanyResponse
| 916 917 918 | # File 'generated/google/apis/partners_v2/classes.rb', line 916 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#company ⇒ Google::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
| 909 910 911 | # File 'generated/google/apis/partners_v2/classes.rb', line 909 def company @company end | 
#response_metadata ⇒ Google::Apis::PartnersV2::ResponseMetadata
Common data that is in each API response.
Corresponds to the JSON property responseMetadata
| 914 915 916 | # File 'generated/google/apis/partners_v2/classes.rb', line 914 def @response_metadata end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 921 922 923 924 | # File 'generated/google/apis/partners_v2/classes.rb', line 921 def update!(**args) @company = args[:company] if args.key?(:company) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) end |