Class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ServiceMeshFeatureSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/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.
7088 7089 7090 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7088 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
7081 7082 7083 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7081 def modernization_compatibility @modernization_compatibility end |
#modernization_strategy ⇒ String
Optional. Declares your intended modernization strategy for the fleet.
Corresponds to the JSON property modernizationStrategy
7086 7087 7088 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7086 def modernization_strategy @modernization_strategy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7093 7094 7095 7096 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7093 def update!(**args) @modernization_compatibility = args[:modernization_compatibility] if args.key?(:modernization_compatibility) @modernization_strategy = args[:modernization_strategy] if args.key?(:modernization_strategy) end |