Class: Google::Apis::ContainerV1beta1::PdbBlockedPod
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::PdbBlockedPod
- 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
The namespace/name of the pod whose eviction is blocked by PDB.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the pod.
-
#namespace ⇒ String
The namespace of the pod.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PdbBlockedPod
constructor
A new instance of PdbBlockedPod.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PdbBlockedPod
Returns a new instance of PdbBlockedPod.
7619 7620 7621 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7619 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the pod.
Corresponds to the JSON property name
7612 7613 7614 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7612 def name @name end |
#namespace ⇒ String
The namespace of the pod.
Corresponds to the JSON property namespace
7617 7618 7619 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7617 def namespace @namespace end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7624 7625 7626 7627 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7624 def update!(**args) @name = args[:name] if args.key?(:name) @namespace = args[:namespace] if args.key?(:namespace) end |