Class: Google::Apis::AnalyticshubV1::ListSharedResourceSubscriptionsResponse

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 shared resource subscriptions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSharedResourceSubscriptionsResponse

Returns a new instance of ListSharedResourceSubscriptionsResponse.



647
648
649
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 647

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

Instance Attribute Details

#next_page_tokenString

Next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


640
641
642
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 640

def next_page_token
  @next_page_token
end

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

The list of subscriptions. Corresponds to the JSON property sharedResourceSubscriptions



645
646
647
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 645

def shared_resource_subscriptions
  @shared_resource_subscriptions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



652
653
654
655
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 652

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