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.



1467
1468
1469
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1467

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



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

def namespaced_names
  @namespaced_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1472
1473
1474
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1472

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