Class: Google::Apis::ServicemanagementV1::Advice
- Inherits:
-
Object
- Object
- Google::Apis::ServicemanagementV1::Advice
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb
Overview
Generated advice about this change, used for providing more information about how a change will affect the existing service.
Instance Attribute Summary collapse
-
#description ⇒ String
Useful description for why this advice was applied and what actions should be taken to mitigate any implied risks.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Advice
constructor
A new instance of Advice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Advice
Returns a new instance of Advice.
36 37 38 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 36 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Useful description for why this advice was applied and what actions should be
taken to mitigate any implied risks.
Corresponds to the JSON property description
34 35 36 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 34 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41 42 43 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 41 def update!(**args) @description = args[:description] if args.key?(:description) end |