Class: Google::Apis::GkehubV1beta::ServiceMeshFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ServiceMeshFeatureSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
Service Mesh: Spec for the fleet for the servicemesh feature
Instance Attribute Summary collapse
-
#modernization_compatibility ⇒ String
Optional.
-
#modernization_strategy ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceMeshFeatureSpec
constructor
A new instance of ServiceMeshFeatureSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceMeshFeatureSpec
Returns a new instance of ServiceMeshFeatureSpec.
6575 6576 6577 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#modernization_compatibility ⇒ String
Optional. Specifies modernization compatibility for the fleet.
Corresponds to the JSON property modernizationCompatibility
6568 6569 6570 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6568 def modernization_compatibility @modernization_compatibility end |
#modernization_strategy ⇒ String
Optional. Declares your intended modernization strategy for the fleet.
Corresponds to the JSON property modernizationStrategy
6573 6574 6575 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6573 def modernization_strategy @modernization_strategy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6580 6581 6582 6583 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6580 def update!(**args) @modernization_compatibility = args[:modernization_compatibility] if args.key?(:modernization_compatibility) @modernization_strategy = args[:modernization_strategy] if args.key?(:modernization_strategy) end |