Class: Google::Apis::CloudbillingV1beta::Insight
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::Insight
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb
Overview
e.g. insight: title: "Cost Increase (The Explanation)" description: "Your cost increase was driven by Vertex AI Online Prediction in us-central1..." severity: INFO
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#severity ⇒ String
Output only.
-
#title ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Insight
constructor
A new instance of Insight.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Insight
Returns a new instance of Insight.
1933 1934 1935 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1933 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. The description of the insight.
Corresponds to the JSON property description
1920 1921 1922 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1920 def description @description end |
#severity ⇒ String
Output only. The severity of the insight, used for UI rendering (e.g., color-
coding).
Corresponds to the JSON property severity
1926 1927 1928 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1926 def severity @severity end |
#title ⇒ String
Output only. The title of the insight.
Corresponds to the JSON property title
1931 1932 1933 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1931 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1938 1939 1940 1941 1942 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1938 def update!(**args) @description = args[:description] if args.key?(:description) @severity = args[:severity] if args.key?(:severity) @title = args[:title] if args.key?(:title) end |