Class: Google::Apis::RunV1::NamespaceSpec
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::NamespaceSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1/classes.rb,
generated/google/apis/run_v1/representations.rb,
generated/google/apis/run_v1/representations.rb
Overview
Cloud Run fully managed: not supported Cloud Run on GKE: supported NamespaceSpec describes the attributes on a Namespace.
Instance Attribute Summary collapse
-
#finalizers ⇒ Array<String>
Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NamespaceSpec
constructor
A new instance of NamespaceSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NamespaceSpec
Returns a new instance of NamespaceSpec.
1831 1832 1833 |
# File 'generated/google/apis/run_v1/classes.rb', line 1831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finalizers ⇒ Array<String>
Finalizers is an opaque list of values that must be empty to permanently
remove object from storage. More info:
https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
Corresponds to the JSON property finalizers
1829 1830 1831 |
# File 'generated/google/apis/run_v1/classes.rb', line 1829 def finalizers @finalizers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1836 1837 1838 |
# File 'generated/google/apis/run_v1/classes.rb', line 1836 def update!(**args) @finalizers = args[:finalizers] if args.key?(:finalizers) end |