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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Advice
Returns a new instance of Advice
1654 1655 1656 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1654 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
1652 1653 1654 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1652 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1659 1660 1661 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1659 def update!(**args) @description = args[:description] if args.key?(:description) end |