Class: Google::Apis::ComputeAlpha::CalendarModeExtensionAdviceResponseNotRecommendedReason
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CalendarModeExtensionAdviceResponseNotRecommendedReason
- 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
-
#details ⇒ String
Details (human readable) describing why the recommendation was not provided.
-
#status ⇒ String
Status of recommendation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CalendarModeExtensionAdviceResponseNotRecommendedReason
constructor
A new instance of CalendarModeExtensionAdviceResponseNotRecommendedReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#details ⇒ String
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
8635 8636 8637 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8635 def details @details end |
#status ⇒ String
Status of recommendation.
Corresponds to the JSON property status
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 |