Class: Google::Apis::PartnersV2::ListCompaniesResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::ListCompaniesResponse
 
- 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 ListCompanies.
Instance Attribute Summary collapse
- 
  
    
      #companies  ⇒ Array<Google::Apis::PartnersV2::Company> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of companies. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A token to retrieve next page of results. 
- 
  
    
      #response_metadata  ⇒ Google::Apis::PartnersV2::ResponseMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Common data that is in each API response. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListCompaniesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListCompaniesResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListCompaniesResponse
Returns a new instance of ListCompaniesResponse
| 1236 1237 1238 | # File 'generated/google/apis/partners_v2/classes.rb', line 1236 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#companies ⇒ Array<Google::Apis::PartnersV2::Company>
The list of companies.
Corresponds to the JSON property companies
| 1220 1221 1222 | # File 'generated/google/apis/partners_v2/classes.rb', line 1220 def companies @companies end | 
#next_page_token ⇒ String
A token to retrieve next page of results.
Pass this value in the ListCompaniesRequest.page_token field in the
subsequent call to
ListCompanies to retrieve the
next page of results.
Corresponds to the JSON property nextPageToken
| 1229 1230 1231 | # File 'generated/google/apis/partners_v2/classes.rb', line 1229 def next_page_token @next_page_token end | 
#response_metadata ⇒ Google::Apis::PartnersV2::ResponseMetadata
Common data that is in each API response.
Corresponds to the JSON property responseMetadata
| 1234 1235 1236 | # File 'generated/google/apis/partners_v2/classes.rb', line 1234 def @response_metadata end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1241 1242 1243 1244 1245 | # File 'generated/google/apis/partners_v2/classes.rb', line 1241 def update!(**args) @companies = args[:companies] if args.key?(:companies) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) end |