Class: Google::Cloud::Recommender::V1::Insight
- Inherits:
-
Object
- Object
- Google::Cloud::Recommender::V1::Insight
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/recommender/v1/insight.rb
Overview
An insight along with the information used to derive the insight. The insight may have associated recomendations as well.
Defined Under Namespace
Modules: Category Classes: RecommendationReference
Instance Attribute Summary collapse
-
#associated_recommendations ⇒ ::Array<::Google::Cloud::Recommender::V1::Insight::RecommendationReference>
Recommendations derived from this insight.
-
#category ⇒ ::Google::Cloud::Recommender::V1::Insight::Category
Category being targeted by the insight.
-
#content ⇒ ::Google::Protobuf::Struct
A struct of custom fields to explain the insight.
-
#description ⇒ ::String
Free-form human readable summary in English.
-
#etag ⇒ ::String
Fingerprint of the Insight.
-
#insight_subtype ⇒ ::String
Insight subtype.
-
#last_refresh_time ⇒ ::Google::Protobuf::Timestamp
Timestamp of the latest data used to generate the insight.
-
#name ⇒ ::String
Name of the insight.
-
#observation_period ⇒ ::Google::Protobuf::Duration
Observation period that led to the insight.
-
#state_info ⇒ ::Google::Cloud::Recommender::V1::InsightStateInfo
Information state and metadata.
-
#target_resources ⇒ ::Array<::String>
Fully qualified resource names that this insight is targeting.
Instance Attribute Details
#associated_recommendations ⇒ ::Array<::Google::Cloud::Recommender::V1::Insight::RecommendationReference>
Returns Recommendations derived from this insight.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#category ⇒ ::Google::Cloud::Recommender::V1::Insight::Category
Returns Category being targeted by the insight.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#content ⇒ ::Google::Protobuf::Struct
Returns A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000".
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#description ⇒ ::String
Returns Free-form human readable summary in English. The maximum length is 500 characters.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#etag ⇒ ::String
Returns Fingerprint of the Insight. Provides optimistic locking when updating states.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#insight_subtype ⇒ ::String
Returns Insight subtype. Insight content schema will be stable for a given subtype.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#last_refresh_time ⇒ ::Google::Protobuf::Timestamp
Returns Timestamp of the latest data used to generate the insight.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#name ⇒ ::String
Returns Name of the insight.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#observation_period ⇒ ::Google::Protobuf::Duration
Returns Observation period that led to the insight. The source data used to generate the insight ends at last_refresh_time and begins at (last_refresh_time - observation_period).
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#state_info ⇒ ::Google::Cloud::Recommender::V1::InsightStateInfo
Returns Information state and metadata.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |
#target_resources ⇒ ::Array<::String>
Returns Fully qualified resource names that this insight is targeting.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'proto_docs/google/cloud/recommender/v1/insight.rb', line 64 class Insight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reference to an associated recommendation. # @!attribute [rw] recommendation # @return [::String] # Recommendation resource name, e.g. # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] class RecommendationReference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Insight category. module Category # Unspecified category. CATEGORY_UNSPECIFIED = 0 # The insight is related to cost. COST = 1 # The insight is related to security. SECURITY = 2 # The insight is related to performance. PERFORMANCE = 3 # This insight is related to manageability. MANAGEABILITY = 4 end end |