Class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ReliabilityProjection
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ReliabilityProjection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recommender_v1/classes.rb,
lib/google/apis/recommender_v1/representations.rb,
lib/google/apis/recommender_v1/representations.rb
Overview
Contains information on the impact of a reliability recommendation.
Instance Attribute Summary collapse
-
#details ⇒ Hash<String,Object>
Per-recommender projection.
-
#risks ⇒ Array<String>
Reliability risks mitigated by this recommendation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1ReliabilityProjection
constructor
A new instance of GoogleCloudRecommenderV1ReliabilityProjection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1ReliabilityProjection
Returns a new instance of GoogleCloudRecommenderV1ReliabilityProjection.
899 900 901 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 899 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ Hash<String,Object>
Per-recommender projection.
Corresponds to the JSON property details
892 893 894 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 892 def details @details end |
#risks ⇒ Array<String>
Reliability risks mitigated by this recommendation.
Corresponds to the JSON property risks
897 898 899 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 897 def risks @risks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
904 905 906 907 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 904 def update!(**args) @details = args[:details] if args.key?(:details) @risks = args[:risks] if args.key?(:risks) end |