class Google::Apis::AutoscalerV1beta2::Operation::Error::Error

Attributes

code[RW]

Corresponds to the JSON property `code` @return [String]

location[RW]

Corresponds to the JSON property `location` @return [String]

message[RW]

Corresponds to the JSON property `message` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/autoscaler_v1beta2/classes.rb, line 479
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/autoscaler_v1beta2/classes.rb, line 484
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @location = args[:location] if args.key?(:location)
  @message = args[:message] if args.key?(:message)
end