# Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::Namespaces (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::Namespaces.

A list of Kubernetes Namespaces.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #namespaces

    def namespaces() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. A list of Kubernetes Namespaces.

### #namespaces=

    def namespaces=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. A list of Kubernetes Namespaces.
**Returns**

- (::Array\<::String\>) --- Optional. A list of Kubernetes Namespaces.