Class: Google::Apis::ContainerV1beta1::ControlPlaneEgress
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::ControlPlaneEgress
- 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
-
#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.
3221 3222 3223 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Defines the mode of control plane egress.
Corresponds to the JSON property mode
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 |