Class: Google::Apis::StoragebatchoperationsV1::ErrorLogEntry
- Inherits:
-
Object
- Object
- Google::Apis::StoragebatchoperationsV1::ErrorLogEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storagebatchoperations_v1/classes.rb,
lib/google/apis/storagebatchoperations_v1/representations.rb,
lib/google/apis/storagebatchoperations_v1/representations.rb
Overview
An entry describing an error that has occurred.
Instance Attribute Summary collapse
-
#error_details ⇒ Array<String>
Optional.
-
#object_uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ErrorLogEntry
constructor
A new instance of ErrorLogEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ErrorLogEntry
Returns a new instance of ErrorLogEntry.
426 427 428 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_details ⇒ Array<String>
Optional. Output only. At most 5 error log entries are recorded for a given
error code for a job.
Corresponds to the JSON property errorDetails
419 420 421 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 419 def error_details @error_details end |
#object_uri ⇒ String
Required. Output only. Object URL. e.g. gs://my_bucket/object.txt
Corresponds to the JSON property objectUri
424 425 426 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 424 def object_uri @object_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
431 432 433 434 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 431 def update!(**args) @error_details = args[:error_details] if args.key?(:error_details) @object_uri = args[:object_uri] if args.key?(:object_uri) end |