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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#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 '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