Class: Google::Apis::ComputeBeta::InstanceManagedByIgmErrorManagedInstanceError

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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.



13326
13327
13328
# File 'generated/google/apis/compute_beta/classes.rb', line 13326

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

Instance Attribute Details

#codeString

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

Returns:

  • (String)


13319
13320
13321
# File 'generated/google/apis/compute_beta/classes.rb', line 13319

def code
  @code
end

#messageString

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

Returns:

  • (String)


13324
13325
13326
# File 'generated/google/apis/compute_beta/classes.rb', line 13324

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13331
13332
13333
13334
# File 'generated/google/apis/compute_beta/classes.rb', line 13331

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