Class: Google::Apis::RunV1::NamespaceSpec

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 NamespaceSpec describes the attributes on 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) ⇒ 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

#finalizersArray<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

Returns:

  • (Array<String>)


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