Class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::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

[Output Only] Errors that occurred during the rolling 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



597
598
599
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 597

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

Instance Attribute Details

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

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



595
596
597
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 595

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



602
603
604
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 602

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