Class: Google::Apis::ComputeAlpha::AutoscalerStatusDetails

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) ⇒ AutoscalerStatusDetails

Returns a new instance of AutoscalerStatusDetails



2007
2008
2009
# File 'generated/google/apis/compute_alpha/classes.rb', line 2007

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

Instance Attribute Details

#messageString

The status message. Corresponds to the JSON property message

Returns:

  • (String)


2000
2001
2002
# File 'generated/google/apis/compute_alpha/classes.rb', line 2000

def message
  @message
end

#typeString

The type of error returned. Corresponds to the JSON property type

Returns:

  • (String)


2005
2006
2007
# File 'generated/google/apis/compute_alpha/classes.rb', line 2005

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2012
2013
2014
2015
# File 'generated/google/apis/compute_alpha/classes.rb', line 2012

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