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.



618
619
620
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 618

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

Instance Attribute Details

#listingsArray<Google::Apis::AnalyticshubV1beta1::Listing>

The list of Listing. Corresponds to the JSON property listings



611
612
613
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 611

def listings
  @listings
end

#next_page_tokenString

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

Returns:

  • (String)


616
617
618
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 616

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



623
624
625
626
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 623

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