Class: Google::Apis::StoragetransferV1::ErrorLogEntry
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::ErrorLogEntry
- 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
-
#error_details ⇒ Array<String>
A list of messages that carry the error details.
-
#url ⇒ String
A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ErrorLogEntry
constructor
A new instance of ErrorLogEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ErrorLogEntry
Returns a new instance of ErrorLogEntry
668 669 670 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 668 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_details ⇒ Array<String>
A list of messages that carry the error details.
Corresponds to the JSON property errorDetails
666 667 668 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 666 def error_details @error_details end |
#url ⇒ String
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
661 662 663 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 661 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
673 674 675 676 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 673 def update!(**args) @url = args[:url] if args.key?(:url) @error_details = args[:error_details] if args.key?(:error_details) end |