Class: Google::Apis::StoragebatchoperationsV1::ErrorLogEntry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

Returns:

  • (Array<String>)


372
373
374
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 372

def error_details
  @error_details
end

#object_uriString

Required. Output only. Object URL. e.g. gs://my_bucket/object.txt Corresponds to the JSON property objectUri

Returns:

  • (String)


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