Class: Google::Apis::ContainerV1beta1::IstioConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

Configuration options for Istio addon.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IstioConfig

Returns a new instance of IstioConfig.



2625
2626
2627
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2625

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

Instance Attribute Details

#authString

The specified Istio auth mode, either none, or mutual TLS. Corresponds to the JSON property auth

Returns:

  • (String)


2617
2618
2619
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2617

def auth
  @auth
end

#disabledBoolean Also known as: disabled?

Whether Istio is enabled for this cluster. Corresponds to the JSON property disabled

Returns:

  • (Boolean)


2622
2623
2624
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2622

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2630
2631
2632
2633
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2630

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