Class: Google::Apis::AnalyticshubV1::ListSubscriptionsResponse

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

Overview

Message for response to the listing of subscriptions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSubscriptionsResponse

Returns a new instance of ListSubscriptionsResponse.



1241
1242
1243
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1241

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

Instance Attribute Details

#next_page_tokenString

Next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1234
1235
1236
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1234

def next_page_token
  @next_page_token
end

#subscriptionsArray<Google::Apis::AnalyticshubV1::Subscription>

The list of subscriptions. Corresponds to the JSON property subscriptions



1239
1240
1241
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1239

def subscriptions
  @subscriptions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1246
1247
1248
1249
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1246

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