Class: Google::Apis::AutoscalerV1beta2::Operation::Error

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

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.



457
458
459
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 457

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

Instance Attribute Details

#errorsArray<Google::Apis::AutoscalerV1beta2::Operation::Error::Error>

Corresponds to the JSON property errors



455
456
457
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 455

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



462
463
464
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 462

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