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.



1464
1465
1466
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1464

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



1462
1463
1464
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1462

def namespaced_names
  @namespaced_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1469
1470
1471
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1469

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