Class: Google::Apis::StoragetransferV1::ErrorLogEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/storagetransfer_v1/classes.rb,
lib/google/apis/storagetransfer_v1/representations.rb,
lib/google/apis/storagetransfer_v1/representations.rb

Overview

An entry describing an error that has occurred.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ErrorLogEntry

Returns a new instance of ErrorLogEntry.



406
407
408
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 406

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

Instance Attribute Details

#error_detailsArray<String>

A list of messages that carry the error details. Corresponds to the JSON property errorDetails

Returns:

  • (Array<String>)


398
399
400
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 398

def error_details
  @error_details
end

#urlString

Required. A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated. Corresponds to the JSON property url

Returns:

  • (String)


404
405
406
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 404

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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