Class: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error

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

Overview

Errors that occurred during the instance update.

Defined Under Namespace

Classes: Error

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

Returns a new instance of Error



74
75
76
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 74

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#errorsArray<Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error::Error>

[Output Only] The array of errors encountered while processing this operation. Corresponds to the JSON property errors



72
73
74
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 72

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



79
80
81
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 79

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