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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstanceManagedByIgmErrorManagedInstanceError

Returns a new instance of InstanceManagedByIgmErrorManagedInstanceError.



14115
14116
14117
# File 'generated/google/apis/compute_alpha/classes.rb', line 14115

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

Instance Attribute Details

#codeString

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

Returns:

  • (String)


14108
14109
14110
# File 'generated/google/apis/compute_alpha/classes.rb', line 14108

def code
  @code
end

#messageString

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

Returns:

  • (String)


14113
14114
14115
# File 'generated/google/apis/compute_alpha/classes.rb', line 14113

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14120
14121
14122
14123
# File 'generated/google/apis/compute_alpha/classes.rb', line 14120

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