Class: Google::Apis::GkehubV1beta::ServiceMeshFeatureSpec

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceMeshFeatureSpec

Returns a new instance of ServiceMeshFeatureSpec.



6567
6568
6569
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6567

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)


6565
6566
6567
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6565

def modernization_compatibility
  @modernization_compatibility
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6572
6573
6574
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6572

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