Class: Google::Apis::RunV1::NamespaceStatus

Inherits:
Object
  • Object
show all
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 NamespaceStatus is information about the current status of a Namespace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ NamespaceStatus

Returns a new instance of NamespaceStatus.



1853
1854
1855
# File 'generated/google/apis/run_v1/classes.rb', line 1853

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#phaseString

Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ Corresponds to the JSON property phase

Returns:

  • (String)


1851
1852
1853
# File 'generated/google/apis/run_v1/classes.rb', line 1851

def phase
  @phase
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1858
1859
1860
# File 'generated/google/apis/run_v1/classes.rb', line 1858

def update!(**args)
  @phase = args[:phase] if args.key?(:phase)
end