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.



580
581
582
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 580

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

Instance Attribute Details

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

The list of Listing. Corresponds to the JSON property listings



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

def listings
  @listings
end

#next_page_tokenString

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

Returns:

  • (String)


578
579
580
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 578

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



585
586
587
588
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 585

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