Class: Google::Apis::RunV1::Namespace
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::Namespace
- 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 Namespace provides a scope for Names. Use of multiple namespaces is optional.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Apis::RunV1::ObjectMeta
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
-
#spec ⇒ Google::Apis::RunV1::NamespaceSpec
Cloud Run fully managed: not supported Cloud Run on GKE: supported NamespaceSpec describes the attributes on a Namespace.
-
#status ⇒ Google::Apis::RunV1::NamespaceStatus
Cloud Run fully managed: not supported Cloud Run on GKE: supported NamespaceStatus is information about the current status of a Namespace.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Namespace
constructor
A new instance of Namespace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Namespace
Returns a new instance of Namespace.
1806 1807 1808 |
# File 'generated/google/apis/run_v1/classes.rb', line 1806 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::RunV1::ObjectMeta
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
persisted resources must have, which includes all objects users must create.
Corresponds to the JSON property metadata
1790 1791 1792 |
# File 'generated/google/apis/run_v1/classes.rb', line 1790 def @metadata end |
#spec ⇒ Google::Apis::RunV1::NamespaceSpec
Cloud Run fully managed: not supported
Cloud Run on GKE: supported
NamespaceSpec describes the attributes on a Namespace.
Corresponds to the JSON property spec
1797 1798 1799 |
# File 'generated/google/apis/run_v1/classes.rb', line 1797 def spec @spec end |
#status ⇒ Google::Apis::RunV1::NamespaceStatus
Cloud Run fully managed: not supported
Cloud Run on GKE: supported
NamespaceStatus is information about the current status of a Namespace.
Corresponds to the JSON property status
1804 1805 1806 |
# File 'generated/google/apis/run_v1/classes.rb', line 1804 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1811 1812 1813 1814 1815 |
# File 'generated/google/apis/run_v1/classes.rb', line 1811 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @spec = args[:spec] if args.key?(:spec) @status = args[:status] if args.key?(:status) end |