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.



2948
2949
2950
# File 'lib/google/apis/container_v1/classes.rb', line 2948

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)


2946
2947
2948
# File 'lib/google/apis/container_v1/classes.rb', line 2946

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2953
2954
2955
# File 'lib/google/apis/container_v1/classes.rb', line 2953

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