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.



3525
3526
3527
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3525

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)


3517
3518
3519
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3517

def auth
  @auth
end

#disabledBoolean Also known as: disabled?

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

Returns:

  • (Boolean)


3522
3523
3524
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3522

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3530
3531
3532
3533
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3530

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