Class: Google::Cloud::Recommender::V1::Recommendation
- Inherits:
-
Object
- Object
- Google::Cloud::Recommender::V1::Recommendation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/recommender/v1/recommendation.rb
Overview
A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc
Defined Under Namespace
Classes: InsightReference
Instance Attribute Summary collapse
-
#additional_impact ⇒ ::Array<::Google::Cloud::Recommender::V1::Impact>
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category.
-
#associated_insights ⇒ ::Array<::Google::Cloud::Recommender::V1::Recommendation::InsightReference>
Insights that led to this recommendation.
-
#content ⇒ ::Google::Cloud::Recommender::V1::RecommendationContent
Content of the recommendation describing recommended changes to resources.
-
#description ⇒ ::String
Free-form human readable summary in English.
-
#etag ⇒ ::String
Fingerprint of the Recommendation.
-
#last_refresh_time ⇒ ::Google::Protobuf::Timestamp
Last time this recommendation was refreshed by the system that created it in the first place.
-
#name ⇒ ::String
Name of recommendation.
-
#primary_impact ⇒ ::Google::Cloud::Recommender::V1::Impact
The primary impact that this recommendation can have while trying to optimize for one category.
-
#recommender_subtype ⇒ ::String
Contains an identifier for a subtype of recommendations produced for the same recommender.
-
#state_info ⇒ ::Google::Cloud::Recommender::V1::RecommendationStateInfo
Information for state.
Instance Attribute Details
#additional_impact ⇒ ::Array<::Google::Cloud::Recommender::V1::Impact>
Returns Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#associated_insights ⇒ ::Array<::Google::Cloud::Recommender::V1::Recommendation::InsightReference>
Returns Insights that led to this recommendation.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#content ⇒ ::Google::Cloud::Recommender::V1::RecommendationContent
Returns Content of the recommendation describing recommended changes to resources.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#description ⇒ ::String
Returns Free-form human readable summary in English. The maximum length is 500 characters.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#etag ⇒ ::String
Returns Fingerprint of the Recommendation. Provides optimistic locking when updating states.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#last_refresh_time ⇒ ::Google::Protobuf::Timestamp
Returns Last time this recommendation was refreshed by the system that created it in the first place.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns Name of recommendation.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#primary_impact ⇒ ::Google::Cloud::Recommender::V1::Impact
Returns The primary impact that this recommendation can have while trying to optimize for one category.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#recommender_subtype ⇒ ::String
Returns Contains an identifier for a subtype of recommendations produced for the
same recommender. Subtype is a function of content and impact, meaning a
new subtype might be added when significant changes to content or
primary_impact.category are introduced. See the Recommenders section
to see a list of subtypes for a given Recommender.
Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE".
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#state_info ⇒ ::Google::Cloud::Recommender::V1::RecommendationStateInfo
Returns Information for state. Contains state and metadata.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 70 class Recommendation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated insight. # @!attribute [rw] insight # @return [::String] # Insight resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID] class InsightReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |