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.
8673 8674 8675 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8673 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
8666 8667 8668 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8666 def details @details end |
#status ⇒ String
Status of recommendation.
Corresponds to the JSON property status
8671 8672 8673 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8671 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8678 8679 8680 8681 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8678 def update!(**args) @details = args[:details] if args.key?(:details) @status = args[:status] if args.key?(:status) end |