Class: Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatusLastAttempt

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Defined Under Namespace

Classes: Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerResizeRequestStatusLastAttempt

Returns a new instance of InstanceGroupManagerResizeRequestStatusLastAttempt.



18124
18125
18126
# File 'lib/google/apis/compute_alpha/classes.rb', line 18124

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

Instance Attribute Details

#errorGoogle::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatusLastAttempt::Error

Errors that prevented the ResizeRequest to be fulfilled. Corresponds to the JSON property error



18122
18123
18124
# File 'lib/google/apis/compute_alpha/classes.rb', line 18122

def error
  @error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18129
18130
18131
# File 'lib/google/apis/compute_alpha/classes.rb', line 18129

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