Class: Google::Apis::ComputeAlpha::InstanceManagedByIgmErrorInstanceActionDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceManagedByIgmErrorInstanceActionDetails

Returns a new instance of InstanceManagedByIgmErrorInstanceActionDetails.



20147
20148
20149
# File 'lib/google/apis/compute_alpha/classes.rb', line 20147

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

Instance Attribute Details

#actionString

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Corresponds to the JSON property action

Returns:

  • (String)


20131
20132
20133
# File 'lib/google/apis/compute_alpha/classes.rb', line 20131

def action
  @action
end

#instanceString

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created. Corresponds to the JSON property instance

Returns:

  • (String)


20137
20138
20139
# File 'lib/google/apis/compute_alpha/classes.rb', line 20137

def instance
  @instance
end

#versionGoogle::Apis::ComputeAlpha::ManagedInstanceVersion

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created. Corresponds to the JSON property version



20145
20146
20147
# File 'lib/google/apis/compute_alpha/classes.rb', line 20145

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20152
20153
20154
20155
20156
# File 'lib/google/apis/compute_alpha/classes.rb', line 20152

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