Class: Google::Apis::PubsubV1::ListSchemasResponse

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

Overview

Response for the ListSchemas method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSchemasResponse

Returns a new instance of ListSchemasResponse.



512
513
514
# File 'lib/google/apis/pubsub_v1/classes.rb', line 512

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

Instance Attribute Details

#next_page_tokenString

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


505
506
507
# File 'lib/google/apis/pubsub_v1/classes.rb', line 505

def next_page_token
  @next_page_token
end

#schemasArray<Google::Apis::PubsubV1::Schema>

The resulting schemas. Corresponds to the JSON property schemas

Returns:



510
511
512
# File 'lib/google/apis/pubsub_v1/classes.rb', line 510

def schemas
  @schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



517
518
519
520
# File 'lib/google/apis/pubsub_v1/classes.rb', line 517

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