Class: Google::Apis::DatastreamV1::ListStreamObjectsResponse

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

Overview

Response containing the objects for a stream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListStreamObjectsResponse

Returns a new instance of ListStreamObjectsResponse.



712
713
714
# File 'lib/google/apis/datastream_v1/classes.rb', line 712

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


705
706
707
# File 'lib/google/apis/datastream_v1/classes.rb', line 705

def next_page_token
  @next_page_token
end

#stream_objectsArray<Google::Apis::DatastreamV1::StreamObject>

List of stream objects. Corresponds to the JSON property streamObjects



710
711
712
# File 'lib/google/apis/datastream_v1/classes.rb', line 710

def stream_objects
  @stream_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



717
718
719
720
# File 'lib/google/apis/datastream_v1/classes.rb', line 717

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