Class: Google::Apis::ContainerV1::ControlPlaneEgress

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/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.



2895
2896
2897
# File 'lib/google/apis/container_v1/classes.rb', line 2895

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)


2893
2894
2895
# File 'lib/google/apis/container_v1/classes.rb', line 2893

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2900
2901
2902
# File 'lib/google/apis/container_v1/classes.rb', line 2900

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