Class: Google::Apis::GkebackupV1::Namespaces
- Inherits:
-
Object
- Object
- Google::Apis::GkebackupV1::Namespaces
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkebackup_v1/classes.rb,
lib/google/apis/gkebackup_v1/representations.rb,
lib/google/apis/gkebackup_v1/representations.rb
Overview
A list of Kubernetes Namespaces
Instance Attribute Summary collapse
-
#namespaces ⇒ Array<String>
A list of Kubernetes Namespaces Corresponds to the JSON property
namespaces.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Namespaces
constructor
A new instance of Namespaces.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Namespaces
Returns a new instance of Namespaces.
1223 1224 1225 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#namespaces ⇒ Array<String>
A list of Kubernetes Namespaces
Corresponds to the JSON property namespaces
1221 1222 1223 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1221 def namespaces @namespaces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1228 1229 1230 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1228 def update!(**args) @namespaces = args[:namespaces] if args.key?(:namespaces) end |