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.



3217
3218
3219
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3217

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)


3209
3210
3211
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3209

def auth
  @auth
end

#disabledBoolean Also known as: disabled?

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

Returns:

  • (Boolean)


3214
3215
3216
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3214

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3222
3223
3224
3225
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3222

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