Class: Google::Apis::ComputeAlpha::CalendarModeExtensionAdviceResponseNotRecommendedReason

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Overview

Information about why no recommendation was provided.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CalendarModeExtensionAdviceResponseNotRecommendedReason

Returns a new instance of CalendarModeExtensionAdviceResponseNotRecommendedReason.



8642
8643
8644
# File 'lib/google/apis/compute_alpha/classes.rb', line 8642

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

Instance Attribute Details

#detailsString

Details (human readable) describing why the recommendation was not provided. For example, if the status is CONDITION_NOT_MET, then this field will contain information about why the requested extension duration is not eligible. Corresponds to the JSON property details

Returns:

  • (String)


8635
8636
8637
# File 'lib/google/apis/compute_alpha/classes.rb', line 8635

def details
  @details
end

#statusString

Status of recommendation. Corresponds to the JSON property status

Returns:

  • (String)


8640
8641
8642
# File 'lib/google/apis/compute_alpha/classes.rb', line 8640

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8647
8648
8649
8650
# File 'lib/google/apis/compute_alpha/classes.rb', line 8647

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