Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse

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

Overview

Response Message for ListSubscribers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1ListSubscribersResponse

Returns a new instance of GoogleCloudChannelV1ListSubscribersResponse.



1121
1122
1123
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1121

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

Instance Attribute Details

#next_page_tokenString

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1109
1110
1111
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1109

def next_page_token
  @next_page_token
end

#service_accountsArray<String>

List of service accounts which have subscriber access to the topic. Corresponds to the JSON property serviceAccounts

Returns:

  • (Array<String>)


1114
1115
1116
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1114

def service_accounts
  @service_accounts
end

#topicString

Name of the topic registered with the reseller. Corresponds to the JSON property topic

Returns:

  • (String)


1119
1120
1121
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1119

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1126
1127
1128
1129
1130
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1126

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