Class: Google::Apis::ContainerV1beta1::ControlPlaneEgress

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

ControlPlaneEgress defines the settings needed to enable control plane egress control.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ControlPlaneEgress

Returns a new instance of ControlPlaneEgress.



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

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

Instance Attribute Details

#modeString

Defines the mode of control plane egress. Corresponds to the JSON property mode

Returns:

  • (String)


3219
3220
3221
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3219

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3226
3227
3228
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3226

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