Class: Google::Apis::GkebackupV1::NamespacedNames

Inherits:
Object
  • Object
show all
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 namespaced Kubernetes resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NamespacedNames

Returns a new instance of NamespacedNames.



1970
1971
1972
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1970

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

Instance Attribute Details

#namespaced_namesArray<Google::Apis::GkebackupV1::NamespacedName>

Optional. A list of namespaced Kubernetes resources. Corresponds to the JSON property namespacedNames



1968
1969
1970
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1968

def namespaced_names
  @namespaced_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1975
1976
1977
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1975

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