Class: Google::Apis::DatastreamV1alpha1::FetchErrorsResponse

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 message for a 'FetchErrors' response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchErrorsResponse

Returns a new instance of FetchErrorsResponse.



414
415
416
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 414

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

Instance Attribute Details

#errorsArray<Google::Apis::DatastreamV1alpha1::Error>

The list of errors on the Stream. Corresponds to the JSON property errors



412
413
414
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 412

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



419
420
421
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 419

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