Class: Google::Apis::JobsV4::ListCompaniesResponse

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

Overview

The List companies response object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCompaniesResponse

Returns a new instance of ListCompaniesResponse.



1492
1493
1494
# File 'generated/google/apis/jobs_v4/classes.rb', line 1492

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

Instance Attribute Details

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

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

Returns:



1480
1481
1482
# File 'generated/google/apis/jobs_v4/classes.rb', line 1480

def companies
  @companies
end

#metadataGoogle::Apis::JobsV4::ResponseMetadata

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



1485
1486
1487
# File 'generated/google/apis/jobs_v4/classes.rb', line 1485

def 
  @metadata
end

#next_page_tokenString

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

Returns:

  • (String)


1490
1491
1492
# File 'generated/google/apis/jobs_v4/classes.rb', line 1490

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1497
1498
1499
1500
1501
# File 'generated/google/apis/jobs_v4/classes.rb', line 1497

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