Class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureSpec

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceMeshFeatureSpec

Returns a new instance of ServiceMeshFeatureSpec.



7041
7042
7043
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7041

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#modernization_compatibilityString

Optional. Specifies modernization compatibility for the fleet. Corresponds to the JSON property modernizationCompatibility

Returns:

  • (String)


7034
7035
7036
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7034

def modernization_compatibility
  @modernization_compatibility
end

#modernization_strategyString

Optional. Declares your intended modernization strategy for the fleet. Corresponds to the JSON property modernizationStrategy

Returns:

  • (String)


7039
7040
7041
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7039

def modernization_strategy
  @modernization_strategy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7046
7047
7048
7049
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7046

def update!(**args)
  @modernization_compatibility = args[:modernization_compatibility] if args.key?(:modernization_compatibility)
  @modernization_strategy = args[:modernization_strategy] if args.key?(:modernization_strategy)
end