Class: Google::Apis::GkehubV1::ServiceMeshFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::ServiceMeshFeatureSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/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.
6428 6429 6430 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 6428 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
6421 6422 6423 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 6421 def modernization_compatibility @modernization_compatibility end |
#modernization_strategy ⇒ String
Optional. Declares your intended modernization strategy for the fleet.
Corresponds to the JSON property modernizationStrategy
6426 6427 6428 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 6426 def modernization_strategy @modernization_strategy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6433 6434 6435 6436 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 6433 def update!(**args) @modernization_compatibility = args[:modernization_compatibility] if args.key?(:modernization_compatibility) @modernization_strategy = args[:modernization_strategy] if args.key?(:modernization_strategy) end |