Class: Google::Apis::ComputeAlpha::InstanceManagedByIgmErrorManagedInstanceError

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
more...

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceManagedByIgmErrorManagedInstanceError

Returns a new instance of InstanceManagedByIgmErrorManagedInstanceError.

[View source]

21714
21715
21716
# File 'lib/google/apis/compute_alpha/classes.rb', line 21714

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

Instance Attribute Details

#codeString

[Output Only] Error code. Corresponds to the JSON property code

Returns:

  • (String)

21707
21708
21709
# File 'lib/google/apis/compute_alpha/classes.rb', line 21707

def code
  @code
end

#messageString

[Output Only] Error message. Corresponds to the JSON property message

Returns:

  • (String)

21712
21713
21714
# File 'lib/google/apis/compute_alpha/classes.rb', line 21712

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

21719
21720
21721
21722
# File 'lib/google/apis/compute_alpha/classes.rb', line 21719

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