Class: Google::Apis::PubsubV1beta1a::ListTopicsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PubsubV1beta1a::ListTopicsResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pubsub_v1beta1a/classes.rb,
 generated/google/apis/pubsub_v1beta1a/representations.rb,
 generated/google/apis/pubsub_v1beta1a/representations.rb
Overview
Response for the ListTopics method.
Instance Attribute Summary collapse
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If not empty, indicates that there are more topics that match the request, and this value should be passed to the next ListTopicsRequestto continue.
- 
  
    
      #topic  ⇒ Array<Google::Apis::PubsubV1beta1a::Topic> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resulting topics. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListTopicsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListTopicsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListTopicsResponse
Returns a new instance of ListTopicsResponse
| 162 163 164 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 162 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#next_page_token ⇒ String
If not empty, indicates that there are more topics that match the request,
and this value should be passed to the next ListTopicsRequest
to continue.
Corresponds to the JSON property nextPageToken
| 155 156 157 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 155 def next_page_token @next_page_token end | 
#topic ⇒ Array<Google::Apis::PubsubV1beta1a::Topic>
The resulting topics.
Corresponds to the JSON property topic
| 160 161 162 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 160 def topic @topic end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 167 168 169 170 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 167 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @topic = args[:topic] if args.key?(:topic) end |