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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

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


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