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.



921
922
923
# File 'lib/google/apis/datastream_v1/classes.rb', line 921

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)


914
915
916
# File 'lib/google/apis/datastream_v1/classes.rb', line 914

def next_page_token
  @next_page_token
end

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

List of stream objects. Corresponds to the JSON property streamObjects



919
920
921
# File 'lib/google/apis/datastream_v1/classes.rb', line 919

def stream_objects
  @stream_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



926
927
928
929
# File 'lib/google/apis/datastream_v1/classes.rb', line 926

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