Class: Google::Apis::JobsV3::ListCompaniesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/jobs_v3/classes.rb,
lib/google/apis/jobs_v3/representations.rb,
lib/google/apis/jobs_v3/representations.rb

Overview

Output only. The List companies response object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCompaniesResponse

Returns a new instance of ListCompaniesResponse.



1544
1545
1546
# File 'lib/google/apis/jobs_v3/classes.rb', line 1544

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

Instance Attribute Details

#companiesArray<Google::Apis::JobsV3::Company>

Companies for the current client. Corresponds to the JSON property companies

Returns:



1531
1532
1533
# File 'lib/google/apis/jobs_v3/classes.rb', line 1531

def companies
  @companies
end

#metadataGoogle::Apis::JobsV3::ResponseMetadata

Output only. Additional information returned to client, such as debugging information. Corresponds to the JSON property metadata



1537
1538
1539
# File 'lib/google/apis/jobs_v3/classes.rb', line 1537

def 
  @metadata
end

#next_page_tokenString

A token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1542
1543
1544
# File 'lib/google/apis/jobs_v3/classes.rb', line 1542

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1549
1550
1551
1552
1553
# File 'lib/google/apis/jobs_v3/classes.rb', line 1549

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