Class: Google::Apis::ComputeV1::AutoscalerStatusDetails

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



1702
1703
1704
# File 'generated/google/apis/compute_v1/classes.rb', line 1702

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

Instance Attribute Details

#messageString

The status message. Corresponds to the JSON property message

Returns:

  • (String)


1695
1696
1697
# File 'generated/google/apis/compute_v1/classes.rb', line 1695

def message
  @message
end

#typeString

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

Returns:

  • (String)


1700
1701
1702
# File 'generated/google/apis/compute_v1/classes.rb', line 1700

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1707
1708
1709
1710
# File 'generated/google/apis/compute_v1/classes.rb', line 1707

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