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.



1990
1991
1992
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1990

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)


1982
1983
1984
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1982

def auth
  @auth
end

#disabledBoolean Also known as: disabled?

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

Returns:

  • (Boolean)


1987
1988
1989
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1987

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1995
1996
1997
1998
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1995

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