Class: Google::Apis::ContainerV1::ControlPlaneEgress
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ControlPlaneEgress
- 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
-
#mode ⇒ String
Defines the mode of control plane egress.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ControlPlaneEgress
constructor
A new instance of ControlPlaneEgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#mode ⇒ String
Defines the mode of control plane egress.
Corresponds to the JSON property mode
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 |