class Google::Apis::PartnersV2::ListCompaniesResponse
Response message for ListCompanies.
Attributes
companies[RW]
The list of companies. Corresponds to the JSON property `companies` @return [Array<Google::Apis::PartnersV2::Company>]
next_page_token[RW]
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` @return [String]
response_metadata[RW]
Common data that is in each API response. Corresponds to the JSON property `responseMetadata` @return [Google::Apis::PartnersV2::ResponseMetadata]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/partners_v2/classes.rb, line 840 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/partners_v2/classes.rb, line 845 def update!(**args) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) @companies = args[:companies] if args.key?(:companies) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end