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

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

Overview

An entry describing an error that has occurred.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ErrorLogEntry

Returns a new instance of ErrorLogEntry



534
535
536
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 534

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>)


532
533
534
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 532

def error_details
  @error_details
end

#urlString

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

Returns:

  • (String)


527
528
529
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 527

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



539
540
541
542
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 539

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