Class: Google::Apis::JobsV2::ListCompaniesResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::ListCompaniesResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v2/classes.rb,
 generated/google/apis/jobs_v2/representations.rb,
 generated/google/apis/jobs_v2/representations.rb
Overview
Output only. The List companies response object.
Instance Attribute Summary collapse
- 
  
    
      #companies  ⇒ Array<Google::Apis::JobsV2::Company> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Companies for the current client. 
- 
  
    
      #metadata  ⇒ Google::Apis::JobsV2::ResponseMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A token to retrieve the next page of results. 
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
| 2448 2449 2450 | # File 'generated/google/apis/jobs_v2/classes.rb', line 2448 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#companies ⇒ Array<Google::Apis::JobsV2::Company>
Companies for the current client.
Corresponds to the JSON property companies
| 2434 2435 2436 | # File 'generated/google/apis/jobs_v2/classes.rb', line 2434 def companies @companies end | 
#metadata ⇒ Google::Apis::JobsV2::ResponseMetadata
Output only.
Additional information returned to client, such as debugging
information.
Corresponds to the JSON property metadata
| 2441 2442 2443 | # File 'generated/google/apis/jobs_v2/classes.rb', line 2441 def @metadata end | 
#next_page_token ⇒ String
A token to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
| 2446 2447 2448 | # File 'generated/google/apis/jobs_v2/classes.rb', line 2446 def next_page_token @next_page_token end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2453 2454 2455 2456 2457 | # File 'generated/google/apis/jobs_v2/classes.rb', line 2453 def update!(**args) @companies = args[:companies] if args.key?(:companies) @metadata = args[:metadata] if args.key?(:metadata) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |