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



13758
13759
13760
# File 'generated/google/apis/compute_alpha/classes.rb', line 13758

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

Instance Attribute Details

#codeString

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

Returns:

  • (String)


13751
13752
13753
# File 'generated/google/apis/compute_alpha/classes.rb', line 13751

def code
  @code
end

#messageString

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

Returns:

  • (String)


13756
13757
13758
# File 'generated/google/apis/compute_alpha/classes.rb', line 13756

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13763
13764
13765
13766
# File 'generated/google/apis/compute_alpha/classes.rb', line 13763

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