Class: Google::Apis::DatastreamV1::ListStreamObjectsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::ListStreamObjectsResponse
- 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
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#stream_objects ⇒ Array<Google::Apis::DatastreamV1::StreamObject>
List of stream objects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListStreamObjectsResponse
constructor
A new instance of ListStreamObjectsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListStreamObjectsResponse
Returns a new instance of ListStreamObjectsResponse.
972 973 974 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 972 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token
to retrieve the next page.
Corresponds to the JSON property nextPageToken
965 966 967 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 965 def next_page_token @next_page_token end |
#stream_objects ⇒ Array<Google::Apis::DatastreamV1::StreamObject>
List of stream objects.
Corresponds to the JSON property streamObjects
970 971 972 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 970 def stream_objects @stream_objects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
977 978 979 980 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 977 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 |