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.



359
360
361
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 359

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



357
358
359
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 357

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



364
365
366
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 364

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