Class: Google::Apis::JobsV3p1beta1::ListCompaniesResponse

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

Overview

Output only. The List companies response object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListCompaniesResponse

Returns a new instance of ListCompaniesResponse



1870
1871
1872
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1870

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

Instance Attribute Details

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

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



1857
1858
1859
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1857

def companies
  @companies
end

#metadataGoogle::Apis::JobsV3p1beta1::ResponseMetadata

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



1863
1864
1865
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1863

def 
  @metadata
end

#next_page_tokenString

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

Returns:

  • (String)


1868
1869
1870
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1868

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1875
1876
1877
1878
1879
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1875

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