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.
379 380 381 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 379 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
372 373 374 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 372 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
377 378 379 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 377 def object_uri @object_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
384 385 386 387 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 384 def update!(**args) @error_details = args[:error_details] if args.key?(:error_details) @object_uri = args[:object_uri] if args.key?(:object_uri) end |