Class: Google::Apis::ServicemanagementV1::Advice

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/servicemanagement_v1/classes.rb,
lib/google/apis/servicemanagement_v1/representations.rb,
lib/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Advice

Returns a new instance of Advice.



36
37
38
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 36

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


34
35
36
# File 'lib/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 'lib/google/apis/servicemanagement_v1/classes.rb', line 41

def update!(**args)
  @description = args[:description] if args.key?(:description)
end