Class: Google::Apis::DatastreamV1alpha1::ListStreamObjectsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/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.



755
756
757
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 755

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)


748
749
750
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 748

def next_page_token
  @next_page_token
end

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

List of stream objects. Corresponds to the JSON property streamObjects



753
754
755
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 753

def stream_objects
  @stream_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



760
761
762
763
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 760

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