Class: Google::Apis::AnalyticshubV1beta1::ListListingsResponse

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

Overview

Message for response to the list of Listings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListListingsResponse

Returns a new instance of ListListingsResponse.



567
568
569
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 567

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

Instance Attribute Details

#listings ⇒ Array<Google::Apis::AnalyticshubV1beta1::Listing>

The list of Listing. Corresponds to the JSON property listings



560
561
562
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 560

def listings
  @listings
end

#next_page_token ⇒ String

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

Returns:

  • (String)


565
566
567
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 565

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



572
573
574
575
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 572

def update!(**args)
  @listings = args[:listings] if args.key?(:listings)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end